/* مدرسة الزهراء — Landing Page (design clair) */
:root {
  --header-height: 96px;
  --green-dark: #0d3d2b;
  --green: #145a3a;
  --green-mid: #1a6b45;
  --gold: #b8954a;
  --gold-light: #d4b06a;
  --gold-dark: #967832;
  --cream: #f7f4ee;
  --cream-dark: #ebe5d9;
  --white: #ffffff;
  --text-dark: #1a2e1f;
  --text-muted: #5a6b62;
  --shadow: 0 4px 20px rgba(13, 61, 43, 0.08);
  --shadow-lg: 0 12px 40px rgba(13, 61, 43, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --font-body: 'Tajawal', 'Segoe UI', sans-serif;
  --font-heading: 'El Messiri', 'Tajawal', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
ul { list-style: none; }

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

.section { padding: 4.5rem 0; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-divider span {
  color: var(--gold);
  font-size: 0.75rem;
}

/* ── Buttons ── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 72%
  );
  transform: translateX(130%);
  transition: transform 0.55s ease;
  pointer-events: none;
  z-index: 0;
}

.btn:hover::after {
  transform: translateX(-130%);
}

.btn i {
  position: relative;
  z-index: 1;
  transition: transform 0.28s ease;
}

.btn:hover i {
  transform: scale(1.12);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-green {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
  box-shadow: 0 2px 10px rgba(13, 61, 43, 0.12);
}

.btn-green:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(13, 61, 43, 0.28);
}

.btn-outline-green {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 2px 8px rgba(13, 61, 43, 0.06);
}

.btn-outline-green:hover {
  background: var(--cream);
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(13, 61, 43, 0.14);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-dark);
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(184, 149, 74, 0.2);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e0c078, var(--gold-dark));
  border-color: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(184, 149, 74, 0.38);
}

/* ── Header ── */
.header {
  --header-green: #0a4b36;
  --header-green-deep: #063224;
  --header-gold: #c9a050;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: linear-gradient(120deg, var(--header-green) 0%, var(--header-green-deep) 100%);
  border-bottom: 1px solid rgba(201, 160, 80, 0.5);
  transition: box-shadow var(--transition), background var(--transition);
}

.header .container {
  width: min(1240px, 95%);
}

.header.scrolled {
  background: linear-gradient(120deg, #0b563d 0%, #073a2a 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "cta nav logo";
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  direction: ltr;
}

.logo {
  grid-area: logo;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-self: end;
  color: #fff;
  min-width: 0;
  max-width: 100%;
  direction: rtl;
}

.logo img,
.logo .custom-logo {
  width: clamp(62px, 6.2vw, 80px);
  height: clamp(62px, 6.2vw, 80px);
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
}

.logo .custom-logo-link {
  display: flex;
  line-height: 0;
  background: transparent;
}

.logo-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.68rem, 0.8vw, 0.82rem);
  line-height: 1.1;
  color: #fff;
  white-space: normal;
  max-width: 235px;
  text-align: right;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.logo-text > span {
  display: block;
}

.nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.15rem;
  width: fit-content;
  margin-inline: auto;
  padding: 0.2rem 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  direction: rtl;
}

.nav a {
  color: #fff;
  font-size: clamp(0.64rem, 0.72vw, 0.78rem);
  font-weight: 600;
  padding: 0.3rem 0.42rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(201, 160, 80, 0.35);
}

.header-cta {
  grid-area: cta;
  justify-self: start;
  flex-shrink: 0;
}

.btn-header-cta {
  background: linear-gradient(135deg, #d7b26a, #c49641);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.48rem 1rem 0.48rem 0.78rem;
  font-weight: 700;
  font-size: 0.82rem;
  gap: 0.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.btn-header-cta::after {
  display: none;
}

.btn-header-cta:hover {
  background: linear-gradient(135deg, #e0bd78, #c99b47);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

.btn-header-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: #fff;
  color: var(--header-green);
  font-size: 0.72rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  cursor: pointer;
  padding: 0.45rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
}

@media (max-width: 1024px) {
  .logo-text {
    display: inline-flex;
    max-width: min(48vw, 210px);
    font-size: clamp(0.68rem, 2.4vw, 0.82rem);
    line-height: 1.18;
    gap: 0.08rem;
  }
}

.btn-outline-gold {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(184, 149, 74, 0.1);
}

.btn-outline-gold:hover {
  background: linear-gradient(135deg, #fffaf2, #f8edd8);
  border-color: var(--gold-dark);
  color: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(184, 149, 74, 0.24);
}

.btn-outline-gold i { color: var(--gold-dark); }

.btn-outline-gold:hover i {
  color: var(--gold);
}

/* ── Hero ── */
.hero {
  --hero-cream: #fdf6e9;
  --hero-green: #003d2b;
  --hero-gold: #bf8f54;
  --hero-ratio: calc(576 / 1024);
  position: relative;
  width: 100%;
  height: min(calc(100vw * var(--hero-ratio) + 80px), 790px);
  margin-top: var(--header-height);
  padding-top: 0;
  overflow: hidden;
  background-color: var(--hero-cream);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("../images/slider.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  pointer-events: none;
}

@keyframes heroBgDrift {
  from { background-position: center top; }
  to { background-position: center 3%; }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

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

@keyframes heroPulseGold {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes heroCtaGlow {
  0%, 100% { box-shadow: 0 12px 28px rgba(0, 77, 49, 0.2); }
  50% { box-shadow: 0 18px 36px rgba(0, 77, 49, 0.32); }
}

.hero-layout {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 620px);
  grid-template-rows: auto;
  align-content: center;
  justify-items: end;
  gap: 0;
  padding: clamp(1.1rem, 2.6vw, 2rem) clamp(1.2rem, 4vw, 3.2rem);
  direction: ltr;
}

.hero-panel {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 600px;
  justify-self: end;
  margin-right: clamp(0.25rem, 2vw, 1.25rem);
  direction: rtl;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.4rem, 1.2vw, 0.8rem);
  overflow: hidden;
  animation: heroFadeUp 0.85s ease both;
}

.hero-panel::before {
  display: none;
}

/* Halo décoratif en coin */
.hero-panel::after {
  display: none;
}

/* ============================================================
   Variantes de la carte hero — changer la classe dans le HTML :
   .hero-panel--dark     (vert foncé, texte clair)
   .hero-panel--glass    (glassmorphism transparent)
   .hero-panel--minimal  (sans bordure ni ombre, juste un liseré)
   ============================================================ */

/* ── Variante 1 : Vert foncé ── */
.hero-panel--dark {
  background: linear-gradient(155deg, #0a5238 0%, #063626 100%);
  border: 1px solid rgba(201, 166, 84, 0.4);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-panel--dark::after {
  background: radial-gradient(circle, rgba(201, 166, 84, 0.22), transparent 70%);
}

.hero-panel--dark .hero-content,
.hero-panel--dark .hero-title,
.hero-panel--dark .hero-deadline,
.hero-panel--dark .hero-free-note,
.hero-panel--dark .hero-tagline {
  color: #f6f1e6;
}

.hero-panel--dark .hero-year,
.hero-panel--dark .hero-date {
  color: #e6c67e;
}

.hero-panel--dark .hero-levels-bar {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(230, 198, 126, 0.45);
  color: #fff;
}

/* ── Variante 2 : Glassmorphism ── */
.hero-panel--glass {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 18px 46px rgba(0, 77, 49, 0.18);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
}

.hero-panel--glass .hero-content,
.hero-panel--glass .hero-title,
.hero-panel--glass .hero-deadline,
.hero-panel--glass .hero-free-note,
.hero-panel--glass .hero-tagline {
  color: #063a2a;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* ── Variante 3 : Minimaliste ── */
.hero-panel--minimal {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-panel--minimal::before {
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  box-shadow: none;
}

.hero-panel--minimal::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 620px;
  color: var(--hero-green);
  gap: 0.75rem;
}

.hero-content > * {
  animation: heroFadeUp 0.8s ease both;
}

.hero-content > *:nth-child(1) { animation-delay: 0.08s; }
.hero-content > *:nth-child(2) { animation-delay: 0.16s; }
.hero-content > *:nth-child(3) { animation-delay: 0.24s; }
.hero-content > *:nth-child(4) { animation-delay: 0.32s; }
.hero-content > *:nth-child(5) { animation-delay: 0.4s; }
.hero-content > *:nth-child(6) { animation-delay: 0.48s; }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.8vw, 3.85rem);
  line-height: 1.05;
  color: var(--hero-green);
  margin-bottom: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-title-line { display: inline; }

.hero-brand {
  margin: 0 auto 0.35rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-brand img {
  width: min(257px, 100%);
  max-width: 257px;
  height: auto;
}

.hero-season-chip {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  direction: rtl;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.55rem 2.35rem;
  min-width: min(100%, 430px);
  min-height: 3.35rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #003d2b;
  font-weight: 700;
  clip-path: polygon(22px 0%, calc(100% - 22px) 0%, 100% 50%, calc(100% - 22px) 100%, 22px 100%, 0% 50%);
}

.hero-season-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #003d2b;
  clip-path: polygon(22px 0%, calc(100% - 22px) 0%, 100% 50%, calc(100% - 22px) 100%, 22px 100%, 0% 50%);
}

.hero-season-chip::after {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: -1;
  background: #bf8f54;
  clip-path: polygon(20px 0%, calc(100% - 20px) 0%, calc(100% - 2px) 50%, calc(100% - 20px) 100%, 20px 100%, 2px 50%);
}

.hero-season-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1;
}

.hero-season-year {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1;
  color: #003d2b;
  letter-spacing: 0.02em;
}

.hero-levels-bar {
  display: block;
  margin: 0;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 600;
  color: var(--hero-green);
  background: transparent;
  padding: 0;
  border-radius: 0;
  line-height: 1.4;
  box-shadow: none;
  animation: none;
}

.hero-free-block { display: none; }

.hero-badge-seal {
  --badge-h: 48px;
  --badge-w: 248px;
  --badge-gold: #c9a654;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--badge-w);
  max-width: 100%;
  height: var(--badge-h);
  margin: 0 auto;
  padding: 0 34px;
  color: var(--badge-gold);
  background: none;
  border: none;
  box-shadow: none;
  animation: heroFloatSoft 4.2s ease-in-out infinite;
}

.hero-badge-seal__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero-badge-seal__inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.hero-badge-seal__text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero-badge-seal__icon {
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.65rem;
}

.hero-free-note {
  font-size: 0.95rem;
  color: var(--hero-green);
  font-weight: 700;
  margin-top: 0.4rem;
}

.hero-deadline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  margin-bottom: 0;
  font-weight: 600;
  color: var(--hero-green);
}

.hero-deadline i {
  color: var(--hero-gold);
}

.hero-date {
  color: var(--hero-gold);
  font-weight: 700;
  font-size: inherit;
}

.hero-tagline {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--hero-gold);
  margin-bottom: 0;
  max-width: 520px;
  line-height: 1.4;
  font-weight: 600;
}

.hero-free-corner {
  position: absolute;
  top: clamp(1rem, 2.5vw, 2rem);
  left: clamp(0.85rem, 2.8vw, 2.2rem);
  z-index: 3;
  width: clamp(140px, 15vw, 260px);
  pointer-events: none;
}

.hero-free-corner img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-cta-center {
  display: none;
}

.hero-cta-bottom {
  display: none;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 77, 49, 0.14);
  box-shadow: 0 8px 22px rgba(0, 77, 49, 0.1);
  backdrop-filter: blur(2px);
}

.hero-buttons .btn {
  flex: 1 1 185px;
  min-width: min(100%, 185px);
  font-size: 0.95rem;
  padding: 0.72rem 1.15rem;
  font-weight: 600;
  justify-content: center;
}

.hero-btn-anim {
  animation: none;
}

.hero-btn-anim:nth-child(2) {
  animation-delay: 0.35s;
}

/* ── About ── */
.about { background: var(--white); }

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

.about-text p {
  margin-bottom: 1.1rem;
  color: var(--text-muted);
  text-align: justify;
  font-size: 0.95rem;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold);
}

.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-images {
  display: grid;
  gap: 1rem;
}

.about-images .about-image img {
  height: auto;
  aspect-ratio: 4 / 3;
}

/* ── Bandes photos ── */
.site-photo-strip {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 3rem;
}

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

.site-photo-strip--3 {
  grid-template-columns: repeat(3, 1fr);
}

.site-photo-strip--4 {
  grid-template-columns: repeat(4, 1fr);
}

.site-photo-strip__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--gold);
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-photo-strip__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.site-photo-strip__item figcaption {
  display: none;
}

/* ── Vision & Mission ── */
.vision-section {
  background: #f9f6f0;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: stretch;
  direction: ltr;
}

.vision-box {
  background: #003322;
  color: #f5f0e6;
  padding: 2.5rem 2rem;
  border-radius: 18px;
  border: 1.5px solid #c5a059;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  direction: rtl;
  min-height: 100%;
}

.vision-box__emblem {
  width: 76px;
  height: auto;
  margin-bottom: 1.25rem;
}

.vision-box h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  color: #c5a059;
  margin-bottom: 1rem;
  font-weight: 700;
}

.vision-box__copy {
  width: 100%;
  max-width: 260px;
}

.vision-box__lead {
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  font-weight: 700;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.98);
  margin-bottom: 0.65rem;
}

.vision-box__lead::after {
  content: ':';
  margin-inline-start: 0.15em;
}

.vision-box__desc {
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
}

.mission-panel {
  direction: rtl;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
}

.mission-item {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.mission-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 8%;
  left: 0;
  width: 1px;
  height: 84%;
  background: rgba(197, 160, 89, 0.35);
}

.mission-item__arch {
  position: relative;
  width: 72px;
  height: 88px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 8px;
  background: url("../images/mission-arch.svg") no-repeat center / contain;
}

.mission-item__arch i {
  color: #c5a059;
  font-size: 1.35rem;
  margin-top: 0.35rem;
}

.mission-item p {
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  color: #003322;
  line-height: 1.75;
  font-weight: 500;
}

/* ── Project ── */
.project { background: var(--cream); }

.project-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.9;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.pillar-card .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.25rem;
  background: var(--cream);
}

.pillar-card h3 {
  font-size: 0.92rem;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.pillar-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.project-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0.5rem auto 0;
  padding: 1.4rem clamp(1.5rem, 4vw, 3rem);
  border-radius: 14px;
  border: 1.5px solid rgba(197, 160, 89, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%),
    linear-gradient(180deg, #0f4030 0%, #0d3321 48%, #0a281c 100%);
  color: #fff;
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.15vw, 1.28rem);
  font-weight: 600;
  line-height: 1.85;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 24px rgba(13, 51, 33, 0.14);
}

.project-banner::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 10px;
  border: 1px solid rgba(197, 160, 89, 0.18);
  pointer-events: none;
}

/* ── Levels ── */
.levels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.level-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-dark);
}

.level-card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
}

.level-card-header {
  background: var(--green-dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  text-align: center;
}

.level-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold-light);
}

.level-card-body { padding: 1.5rem 1.75rem; }

.level-card-body ul li {
  padding: 0.45rem 0;
  padding-right: 1.25rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--cream-dark);
}

.level-card-body ul li:last-child { border-bottom: none; }

.level-card-body ul li::before {
  content: '●';
  position: absolute;
  right: 0;
  color: var(--gold);
  font-size: 0.45rem;
  top: 0.9rem;
}

/* ── Environment ── */
.environment { background: var(--white); }

.environment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

.env-item {
  display: flex;
  gap: 0.75rem;
  background: var(--cream);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--cream-dark);
  transition: all var(--transition);
}

.env-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.env-item .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 0.95rem;
  background: var(--white);
}

.env-item h4 {
  font-size: 0.82rem;
  color: var(--green-dark);
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.env-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.environment-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold);
  margin: 0;
}

.environment-image__caption {
  padding: 0.85rem 1rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--cream);
}

.environment-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center;
}

/* ── Photo gallery slider ── */
.photo-gallery {
  margin-top: 3rem;
  padding: 2.25rem 0 0;
  border-top: 1px solid var(--cream-dark);
}

.photo-gallery__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.photo-gallery__eyebrow {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: 0.35rem;
}

.photo-gallery__title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1.3;
}

.photo-gallery__counter {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--gold);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(184, 149, 74, 0.12);
  border: 1px solid rgba(184, 149, 74, 0.28);
  direction: ltr;
  unicode-bidi: isolate;
}

.photo-gallery__slider {
  position: relative;
  padding: 0 3.25rem;
}

.photo-gallery__viewport {
  overflow: hidden;
  padding: 0.75rem 0 1.25rem;
  touch-action: pan-y;
  container-type: inline-size;
  container-name: gallery;
}

.photo-gallery__track {
  display: flex;
  gap: 1.15rem;
  direction: ltr;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-gallery__slide {
  --gallery-gap: 1.15rem;
  --gallery-cols: 3;
  flex: 0 0 calc((100cqw - (var(--gallery-gap) * (var(--gallery-cols) - 1))) / var(--gallery-cols));
  width: calc((100cqw - (var(--gallery-gap) * (var(--gallery-cols) - 1))) / var(--gallery-cols));
  margin: 0;
  border-radius: calc(var(--radius-lg) + 2px);
  overflow: hidden;
  background: var(--white);
  border: 2px solid rgba(184, 149, 74, 0.22);
  box-shadow: 0 10px 30px rgba(13, 61, 43, 0.08);
  transform: scale(0.97);
  opacity: 1;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.photo-gallery__slide.is-active {
  transform: scale(1);
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 18px 42px rgba(13, 61, 43, 0.16);
}

.photo-gallery__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  overflow: hidden;
  cursor: zoom-in;
  text-align: inherit;
}

.photo-gallery__zoom {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(184, 149, 74, 0.35);
  box-shadow: 0 6px 18px rgba(13, 61, 43, 0.12);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  pointer-events: none;
}

.photo-gallery__slide:hover .photo-gallery__zoom,
.photo-gallery__slide.is-active .photo-gallery__zoom,
.photo-gallery__media:focus-visible .photo-gallery__zoom {
  opacity: 1;
  transform: scale(1);
}

.photo-gallery__media:hover .photo-gallery__zoom,
.photo-gallery__media:focus-visible .photo-gallery__zoom {
  background: var(--green);
  color: #fff;
}

.photo-gallery__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-gallery__slide.is-active .photo-gallery__media img {
  transform: scale(1.04);
}

.photo-gallery__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 48%,
    transparent 66%
  );
  transform: translateX(-120%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.photo-gallery__slide.is-active .photo-gallery__shine {
  transform: translateX(120%);
}

.photo-gallery__caption {
  display: none;
}

.photo-gallery__arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.65rem;
  height: 2.65rem;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(184, 149, 74, 0.35);
  box-shadow: 0 8px 24px rgba(13, 61, 43, 0.12);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.photo-gallery__arrow:hover {
  transform: translateY(-50%) scale(1.06);
  background: var(--green);
  color: #fff;
}

.photo-gallery__arrow--prev { right: 0; }
.photo-gallery__arrow--next { left: 0; }

.photo-gallery__footer {
  margin-top: 0.35rem;
}

.photo-gallery__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.photo-gallery__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(20, 90, 58, 0.22);
  transition: width 0.35s ease, background 0.35s ease, transform 0.25s ease;
}

.photo-gallery__dot.is-active {
  width: 1.65rem;
  background: var(--green);
  transform: scale(1.05);
}

.photo-gallery__progress {
  height: 3px;
  border-radius: 999px;
  background: rgba(20, 90, 58, 0.12);
  overflow: hidden;
}

.photo-gallery__progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--green));
  transition: width 0.15s linear;
}

.photo-gallery__slider.is-paused .photo-gallery__progress-bar {
  animation-play-state: paused;
}

/* ── Gallery lightbox ── */
body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 22, 0.88);
  backdrop-filter: blur(6px);
}

.gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 2.5rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  animation: gallery-lightbox-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-lightbox__close {
  position: absolute;
  top: -0.25rem;
  left: 0;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.25s ease, transform 0.25s ease;
}

.gallery-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.gallery-lightbox__figure {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  border-radius: calc(var(--radius-lg) + 4px);
  overflow: hidden;
  background: #0d261c;
  border: 2px solid rgba(184, 149, 74, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox__image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 11rem);
  object-fit: contain;
  background: #0a1f16;
}

.gallery-lightbox__caption {
  display: none;
}

.gallery-lightbox__nav {
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.25s ease, transform 0.25s ease;
}

.gallery-lightbox__nav:hover {
  background: var(--gold);
  color: var(--green-dark);
  transform: scale(1.06);
}

.gallery-lightbox__nav--prev {
  grid-column: 1;
  grid-row: 2;
}

.gallery-lightbox__nav--next {
  grid-column: 3;
  grid-row: 2;
}

.gallery-lightbox__counter {
  grid-column: 1 / -1;
  justify-self: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  direction: ltr;
  unicode-bidi: isolate;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@keyframes gallery-lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ── Registration ── */
.registration { background: var(--cream); }

.registration-banner {
  margin-bottom: 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
}

.registration-banner img {
  width: 100%;
  height: clamp(160px, 22vw, 240px);
  object-fit: cover;
  display: block;
}

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

.reg-box {
  background: var(--green-dark);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--gold);
}

.reg-box h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.reg-box ol {
  counter-reset: reg-counter;
  list-style: none;
  padding: 0;
  margin: 0;
}

.reg-box ol li {
  counter-increment: reg-counter;
  padding: 0.65rem 0;
  padding-right: 2.25rem;
  position: relative;
  font-size: 0.88rem;
  line-height: 1.65;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.reg-box ol li:last-child { border-bottom: none; }

.reg-box ol li::before {
  content: counter(reg-counter);
  position: absolute;
  right: 0;
  top: 0.65rem;
  width: 26px;
  height: 26px;
  background: var(--gold);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.reg-box ol li strong {
  display: block;
  color: var(--gold-light);
  margin-bottom: 0.15rem;
  font-size: 0.9rem;
}

.reg-note {
  margin-top: 1.75rem;
  text-align: center;
  padding: 1rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.92rem;
}

.reg-note i { color: var(--gold); margin-left: 0.35rem; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--green-dark);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23d4b06a' fill-opacity='0.08'%3E%3Cpath d='M40 0l5 15h16l-13 9 5 15-13-9-13 9 5-15-13-9h16z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.cta-banner--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/atrium.jpg') center / cover no-repeat;
  opacity: 0.2;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.6;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.75rem;
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

/* ── CTA gratuit (sous من نحن) ── */
.cta-free {
  --cta-free-green: #0a4b36;
  --cta-free-gold: #bf8f54;
  position: relative;
  padding: clamp(2.4rem, 5vw, 3.4rem) 0;
  background:
    linear-gradient(90deg, rgba(10, 75, 54, 0.04) 0%, transparent 18%, transparent 82%, rgba(191, 143, 84, 0.08) 100%),
    linear-gradient(180deg, #f8f3ea 0%, #f3ebe0 100%);
  border-block: 1px solid rgba(191, 143, 84, 0.28);
  overflow: hidden;
}

.cta-free::before,
.cta-free::after {
  content: '';
  position: absolute;
  width: clamp(72px, 16vw, 140px);
  height: clamp(72px, 16vw, 140px);
  border: 2px solid rgba(191, 143, 84, 0.35);
  pointer-events: none;
}

.cta-free::before {
  top: -2px;
  right: -2px;
  border-bottom: none;
  border-left: none;
  border-top-right-radius: 0;
  clip-path: polygon(35% 0, 100% 0, 100% 65%, 92% 100%, 0 100%, 0 35%);
}

.cta-free::after {
  bottom: -2px;
  left: -2px;
  border-top: none;
  border-right: none;
  clip-path: polygon(0 35%, 8% 0, 100% 0, 100% 65%, 65% 100%, 0 100%);
}

.cta-free__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.cta-free__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 auto 1rem;
  padding: 0.45rem 1.35rem;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #0a4b36 0%, #063626 100%);
  border: 1px solid rgba(191, 143, 84, 0.55);
  box-shadow: 0 10px 28px rgba(10, 75, 54, 0.18);
  clip-path: polygon(14px 0%, calc(100% - 14px) 0%, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0% 50%);
}

.cta-free__badge-mark {
  color: var(--cta-free-gold);
  font-size: 0.7em;
}

.cta-free__title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  line-height: 1.45;
  color: var(--cta-free-green);
  margin: 0 auto 0.75rem;
  max-width: 22em;
}

.cta-free__text {
  margin: 0 auto 1.5rem;
  max-width: 34em;
  color: #5f6b62;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  line-height: 1.7;
}

.cta-free__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.cta-free__actions .btn {
  min-width: min(100%, 190px);
  justify-content: center;
}

/* ── Contact ── */
.contact {
  background:
    linear-gradient(180deg, #f3f7f4 0%, #f7f3eb 100%);
}

.contact-intro {
  text-align: center;
  color: #5f6f66;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}


.contact-notice {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  padding: 0.85rem 1.15rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-notice--success {
  background: #e8f5ee;
  color: #0d3d2b;
  border: 1px solid #b8dcc8;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.1rem, 2.6vw, 1.8rem);
  align-items: start;
}

.contact-form-panel {
  position: relative;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(14, 87, 62, 0.14);
  box-shadow: 0 20px 40px rgba(8, 68, 47, 0.14);
  overflow: hidden;
}

.contact-form-panel__head {
  padding: 1.55rem 1.7rem 1.15rem;
  background:
    radial-gradient(700px 180px at 18% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(135deg, #0c694b 0%, #084833 100%);
  color: #fff;
}

.contact-form-panel__head h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.contact-form-panel__head p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.45rem 1.6rem 1.5rem;
}

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

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-field__label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #1c4635;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid #d7e3dc;
  border-radius: 13px;
  background: #fdfefe;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-field input[type="tel"],
.contact-field input[type="email"] {
  direction: ltr;
  text-align: left;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #1d7c5a;
  box-shadow: 0 0 0 4px rgba(30, 124, 90, 0.14);
  background: var(--white);
}

.contact-field textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.98rem 1.5rem;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 14px;
  background: linear-gradient(90deg, #b98a38 0%, #d1a355 48%, #b98a38 100%);
  border-color: #b98a38;
  color: #1f2d24;
  box-shadow: 0 12px 22px rgba(185, 138, 56, 0.32);
}

.contact-form__submit:hover {
  background: linear-gradient(90deg, #c29342 0%, #dbaf64 48%, #c29342 100%);
  border-color: #c29342;
  color: #1b2b22;
  box-shadow: 0 16px 28px rgba(185, 138, 56, 0.38);
}

.contact-form__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: #577063;
  font-size: 0.81rem;
  margin-top: 0.2rem;
}

.contact-form__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-form__trust i {
  color: #158257;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-channel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(14, 87, 62, 0.14);
  box-shadow: 0 10px 20px rgba(8, 68, 47, 0.08);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  direction: rtl;
}

.contact-channel:hover {
  border-color: #18805b;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(8, 68, 47, 0.13);
}

.contact-channel__icon {
  grid-column: 2;
  grid-row: 1;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e9f6ef, #d7efe4);
  border: 1px solid rgba(24, 128, 91, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #157652;
  font-size: 1rem;
}

.contact-channel__value {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: #204b39;
  line-height: 1.55;
  margin: 0;
  text-align: start;
}

.contact-channel__value a {
  color: #0f6345;
  text-decoration: underline;
  text-decoration-color: rgba(15, 99, 69, 0.3);
  text-underline-offset: 3px;
}

.contact-channel__value a:hover {
  color: #0a8157;
}

.contact-channel__value--ltr {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: end;
}

.contact-channel__value--ltr a {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  max-width: 100%;
}

.contact-map-block {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(14, 87, 62, 0.14);
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(8, 68, 47, 0.1);
}

.contact-map {
  height: 250px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-qr {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-top: 1px solid rgba(14, 87, 62, 0.16);
  background: linear-gradient(135deg, #edf8f2, #e3f2ea);
}

.contact-qr img {
  width: 84px;
  height: 84px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.contact-qr__text p {
  font-size: 0.9rem;
  color: #1f5b43;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-qr__text small {
  font-size: 0.76rem;
  color: #5f7a6f;
}

/* ── Footer ── */
.footer {
  position: relative;
  background:
    radial-gradient(900px 340px at 15% 0%, rgba(212, 176, 106, 0.16), transparent 58%),
    radial-gradient(820px 300px at 88% 8%, rgba(52, 150, 108, 0.18), transparent 60%),
    linear-gradient(160deg, #063a2a 0%, #072f23 48%, #041f17 100%);
  color: rgba(255, 255, 255, 0.88);
  padding: 3.3rem 0 0;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 176, 106, 0.8), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.4rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 176, 106, 0.24);
}

.footer-brand,
.footer-links,
.footer-social {
  padding: 1.2rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(3px);
}

.footer-brand img {
  width: 88px;
  margin-bottom: 0.7rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  color: #f2d596;
  font-size: 1.06rem;
  margin-bottom: 0.4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.footer-links h4,
.footer-social h4 {
  color: #f2d596;
  font-size: 0.98rem;
  margin-bottom: 0.95rem;
  font-weight: 700;
}

.footer-links a {
  display: block;
  padding: 0.37rem 0.45rem;
  border-radius: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--transition), background var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  background: rgba(212, 176, 106, 0.2);
}

.social-links {
  display: flex;
  gap: 0.7rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(212, 176, 106, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f2d596;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.03);
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.social-links a:hover {
  background: linear-gradient(135deg, #e0bf7b, #c99844);
  color: #123d2d;
  border-color: #e0bf7b;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding: 1rem 0 1.1rem;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(0, 0, 0, 0.18);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 540px);
    padding: clamp(1rem, 2.2vw, 1.75rem) clamp(1rem, 3vw, 2.4rem);
  }

  .hero-panel {
    max-width: 520px;
  }

  .hero-free-corner {
    width: clamp(130px, 14vw, 230px);
  }
}

@media (max-width: 1024px) {
  html { font-size: 18px; }

  :root { --header-height: 88px; }

  .container { width: min(1140px, 94%); }

  .header-inner {
    grid-template-columns: auto auto 1fr;
    grid-template-areas: "toggle cta logo";
    gap: 0.75rem;
    padding: 0.55rem 0;
  }

  .logo {
    justify-self: end;
  }

  .header-cta {
    justify-self: start;
  }

  .nav {
    display: none;
    width: auto;
    margin-inline: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
  }

  .menu-toggle {
    grid-area: toggle;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    justify-self: start;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    left: 0;
    border: 1px solid rgba(201, 160, 80, 0.42);
    border-radius: 14px;
    background: linear-gradient(180deg, #0a4b36 0%, #073324 100%);
    padding: 0.6rem;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
    z-index: 10;
  }

  .nav.open a {
    padding: 0.66rem 0.9rem;
    width: 100%;
    color: #fff;
    border-radius: 10px;
  }

  .nav.open a:hover {
    color: #fff;
    background: rgba(201, 160, 80, 0.28);
  }

  .hero {
    margin-top: 0;
    height: auto;
    min-height: calc(100vw * 1024 / 576);
    padding:
      var(--header-height)
      clamp(0.45rem, 2vw, 0.75rem)
      clamp(1rem, 4vw, 1.75rem);
    overflow: hidden;
    background-color: #f3ece0;
    background-image: url("../images/bg-mobile.png");
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
  }

  .hero::before {
    display: none;
  }

  .hero-free-corner {
    top: calc(var(--header-height) + clamp(1.1rem, 5.5vw, 2rem));
    left: clamp(-2.8rem, -8.5vw, 0.45rem);
    width: clamp(120px, 28vw, 180px);
    z-index: 4;
  }

  .hero-layout {
    position: relative;
    inset: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    min-height: calc(100vw * 1024 / 576 - var(--header-height));
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    justify-items: stretch;
    gap: 0;
    padding: max(0.15rem, calc(100vw * 205 / 576)) 0 0;
    margin-top: 0;
    direction: rtl;
  }

  .hero-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: none;
    min-height: 100%;
    padding: 0.95rem 0.5rem 1.35rem;
    gap: 0.62rem;
  }

  .hero-buttons.hero-cta-bottom {
    display: flex;
    margin-top: auto;
    padding: 1.15rem 0.15rem 0.25rem;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    gap: 0.7rem;
  }

  .hero-cta-bottom .btn {
    flex: 1 1 0;
    min-width: 0;
    font-size: clamp(0.88rem, 2.4vw, 1.05rem);
    padding: 0.78rem 0.9rem;
    border-radius: 12px;
  }

  .hero-panel {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    order: 0;
    padding: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-brand img {
    width: min(240px, 82vw);
  }

  .hero-title {
    font-size: clamp(2rem, 6.2vw, 2.75rem);
    margin-top: 0.15rem;
    line-height: 1.08;
  }

  .hero-season-chip {
    min-width: 100%;
    padding: 0.48rem 1.6rem;
    min-height: 3rem;
  }

  .hero-season-text {
    font-size: clamp(1rem, 2.6vw, 1.35rem);
  }

  .hero-season-year {
    font-size: clamp(1.15rem, 3vw, 1.55rem);
  }

  .hero-levels-bar,
  .hero-tagline {
    font-size: clamp(0.98rem, 2.4vw, 1.25rem);
    line-height: 1.45;
  }

  .hero-tagline {
    color: var(--hero-gold);
    font-weight: 600;
  }

  .hero-deadline {
    color: #9a7348;
    font-weight: 600;
  }

  .hero-deadline span {
    color: #9a7348;
  }

  .hero-date {
    color: #8a6538;
    font-weight: 700;
  }

  .hero-panel::before {
    display: none;
  }

  .hero-cta-center {
    display: none;
  }

  .hero-badge-seal {
    --badge-w: min(280px, 92vw);
    --badge-h: calc(var(--badge-w) * 54 / 280);
    padding: 0 calc(var(--badge-w) * 34 / 280);
  }

  .hero-badge-seal__text {
    font-size: clamp(1rem, 4vw, 1.15rem);
  }

  .hero-deadline {
    justify-content: center;
    font-size: clamp(1rem, 2.8vw, 1.25rem);
  }

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

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 220px;
  }

  .about-grid,
  .vision-mission-grid,
  .environment-grid {
    grid-template-columns: 1fr;
  }

  .site-photo-strip--3,
  .site-photo-strip--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .mission-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .mission-item::after { display: none; }
  .levels-grid,
  .registration-grid { grid-template-columns: 1fr; }

  .photo-gallery__slider {
    padding: 0 2.75rem;
  }

  .photo-gallery__slide {
    --gallery-cols: 2;
  }
}

@media (max-width: 640px) {
  html { font-size: 17px; }

  :root { --header-height: 80px; }

  .container { width: min(1140px, 92%); }

  .section { padding: 3rem 0; }

  .section-title {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
    margin-bottom: 2rem;
  }

  .header-inner {
    gap: 0.5rem;
    padding: 0.45rem 0;
  }

  .logo img,
  .logo .custom-logo {
    width: clamp(54px, 14vw, 68px);
    height: clamp(54px, 14vw, 68px);
  }

  .logo-text {
    max-width: min(52vw, 200px);
    font-size: clamp(0.64rem, 2.8vw, 0.78rem);
    line-height: 1.15;
  }

  .btn-header-cta {
    font-size: 0.72rem;
    padding: 0.42rem 0.7rem;
    gap: 0.35rem;
  }

  .btn-header-cta__icon {
    width: 1.45rem;
    height: 1.45rem;
    font-size: 0.65rem;
  }

  .cta-free {
    padding: 2.1rem 0;
  }

  .cta-free__actions .btn {
    flex: 1 1 100%;
  }

  .hero {
    padding-bottom: 0.85rem;
  }

  .hero-layout {
    padding-top: max(0.1rem, calc(100vw * 51px / 832px));
  }

  .hero-free-corner {
    top: calc(var(--header-height) + clamp(-0.25rem, -3vw, 1.5rem));
    width: clamp(130px, 52vw, 220px);
  }

  .hero-panel {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .hero-content {
    padding: 0.85rem 0.35rem 1.1rem;
    gap: 0.55rem;
  }

  .hero-buttons.hero-cta-bottom {
    padding-top: 1rem;
    gap: 0.55rem;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .hero-cta-bottom .btn {
    font-size: clamp(0.84rem, 3.4vw, 0.98rem);
    padding: 0.72rem 0.75rem;
  }

  .hero-brand img {
    width: min(230px, 86vw);
  }

  .hero-title {
    font-size: clamp(1.9rem, 7.5vw, 2.35rem);
    line-height: 1.1;
  }

  .hero-season-chip {
    min-width: 100%;
    padding: 0.42rem 1.25rem;
    min-height: 2.9rem;
    gap: 0.5rem;
    clip-path: polygon(16px 0%, calc(100% - 16px) 0%, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0% 50%);
  }

  .hero-season-chip::before {
    clip-path: polygon(16px 0%, calc(100% - 16px) 0%, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0% 50%);
  }

  .hero-season-chip::after {
    clip-path: polygon(14px 0%, calc(100% - 14px) 0%, calc(100% - 2px) 50%, calc(100% - 14px) 100%, 14px 100%, 2px 50%);
  }

  .hero-season-text {
    font-size: clamp(0.9rem, 3.8vw, 1.1rem);
  }

  .hero-season-year {
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  }

  .hero-levels-bar,
  .hero-tagline {
    font-size: clamp(0.95rem, 3.8vw, 1.12rem);
    line-height: 1.45;
  }

  .hero-deadline {
    font-size: clamp(0.95rem, 3.8vw, 1.12rem);
    gap: 0.35rem;
  }

  .environment-image img {
    min-height: 240px;
  }

  .about-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .contact-form {
    padding: 1.2rem 1rem 1.2rem;
  }

  .contact-form-panel__head {
    padding: 1.2rem 1rem 1rem;
  }

  .pillars-grid,
  .env-items,
  .mission-row,
  .site-photo-strip--2,
  .site-photo-strip--3,
  .site-photo-strip--4 {
    grid-template-columns: 1fr;
  }

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

  .photo-gallery__slider {
    padding: 0 2.35rem;
  }

  .photo-gallery__slide {
    --gallery-cols: 1;
  }

  .photo-gallery__arrow {
    width: 2.35rem;
    height: 2.35rem;
  }

  .gallery-lightbox {
    padding: 0.75rem;
  }

  .gallery-lightbox__panel {
    display: block;
  }

  .gallery-lightbox__figure {
    position: relative;
  }

  .gallery-lightbox__nav {
    position: absolute;
    top: 42%;
    z-index: 2;
    transform: translateY(-50%);
  }

  .gallery-lightbox__nav--prev {
    right: 0.5rem;
  }

  .gallery-lightbox__nav--next {
    left: 0.5rem;
  }

  .gallery-lightbox__counter {
    margin-top: 0.75rem;
    text-align: center;
  }

  .gallery-lightbox__image {
    max-height: calc(100vh - 13rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.9rem;
  }

  .footer-brand,
  .footer-links,
  .footer-social {
    padding: 1rem;
  }

  .social-links { justify-content: center; }

  .hero-buttons .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn::after,
  .btn i {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }

  .btn:hover::after {
    transform: translateX(130%);
  }

  .btn:hover i {
    transform: none;
  }

  .photo-gallery__track,
  .photo-gallery__slide,
  .photo-gallery__media img,
  .photo-gallery__shine {
    transition: none;
  }

  .photo-gallery__slide.is-active .photo-gallery__media img {
    transform: none;
  }

  .gallery-lightbox__panel {
    animation: none;
  }

  .hero,
  .hero-panel,
  .hero-content > *,
  .hero-year,
  .hero-levels-bar,
  .hero-badge-seal,
  .hero-cta-center,
  .hero-btn-anim {
    animation: none !important;
  }
}

.site-video {
  background: var(--cream);
}

.site-video__player {
  max-width: 880px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  background: #111;
  box-shadow: var(--shadow);
}

.site-video__player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}


