/* Watan website — brand: deep green, olive, cream/beige, sand gold; font Tajawal */
@font-face { font-family: 'Tajawal'; src: url('assets/fonts/Tajawal_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('assets/fonts/Tajawal_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('assets/fonts/Tajawal_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('assets/fonts/Tajawal_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --green: #034A3D;
  --green-2: #06604F;
  --green-deep: #022E26;
  --olive: #546827;
  --olive-soft: #E6EAD0;
  --cream: #FEFEFA;
  --beige: #F3E7D3;
  --beige-2: #EADBC1;
  --sand: #D8B686;
  --sand-dark: #7A5418;
  --ink: #1F2A27;
  --muted: #5C665F;
  --line: #D9D6C7;
  --radius: 24px;
  --gutter: clamp(16px, 4vw, 56px);
  --pw: 300px; /* phone width */
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Tajawal', system-ui, sans-serif;
  color: var(--ink);
  background: var(--beige);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h2 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 800; color: var(--green); letter-spacing: -0.01em; }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--green); }
p { margin: 0; }
:lang(en) h2, :lang(de) h2 { letter-spacing: -0.02em; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--olive); margin-bottom: 14px; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(3,74,61,.12); }
.lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); margin-top: 14px; max-width: 640px; margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s; position: relative; overflow: hidden; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 30px -10px rgba(3,74,61,.6); }
.btn-green::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.btn-green:hover::after { transform: translateX(120%); }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(3,74,61,.7); }
.btn-ghost { color: var(--green); border: 1.5px solid rgba(3,74,61,.35); background: rgba(254,254,250,.6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--cream); transform: translateY(-2px); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
[dir="ltr"] .ico.flip { transform: scaleX(-1); }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 8px; }

/* Damascene circle pattern (from the app) */
.pattern { position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cg fill='none' stroke='%23C9A56E' stroke-width='1.1'%3E%3Ccircle cx='0' cy='0' r='24'/%3E%3Ccircle cx='48' cy='0' r='24'/%3E%3Ccircle cx='0' cy='48' r='24'/%3E%3Ccircle cx='48' cy='48' r='24'/%3E%3Ccircle cx='24' cy='24' r='24'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 48px 48px; }
.pattern-hero { opacity: .32; -webkit-mask-image: radial-gradient(70% 80% at 85% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(70% 80% at 85% 40%, #000 0%, transparent 70%); }
[dir="ltr"] .pattern-hero { -webkit-mask-image: radial-gradient(70% 80% at 15% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(70% 80% at 15% 40%, #000 0%, transparent 70%); }
.pattern-soft { opacity: .22; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }

/* ================= NAV ================= */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter); transition: background .35s, box-shadow .35s, padding .35s; }
.nav.scrolled { background: rgba(254,254,250,.82); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(3,74,61,.08); padding-block: 10px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--green); position: relative; padding: 8px 0; }
.nav-links a::after { content: ''; position: absolute; inset-inline: 0; bottom: 2px; height: 2px; background: var(--sand); transform: scaleX(0); transition: transform .3s; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: rgba(3,74,61,.07); border-radius: 999px; padding: 4px; }
.lang button { border: 0; background: none; font: 700 14px 'Tajawal', sans-serif; color: var(--green); min-width: 40px; min-height: 36px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; }
.lang button[aria-pressed="true"] { background: var(--green); color: #fff; }

/* ================= HERO ================= */
.hero { position: relative; min-height: 100svh; padding: 110px var(--gutter) 60px; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 80% 10%, var(--cream) 0%, var(--beige) 55%, var(--beige-2) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero-title { font-size: clamp(42px, 7vw, 92px); font-weight: 800; color: var(--green); letter-spacing: -0.015em; }
.hero-title .w { display: inline-block; white-space: nowrap; }
.hero-title .ch { display: inline-block; will-change: transform; }
.hero-sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); margin-top: 22px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); list-style: none; padding: 0; margin: 40px 0 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.hero-stats b[data-count]::after { content: '+'; color: var(--sand); margin-inline-start: 2px; }
.hero-stats span { color: var(--muted); font-size: 14px; margin-top: 6px; }

.hero-stage { position: relative; height: min(76vh, 720px); min-height: 560px; perspective: 1400px; display: grid; place-items: center; }
.syria { position: absolute; width: 112%; max-width: 760px; left: 50%; top: 50%; margin-left: -56%; transform: translateY(-50%); overflow: visible; direction: ltr; }
.syria-fill { fill: rgba(3,74,61,.06); }
.syria-line { fill: none; stroke: var(--green); stroke-width: 2; stroke-opacity: .45; stroke-dasharray: 6 7; }
.route { fill: none; stroke: var(--green); stroke-width: 3.5; stroke-linecap: round; }
.cities circle.core { fill: var(--green); }
.cities circle.pulse { fill: none; stroke: var(--green); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.cities text { font: 700 19px 'Tajawal', sans-serif; fill: var(--green); paint-order: stroke; stroke: var(--beige); stroke-width: 5px; stroke-linejoin: round; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }

/* floating ornaments */
.orbs { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(3,74,61,.22); }
.ring.r1 { width: 520px; height: 520px; inset-inline-end: -140px; top: -160px; animation: spin 60s linear infinite; border-style: dashed; }
.ring.r2 { width: 340px; height: 340px; inset-inline-start: 38%; bottom: -170px; border-color: rgba(84,104,39,.25); }
.ring.r3 { width: 120px; height: 120px; inset-inline-start: 6%; top: 18%; border-color: rgba(216,182,134,.7); border-width: 2px; }
.star { position: absolute; color: var(--green); opacity: .5; animation: spin 40s linear infinite; }
.star.s1 { width: 70px; inset-inline-start: 45%; top: 16%; }
.star.s2 { width: 44px; inset-inline-end: 6%; bottom: 14%; color: var(--olive); animation-duration: 28s; animation-direction: reverse; }
.star.s3 { width: 110px; inset-inline-start: -30px; bottom: 8%; color: var(--sand); opacity: .8; animation-duration: 70s; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: rgba(254,254,250,.92); backdrop-filter: blur(10px); padding: 10px 16px 10px 12px; border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(3,74,61,.45); font-weight: 700; color: var(--green); font-size: 14px; white-space: nowrap; }
.float-chip img { width: 30px; height: auto; }
.float-chip .pin { width: 12px; height: 12px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 6px rgba(84,104,39,.18); }
.float-chip.c1 { inset-inline-start: 2%; top: 22%; }
.float-chip.c2 { inset-inline-end: 0; bottom: 18%; }

.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid rgba(3,74,61,.4); border-radius: 16px; z-index: 3; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--green); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ================= 3D PHONE ================= */
.phone-wrap { position: relative; z-index: 3; transform-style: preserve-3d; }
.phone { --depth: 14px; position: relative; width: var(--pw); aspect-ratio: 300 / 655; transform-style: preserve-3d; will-change: transform; }
.phone-front, .phone-back, .phone-slices span { position: absolute; inset: 0; border-radius: calc(var(--pw) * .155); }
.phone-front { background: linear-gradient(145deg, #1b2d29, #0b1513); padding: calc(var(--pw) * .035); transform: translateZ(calc(var(--depth) / 2)); box-shadow: inset 0 0 0 1.5px #3c5650, inset 0 0 0 4px #0a1210; backface-visibility: hidden; }
.screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw) * .125); overflow: hidden; background: var(--cream); }
.screen .shot { position: absolute; left: 0; right: 0; top: 5.6%; bottom: 0; width: 100%; height: 94.4%; object-fit: cover; object-position: top; }
.screen::before { content: '9:41'; position: absolute; top: 2.2%; inset-inline-end: 9%; font: 700 calc(var(--pw) * .042) 'Tajawal', sans-serif; color: var(--ink); direction: ltr; }
.glare { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 70%, rgba(255,255,255,.08) 100%); pointer-events: none; mix-blend-mode: soft-light; }
.island { position: absolute; top: calc(var(--pw) * .06); left: 50%; width: 30%; height: calc(var(--pw) * .085); transform: translateX(-50%); background: #050a09; border-radius: 999px; }
.phone-back { transform: rotateY(180deg) translateZ(calc(var(--depth) / 2)); background: radial-gradient(120% 80% at 30% 20%, var(--green-2), var(--green-deep)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; backface-visibility: hidden; box-shadow: inset 0 0 0 1.5px #2f6b5e; }
.phone-back img { width: 32%; filter: brightness(0) saturate(100%) invert(80%) sepia(30%) saturate(500%) hue-rotate(350deg); }
.phone-back span { color: var(--sand); font-weight: 800; letter-spacing: .35em; font-size: calc(var(--pw) * .055); }
.phone-slices span { background: #233b35; border: 1px solid #12201d; }
.phone-shadow { position: absolute; left: 50%; bottom: -46px; width: 70%; height: 36px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(3,40,32,.45), transparent); filter: blur(6px); }

/* ================= MARQUEE ================= */
.marquee { background: var(--green); color: var(--beige); overflow: hidden; padding: 18px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; }
.marquee-track i { width: 14px; height: 14px; transform: rotate(45deg); border: 2px solid var(--sand); display: inline-block; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ================= FEATURES ================= */
.features { position: relative; background: var(--cream); overflow-x: clip; }
main, .partners, .footer { overflow-x: clip; }
.features-pin { position: sticky; top: 0; height: 100svh; min-height: 560px; padding: 100px var(--gutter) 60px; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; }
.features-head { margin-bottom: 40px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feat { display: flex; gap: 20px; padding: 22px 24px; border-radius: 22px; cursor: pointer; transition: background .45s, box-shadow .45s, opacity .45s, transform .45s; opacity: .45; }
.feat:hover { opacity: .8; }
.feat.is-active { opacity: 1; background: var(--beige); box-shadow: 0 20px 40px -28px rgba(3,74,61,.5); transform: translateX(0); }
.feat-num { font-weight: 800; font-size: 15px; color: var(--sand-dark); background: var(--olive-soft); border-radius: 12px; min-width: 46px; height: 46px; display: grid; place-items: center; transition: background .45s, color .45s; }
.feat.is-active .feat-num { background: var(--green); color: #fff; }
.feat p { color: var(--muted); margin-top: 6px; font-size: 16px; }
.feat-stage { position: relative; display: grid; place-items: center; perspective: 1400px; min-height: 640px; }
.feat-glow { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(closest-side, rgba(84,104,39,.22), transparent); }
.feat-glow::before { content: ''; position: absolute; inset: -40px; border-radius: 50%; border: 1.5px dashed rgba(3,74,61,.25); animation: spin 50s linear infinite; }
.phone-sm { --pw: clamp(190px, calc((100svh - 290px) * .458), 280px); }
.feat-progress { position: absolute; bottom: 0; width: 160px; height: 4px; background: var(--olive-soft); border-radius: 4px; overflow: hidden; }
.feat-progress span { display: block; height: 100%; width: 25%; background: var(--green); border-radius: 4px; transition: width .5s; }

/* ================= CITIES ================= */
.cities { position: relative; padding: 120px 0 110px; background: var(--beige); overflow: clip; }
.city-rows { position: relative; z-index: 2; perspective: 1600px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.city-rows-tilt { display: flex; flex-direction: column; gap: 22px; transform: rotateX(14deg) rotateZ(-3deg) scale(1.06); transform-style: preserve-3d; padding: 30px 0; }
.city-row { overflow: visible; direction: ltr; }
.city-track { display: flex; gap: 22px; width: max-content; direction: ltr; animation: slide 70s linear infinite; will-change: transform; }
.city-row-b .city-track { animation-direction: reverse; animation-duration: 80s; }
.city-rows:hover .city-track { animation-play-state: paused; }
@keyframes slide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.city-track .city { width: clamp(170px, 17vw, 250px); aspect-ratio: 4 / 5; border-radius: 22px; direction: rtl; transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s; box-shadow: 0 24px 40px -26px rgba(3,40,32,.55); }
[dir="ltr"] .city-track .city { direction: ltr; }
.city-track .city:hover { transform: translateY(-10px) scale(1.06); box-shadow: 0 34px 50px -24px rgba(3,40,32,.6); z-index: 2; }
.city-photo img { width: 100%; height: 100%; object-fit: cover; }
.section-head { text-align: center; padding: 0 var(--gutter); margin-bottom: 56px; position: relative; z-index: 2; }
.city { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--green); box-shadow: 0 40px 60px -30px rgba(3,40,32,.55); transform-style: preserve-3d; will-change: transform; flex: none; }
.city video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.city::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,46,38,0) 50%, rgba(2,46,38,.85)); }
.city-info { position: absolute; inset-inline: 16px; bottom: 16px; z-index: 2; color: #fff; }
.city-tag { display: inline-block; background: var(--sand); color: var(--green-deep); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.city h3 { color: #fff; font-size: clamp(17px, 1.5vw, 22px); }

/* ================= SPECIALS ================= */
.specials { padding: 120px var(--gutter); background: var(--cream); position: relative; overflow: hidden; }
.spec { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 50px 0; }
.spec:nth-of-type(even) .spec-visual { order: 2; }
.spec-visual { display: grid; place-items: center; perspective: 1600px; min-height: 460px; }
.spec-num { font-weight: 800; font-size: 72px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--sand); display: block; margin-bottom: 8px; }
.spec-text h3 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
.spec-text p { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); margin-top: 14px; max-width: 460px; }
.spec-text .hint { font-size: 14px; color: var(--olive); margin-top: 18px; }

/* passport */
.passport { position: relative; width: 300px; height: 410px; transform-style: preserve-3d; transform: rotateX(18deg) rotateZ(-6deg); }
[dir="ltr"] .passport { transform: rotateX(18deg) rotateZ(6deg); }
.pp-page { position: absolute; inset: 0; background: linear-gradient(135deg, #FBF5E9, var(--beige)); border-radius: 6px 18px 18px 6px; box-shadow: 0 30px 50px -25px rgba(3,40,32,.5), inset 10px 0 18px -10px rgba(122,84,24,.25); padding: 26px; overflow: hidden; }
.pp-page::before { content: ''; position: absolute; inset: 0; opacity: .25; background-image: repeating-linear-gradient(45deg, transparent 0 10px, rgba(216,182,134,.35) 10px 11px); }
.pp-head { position: relative; font-weight: 800; color: var(--green); font-size: 18px; letter-spacing: .02em; }
.stamps { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.stamp { width: 104px; height: 104px; border-radius: 50%; border: 3px double var(--green); color: var(--green); display: grid; place-content: center; text-align: center; transform: rotate(-12deg); justify-self: center; }
.stamp b { font-size: 17px; font-weight: 800; }
.stamp small { font-size: 11px; letter-spacing: .1em; }
.stamp.hex { border-radius: 18px; border-color: var(--olive); color: var(--olive); transform: rotate(9deg); }
.stamp.sq { border-radius: 8px; border-color: #A0522D; color: #A0522D; transform: rotate(-4deg); }
.stamp.st4 { border-color: #2F6F8F; color: #2F6F8F; transform: rotate(14deg); }
.pp-cover { position: absolute; inset: 0; transform-origin: right center; transform-style: preserve-3d; z-index: 2; }
.pp-cover-front, .pp-cover-back { position: absolute; inset: 0; border-radius: 6px 18px 18px 6px; backface-visibility: hidden; }
.pp-cover-front { background: radial-gradient(120% 90% at 30% 20%, var(--green-2), var(--green-deep)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; box-shadow: inset 0 0 0 6px rgba(216,182,134,.35), inset 0 0 0 7px rgba(216,182,134,.6); }
.pp-cover-front img { width: 42%; }
.pp-title { color: var(--sand); font-weight: 800; letter-spacing: .3em; font-size: 15px; direction: ltr; }
.pp-band { position: absolute; bottom: 26px; inset-inline: 26px; height: 16px; background: repeating-linear-gradient(90deg, var(--sand) 0 2px, transparent 2px 14px); opacity: .7; border-radius: 2px; }
.pp-cover-back { transform: rotateY(180deg); background: linear-gradient(135deg, #F7EEDC, #EADBC1); }

/* postcard */
.postcard { position: relative; width: min(440px, 88vw); aspect-ratio: 3 / 2; transform-style: preserve-3d; cursor: pointer; transition: transform 1s cubic-bezier(.2,.8,.2,1); outline-offset: 8px; }
.postcard.flipped, .postcard:hover { transform: rotateY(180deg) rotateZ(2deg); }
.pc-front, .pc-back { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; backface-visibility: hidden; box-shadow: 0 34px 60px -30px rgba(3,40,32,.55); }
.pc-front img:first-child { width: 100%; height: 100%; object-fit: cover; }
.pc-front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,46,38,.75), transparent 60%); }
.pc-front::before { content: ''; position: absolute; inset: 10px; border: 2px solid rgba(254,254,250,.7); border-radius: 10px; z-index: 2; }
.pc-front-text { position: absolute; inset-inline-start: 28px; bottom: 22px; color: #fff; z-index: 3; display: flex; flex-direction: column; }
.pc-front-text small { font-size: 15px; opacity: .9; }
.pc-front-text b { font-size: 46px; font-weight: 800; line-height: 1.05; }
.pc-logo { position: absolute; inset-inline-end: 24px; bottom: 24px; width: 46px; z-index: 3; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.pc-back { transform: rotateY(180deg); background: #FBF6EC; display: grid; grid-template-columns: 1.4fr 1fr; padding: 24px; gap: 18px; }
.pc-msg { display: flex; flex-direction: column; justify-content: center; gap: 16px; border-inline-end: 1.5px solid var(--line); padding-inline-end: 18px; color: var(--green); font-size: 18px; font-weight: 500; font-style: italic; }
.pc-msg i, .pc-side i { display: block; height: 1.5px; background: var(--line); }
.pc-side { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; }
.pc-stamp { position: absolute; top: 0; inset-inline-end: 0; width: 74px; transform: rotate(6deg); }
.pc-postmark { position: absolute; top: 14px; inset-inline-end: 40px; width: 120px; opacity: .85; transform: rotate(-10deg); }

/* flavors */
.flavor-map { position: relative; width: min(500px, 90vw); }
.flavor-map svg { width: 100%; overflow: visible; }
.fm-fill { fill: var(--olive-soft); stroke: var(--olive); stroke-width: 2.5; }
.fm-dots circle { fill: var(--green); }
.fm-dots circle.halo { fill: rgba(216,182,134,.5); transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.dish { position: absolute; background: var(--cream); border-radius: 14px; padding: 8px 14px; box-shadow: 0 16px 30px -16px rgba(3,40,32,.45); display: flex; flex-direction: column; border-inline-start: 4px solid var(--sand); white-space: nowrap; }
.dish b { color: var(--green); font-size: 15px; }
.dish small { color: var(--muted); font-size: 12px; }
.dish.d1 { left: 2%; top: 70%; }
.dish.d2 { left: 30%; top: 8%; }
.dish.d3 { left: 32%; top: 42%; }

/* ================= PARTNERS ================= */
.partners { padding: 120px var(--gutter); background: var(--beige); }
.part-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; perspective: 1400px; }
.part-card { position: relative; overflow: hidden; border-radius: 28px; padding: 40px; background: linear-gradient(150deg, var(--green-2), var(--green-deep)); color: #E9F0EC; box-shadow: 0 40px 60px -36px rgba(3,40,32,.7); transform-style: preserve-3d; will-change: transform; }
.part-card:nth-child(2) { background: linear-gradient(150deg, #6B8233, #3E4F1B); }
.pattern-card { opacity: .14; -webkit-mask-image: radial-gradient(60% 70% at 100% 0%, #000, transparent); mask-image: radial-gradient(60% 70% at 100% 0%, #000, transparent); }
.part-card h3 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin-top: 22px; position: relative; }
.part-card p { margin-top: 12px; opacity: .9; position: relative; font-size: 17px; }
.part-ico { position: relative; width: 62px; height: 62px; border-radius: 18px; background: rgba(216,182,134,.18); display: grid; place-items: center; transform: translateZ(30px); }
.part-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--sand); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.part-steps { position: relative; list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: s; }
.part-steps li { counter-increment: s; background: rgba(254,254,250,.12); border: 1px solid rgba(254,254,250,.2); border-radius: 999px; padding: 8px 14px 8px 16px; font-weight: 700; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.part-steps li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; background: var(--sand); color: var(--green-deep); display: grid; place-items: center; font-size: 12px; }

/* ================= JOIN ================= */
.join { position: relative; overflow: hidden; padding: 130px var(--gutter); background: radial-gradient(90% 120% at 50% 0%, var(--green-2), var(--green-deep)); color: #E9F0EC; text-align: center; }
.pattern-join { opacity: .12; -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); }
.join-ring { position: absolute; width: 760px; max-width: none; left: 50%; top: 50%; translate: -50% -50%; opacity: .14; animation: spin 90s linear infinite; pointer-events: none; }
.join-inner { position: relative; max-width: 720px; margin: 0 auto; }
.join-logo { margin: 0 auto 24px; width: 90px; filter: brightness(0) saturate(100%) invert(80%) sepia(30%) saturate(500%) hue-rotate(350deg); }
.join h2 { color: #fff; }
.join p { margin-top: 16px; font-size: 18px; opacity: .9; }
.join-steps { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.join-steps li { display: flex; align-items: center; }
.join-steps span { width: 34px; height: 34px; border-radius: 50%; background: var(--sand); color: var(--green-deep); display: grid; place-items: center; font-weight: 800; margin-inline-end: -16px; position: relative; z-index: 1; }
.join-steps a { display: inline-flex; align-items: center; min-height: 56px; padding: 0 26px 0 30px; padding-inline-start: 30px; border-radius: 999px; background: var(--cream); color: var(--green); font-weight: 800; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.join-steps a:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); }
.join-note { font-size: 15px !important; opacity: .7 !important; }

/* ================= FOOTER ================= */
.footer { background: var(--green-deep); color: #B9C9C2; text-align: center; padding: 50px var(--gutter) 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer img { filter: brightness(0) invert(1); opacity: .9; height: 44px; width: auto; }
.slogan { color: var(--sand); font-weight: 700; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.foot-links a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: #fff; }
.copy { font-size: 13px; opacity: .7; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-end { margin-inline-start: auto; }
}
@media (max-width: 900px) {
  :root { --pw: 250px; }
  .hero { padding-top: 96px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-stage { height: 600px; min-height: 0; }
  .syria { width: 112%; inset-inline-start: -6%; }
  .float-chip { font-size: 12px; padding: 8px 12px 8px 10px; }
  .float-chip.c1 { top: 8%; }
  .float-chip.c2 { bottom: 8%; }
  .features-pin { padding-top: 84px; }
  .features-head { text-align: center; margin-bottom: 14px; }
  .features-grid { grid-template-columns: 1fr; gap: 10px; }
  .feat-stage { order: -1; min-height: 0; height: 52svh; }
  .phone-sm { --pw: min(200px, 22svh); }
  .feat-glow { width: 300px; height: 300px; }
  .feat-list { position: relative; min-height: 150px; }
  .feat { position: absolute; inset: 0; opacity: 0; pointer-events: none; padding: 16px; background: var(--beige); }
  .feat.is-active { opacity: 1; pointer-events: auto; }
  .feat p { font-size: 15px; }
  .feat-progress { bottom: -6px; }
  .ring.r3, .star.s1 { display: none; }
  .orbs .ring.r1 { width: 360px; height: 360px; }
  .spec { grid-template-columns: 1fr; gap: 24px; text-align: center; padding: 30px 0; }
  .spec:nth-of-type(even) .spec-visual { order: 0; }
  .spec-text p { margin-inline: auto; }
  .spec-visual { min-height: 380px; }
  .part-grid { grid-template-columns: 1fr; }
  .part-card { padding: 28px; }
}
@media (max-width: 520px) {
  .nav-logo img { height: 36px; }
  .btn-sm { display: none; }
  .hero-title { font-size: clamp(38px, 11vw, 54px); }
  .hero-stage { height: 520px; }
  .passport { width: 250px; height: 345px; }
  .stamp { width: 86px; height: 86px; }
  .pc-front-text b { font-size: 34px; }
  .pc-msg { font-size: 14px; }
  .join-steps { flex-direction: column; align-items: center; }
  .dish { padding: 6px 10px; }
  .dish b { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ================= MOTION (JS adds .js / .ready) ================= */
.phone-float, .phone-tilt, .phone-turn { transform-style: preserve-3d; }
.js .phone-float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone-wrap, .feat-stage, #passport, .spec-postcard .spec-visual { will-change: transform; }
.js:not(.ready) .hero-text > *, .js:not(.ready) #heroPhone, .js:not(.ready) .float-chip, .js:not(.ready) .city-dot { opacity: 0; }
.float-chip.c1 { animation: bob 2.8s ease-in-out 3s infinite; }
.float-chip.c2 { animation: bob 3.4s ease-in-out 3.3s infinite reverse; }
@keyframes bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }

.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.16,1,.3,1) var(--d, 0ms), transform .9s cubic-bezier(.16,1,.3,1) var(--d, 0ms); }
.js [data-reveal="side"] { transform: translateX(-50px); }
.js[dir="rtl"] [data-reveal="side"] { transform: translateX(50px); }
.js [data-reveal="lift"] { transform: translateY(100px) rotateX(25deg); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .part-card.in { transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .9s; }

/* stamps land with a thud */
.js .stamp { opacity: 0; }
.js .stamp.on { opacity: 1; animation: thud .6s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes thud { 0% { opacity: 0; scale: 2.4; } 60% { opacity: 1; scale: .92; } 100% { scale: 1; } }

/* flavor map */
.js .flavor-map .fm-fill { opacity: 0; transform: scale(.85); transform-origin: 50% 50%; transform-box: fill-box; transition: opacity 1s, transform 1.2s cubic-bezier(.16,1,.3,1); }
.js .flavor-map .fm-dots circle { opacity: 0; transition: opacity .5s; }
.js .flavor-map .dish { opacity: 0; transform: translateY(30px) scale(.8); transition: opacity .7s, transform .8s cubic-bezier(.34,1.56,.64,1); }
.js .flavor-map.in .fm-fill { opacity: 1; transform: none; }
.js .flavor-map.in .fm-dots circle { opacity: 1; transition-delay: .6s; }
.js .flavor-map.in .dish { opacity: 1; transform: none; }
.js .flavor-map.in .dish.d1 { transition-delay: .9s; } .js .flavor-map.in .dish.d2 { transition-delay: 1.1s; } .js .flavor-map.in .dish.d3 { transition-delay: 1.3s; }
.flavor-map.in .dish { animation: bob 3s ease-in-out 2.4s infinite; }

.still .phone-float, .still .float-chip { animation: none; }
#featPhone { transform: rotateY(14deg) rotateX(6deg); }
[dir="ltr"] #featPhone { transform: rotateY(-14deg) rotateX(6deg); }

:lang(de) .hero-title, :lang(en) .hero-title { font-size: clamp(38px, 5.6vw, 78px); }

@media (max-width: 520px) { .city-rows-tilt { transform: rotateX(10deg) rotateZ(-3deg); gap: 14px; } .city-track { gap: 14px; animation-duration: 55s; } .city-row-b .city-track { animation-duration: 62s; } .city-track .city { width: 150px; border-radius: 18px; } }
