/*
Theme Name: Jannati Notebook 1.4.0 SEO
Theme URI: https://jannati.ma
Author: Jannati School
Description: قالب WordPress تفاعلي لمؤسسة جنتي مستوحى من الدفتر المدرسي، مع سليدر كتاب وتقليب صفحات ثلاثي الأبعاد.
Version: 1.4.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: jannati-notebook
*/

:root {
  --jannati-navy: #073b52;
  --jannati-navy-2: #0d526f;
  --jannati-yellow: #ffb900;
  --jannati-orange: #ff7a00;
  --jannati-green: #43a047;
  --jannati-ivory: #fff9f1;
  --jannati-ink: #132a3a;
  --jannati-muted: #61717c;
  --jannati-line: #e6ebee;
  --jannati-radius: 20px;
  --jannati-shadow: 0 14px 40px rgba(7, 59, 82, .10);
}

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--jannati-ink); background: #fff; }
.horizon-not-found { min-height: 55vh; display: grid; place-items: center; align-content: center; gap: 16px; padding: 96px 24px; text-align: center; }
.horizon-not-found-code { margin: 0; color: var(--jannati-yellow); font-size: clamp(72px, 14vw, 150px); font-weight: 900; line-height: .8; }
.horizon-not-found h1, .horizon-not-found p { margin: 0; }
.horizon-not-found > p:not(.horizon-not-found-code) { max-width: 620px; color: var(--jannati-muted); font-size: 18px; line-height: 1.8; }
.jannati-home, .jannati-header, .jannati-footer { direction: rtl; }
.jannati-section { padding: clamp(56px, 7vw, 96px) 24px; }
.jannati-container { width: min(1200px, 100%); margin-inline: auto; }
.jannati-soft { background: var(--jannati-ivory); }
.jannati-navy { background: var(--jannati-navy); color: #fff; }
.jannati-section-title { position: relative; margin: 0 0 20px; padding-bottom: 15px; color: var(--jannati-navy); font-size: clamp(30px, 4vw, 46px); line-height: 1.2; }
.jannati-section-title::after,
.jannati-title-motion::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 66px; height: 5px; border-radius: 999px; background: linear-gradient(90deg, var(--jannati-orange), var(--jannati-yellow)); box-shadow: 0 5px 16px rgba(255,122,0,.22); transform-origin: right center; }
.jannati-title-motion { position: relative; padding-bottom: 15px; }
.jannati-section-title.has-text-align-center::after { inset-inline-start: 50%; transform: translateX(-50%); }
.jannati-section-lead { max-width: 720px; margin: 0 auto 40px; color: var(--jannati-muted); font-size: 18px; line-height: 1.9; }
.jannati-eyebrow { margin: 0 0 10px; color: var(--jannati-orange); font-size: 15px; font-weight: 800; letter-spacing: .02em; }

.jannati-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(7,59,82,.08); backdrop-filter: blur(12px); }
.admin-bar .jannati-header { top: 32px; }
.jannati-skip-link { position: fixed; z-index: 9999; top: -80px; inset-inline-start: 18px; padding: 12px 18px; border-radius: 0 0 10px 10px; background: var(--jannati-navy); color: #fff !important; font-weight: 800; text-decoration: none; transition: top .2s ease; }
.jannati-skip-link:focus { top: 0; outline: 3px solid var(--jannati-yellow); outline-offset: 2px; }
.jannati-header-inner { min-height: 82px; gap: 22px; }
.jannati-logo img { width: auto; height: 62px; object-fit: contain; }
.jannati-header .wp-block-navigation { font-size: 14px; font-weight: 700; }
.jannati-header .wp-block-navigation a:hover { color: var(--jannati-orange); }
.jannati-langs { direction: ltr; white-space: nowrap; color: var(--jannati-navy); font-size: 12px; font-weight: 800; }
.jannati-langs a { margin-inline: 7px; color: inherit; text-decoration: none; }
.jannati-langs a.is-current { color: var(--jannati-orange); }

.wp-block-button__link { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,122,0,.24); }
.jannati-button .wp-block-button__link { background: var(--jannati-orange); color: #fff; border-radius: 12px; padding: 14px 24px; font-weight: 800; }
.jannati-button-outline .wp-block-button__link { background: rgba(255,255,255,.92); color: var(--jannati-navy); border: 2px solid var(--jannati-navy); border-radius: 12px; padding: 12px 24px; font-weight: 800; }

.jannati-hero { min-height: 650px; padding: 0 24px; background-position: center center !important; overflow: hidden; }
.jannati-hero::before { opacity: 1 !important; background: linear-gradient(90deg, rgba(255,249,241,.98) 0%, rgba(255,249,241,.90) 32%, rgba(255,249,241,.25) 58%, rgba(255,249,241,0) 76%) !important; }
.jannati-hero .wp-block-cover__inner-container { width: min(1200px, 100%); margin-inline: auto; }
.jannati-hero-copy { width: min(560px, 48%); margin-right: auto; margin-left: 0; text-align: right; }
.jannati-hero h1 { margin: 0 0 18px; color: var(--jannati-navy); font-size: clamp(40px, 5vw, 68px); line-height: 1.18; letter-spacing: -.03em; }
.jannati-hero h1 strong { color: var(--jannati-orange); }
.jannati-hero-copy > p { margin: 0 0 28px; color: #395361; font-size: clamp(18px, 2vw, 22px); line-height: 1.8; }

/* Homepage slider */
.jannati-slider {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--jannati-navy);
  direction: ltr;
}
.jannati-slider-track { position: relative; min-height: inherit; }
.jannati-slide {
  position: absolute;
  inset: 0;
  min-height: 650px;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity .85s ease, visibility .85s ease, transform 7s ease;
}
.jannati-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); z-index: 2; }
.jannati-slide-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.055); transition: transform 7s cubic-bezier(.2,.65,.3,1); }
.jannati-slide.is-active .jannati-slide-media { transform: scale(1); }
.jannati-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,249,241,.98) 0%, rgba(255,249,241,.90) 35%, rgba(255,249,241,.22) 63%, rgba(255,249,241,0) 82%);
}
.jannati-slide-inner {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: min(1200px, 100%);
  margin-inline: auto;
  padding: 88px 72px 110px;
}
.jannati-slide-copy { width: min(590px, 52%); color: var(--jannati-navy); text-align: left; }
html[lang^="ar"] .jannati-slide-copy { direction: rtl; text-align: right; }
.jannati-slide-eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: var(--jannati-orange);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 6px 20px rgba(7,59,82,.08);
}
.jannati-slide h1,
.jannati-slide h2 {
  margin: 0 0 18px;
  color: var(--jannati-navy);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.17;
  letter-spacing: -.035em;
}
.jannati-slide-text { max-width: 540px; margin: 0 0 30px; color: #395361; font-size: clamp(18px, 2vw, 22px); line-height: 1.8; }
.jannati-slide-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .65s cubic-bezier(.2,.65,.3,1); }
.jannati-slide.is-active .jannati-slide-copy > * { opacity: 1; transform: none; }
.jannati-slide.is-active .jannati-slide-copy > :nth-child(2) { transition-delay: .10s; }
.jannati-slide.is-active .jannati-slide-copy > :nth-child(3) { transition-delay: .18s; }
.jannati-slide.is-active .jannati-slide-copy > :nth-child(4) { transition-delay: .26s; }
.jannati-slide-button {
  display: inline-flex;
  border-radius: 12px;
  background: var(--jannati-orange);
  color: #fff !important;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(255,122,0,.25);
}
.jannati-slider-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(7,59,82,.64);
  color: #fff;
  font: 700 32px/1 Arial, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}
.jannati-slider-arrow:hover,
.jannati-slider-arrow:focus-visible { background: var(--jannati-orange); transform: translateY(-50%) scale(1.06); }
.jannati-slider-arrow.is-prev { left: 22px; }
.jannati-slider-arrow.is-next { right: 22px; }
.jannati-slider-dots {
  position: absolute;
  z-index: 6;
  bottom: 34px;
  left: 50%;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}
.jannati-slider-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 999px;
  background: rgba(7,59,82,.45);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.jannati-slider-dots button.is-active { width: 34px; background: var(--jannati-orange); }
.jannati-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Scroll reveal and refined micro-interactions */
.jannati-js .jannati-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--jannati-delay, 0ms), transform .75s cubic-bezier(.2,.65,.3,1) var(--jannati-delay, 0ms); }
.jannati-js .jannati-reveal.is-visible { opacity: 1; transform: none; }
.jannati-js .jannati-title-motion::after { transform: scaleX(0); transition: transform .7s cubic-bezier(.2,.8,.25,1) .18s; }
.jannati-js .jannati-title-motion.has-text-align-center::after { transform: translateX(-50%) scaleX(0); }
.jannati-js .jannati-title-motion.is-visible::after { transform: scaleX(1); }
.jannati-js .jannati-title-motion.has-text-align-center.is-visible::after { transform: translateX(-50%) scaleX(1); }
.jannati-image-motion { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px 8px 24px 8px; box-shadow: 0 14px 36px rgba(7,59,82,.12); transition: transform .45s cubic-bezier(.2,.65,.3,1), box-shadow .45s ease; }
.jannati-image-motion::before { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; border: 1px solid rgba(255,255,255,.58); border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(7,59,82,.06); }
.jannati-image-motion::after { content: ""; position: absolute; z-index: 3; inset: -25% auto -25% -45%; width: 28%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent); transform: skewX(-18deg) translateX(-180%); transition: transform .85s ease; }
.jannati-image-motion:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(7,59,82,.18); }
.jannati-image-motion:hover::after { transform: skewX(-18deg) translateX(620%); }
.jannati-image-motion img { display: block; filter: saturate(.94) contrast(1.01); transition: transform .65s cubic-bezier(.2,.65,.3,1), filter .45s ease; }
.jannati-image-motion:hover img { transform: scale(1.045); filter: saturate(1.06) contrast(1.02); }
.jannati-card img,
.jannati-feature-image img { transition: transform .55s cubic-bezier(.2,.65,.3,1); }
.jannati-card:hover img,
.jannati-feature-image:hover img { transform: scale(1.035); }
.jannati-benefit { transition: transform .3s ease, box-shadow .3s ease; }
.jannati-benefit:hover { transform: translateY(-6px); box-shadow: var(--jannati-shadow); }

.jannati-stats { position: relative; z-index: 4; width: min(1120px, calc(100% - 48px)); margin: -42px auto 0; padding: 25px 30px; border: 1px solid rgba(7,59,82,.06); border-radius: var(--jannati-radius); background: #fff; box-shadow: var(--jannati-shadow); }
.jannati-stat { text-align: center; }
.jannati-stat strong { display: block; color: var(--jannati-navy); font-size: 24px; }
.jannati-stat span { color: var(--jannati-muted); font-size: 14px; }

.jannati-media { align-items: center !important; gap: clamp(30px, 6vw, 72px); }
.jannati-media .wp-block-column { margin: 0; }
.jannati-feature-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 32px 8px 32px 8px; box-shadow: var(--jannati-shadow); }
.jannati-body-copy { color: var(--jannati-muted); font-size: 17px; line-height: 2; }

.jannati-card-grid { gap: 24px; }
.jannati-card { height: 100%; overflow: hidden; border: 1px solid var(--jannati-line); border-radius: var(--jannati-radius); background: #fff; box-shadow: 0 10px 28px rgba(7,59,82,.07); transition: transform .25s ease, box-shadow .25s ease; }
.jannati-card:hover { transform: translateY(-6px); box-shadow: var(--jannati-shadow); }
.jannati-card .wp-block-image { margin: 0; }
.jannati-card .wp-block-image img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.jannati-card-content { padding: 24px; }
.jannati-card h3 { margin: 0 0 8px; color: var(--jannati-navy); font-size: 25px; }
.jannati-card p { margin: 0; color: var(--jannati-muted); line-height: 1.8; }

.jannati-benefit { height: 100%; padding: 28px 22px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 8px 24px rgba(7,59,82,.06); }
.jannati-benefit-icon { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--jannati-orange); font-size: 28px; }
.jannati-benefit h3 { margin: 0 0 10px; color: var(--jannati-navy); font-size: 20px; }
.jannati-benefit p { margin: 0; color: var(--jannati-muted); line-height: 1.7; }

.jannati-life .wp-block-image { margin: 0; overflow: hidden; border-radius: 16px; }
.jannati-life img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .35s ease; }
.jannati-life .wp-block-image:hover img { transform: scale(1.04); }
.jannati-life-label { margin: 12px 0 0; color: var(--jannati-navy); font-size: 19px; font-weight: 800; text-align: center; }

.jannati-testimonial { height: 100%; padding: 30px; border: 1px solid var(--jannati-line); border-radius: 18px; background: #fff; }
.jannati-testimonial::before { content: "“"; color: var(--jannati-yellow); font-size: 64px; line-height: .7; font-weight: 900; }
.jannati-testimonial p { color: var(--jannati-muted); line-height: 1.9; }
.jannati-testimonial strong { color: var(--jannati-navy); }

.jannati-cta { min-height: 390px; border-radius: 0; }
.jannati-cta::before { opacity: 1 !important; background: linear-gradient(90deg, rgba(7,59,82,.96) 0%, rgba(7,59,82,.84) 48%, rgba(7,59,82,.20) 80%) !important; }
.jannati-cta-copy { width: min(560px, 55%); margin-right: auto; margin-left: 0; }
.jannati-cta h2 { color: #fff; font-size: clamp(34px, 4vw, 52px); line-height: 1.3; }

.jannati-contact-layout { align-items: stretch !important; gap: clamp(24px, 4vw, 48px); }
.jannati-contact-card { box-sizing: border-box; height: 100%; padding: clamp(26px, 4vw, 40px); overflow: hidden; border: 1px solid rgba(7,59,82,.08); border-radius: 28px; background: linear-gradient(150deg, #fff 0%, #fff 70%, #fff9eb 100%); box-shadow: 0 24px 60px rgba(7,59,82,.11); }
.jannati-contact-card-head { position: relative; padding-bottom: 22px; border-bottom: 1px solid var(--jannati-line); }
.jannati-contact-card-head::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -2px; width: 72px; height: 4px; border-radius: 20px; background: linear-gradient(90deg, var(--jannati-orange), var(--jannati-yellow)); }
.jannati-contact-kicker { display: inline-flex; margin-bottom: 9px; padding: 6px 12px; border-radius: 999px; background: #fff2d1; color: #9a5300; font-size: 13px; font-weight: 800; }
.jannati-contact-card h2, .jannati-contact-card h3 { margin: 0 0 8px; color: var(--jannati-navy); font-size: clamp(25px, 3vw, 34px); }
.jannati-contact-card-head p { margin: 0; color: var(--jannati-muted); line-height: 1.75; }
.jannati-contact-list { display: grid; gap: 12px; list-style: none; padding: 0; margin: 24px 0; }
.jannati-contact-list li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 12px 14px; border-radius: 15px; background: #f7fafb; color: var(--jannati-muted); }
.jannati-contact-list li > span:last-child { display: grid; gap: 2px; min-width: 0; }
.jannati-contact-list small { color: #6d858e; font-size: 12px; font-weight: 700; }
.jannati-contact-list strong { color: var(--jannati-navy); font-size: 15px; line-height: 1.5; }
.jannati-contact-icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--jannati-navy); color: #fff; font-size: 19px; box-shadow: 0 8px 18px rgba(7,59,82,.18); }
.jannati-contact-list a { color: var(--jannati-navy); text-decoration: none; font-weight: 800; overflow-wrap: anywhere; }
.jannati-contact-list a:hover { color: var(--jannati-orange); }
.jannati-contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.jannati-contact-action { padding: 12px 16px; border: 1px solid var(--jannati-navy); border-radius: 12px; color: var(--jannati-navy); text-align: center; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.jannati-contact-action.is-primary { background: var(--jannati-navy); color: #fff; }
.jannati-contact-action:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(7,59,82,.13); }
.jannati-hours { padding: 18px; border: 1px solid rgba(255,174,0,.28); border-radius: 18px; background: #fff8e8; }
.jannati-hours-title { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: var(--jannati-navy); }
.jannati-hours-title > span { color: var(--jannati-orange); font-size: 22px; }
.jannati-hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px dashed rgba(7,59,82,.13); color: var(--jannati-muted); font-size: 14px; }
.jannati-hours-row b { color: var(--jannati-navy); white-space: nowrap; }
.jannati-hours-row.is-closed b { color: #a7493f; }
.jannati-map { box-sizing: border-box; min-height: 320px; height: 100%; border-radius: 28px; display: grid; place-items: center; padding: 34px; background: radial-gradient(circle at 20% 20%, rgba(255,185,0,.23), transparent 30%), linear-gradient(135deg, #e9f3f3, #d7e8ed); color: var(--jannati-navy); text-align: center; box-shadow: inset 0 0 0 1px rgba(7,59,82,.08), 0 20px 50px rgba(7,59,82,.08); }
.jannati-map-pin { width: 76px; height: 76px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 24px; background: var(--jannati-navy); color: var(--jannati-yellow); font-size: 42px; box-shadow: 0 14px 28px rgba(7,59,82,.22); }
.jannati-map h3 { margin: 0 0 8px; font-size: 25px; }
.jannati-map p { margin: 0 0 24px; color: var(--jannati-muted); }
.jannati-map a, .jannati-map-link { display: inline-flex; padding: 12px 20px; border-radius: 12px; background: #fff; color: var(--jannati-navy); text-decoration: none; font-weight: 800; box-shadow: 0 9px 20px rgba(7,59,82,.10); }

.jannati-footer { padding: 54px 24px 24px; background: var(--jannati-navy); color: rgba(255,255,255,.85); }
.jannati-footer-brand { width: min(320px, 100%); padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 14px 32px rgba(0,0,0,.18); }
.jannati-footer-brand a { display: block; line-height: 0; }
.jannati-footer-brand img { display: block; width: 100%; height: auto; filter: none !important; }
.jannati-footer-brand p { margin: 10px 0 0; color: var(--jannati-navy); font-size: 12px; font-weight: 800; text-align: center; letter-spacing: .02em; }
.jannati-footer-contact { display: grid; gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; }
.jannati-footer-contact li { display: flex; align-items: flex-start; gap: 9px; line-height: 1.5; }
.jannati-footer-contact li > span { color: var(--jannati-yellow); font-weight: 900; }
.jannati-footer a { color: #fff; text-decoration: none; }
.jannati-footer-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; }

/* Internal pages */
.jannati-page { direction: rtl; }
.jannati-page-hero { min-height: 440px; padding: 72px 24px; overflow: hidden; }
.jannati-page-hero:not(.wp-block-cover) { box-sizing: border-box; width: 100%; max-width: none; margin: 0; background: linear-gradient(135deg, var(--jannati-navy), var(--jannati-navy-2)); }
.jannati-page-hero.jannati-page-hero-copy { width: 100%; max-width: none; margin: 0; }
.jannati-page-hero::before { opacity: 1 !important; background: linear-gradient(90deg, rgba(7,59,82,.95), rgba(7,59,82,.72), rgba(7,59,82,.20)) !important; }
.jannati-page-hero .wp-block-cover__inner-container { width: min(1200px, 100%); margin-inline: auto; }
.jannati-page-hero-copy { width: min(650px, 65%); margin-right: auto; margin-left: 0; }
.jannati-page-hero h1 { margin: 0 0 16px; color: #fff; font-size: clamp(40px, 5vw, 64px); line-height: 1.2; }
.jannati-page-hero p { margin: 0; color: rgba(255,255,255,.88); font-size: clamp(17px, 2vw, 21px); line-height: 1.9; }
.jannati-breadcrumb { margin-bottom: 18px !important; color: var(--jannati-yellow) !important; font-size: 14px !important; font-weight: 800; }
.jannati-content-section { padding: clamp(52px, 7vw, 88px) 24px; }
.jannati-content-section > .wp-block-group__inner-container { width: min(1200px, 100%); margin-inline: auto; }
.jannati-prose { color: var(--jannati-muted); font-size: 17px; line-height: 2; }
.jannati-prose h2, .jannati-prose h3 { color: var(--jannati-navy); }
.jannati-list { list-style: none; padding: 0; margin: 24px 0 0; }
.jannati-list li { position: relative; margin: 13px 0; padding-right: 30px; color: var(--jannati-muted); line-height: 1.8; }
.jannati-list li::before { content: "✓"; position: absolute; right: 0; top: 0; color: var(--jannati-green); font-weight: 900; }
.jannati-info-grid { gap: 22px; }
.jannati-info-box { height: 100%; padding: 30px; border: 1px solid var(--jannati-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(7,59,82,.06); }
.jannati-info-box h3 { margin: 0 0 12px; color: var(--jannati-navy); font-size: 23px; }
.jannati-info-box p { margin: 0; color: var(--jannati-muted); line-height: 1.85; }
.jannati-number { display: inline-grid; width: 46px; height: 46px; margin-bottom: 18px; place-items: center; border-radius: 50%; background: var(--jannati-orange); color: #fff; font-weight: 900; }
.jannati-callout { padding: clamp(34px, 5vw, 58px); border-radius: 26px; background: var(--jannati-navy); color: #fff; }
.jannati-callout h2 { margin-top: 0; color: #fff; font-size: clamp(30px, 4vw, 46px); }
.jannati-callout p { color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.9; }
.jannati-tags { gap: 10px; }
.jannati-tag { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #edf5f3; color: var(--jannati-navy); font-size: 14px; font-weight: 800; }
.jannati-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 8px 26px rgba(7,59,82,.06); }
.jannati-table th, .jannati-table td { padding: 16px 18px; border-bottom: 1px solid var(--jannati-line); text-align: right; }
.jannati-table th { background: var(--jannati-navy); color: #fff; }
.jannati-faq details { margin-bottom: 14px; padding: 20px 24px; border: 1px solid var(--jannati-line); border-radius: 14px; background: #fff; }
.jannati-faq summary { cursor: pointer; color: var(--jannati-navy); font-weight: 800; }
.jannati-faq details p { color: var(--jannati-muted); line-height: 1.8; }
.jannati-post-grid .wp-block-post { padding: 22px; border: 1px solid var(--jannati-line); border-radius: 18px; background: #fff; }
.jannati-post-grid .wp-block-post-title { color: var(--jannati-navy); font-size: 24px; }
.jannati-notice { padding: 16px 20px; border-right: 4px solid var(--jannati-yellow); background: var(--jannati-ivory); color: var(--jannati-muted); }

@media (max-width: 980px) {
  .jannati-header .wp-block-navigation__responsive-container-open { display: flex; }
  .jannati-header .wp-block-navigation__container { display: none; }
  .jannati-hero { min-height: 590px; background-position: 63% center !important; }
  .jannati-hero::before { background: linear-gradient(90deg, rgba(255,249,241,.98) 0%, rgba(255,249,241,.88) 52%, rgba(255,249,241,.20) 100%) !important; }
  .jannati-hero-copy { width: 62%; }
  .jannati-slide-inner { padding-inline: 58px; }
  .jannati-slide-copy { width: 62%; }
}

@media (max-width: 782px) {
  .admin-bar .jannati-header { top: 46px; }
  .jannati-header-inner { min-height: 70px; }
  .jannati-logo img { height: 50px; }
  .jannati-header .jannati-langs, .jannati-header .jannati-button { display: none; }
  .jannati-hero { min-height: 680px; align-items: flex-end !important; padding: 40px 20px; background-position: 66% center !important; }
  .jannati-hero::before { background: linear-gradient(0deg, rgba(255,249,241,.99) 0%, rgba(255,249,241,.94) 45%, rgba(255,249,241,.12) 78%) !important; }
  .jannati-hero-copy { width: 100%; margin: 0; }
  .jannati-hero h1 { font-size: 39px; }
  .jannati-slider, .jannati-slider-track, .jannati-slide { min-height: 620px; }
  .jannati-slide { align-items: end; }
  .jannati-slide-media { object-position: 64% center; }
  .jannati-slide-overlay { background: linear-gradient(0deg, rgba(255,249,241,.99) 0%, rgba(255,249,241,.94) 48%, rgba(255,249,241,.08) 82%); }
  .jannati-slide-inner { padding: 245px 24px 82px; }
  .jannati-slide-copy { width: 100%; }
  .jannati-slide h1, .jannati-slide h2 { font-size: clamp(36px, 10vw, 46px); }
  .jannati-slider-arrow { top: 43%; width: 42px; height: 42px; }
  .jannati-slider-arrow.is-prev { left: 12px; }
  .jannati-slider-arrow.is-next { right: 12px; }
  .jannati-slider-dots { bottom: 24px; }
  .jannati-stats { margin-top: 0; width: auto; border-radius: 0; }
  .jannati-section { padding: 54px 20px; }
  .jannati-card-grid, .jannati-life { gap: 18px; }
  .jannati-cta-copy { width: 100%; }
  .jannati-page-hero { min-height: 360px; padding: 54px 20px; }
  .jannati-page-hero-copy { width: 100%; }
  .jannati-page-hero::before { background: rgba(7,59,82,.82) !important; }
  .jannati-footer-brand { margin-inline: auto; }
}

.jannati-form-wrap {
  background: #fff;
  border: 1px solid #e2e8ec;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(7, 58, 78, .09);
  padding: clamp(22px, 4vw, 40px);
}

.jannati-form label { display: block; margin-bottom: 8px; font-weight: 700; color: #073a4e; }
.jannati-form p { margin: 0 0 18px; }
.jannati-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.jannati-form input,
.jannati-form select,
.jannati-form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ccd9df;
  border-radius: 12px;
  background: #fbfdfe;
  color: #153947;
  font: inherit;
  padding: 13px 14px;
}
.jannati-form input:focus,
.jannati-form select:focus,
.jannati-form textarea:focus { outline: 3px solid rgba(255, 185, 0, .25); border-color: #ffb900; }
.jannati-form textarea { resize: vertical; }
.jannati-form-consent { color: #5d747e; font-size: .9rem; }
.jannati-form-message { padding: 13px 16px; border-radius: 12px; font-weight: 700; }
.jannati-form-message.is-success { background: #e7f6eb; color: #216e39; }
.jannati-form-message.is-error { background: #ffebee; color: #a3212b; }
.jannati-hp { position: absolute !important; inset-inline-start: -9999px !important; }

html[lang^="fr"] .jannati-home,
html[lang^="fr"] .jannati-page,
html[lang^="fr"] .jannati-header,
html[lang^="fr"] .jannati-footer,
html[lang^="en"] .jannati-home,
html[lang^="en"] .jannati-page,
html[lang^="en"] .jannati-header,
html[lang^="en"] .jannati-footer { direction: ltr; }

html[lang^="fr"] .jannati-hero-copy,
html[lang^="fr"] .jannati-page-hero-copy,
html[lang^="en"] .jannati-hero-copy,
html[lang^="en"] .jannati-page-hero-copy { text-align: left; }

html[lang^="fr"] .jannati-list li,
html[lang^="en"] .jannati-list li { padding-right: 0; padding-left: 30px; }
html[lang^="fr"] .jannati-list li::before,
html[lang^="en"] .jannati-list li::before { right: auto; left: 0; }

@media (max-width: 620px) {
  .jannati-form-grid { grid-template-columns: 1fr; }
  .jannati-contact-actions { grid-template-columns: 1fr; }
  .jannati-hours-row { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .jannati-slide { transform: none !important; }
  .jannati-js .jannati-reveal { opacity: 1; transform: none; }
}

/* ================================================================
   JANNATI HORIZON — independent editorial design system
   ================================================================ */
:root {
  --h-deep: #062f3f;
  --h-deeper: #041f2a;
  --h-ink: #102a34;
  --h-cream: #f4efe4;
  --h-paper: #fbfaf6;
  --h-orange: #f26a2e;
  --h-gold: #ffc400;
  --h-mint: #9fc9b8;
  --h-line: rgba(16, 42, 52, .16);
  --h-shadow: 0 24px 70px rgba(4, 31, 42, .14);
}

body { background: var(--h-paper); color: var(--h-ink); }
.horizon-home, .horizon-header, .horizon-footer { direction: rtl; }
.horizon-shell { box-sizing: border-box; width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.horizon-skip { position: fixed; z-index: 10000; top: -80px; inset-inline-start: 24px; padding: 12px 18px; background: var(--h-gold); color: var(--h-deeper); font-weight: 900; text-decoration: none; }
.horizon-skip:focus { top: 0; }

/* Header */
.horizon-header { position: sticky; z-index: 200; top: 0; background: rgba(251,250,246,.96); border-bottom: 1px solid var(--h-line); backdrop-filter: blur(16px); transition: box-shadow .25s ease, transform .25s ease; }
.admin-bar .horizon-header { top: 32px; }
.horizon-header.is-scrolled { box-shadow: 0 14px 40px rgba(4,31,42,.08); }
.horizon-topbar { background: var(--h-deep); color: #fff; font-size: 12px; }
.horizon-topbar .horizon-shell { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.horizon-topbar p { margin: 0; opacity: .78; }
.horizon-topbar div > div { display: flex; align-items: center; gap: 22px; }
.horizon-topbar a { color: #fff; text-decoration: none; font-weight: 800; }
.horizon-topbar .jannati-langs { color: #fff; }
.horizon-nav { min-height: 88px; display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: clamp(20px, 3vw, 44px); }
.horizon-logo { line-height: 0; }
.horizon-logo img { display: block; width: 205px; height: auto; }
.horizon-desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(15px, 2vw, 28px); }
.horizon-desktop-nav a { position: relative; padding: 32px 0 28px; color: var(--h-ink); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.horizon-desktop-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 23px; height: 2px; background: var(--h-orange); transform: scaleX(0); transform-origin: center; transition: transform .22s ease; }
.horizon-desktop-nav a:hover::after { transform: scaleX(1); }
.horizon-nav-cta { display: inline-flex; align-items: center; gap: 12px; padding: 13px 17px; border: 1px solid var(--h-ink); color: var(--h-ink); text-decoration: none; font-size: 13px; font-weight: 900; transition: background .2s, color .2s; }
.horizon-nav-cta span { color: var(--h-orange); font-size: 17px; }
.horizon-nav-cta:hover { background: var(--h-ink); color: #fff; }
.horizon-menu { display: none; position: relative; }
.horizon-menu summary { list-style: none; cursor: pointer; font-weight: 900; }
.horizon-menu summary::-webkit-details-marker { display: none; }

/* Hero */
.horizon-hero { position: relative; min-height: min(780px, calc(100vh - 122px)); display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); overflow: hidden; background: var(--h-cream); }
.horizon-hero::before { content: ""; position: absolute; z-index: 0; top: -120px; inset-inline-start: -120px; width: 390px; height: 390px; border: 1px solid rgba(242,106,46,.25); border-radius: 50%; box-shadow: 0 0 0 70px rgba(242,106,46,.035), 0 0 0 140px rgba(242,106,46,.025); }
.horizon-hero-copy { position: relative; z-index: 2; align-self: center; padding: clamp(60px, 8vw, 120px) clamp(32px, 7vw, 110px); }
.horizon-overline, .horizon-kicker { margin: 0 0 20px; color: var(--h-orange); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.horizon-hero h1 { max-width: 680px; margin: 0; color: var(--h-deep); font-size: clamp(44px, 5.4vw, 82px); line-height: 1.08; letter-spacing: -.045em; }
.horizon-hero-lead { max-width: 620px; margin: 28px 0 34px; color: #47606a; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.85; }
.horizon-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.horizon-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; color: #fff; font-weight: 900; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.horizon-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(4,31,42,.18); }
.horizon-btn.is-accent { background: var(--h-orange); }
.horizon-btn.is-dark { background: var(--h-deep); }
.horizon-btn.is-cream { background: var(--h-cream); color: var(--h-deep); }
.horizon-btn.is-outline { border: 1px solid rgba(255,255,255,.45); background: transparent; }
.horizon-text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--h-deep); font-weight: 900; text-decoration: none; }
.horizon-text-link span { color: var(--h-orange); font-size: 19px; transition: transform .2s; }
.horizon-text-link:hover span { transform: translate(-3px, -3px); }
.horizon-text-link.is-light { color: #fff; }
.horizon-hero-visual { position: relative; min-height: 620px; margin: 28px 28px 28px 0; overflow: hidden; }
.horizon-hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, rgba(4,31,42,.30)); pointer-events: none; }
.horizon-hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; transition: transform 8s ease; }
.horizon-hero:hover .horizon-hero-visual > img { transform: scale(1.035); }
.horizon-year { position: absolute; z-index: 2; inset-inline-end: 0; bottom: 0; width: 155px; height: 145px; display: grid; place-content: center; background: var(--h-gold); color: var(--h-deep); text-align: center; }
.horizon-year strong { font-size: 37px; line-height: 1; }
.horizon-year span { margin-top: 6px; font-size: 12px; font-weight: 900; }
.horizon-scroll { position: absolute; z-index: 3; inset-inline-start: 28px; bottom: 30px; display: flex; align-items: center; gap: 12px; color: #62747b; font-size: 11px; font-weight: 800; transform: rotate(-90deg); transform-origin: bottom right; }
.horizon-scroll span { width: 42px; height: 1px; background: var(--h-orange); }

/* Content building blocks */
.horizon-quick, .horizon-stages, .horizon-admissions { padding-block: clamp(78px, 10vw, 140px); }
.horizon-section-intro { display: grid; grid-template-columns: .8fr 1fr; align-items: end; gap: 44px; margin-bottom: 42px; }
.horizon-section-intro h2, .horizon-section-head h2, .horizon-approach h2, .horizon-final h2 { margin: 0; color: var(--h-deep); font-size: clamp(36px, 4.8vw, 64px); line-height: 1.08; letter-spacing: -.035em; }
.horizon-section-intro p, .horizon-section-head > p { max-width: 560px; margin: 0; color: #5a6e76; line-height: 1.85; }
.horizon-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--h-line); border-bottom: 1px solid var(--h-line); }
.horizon-quick-grid > a { min-height: 155px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 24px 30px; border-inline-end: 1px solid var(--h-line); color: var(--h-ink); text-decoration: none; transition: background .24s, color .24s; }
.horizon-quick-grid > a:last-child { border-inline-end: 0; }
.horizon-quick-grid > a:hover { background: var(--h-deep); color: #fff; }
.horizon-quick-grid b { color: var(--h-orange); font-size: 13px; }
.horizon-quick-grid span { display: grid; gap: 7px; }
.horizon-quick-grid strong { font-size: 19px; }
.horizon-quick-grid small { opacity: .65; }
.horizon-quick-grid i { color: var(--h-orange); font-size: 22px; font-style: normal; }

.horizon-manifesto { padding: clamp(80px, 10vw, 150px) 0 0; background: var(--h-deep); color: #fff; overflow: hidden; }
.horizon-manifesto-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(60px, 9vw, 140px); align-items: end; }
.horizon-manifesto blockquote { margin: 0; color: #fff; font-size: clamp(35px, 4.4vw, 66px); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; }
.horizon-manifesto-copy { padding-bottom: 10px; }
.horizon-manifesto-copy > p { margin: 0 0 30px; color: rgba(255,255,255,.69); font-size: 17px; line-height: 1.95; }
.horizon-values { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(65px, 9vw, 120px); border-top: 1px solid rgba(255,255,255,.14); }
.horizon-values span { padding: 30px 20px; border-inline-end: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.84); font-weight: 800; text-align: center; }
.horizon-values span:last-child { border: 0; }

.horizon-section-head { display: grid; grid-template-columns: 1.05fr .7fr; align-items: end; gap: 70px; margin-bottom: 54px; }
.horizon-section-head .horizon-kicker { margin-bottom: 14px; }
.horizon-stage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 5vw, 70px); }
.horizon-stage-card { position: relative; min-height: 660px; overflow: hidden; background: var(--h-deep); box-shadow: var(--h-shadow); }
.horizon-stage-card.is-offset { margin-top: 85px; }
.horizon-stage-card > img { width: 100%; height: 360px; object-fit: cover; transition: transform .6s ease; }
.horizon-stage-card:hover > img { transform: scale(1.035); }
.horizon-stage-content { padding: clamp(28px, 4vw, 48px); color: #fff; }
.horizon-stage-content > span { color: var(--h-gold); font-size: 12px; font-weight: 900; letter-spacing: .09em; }
.horizon-stage-content h3 { margin: 10px 0 16px; font-size: clamp(30px, 3.3vw, 46px); }
.horizon-stage-content p { margin: 0 0 26px; color: rgba(255,255,255,.70); line-height: 1.8; }
.horizon-stage-content a { color: #fff; font-weight: 900; text-decoration: none; }

.horizon-approach { padding: clamp(90px, 11vw, 160px) 0; background: var(--h-cream); }
.horizon-approach-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(60px, 8vw, 120px); align-items: center; }
.horizon-photo-stack { position: relative; min-height: 660px; }
.horizon-photo-stack img { object-fit: cover; box-shadow: var(--h-shadow); }
.horizon-photo-stack .is-main { width: 83%; height: 570px; }
.horizon-photo-stack .is-small { position: absolute; inset-inline-end: 0; bottom: 0; width: 44%; height: 270px; border: 12px solid var(--h-cream); }
.horizon-approach-copy > p:not(.horizon-kicker) { color: #526971; font-size: 17px; line-height: 1.95; }
.horizon-approach-copy ol { list-style: none; padding: 0; margin: 32px 0; border-top: 1px solid var(--h-line); }
.horizon-approach-copy li { display: flex; align-items: center; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--h-line); font-weight: 800; }
.horizon-approach-copy li b { color: var(--h-orange); font-size: 12px; }

.horizon-life { position: relative; min-height: 700px; display: grid; align-items: end; overflow: hidden; }
.horizon-life > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.horizon-life-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,31,42,.94) 0%, rgba(4,31,42,.40) 65%, rgba(4,31,42,.05) 100%); }
.horizon-life-copy { position: relative; z-index: 2; width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: 90px 0; color: #fff; }
.horizon-life-copy h2 { max-width: 730px; margin: 0; font-size: clamp(46px, 6.2vw, 88px); line-height: 1; letter-spacing: -.04em; }
.horizon-life-copy p { max-width: 680px; margin: 26px 0 32px; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.8; }

.horizon-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--h-line); }
.horizon-steps article { min-height: 260px; padding: 42px 34px; border-inline-end: 1px solid var(--h-line); }
.horizon-steps article:last-child { border: 0; }
.horizon-steps b { color: var(--h-orange); font-size: 14px; }
.horizon-steps h3 { margin: 48px 0 12px; color: var(--h-deep); font-size: 23px; }
.horizon-steps p { margin: 0; color: #60747c; line-height: 1.75; }

.horizon-news { padding: clamp(80px, 10vw, 140px) 0; background: #e8eee9; }
.horizon-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.horizon-news-grid article { min-width: 0; }
.horizon-news-image { display: block; height: 290px; margin-bottom: 22px; overflow: hidden; background: var(--h-deep); }
.horizon-news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.horizon-news-image:hover img { transform: scale(1.045); }
.horizon-news-grid time { color: var(--h-orange); font-size: 12px; font-weight: 900; }
.horizon-news-grid h3 { margin: 10px 0 18px; font-size: 23px; line-height: 1.35; }
.horizon-news-grid h3 a, .horizon-news-read { color: var(--h-deep); text-decoration: none; }
.horizon-news-read { font-size: 13px; font-weight: 900; }

.horizon-final { padding: clamp(80px, 9vw, 130px) 0; background: var(--h-deeper); color: #fff; }
.horizon-final-grid { display: grid; grid-template-columns: 1fr 380px; align-items: center; gap: 100px; }
.horizon-final h2 { color: #fff; }
.horizon-final-grid > div > p:not(.horizon-kicker) { max-width: 680px; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.8; }
.horizon-final aside { padding: 34px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.horizon-final aside > strong { display: block; margin-bottom: 18px; color: var(--h-gold); font-size: 18px; }
.horizon-final aside p { display: flex; justify-content: space-between; gap: 15px; margin: 0; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); }
.horizon-final aside small { color: rgba(255,255,255,.55); }
.horizon-mobile-actions { display: none; }

/* Footer */
.horizon-footer { direction: rtl; padding: 80px 0 24px; background: var(--h-cream); color: var(--h-deep); }
.horizon-footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, .65fr); gap: clamp(32px, 5vw, 74px); }
.horizon-footer-brand img { width: min(300px, 100%); height: auto; }
.horizon-footer-brand h2 { max-width: 440px; margin: 25px 0 10px; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; }
.horizon-footer-brand p { color: #687a80; }
.horizon-footer-main h3 { margin: 5px 0 22px; font-size: 14px; }
.horizon-footer-main > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.horizon-footer-main a { margin-bottom: 13px; color: #425963; font-size: 14px; font-weight: 700; text-decoration: none; }
.horizon-footer-main a:hover { color: var(--h-orange); }
.horizon-footer-main > div > p { color: #687a80; line-height: 1.7; }
.horizon-footer-hours { margin-top: 58px; padding: 18px 0; border-top: 1px solid var(--h-line); border-bottom: 1px solid var(--h-line); color: #596e76; font-size: 13px; font-weight: 800; text-align: center; }
.horizon-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-top: 24px; color: #74858b; font-size: 12px; }
.horizon-footer-bottom .jannati-langs { color: var(--h-deep); }

/* Internal pages inherit the Horizon editorial language */
.jannati-page-hero:not(.wp-block-cover) { min-height: 420px; display: grid; align-items: end; padding-block: 90px 70px; background: var(--h-deep); }
.jannati-page-hero h1 { max-width: 900px; font-size: clamp(46px, 6vw, 78px); letter-spacing: -.04em; }
.jannati-page-hero p { max-width: 760px; }
.jannati-breadcrumb { color: var(--h-gold) !important; letter-spacing: .06em; }
.jannati-content-section { padding-block: clamp(70px, 9vw, 120px); }
.jannati-info-box, .jannati-card, .jannati-contact-card, .jannati-form-wrap { border-radius: 3px; box-shadow: 0 18px 50px rgba(4,31,42,.08); }
.jannati-section-title { color: var(--h-deep); font-size: clamp(34px, 4vw, 54px); letter-spacing: -.025em; }
.jannati-section-title::after, .jannati-title-motion::after { height: 3px; background: var(--h-orange); box-shadow: none; }

/* Motion */
.horizon-home .horizon-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--h-delay, 0ms); }
.horizon-home .horizon-reveal.is-visible { opacity: 1; transform: none; }

html[lang^="fr"] .horizon-home, html[lang^="fr"] .horizon-header, html[lang^="fr"] .horizon-footer,
html[lang^="en"] .horizon-home, html[lang^="en"] .horizon-header, html[lang^="en"] .horizon-footer { direction: ltr; }
html[lang^="fr"] .horizon-hero-visual, html[lang^="en"] .horizon-hero-visual { margin: 28px 0 28px 28px; }

@media (max-width: 1100px) {
  .horizon-desktop-nav { display: none; }
  .horizon-nav { grid-template-columns: 1fr auto auto; }
  .horizon-menu { display: block; }
  .horizon-menu summary { display: flex; align-items: center; gap: 9px; padding: 12px; border: 1px solid var(--h-line); }
  .horizon-menu nav { position: absolute; z-index: 20; top: calc(100% + 14px); inset-inline-end: 0; width: min(310px, calc(100vw - 48px)); display: grid; padding: 15px; background: var(--h-paper); border: 1px solid var(--h-line); box-shadow: var(--h-shadow); }
  .horizon-menu nav a { padding: 12px; border-bottom: 1px solid var(--h-line); color: var(--h-ink); text-decoration: none; font-weight: 800; }
  .horizon-final-grid { grid-template-columns: 1fr 330px; gap: 55px; }
}

@media (max-width: 820px) {
  .horizon-shell { width: min(100% - 36px, 1280px); }
  .horizon-topbar p, .horizon-nav-cta { display: none; }
  .horizon-topbar .horizon-shell { justify-content: center; }
  .horizon-nav { min-height: 76px; grid-template-columns: 1fr auto; }
  .horizon-logo img { width: 185px; }
  .horizon-hero { min-height: 0; display: flex; flex-direction: column; }
  .horizon-hero-copy { order: 2; padding: 48px 24px 82px; }
  .horizon-hero-visual { order: 1; min-height: 430px; margin: 18px 18px 0 !important; }
  .horizon-scroll { display: none; }
  .horizon-section-intro, .horizon-section-head, .horizon-manifesto-grid, .horizon-approach-grid, .horizon-final-grid { grid-template-columns: 1fr; gap: 32px; }
  .horizon-quick-grid, .horizon-steps { grid-template-columns: 1fr; }
  .horizon-quick-grid > a, .horizon-steps article { border-inline-end: 0; border-bottom: 1px solid var(--h-line); }
  .horizon-values { grid-template-columns: 1fr 1fr; }
  .horizon-stage-grid { gap: 24px; }
  .horizon-stage-card.is-offset { margin-top: 45px; }
  .horizon-photo-stack { min-height: 540px; }
  .horizon-photo-stack .is-main { height: 470px; }
  .horizon-news-grid { grid-template-columns: 1fr 1fr; }
  .horizon-news-grid article:last-child { display: none; }
  .horizon-footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .horizon-footer-main > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 560px) {
  .admin-bar .horizon-header { top: 46px; }
  .horizon-topbar div > div { gap: 12px; }
  .horizon-topbar .jannati-langs a { margin-inline: 4px; }
  .horizon-hero-visual { min-height: 310px; }
  .horizon-hero-copy { padding-bottom: 56px; }
  .horizon-hero h1 { font-size: 45px; }
  .horizon-year { width: 105px; height: 95px; }
  .horizon-year strong { font-size: 28px; }
  .horizon-stage-grid, .horizon-news-grid { grid-template-columns: 1fr; }
  .horizon-stage-card, .horizon-stage-card.is-offset { min-height: 0; margin-top: 0; }
  .horizon-stage-card > img { height: 280px; }
  .horizon-photo-stack { min-height: 430px; }
  .horizon-photo-stack .is-main { width: 90%; height: 380px; }
  .horizon-photo-stack .is-small { height: 175px; border-width: 7px; }
  .horizon-life { min-height: 620px; }
  .horizon-news-grid article:last-child { display: block; }
  .horizon-final { padding-bottom: 110px; }
  .horizon-mobile-actions { position: fixed; z-index: 190; inset-inline: 12px; bottom: 12px; display: grid; grid-template-columns: .8fr 1.2fr; box-shadow: 0 14px 40px rgba(4,31,42,.30); }
  .horizon-mobile-actions a { padding: 14px 10px; background: var(--h-deep); color: #fff; font-size: 12px; font-weight: 900; text-align: center; text-decoration: none; }
  .horizon-mobile-actions a:last-child { background: var(--h-orange); }
  .horizon-footer-main { grid-template-columns: 1fr 1fr; }
  .horizon-footer-brand { grid-column: 1 / 3; }
  .horizon-footer-main > div:last-child { grid-column: 1 / 3; }
  .horizon-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .horizon-hero-visual > img, .horizon-home .horizon-reveal { transition: none !important; transform: none !important; opacity: 1 !important; }
}
