/* ═══════════════════════════════════════════════
   حكاية إرث.. من قلب حائل — فعاليات اليوم الوطني
   هوية «عزّنا بطبعنا»
   ═══════════════════════════════════════════════ */
:root {
  --bg: #002528;
  --bg-deep: #031B20;
  --green: #008849;
  --lime: #5AB91C;
  --lime-light: #C4F08A;
  --blue: #0050AE;
  --blue-light: #A9D3FF;
  --violet: #6464DF;
  --violet-light: #DCDAFF;
  --ochre: #7B5D20;
  --ochre-light: #E8C58A;
  --magenta: #961A4D;
  --magenta-light: #FFC2DC;
  --white: #FFFFFF;
  --text-2: rgba(255,255,255,0.74);
  --text-3: rgba(255,255,255,0.42);
  --line: rgba(0,136,73,0.35);
  --line-soft: rgba(0,136,73,0.28);
  --sand: #D9BD8E;
  --sand-ink: #4A3417;
  --glyph: rgba(232,197,138,.85);
  --font: 'IBM Plex Sans Arabic', 'IBM Plex Sans', 'Segoe UI', Tahoma, sans-serif;
  --gutter: clamp(20px, 7.8vw, 112px);
  --cell: 56px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-slow: cubic-bezier(.16, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.ltr { direction: ltr; unicode-bidi: isolate; }

.wrap { max-width: calc(1216px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
main { background: var(--bg); }

/* ── Identity motifs ── */
.grid-bg {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(0,136,73,0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,136,73,0.13) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  background-position: -1px -1px;
}
.checker {
  height: 30px;
  background-color: var(--bg-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='30'%3E%3Crect width='16' height='30' fill='%23031B20'/%3E%3Crect width='16' height='2' fill='%23008849'/%3E%3Crect y='28' width='16' height='2' fill='%23008849'/%3E%3Crect x='0' y='4' width='8' height='8' fill='%23008849'/%3E%3Crect x='8' y='4' width='8' height='8' fill='%230B3A3B'/%3E%3Crect x='8' y='12' width='8' height='8' fill='%23031B20'/%3E%3Crect x='0' y='12' width='8' height='8' fill='%230B3A3B'/%3E%3Crect x='0' y='20' width='8' height='8' fill='%23031B20'/%3E%3Crect x='8' y='20' width='8' height='8' fill='%23008849'/%3E%3C/svg%3E");
  background-size: 16px 30px;
  background-repeat: repeat-x;
}
.diamonds {
  width: min(616px, 100%); height: 12px; margin-inline: auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='12'%3E%3Cpath d='M28 1L33 6L28 11L23 6Z' fill='%23008849'/%3E%3C/svg%3E");
  background-size: 56px 12px; background-repeat: repeat-x; background-position: center;
}
.dia { width: 8px; height: 8px; background: var(--green); transform: rotate(45deg); flex: none; }

/* ── ملمس الحجر الرملي (موقع كامل) ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 .82 0 0 0 0 .68 0 0 0 0 .45 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .045;
  mix-blend-mode: overlay;
}
@media (max-width: 480px) { body::after { opacity: .03; } }

/* ── نقوش صخرية مستوحاة من جبل أم سنمان (جبّة) وجبال الشويمس ──
   رسوم خطية أصلية تجريدية — وعل، جمل، شكل آدمي، بصمة كف، شمس، رمز ثمودي —
   تُستخدم كزخارف خافتة بعيدة عن النصوص، لا كصورة موثّقة منقولة. */
.glyph-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.glyph-mark {
  position: absolute; z-index: -1; pointer-events: none;
  color: var(--sand); opacity: 0; fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: opacity 1.6s var(--ease-slow), transform 1.6s var(--ease-slow);
  transform: translateY(10px);
}
.glyph-mark.in { opacity: var(--gop, .07); transform: translateY(0); }
.on-tint .glyph-mark { color: rgba(255,255,255,.9); }

.rock-frieze {
  height: 34px;
  background-color: var(--bg-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='34'%3E%3Cg fill='none' stroke='%23E8C58A' stroke-width='1.6' stroke-linecap='round' opacity='.4'%3E%3Cpath d='M10 27L18 9L26 27'/%3E%3Cpath d='M46 10v17M40 15h12M40 21h12'/%3E%3Ccircle cx='84' cy='18' r='6'/%3E%3Cpath d='M84 6v4M84 26v4M72 18h4M92 18h4'/%3E%3Cpath d='M112 27 122 9 132 27'/%3E%3Cpath d='M150 10v17M144 15h12M144 21h12'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 168px 34px;
  background-repeat: repeat-x;
  background-position: center;
}
@media (max-width: 640px) { .rock-frieze { height: 26px; background-size: 128px 26px; } }
@media (prefers-reduced-motion: reduce) { .glyph-mark { transition: none; transform: none; } }

/* ── Scroll progress ── */
#progress {
  position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0;
  background: var(--lime); z-index: 200; transition: width 0.1s linear;
}

/* ── Header ── */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 150;
  border-bottom: 1px solid var(--line);
  background: rgba(0,37,40,0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background 0.35s, box-shadow 0.35s;
}
.site-header.scrolled { background: rgba(3,27,32,0.96); box-shadow: 0 8px 30px rgba(0,0,0,0.28); }
.site-header .wrap {
  height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  transition: height 0.35s var(--ease);
}
.site-header.scrolled .wrap { height: 80px; }
.snd-logo { height: 56px; width: auto; transition: height 0.35s var(--ease); }
.site-header.scrolled .snd-logo { height: 46px; }
/* شعار هوليداي فيلا بألوانه الكاملة — بلا فلتر تبييض حتى تظهر كرة الأرض */
.partner-logo { height: 44px; width: auto; transition: height 0.35s var(--ease); }
.site-header.scrolled .partner-logo { height: 38px; }

/* شعار اليوم الوطني + شعار الشركة المنظمة */
.brand-group { display: flex; align-items: center; gap: 24px; flex: none; }
.brand-group picture { display: contents; }
.brand-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.28); flex: none; }
.bsmc-logo { height: 42px; width: auto; transition: height 0.35s var(--ease); }
.site-header.scrolled .bsmc-logo { height: 36px; }
.site-header.scrolled .brand-divider { height: 36px; }

.header-nav { display: flex; align-items: center; gap: 36px; font-size: 16px; }
.header-nav a { color: rgba(255,255,255,0.78); transition: color 0.2s; }
.header-nav a:hover { color: var(--lime); }
/* شعار هوليداي فيلا أعرض من السابق — تُضبط المقاسات هنا حتى لا يتزاحم الهيدر */
@media (max-width: 1340px) {
  .site-header .wrap { gap: 20px; }
  .header-nav { gap: 24px; font-size: 15px; }
  .partner-logo { height: 38px; }
  .site-header.scrolled .partner-logo { height: 34px; }
  .snd-logo { height: 48px; }
  .site-header.scrolled .snd-logo { height: 42px; }
  .brand-group { gap: 16px; }
}
@media (max-width: 1180px) {
  .header-nav { display: none; }
  .partner-logo { height: 44px; }
  .site-header.scrolled .partner-logo { height: 38px; }
}
@media (max-width: 860px) {
  .site-header .wrap, .site-header.scrolled .wrap { height: 72px; gap: 16px; }
  .snd-logo, .site-header.scrolled .snd-logo { height: 32px; }
  .partner-logo, .site-header.scrolled .partner-logo { height: 34px; }
  .brand-group { gap: 12px; }
  .brand-divider, .site-header.scrolled .brand-divider { height: 28px; }
  .bsmc-logo, .site-header.scrolled .bsmc-logo { height: 30px; }
}
/* على الجوال يتحوّل شعار اليوم الوطني للنسخة العمودية الأضيق ليتسع شعار هوليداي فيلا كاملًا */
@media (max-width: 640px) {
  .snd-logo, .site-header.scrolled .snd-logo { height: 44px; }
}
@media (max-width: 400px) {
  .snd-logo, .site-header.scrolled .snd-logo { height: 40px; }
  .partner-logo, .site-header.scrolled .partner-logo { height: 30px; }
  .bsmc-logo, .site-header.scrolled .bsmc-logo { height: 27px; }
  .brand-group { gap: 10px; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 34px; font-size: 17px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #009E55; }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.35); font-weight: 500; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-white { background: var(--white); color: var(--bg); }
.btn-white:hover { background: #EAF7EE; }
/* الزر الداكن يستعمل خضرة الهوية العميقة — يفصل عن الخلفية الخضراء دون لون خارج اللوحة */
.btn-ink { background: var(--bg); color: var(--white); border-color: rgba(255,255,255,0.26); }
.btn-ink:hover { background: var(--bg-deep); border-color: rgba(196,240,138,0.5); color: var(--lime-light); }
.btn-outline-white { color: var(--white); border-color: rgba(255,255,255,0.55); font-weight: 500; }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-register { position: relative; isolation: isolate; padding-inline: 44px; font-weight: 700; box-shadow: 0 14px 34px rgba(0,37,40,0.26); }
.btn-register svg { color: var(--green); }
.btn-register::before {
  content: ''; position: absolute; inset: -1px; z-index: -1;
  border: 1.5px solid rgba(196,240,138,0.75); animation: regPulse 2.8s var(--ease) infinite;
}
@keyframes regPulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.09); }
}

/* ── Hero ── */
.hero { position: relative; isolation: isolate; padding-top: 104px; }
/* مواضع محسوبة على مساحات فارغة فعليًا حول لوحة «الأصالة»: الشريط العلوي، الممر بين
   اللوحة والنص، والشريط السفلي — لا تختفي خلف اللوحة ولا تتقاطع مع أي نص. */
.hero .gm-b { width: 78px; top: 128px; left: 150px; --gop: .09; }
.hero .gm-a { width: 82px; top: 330px; left: 624px; --gop: .1; }
.hero .gm-c { width: 66px; top: 778px; left: 162px; --gop: .1; }
@media (max-width: 1100px) { .hero .gm-a, .hero .gm-b, .hero .gm-c { display: none; } }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 504px; gap: clamp(48px, 6.7vw, 96px);
  align-items: center; padding-block: 84px 84px;
}
.hero-badge { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-badge .num { height: 36px; padding: 0 14px; display: flex; align-items: center; background: var(--green); font-size: 15px; font-weight: 600; }
.hero-badge .label { font-size: 17px; font-weight: 500; color: var(--lime); }
.hero h1 { font-weight: 700; font-size: clamp(58px, 8vw, 132px); white-space: nowrap; line-height: 1.15; letter-spacing: -0.01em; margin-top: 30px; }
.hero .sub { font-size: clamp(28px, 3.2vw, 46px); font-weight: 300; line-height: 1.3; color: var(--lime); margin-top: 4px; }
.hero-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.9; font-weight: 300; color: var(--text-2); max-width: 540px; margin-top: 30px; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

.hero-tile { position: relative; width: 100%; max-width: 504px; justify-self: end; }
.hero-tile .frame { position: relative; padding: 14px; border: 1px solid var(--green); background: var(--bg-deep); }
.hero-tile .frame img { width: 100%; height: auto; aspect-ratio: 1; }
.hero-tile .frame i { position: absolute; width: 12px; height: 12px; background: var(--green); }
.hero-tile .frame i:nth-of-type(1) { top: -6px; right: -6px; }
.hero-tile .frame i:nth-of-type(2) { top: -6px; left: -6px; }
.hero-tile .frame i:nth-of-type(3) { bottom: -6px; right: -6px; }
.hero-tile .frame i:nth-of-type(4) { bottom: -6px; left: -6px; }
.hero-tile .caption { display: flex; justify-content: space-between; margin-top: 30px; font-size: 12px; letter-spacing: 0.32em; color: rgba(90,185,28,0.8); }

.hero-meta { border-top: 1px solid var(--line); }
.hero-meta .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-meta .cell { min-height: 96px; display: flex; align-items: center; gap: 14px; font-size: 17px; color: rgba(255,255,255,0.85); }
.hero-meta .cell + .cell { border-right: 1px solid var(--line); padding-right: 32px; }
.hero-meta .cell.hl { color: var(--lime-light); background: rgba(90,185,28,0.055); }
.hero-meta .cell.hl .dia { background: var(--lime); }
.date-stack { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.date-stack .dow { font-size: 13px; font-weight: 500; letter-spacing: 0.03em; color: rgba(196,240,138,0.72); }
.date-stack .dt { font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--lime-light); }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 56px 48px; }
  .hero-tile { justify-self: start; max-width: 460px; }
  .hero-meta .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 0; }
  .hero-meta .cell { min-height: 64px; padding-inline: var(--gutter); font-size: 15px; }
  .hero-meta .cell + .cell { padding-right: var(--gutter); }
  .hero-meta .cell:nth-child(odd) { border-right: 0; }
  .hero-meta .cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) { .hero { padding-top: 72px; } }
@media (max-width: 640px) {
  .hero-grid { padding-block: 40px 32px; gap: 36px; }
  .hero-cta { flex-direction: column; gap: 10px; margin-top: 32px; }
  .hero-cta .btn { width: 100%; min-height: 56px; }
  .hero-tile { max-width: none; }
  .hero-tile .frame { padding: 10px; }
  .hero-tile .caption { display: none; }
  .hero-meta .cell { font-size: 14px; gap: 10px; }
  .hero-meta .cell .dia { width: 6px; height: 6px; }
  .date-stack .dow { font-size: 12px; }
  .date-stack .dt { font-size: 16px; }
}

/* ── Intro ── */
.intro { padding-block: clamp(72px, 9vw, 128px) clamp(64px, 8.3vw, 120px); text-align: center; background: var(--bg); }
.eyebrow-en { font-size: 13px; letter-spacing: 0.4em; color: var(--green); }
.intro .quote { font-size: clamp(32px, 3.9vw, 56px); font-weight: 600; line-height: 1.45; max-width: 1000px; margin: 22px auto 0; text-wrap: balance; }
.intro-frieze { width: min(760px, 100%); height: auto; margin: 40px auto 0; opacity: .92; }
@media (max-width: 640px) { .intro-frieze { width: min(560px, 100%); margin-top: 30px; } }
.intro .text { font-size: clamp(17px, 1.4vw, 20px); line-height: 2; font-weight: 300; color: var(--text-2); max-width: 780px; margin: 34px auto 0; text-wrap: pretty; }

/* ── Section head ── */
.sec-head { display: flex; align-items: stretch; gap: 20px; }
.sec-num {
  width: 112px; height: 112px; flex: none; background: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 52px; font-weight: 600;
}
.sec-head .titles { display: flex; flex-direction: column; justify-content: center; }
.sec-title { font-size: clamp(34px, 4.4vw, 64px); font-weight: 700; line-height: 1.2; }
.sec-en { font-size: clamp(18px, 1.8vw, 26px); font-weight: 300; color: var(--green); margin-top: 2px; }
@media (max-width: 640px) {
  .sec-head { gap: 14px; }
  .sec-num { width: 76px; height: 76px; font-size: 34px; }
}

/* ── Schedule ── */
.schedule { padding-block: clamp(64px, 7.8vw, 112px) clamp(80px, 9.7vw, 140px); border-top: 1px solid var(--line); }
.schedule-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.day-legend { display: flex; gap: 12px; flex-wrap: wrap; }
.day-legend a { min-height: 48px; padding: 0 20px; display: flex; align-items: center; font-size: 15px; font-weight: 500; transition: filter 0.2s; }
.day-legend a:hover { filter: brightness(1.12); }
.day-legend .d1 { background: var(--green); }
.day-legend .d2 { background: var(--ochre); }
@media (max-width: 860px) { .day-legend { display: none; } }

.day { margin-top: 80px; display: grid; grid-template-columns: 448px minmax(0, 1fr); gap: 64px; align-items: start; }
.day + .feature, .day2 + .feature { margin-top: 72px; }
.day.day2 { margin-top: 140px; }
.day-card { display: flex; flex-direction: column; position: sticky; top: 104px; isolation: isolate; }
.day-card.green { background: var(--green); }
.day-card.ochre { background: var(--ochre); }
.day-card .body { padding: 44px; position: relative; isolation: isolate; }
.day-card .gm-day { width: 108px; bottom: 8px; left: 10px; --gop: .16; color: rgba(255,255,255,.92); }
@media (max-width: 1100px) { .day-card .gm-day { bottom: auto; top: 26px; left: auto; right: 26px; } }
@media (max-width: 640px) { .day-card .gm-day { width: 80px; top: 18px; right: 18px; } }
.day-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.day-card .label { font-size: 18px; font-weight: 500; color: rgba(255,255,255,0.88); }
.day-card .hours { font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.75); }
.day-card .day-date {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 10px;
  min-height: 42px; padding: 0 16px; background: rgba(3,27,32,0.26);
  border: 1px solid rgba(255,255,255,0.3); font-size: 17px; font-weight: 500; color: #fff;
}
.day-card .day-date .dia { background: rgba(255,255,255,0.9); width: 7px; height: 7px; }
.day-card h3 { font-size: clamp(34px, 3.6vw, 52px); font-weight: 700; line-height: 1.25; margin-top: 26px; }
.day-card .slogan { width: 260px; height: auto; margin-top: 34px; opacity: 0.95; }
.tiles-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles-3 img, .tiles-4 img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }

.events { border-top: 1px solid rgba(0,136,73,0.45); }
.day2 .events { border-top-color: rgba(232,197,138,0.45); }
.event {
  display: grid; grid-template-columns: 180px minmax(0, 1fr) 48px; gap: 28px;
  padding: 30px 20px; margin-inline: -20px; border-bottom: 1px solid var(--line-soft); align-items: baseline;
  border-radius: 2px; transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.event:hover { background-color: rgba(255,255,255,0.025); border-color: rgba(0,136,73,0.55); }
.day2 .event:hover { border-color: rgba(232,197,138,0.55); }
.event .time { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; color: var(--lime); text-align: right; }
.day2 .event .time { color: var(--ochre-light); }
.event h4 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; line-height: 1.4; text-wrap: pretty; }
.event .tag { font-size: 18px; color: var(--lime-light); margin-top: 6px; }
.day2 .event .tag { color: var(--ochre-light); }
.event .desc { font-size: 18px; line-height: 1.9; font-weight: 300; color: var(--text-2); margin-top: 8px; max-width: 56ch; text-wrap: pretty; }
.event .idx { font-size: 14px; color: var(--text-3); text-align: left; align-self: center; }

@media (max-width: 1100px) {
  .day { grid-template-columns: 1fr; gap: 0; margin-top: 56px; }
  .day.day2 { margin-top: 88px; }
  .day-card { position: relative; }
  .day-card .body { padding: 32px; }
  .day-card .title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
  .day-card .slogan { width: 180px; margin-top: 0; flex: none; }
  .events { border-top: 0; }
}
@media (max-width: 640px) {
  .day-card .body { padding: 26px 22px 24px; }
  .day-card .label { font-size: 15px; }
  .day-card .hours { font-size: 14px; }
  .day-card .day-date { margin-top: 14px; min-height: 36px; padding: 0 12px; font-size: 14px; gap: 8px; }
  .day-card h3 { margin-top: 16px; }
  .day-card .slogan { width: 112px; }
  .event { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding-block: 24px; }
  .event .time { grid-column: 1; grid-row: 1; text-align: right; }
  .event .idx { grid-column: 2; grid-row: 1; align-self: center; }
  .event > div { grid-column: 1 / -1; }
  .event .tag { font-size: 16px; }
  .event .desc { font-size: 16px; }
}

/* ── Feature: hospitality ambassadors ── */
.feature { margin-top: 72px; }
.feature-head {
  min-height: 64px; padding: 12px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--bg-deep); border: 1px solid rgba(0,136,73,0.45);
}
.feature-head .t { font-size: 17px; font-weight: 500; color: rgba(255,255,255,0.88); }
.feature-head .time { font-size: 24px; font-weight: 500; color: var(--lime); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.value-card { padding: 48px; display: flex; flex-direction: column; position: relative; isolation: isolate; }
.value-card.blue { background: var(--blue); }
.value-card.violet { background: var(--violet); }
.value-card .gm-vc { width: 96px; bottom: 14px; right: 14px; --gop: .14; color: rgba(255,255,255,.9); }
@media (max-width: 640px) { .value-card .gm-vc { width: 70px; bottom: 10px; right: 10px; } }
.value-card .top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.value-card .slogan { width: 210px; height: auto; }
.value-card .icon { width: 150px; height: 150px; border: 1px solid rgba(255,255,255,0.25); }
.value-card h4 { font-size: clamp(30px, 2.9vw, 42px); font-weight: 700; line-height: 1.3; margin-top: 32px; }
.value-card .role { font-size: 18px; font-weight: 500; margin-top: 4px; }
.value-card.blue .role { color: var(--blue-light); }
.value-card.violet .role { color: var(--violet-light); }
.value-card .desc { font-size: 18px; line-height: 1.95; font-weight: 300; color: rgba(255,255,255,0.88); margin-top: 22px; text-wrap: pretty; }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: auto; padding-top: 30px; }
.chip, .saying {
  min-height: 72px; background: rgba(3,27,32,0.28); border: 1px solid rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center; text-align: center; font-size: 20px; font-weight: 600;
}
.saying { margin-top: auto; font-size: clamp(22px, 2vw, 28px); padding: 0 16px; }
.value-card .spacer { height: 30px; flex: none; }
@media (max-width: 1100px) {
  .duo { grid-template-columns: 1fr; }
  .feature { margin-inline: calc(var(--gutter) * -1); }
  .feature-head { border-inline: 0; padding-inline: var(--gutter); }
  .value-card { padding: 40px var(--gutter); }
}
@media (max-width: 640px) {
  .feature { margin-top: 16px; }
  .feature-head .t { font-size: 14px; }
  .feature-head .time { font-size: 18px; }
  .value-card { padding: 32px 20px 36px; }
  .value-card .slogan { width: 150px; }
  .value-card .icon { width: 112px; height: 112px; }
  .value-card h4 { margin-top: 24px; }
  .value-card .role { font-size: 16px; margin-top: 0; }
  .value-card .desc { font-size: 16px; margin-top: 14px; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 20px; }
  .chip { min-height: 56px; font-size: 18px; }
  .saying { min-height: 64px; font-size: 24px; }
  .value-card .spacer { height: 20px; }
}

/* ── Mural ── */
.mural { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1fr) 560px; background: var(--magenta); }
.mural .body { padding: 56px 56px 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.mural .top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mural .slogan { width: 200px; height: auto; }
.mural .time { min-height: 48px; padding: 0 18px; display: flex; align-items: center; background: rgba(3,27,32,0.3); font-size: 24px; font-weight: 500; color: var(--magenta-light); }
.mural h4 { font-size: clamp(32px, 3.9vw, 56px); font-weight: 700; line-height: 1.3; margin-top: 36px; }
.mural .desc { font-size: 19px; line-height: 2; font-weight: 300; color: rgba(255,255,255,0.9); margin-top: 18px; max-width: 600px; text-wrap: pretty; }
.tiles-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.mural .tiles-4 img { height: 100%; aspect-ratio: auto; min-height: 140px; }
@media (max-width: 1100px) {
  .mural { grid-template-columns: 1fr; margin-inline: calc(var(--gutter) * -1); }
  .mural .tiles-4 { order: -1; }
  .mural .tiles-4 img { aspect-ratio: 1; height: auto; min-height: 0; }
  .mural .body { padding: 40px var(--gutter) 44px; }
}
@media (max-width: 640px) {
  .mural { margin-top: 16px; }
  .mural .tiles-4 img:nth-child(n+9) { display: none; }
  .mural .slogan { width: 140px; }
  .mural .time { min-height: 40px; font-size: 18px; padding: 0 14px; }
  .mural h4 { margin-top: 22px; }
  .mural .desc { font-size: 16px; line-height: 1.95; margin-top: 12px; }
}

/* ── Finale ── */
.finale { margin-top: 72px; display: grid; grid-template-columns: 280px minmax(0, 1fr) auto; border: 1px solid rgba(0,136,73,0.55); background: var(--bg-deep); }
.finale .when { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 6px; background: var(--green); }
.finale .when span:first-child { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.88); }
.finale .when .time { font-size: 32px; font-weight: 600; text-align: right; }
.finale .what { padding: 40px 48px; display: flex; flex-direction: column; justify-content: center; }
.finale h4 { font-size: clamp(30px, 3.3vw, 48px); font-weight: 700; line-height: 1.3; }
.finale .tag { font-size: clamp(20px, 1.8vw, 26px); color: var(--lime); margin-top: 2px; }
.finale .mark { padding: 32px 48px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); }
.finale .mark img { width: 260px; height: auto; }
@media (max-width: 1100px) {
  .finale { grid-template-columns: 1fr; margin-top: 32px; }
  .finale .when { flex-direction: row; align-items: center; justify-content: space-between; padding: 18px 24px; }
  .finale .when .time { font-size: 22px; }
  .finale .what { align-items: center; text-align: center; padding: 28px 20px 0; }
  .finale .mark { border-right: 0; padding: 26px 20px 30px; }
  .finale .mark img { width: 220px; }
}

/* ── Why ── */
.why { position: relative; isolation: isolate; padding-block: clamp(64px, 8.3vw, 120px); background: var(--bg); }
.why .gm-why { width: 300px; top: 50%; left: 50%; transform: translate(-50%, -55%); --gop: .05; }
.why .gm-why.in { transform: translate(-50%, -50%); }
@media (max-width: 900px) { .why .gm-why { width: 200px; } }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 64px; border: 1px solid rgba(0,136,73,0.4); }
.why-item { padding: 48px 44px; display: flex; flex-direction: column; gap: 16px; }
.why-item + .why-item { border-right: 1px solid rgba(0,136,73,0.4); }
.why-item svg { width: 40px; height: 40px; fill: none; stroke: var(--lime); stroke-width: 1.3; stroke-linecap: square; }
.why-item h3 { font-size: clamp(23px, 2.1vw, 30px); font-weight: 600; margin-top: 12px; }
.why-item p { font-size: 18px; line-height: 1.9; font-weight: 300; color: var(--text-2); }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .why-item { padding: 28px 22px; flex-direction: row; align-items: flex-start; gap: 18px; }
  .why-item + .why-item { border-right: 0; border-top: 1px solid rgba(0,136,73,0.4); }
  .why-item svg { width: 32px; height: 32px; }
  .why-item h3 { margin-top: 0; }
  .why-item p { font-size: 16px; margin-top: 2px; }
}

/* ── CTA ── */
.cta {
  position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(64px, 8.3vw, 120px);
  background-color: var(--green);
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
}
.cta .gm-cta { width: 340px; top: 50%; inset-inline-end: -70px; transform: translateY(calc(-50% + 10px)); --gop: .09; color: #fff; }
.cta .gm-cta.in { transform: translateY(-50%); }
@media (max-width: 1100px) { .cta .gm-cta { inset-inline-end: -110px; opacity: .5; } }
@media (max-width: 640px) { .cta .gm-cta { display: none; } }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center; }
.cta h2 { font-size: clamp(44px, 5.8vw, 84px); font-weight: 700; line-height: 1.2; }
.cta .place { font-size: clamp(17px, 1.5vw, 22px); font-weight: 300; color: rgba(255,255,255,0.92); margin-top: 18px; }
.cta-when {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 14px;
  margin-top: 20px; min-height: 50px; padding: 10px 20px;
  background: rgba(3,27,32,0.24); border: 1px solid rgba(255,255,255,0.32);
  font-size: clamp(16px, 1.3vw, 20px); color: rgba(255,255,255,0.92);
}
.cta-when .d { font-weight: 600; color: #fff; }
.cta-when .dia { background: #fff; }
.cta-when .sep { width: 1px; height: 18px; background: rgba(255,255,255,0.38); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.cta-icons { display: grid; grid-template-columns: repeat(2, 176px); gap: 8px; }
.cta-icons img { width: 100%; height: auto; aspect-ratio: 1; }
@media (max-width: 1100px) {
  .cta .wrap { grid-template-columns: 1fr; gap: 36px; }
  .cta-icons { order: -1; grid-template-columns: repeat(4, minmax(0, 120px)); }
}
@media (max-width: 640px) {
  .cta-icons { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .cta-when { padding: 12px 16px; gap: 6px 10px; margin-top: 16px; }
  .cta-when .sep { display: none; }
  .cta-btns { flex-direction: column; gap: 10px; margin-top: 30px; }
  .cta-btns .btn { width: 100%; min-height: 56px; }
}

/* ── Footer ── */
footer { background: var(--bg-deep); padding-block: 64px 40px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(0,136,73,0.3); }
.foot-top .snd-logo { height: 56px; }
.foot-top .partner-logo { height: 56px; }
.foot-top .brand-group { gap: 32px; }
.foot-top .brand-divider { height: 72px; }
.bsmc-logo-full { height: 96px; width: auto; }
.foot-name { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.foot-name p { font-size: 26px; font-weight: 600; }
.hashtags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 16px; color: var(--lime); }
.hashtags span { unicode-bidi: isolate; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 32px; }
.foot-links a { color: rgba(255,255,255,0.72); min-height: 44px; display: inline-flex; align-items: center; transition: color 0.2s; }
.foot-links a:hover { color: var(--lime); }
.copy { color: rgba(255,255,255,0.45); }
/* صف العلامات الثلاث يحتاج ~1080px — تحت ذلك يصبح عمودًا بدل أن تُقصّ الشعارات عند الحافة */
@media (max-width: 1300px) {
  .foot-top { flex-direction: column; gap: 30px; }
  .foot-top .brand-group { order: 0; }
  .foot-top .partner-logo { order: 1; }
  .foot-name { order: 2; }
}
@media (max-width: 900px) {
  footer { padding-block: 44px 32px; }
  .foot-top { gap: 28px; }
  .foot-top .brand-group { order: 0; gap: 20px; }
  .foot-top .snd-logo { height: auto; width: min(180px, 44vw); }
  .foot-top .brand-divider { height: 56px; }
  .bsmc-logo-full { height: 80px; }
  .foot-top .partner-logo { height: 44px; order: 1; }
  .foot-name { order: 2; }
  .foot-name p { font-size: 22px; }
  .foot-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .foot-links { justify-content: center; gap: 0 22px; }
}

/* ── WhatsApp float ── */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 140;
  width: 60px; height: 60px; border-radius: 50%; isolation: isolate;
  background: radial-gradient(circle at 32% 26%, #3EE07E 0%, #22C35E 45%, #0FA24C 78%, #0C8C43 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 16px 34px rgba(10, 130, 70, 0.38),
    0 4px 10px rgba(0, 0, 0, 0.2),
    inset 0 2px 3px rgba(255, 255, 255, 0.45),
    inset 0 -6px 10px rgba(0, 60, 30, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-float::after {
  content: ''; position: absolute; inset: -7px; z-index: -1; border-radius: 50%;
  border: 1.5px solid rgba(34, 195, 94, 0.45);
  animation: waPulse 2.6s var(--ease) infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow:
    0 20px 40px rgba(10, 130, 70, 0.46),
    0 6px 14px rgba(0, 0, 0, 0.22),
    inset 0 2px 3px rgba(255, 255, 255, 0.5),
    inset 0 -6px 10px rgba(0, 60, 30, 0.28);
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; filter: drop-shadow(0 1px 1px rgba(0,40,20,.25)); }
@keyframes waPulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.16); }
}

/* ── Motion ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.anim-up { opacity: 0; transform: translateY(22px); }
.anim-up.in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.no-js .reveal, .no-js .anim-up { opacity: 1; transform: none; }
.no-js .glyph-mark { opacity: var(--gop, .07); transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal, .anim-up { opacity: 1; transform: none; }
}
