/* ==========================================================
   Souvenir Photo Booth — bright modern theme
   ========================================================== */

:root {
  /* Bright palette (from the brand's orange/blue/sage gradient, turned up) */
  --orange: #ff6a1a;
  --pink: #ff3d81;
  --yellow: #ffcc33;
  --blue: #2459e6;
  --mint: #22c7a9;
  --lilac: #b9a6ff;

  --orange-50: #fff1e8;
  --pink-50: #ffe9f1;
  --yellow-50: #fff8dc;
  --blue-50: #eaf0ff;
  --mint-50: #e3f9f4;
  --lilac-50: #f2eeff;

  /* Semantic */
  --ink: #15122b;
  --ink-2: #2a2650;
  --text: var(--ink);
  --muted: #4b4763;
  --bg: #ffffff;
  --bg-soft: #fff7f1;
  --line: rgba(21, 18, 43, .1);
  --focus: #2459e6;
  --danger: #c4122f;
  --grad: linear-gradient(100deg, var(--orange) 0%, var(--pink) 55%, #a855f7 100%);

  /* Type */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & motion */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --shadow-pop: 6px 6px 0 var(--ink);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 88px;
}

html[lang="ar"] {
  --font-display: "Readex Pro", system-ui, sans-serif;
  --font-body: "Readex Pro", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.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; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.9rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.035em;
  margin-bottom: 24px;
}
.display span { display: block; }
.hl {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -.03em; line-height: 1.02;
  text-wrap: balance; margin-bottom: .45em;
}
.h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; }
html[lang="ar"] .display { line-height: 1.2; letter-spacing: 0; }
html[lang="ar"] .h2, html[lang="ar"] .h3 { letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .hl { padding-bottom: .15em; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 33em; }
.section-sub { color: var(--muted); max-width: 40em; margin-inline: auto; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--ink);
  font-size: .875rem; font-weight: 600; margin-bottom: 18px;
}
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px var(--pink-50); }
.chip-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); color: #fff; }
.chip-dark .dot { box-shadow: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 24px; border-radius: 999px; border: 2px solid var(--ink);
  font-weight: 700; text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: transform .2s var(--spring), box-shadow .2s var(--ease), background-color .2s;
}
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-outline { background: #fff; color: var(--ink); }
.btn-outline:hover { background: var(--yellow); }
.arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Header (floating pill) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: 14px var(--gutter) 0; }
.header-inner {
  max-width: 1240px; margin-inline: auto; height: 64px;
  display: flex; align-items: center; gap: 16px; padding: 0 10px 0 14px;
  background: rgba(255, 255, 255, .86); border: 1.5px solid var(--line); border-radius: 999px;
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  transition: box-shadow .3s, border-color .3s;
}
html[dir="rtl"] .header-inner { padding: 0 14px 0 10px; }
.site-header.scrolled .header-inner { box-shadow: 0 12px 32px -16px rgba(21,18,43,.35); border-color: transparent; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand { direction: ltr; }
.brand-word {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.6rem; letter-spacing: -.04em; line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; }
.main-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--muted);
  transition: background-color .2s, color .2s;
}
.main-nav ul a:hover { background: var(--bg-soft); color: var(--ink); }
.main-nav ul a.active { background: var(--ink); color: #fff; }
/* Products dropdown */
.main-nav .has-sub { position: relative; }
.main-nav .sub-nav {
  position: absolute; top: calc(100% + 6px); inset-inline-start: 0; z-index: 5; min-width: 200px;
  display: grid; gap: 2px; padding: 8px; background: #fff; border: 2px solid var(--ink); border-radius: var(--r-md); box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.main-nav .sub-nav::before { content: ""; position: absolute; inset-inline: 0; top: -10px; height: 10px; }
.main-nav .has-sub.open .sub-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease); }
@media (hover: hover) and (min-width: 961px) {
  .main-nav .has-sub:hover .sub-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease); }
}
/* Section name links to its page; the arrow beside it opens the categories */
.main-nav .nav-item { display: flex; align-items: center; }
.sub-toggle {
  width: 30px; height: 44px; display: grid; place-items: center; margin-inline-start: -6px; padding: 0;
  border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s;
}
.sub-toggle:hover { background: var(--bg-soft); color: var(--ink); }
.sub-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.main-nav .sub-nav a { width: 100%; border-radius: 10px; white-space: nowrap; color: var(--ink); }
.main-nav .sub-nav a:hover { background: var(--yellow-50); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.header-cta { min-height: 44px; padding: 8px 20px; box-shadow: 3px 3px 0 var(--ink); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background-color .2s, transform .2s var(--spring); }
.icon-btn:hover { background: var(--pink-50); transform: rotate(-8deg) scale(1.08); }
.icon-btn svg { width: 22px; height: 22px; }
.lang-toggle {
  min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; font-family: "Readex Pro", sans-serif; font-weight: 600;
  transition: background-color .2s, border-color .2s;
}
.lang-toggle:hover { background: var(--yellow-50); border-color: var(--yellow); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; margin-inline: auto; transition: transform .25s var(--ease), background-color .2s; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px)); padding-bottom: clamp(64px, 8vw, 110px); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; }
.blob-1 { width: 520px; height: 520px; background: var(--orange); top: -160px; inset-inline-start: -160px; opacity: .35; }
.blob-2 { width: 460px; height: 460px; background: var(--pink); top: 10%; inset-inline-end: -140px; opacity: .3; }
.blob-3 { width: 420px; height: 420px; background: var(--blue); bottom: -200px; inset-inline-start: 30%; opacity: .22; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.stat { display: flex; flex-direction: column; padding: 14px 20px; border-radius: var(--r-md); border: 1.5px solid var(--ink); min-width: 140px; }
.stat strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.stat span { font-size: .875rem; font-weight: 500; }
.s-orange { background: var(--orange-50); } .s-blue { background: var(--blue-50); } .s-pink { background: var(--pink-50); }

.hero-media { position: relative; }
.hero-img {
  width: 100%; border-radius: var(--r-xl); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink);
  aspect-ratio: 1200 / 1400; object-fit: cover; max-height: 76vh; margin-inline: auto;
  animation: pop .9s var(--spring) both;
}
@keyframes pop { from { opacity: 0; transform: scale(.92) rotate(-2deg); } }
.sticker {
  position: absolute; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; white-space: nowrap;
  box-shadow: 4px 4px 0 var(--ink); animation: float 5s ease-in-out infinite;
}
.sticker-yellow { background: var(--yellow); top: 12%; inset-inline-start: -28px; rotate: -6deg; }
.sticker-blue { background: var(--blue); color: #fff; bottom: 10%; inset-inline-end: -18px; rotate: 5deg; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Ticker ---------- */
/* No overflow clip here: clipping a rotated box makes iOS Safari repaint the moving text in software
   (it shows up late while scrolling). main's straight overflow-x: clip trims the track instead. */
.ticker { background: var(--ink); color: #fff; padding-block: 20px; rotate: -1.5deg; margin-inline: -20px; }
/* Own GPU layer from the first frame so iOS Safari doesn't paint the moving text late while scrolling */
.ticker-track, .logo-track { will-change: transform; transform: translate3d(0, 0, 0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; }
.ticker-list li { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 2rem); padding-inline: 22px; white-space: nowrap; display: flex; align-items: center; letter-spacing: -.01em; }
/* Plain glyph instead of a clip-path gradient: clip-path inside a moving layer is very slow on iPhones */
.ticker-list li::after { content: "✦"; margin-inline-start: 44px; color: var(--pink); font-size: .8em; }
.ticker-list li:nth-child(even)::after { color: var(--orange); }
.ticker-list li:nth-child(4n+2) { color: var(--yellow); }
.ticker-list li:nth-child(4n+3) { color: #ffa0c2; }
@keyframes ticker { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
html[dir="rtl"] .ticker-track { animation-name: tickerRtl; }
@keyframes tickerRtl { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(50%, 0, 0); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: clamp(24px, 4vw, 48px); }
.section-head { text-align: center; margin-bottom: clamp(40px, 5vw, 60px); }

/* Tile colours (text colours chosen for ≥4.5:1 contrast) */
.t-orange { background: var(--orange); color: var(--ink); }
.t-pink { background: var(--pink); color: var(--ink); }
.t-yellow { background: var(--yellow); color: var(--ink); }
.t-blue { background: var(--blue); color: #fff; }
.t-mint { background: var(--mint); color: var(--ink); }
.t-lilac { background: var(--lilac); color: var(--ink); }

/* ---------- Why ---------- */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { border-radius: var(--r-lg); padding: 30px; border: 2px solid var(--ink); position: relative; transition: transform .3s var(--spring), box-shadow .3s var(--ease); }
.why-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-pop); }
.why-num { font-family: "Bricolage Grotesque", sans-serif; font-size: 3.4rem; font-weight: 800; line-height: 1; display: block; margin-bottom: 18px; letter-spacing: -.04em; }
.why-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.why-card p { margin: 0; font-weight: 500; }

/* ---------- Included ---------- */
.included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.inc-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.inc-list li {
  display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: var(--r-md);
  background: #fff; border: 1.5px solid var(--line); font-weight: 600;
  transition: border-color .2s, transform .2s var(--ease);
}
.inc-list li:hover { border-color: var(--ink); transform: translateX(4px); }
html[dir="rtl"] .inc-list li:hover { transform: translateX(-4px); }
.ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-orange { background: var(--orange-50); } .c-pink { background: var(--pink-50); } .c-blue { background: var(--blue-50); }
.c-yellow { background: var(--yellow-50); } .c-mint { background: var(--mint-50); } .c-lilac { background: var(--lilac-50); }
.inc-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
/* Real event photos: full-bleed, caption on a soft dark fade */
.inc-photos figure {
  position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  box-shadow: 0 18px 40px -18px rgba(21, 18, 43, .55); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.inc-photos figure:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -20px rgba(21, 18, 43, .6); }
.inc-photos img { display: block; width: 100%; aspect-ratio: 600 / 780; object-fit: cover; transition: transform .6s var(--ease); }
.inc-photos figure:hover img { transform: scale(1.06); }
.inc-photos figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 12px 14px; text-align: center;
  background: linear-gradient(to top, rgba(21, 18, 43, .88), rgba(21, 18, 43, 0));
  color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: .01em;
}
.inc-photos figcaption::before { content: ""; display: block; width: 22px; height: 3px; margin: 0 auto 8px; border-radius: 3px; background: var(--grad); }

/* ---------- How ---------- */
.how { background: var(--ink); color: #fff; border-radius: var(--r-xl); margin-inline: clamp(8px, 2vw, 24px); }
.how .h2 { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding: 28px 24px 30px; border-radius: var(--r-lg); background: var(--ink-2); border: 1.5px solid rgba(255,255,255,.12); transition: transform .3s var(--spring), background-color .3s; }
.step:hover { transform: translateY(-6px); background: #332e60; }
.step-num { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--ink); font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.6rem; margin-bottom: 22px; rotate: -6deg; }
.s-yellow { background: var(--yellow); } .s-mint { background: var(--mint); }
.step .s-orange { background: var(--orange); } .step .s-pink { background: var(--pink); }
.step-ic { position: absolute; top: 28px; inset-inline-end: 24px; width: 28px; height: 28px; fill: none; stroke: rgba(255,255,255,.6); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; line-height: 1.45; }

/* ---------- Designs ---------- */
.frames { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 20px; margin-bottom: clamp(56px, 7vw, 80px); }
.frame { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; text-align: center; font-size: .9rem; font-weight: 600; min-height: 190px; }
.f { height: 150px; display: grid; gap: 5px; padding: 7px; background: #fff; border: 2px solid var(--ink); border-radius: 6px; box-shadow: 4px 4px 0 var(--ink); transition: transform .3s var(--spring); }
.frame:hover .f { transform: translateY(-6px) rotate(-4deg); }
/* Matches the brand design sheet: white print, rounded orange photo areas, orange LOGO */
.f i { border-radius: 7px; display: block; background: var(--orange); }
.f b { font-size: 9px; letter-spacing: .08em; display: grid; place-items: center; font-weight: 800; color: var(--orange); }
/* Layouts are drawn at true print proportions: 4×6 (2:3) and the 2×6 strip (1:3) with square photos */
.frames { grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: center; }
.f-46 { width: 108px; height: 162px; }
.f-single { padding: 9px; }
.f-26 { width: 54px; height: 162px; }
.f-strip { grid-template-rows: repeat(3, auto) 1fr; }
.f-strip i { aspect-ratio: 1; }
/* Two 2×6 strips side by side, the second slightly tilted like a freshly cut pair */
.f-pair { display: flex; align-items: flex-end; }
.f-pair .f + .f { margin-inline-start: -4px; rotate: calc(7deg * var(--dir)); transform-origin: bottom; }
.f-size { margin-top: -8px; padding: 2px 10px; border-radius: 999px; background: var(--bg-soft); border: 1.5px solid var(--line); font-style: normal; font-size: .75rem; font-weight: 700; color: var(--muted); }

.examples-title { text-align: center; margin-bottom: 28px; }
.examples { display: flex; gap: 18px; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.ex { margin: 0; text-align: center; }
.ex img { height: 280px; width: auto; border-radius: 14px; border: 2px solid var(--ink); transition: transform .35s var(--spring); }
.ex:nth-child(odd) img { rotate: -2deg; }
.ex:nth-child(even) img { rotate: 2deg; }
.ex:hover img { transform: translateY(-8px) scale(1.03); }
.ex figcaption { font-size: .9rem; font-weight: 600; margin-top: 14px; }

/* ---------- Services ---------- */
/* Cream backgrounds alternate down the page: included (cream) → services (white) → why (cream) */
.included { background: var(--bg-soft); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card { border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--ink); padding: 10px; display: flex; flex-direction: column; transition: transform .3s var(--spring), box-shadow .3s var(--ease); }
.svc-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-pop); }
.svc-img { position: relative; }
.svc-img img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: 16px; }
.tag { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; font-weight: 800; font-size: .85rem; }
.svc-body { padding: 18px 10px 12px; }
.svc-body h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -.01em; }
.svc-body p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Partners ---------- */
/* Partner logos: white logos sliding on a dark band, like the events ticker */
/* Partner logo wall: two rows of glass logo cards gliding in opposite directions (built by home.js);
   without JS or with reduced motion it stays a static grid of all logos */
.partners-sec { padding-bottom: clamp(48px, 6vw, 72px); }
.logo-wall {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl);
  display: grid; gap: 14px; padding-block: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(520px circle at var(--mx, 50%) var(--my, -30%), rgba(255, 61, 129, .22), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--ink);
  box-shadow: 0 30px 60px -30px rgba(21, 18, 43, .6);
}
.logo-wall::before, .logo-wall::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.logo-wall::before { background: var(--pink); opacity: .35; top: -200px; inset-inline-start: -120px; }
.logo-wall::after { background: var(--orange); opacity: .28; bottom: -220px; inset-inline-end: -100px; }
/* Static fallback grid */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding-inline: clamp(14px, 2.4vw, 24px); }
/* Moving rows */
.logo-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-track { display: flex; width: max-content; animation: ticker var(--dur, 46s) linear infinite; }
.logo-row.rev .logo-track { animation-direction: reverse; }
html[dir="rtl"] .logo-track { animation-name: tickerRtl; }
.logo-row:hover .logo-track { animation-play-state: paused; }
.logo-set { display: flex; gap: 14px; padding-inline-end: 14px; }
/* Glass logo card (used by both the grid and the rows) */
.logo-grid li, .logo-set li {
  display: grid; place-items: center; height: 82px; min-width: 176px; padding-inline: 28px;
  border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09);
  /* No backdrop-filter: dozens of moving blurred cards made iPhones lag */
  transition: transform .35s var(--ease), background-color .3s, border-color .3s, box-shadow .35s var(--ease);
}
.logo-grid li:hover, .logo-set li:hover {
  transform: translateY(-4px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24);
  box-shadow: 0 14px 30px -14px rgba(255, 61, 129, .55);
}
.logo-grid img, .logo-set img { width: auto; height: auto; max-height: 42px; max-width: 140px; object-fit: contain; opacity: .8; transition: opacity .3s; }
.logo-grid li:hover img, .logo-set li:hover img { opacity: 1; }

/* ---------- Gallery ---------- */
.masonry { columns: 4 240px; column-gap: 16px; }
.masonry li { break-inside: avoid; margin-bottom: 16px; }
.g-item { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-soft); cursor: zoom-in; border-radius: 20px; overflow: hidden; position: relative; }
.g-item img { width: 100%; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; transition: box-shadow .25s var(--ease); }
.masonry li:nth-child(3n+1) .g-item:hover::after { box-shadow: inset 0 0 0 5px var(--orange); }
.masonry li:nth-child(3n+2) .g-item:hover::after { box-shadow: inset 0 0 0 5px var(--pink); }
.masonry li:nth-child(3n) .g-item:hover::after { box-shadow: inset 0 0 0 5px var(--blue); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(21, 18, 43, .92); }
.lightbox img { max-width: min(92vw, 900px); max-height: 86dvh; width: auto; border-radius: 16px; animation: lbIn .25s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lb-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, transform .2s var(--spring); }
.lb-btn:hover { background: var(--yellow); transform: scale(1.08); }
.lb-close { top: 16px; inset-inline-end: 16px; font-size: 1.1rem; }
.lb-prev { inset-inline-start: 16px; top: calc(50% - 24px); }
.lb-next { inset-inline-end: 16px; top: calc(50% - 24px); }
html[dir="rtl"] .lb-prev, html[dir="rtl"] .lb-next { scale: -1 1; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.review { margin: 0; border-radius: var(--r-lg); padding: 30px; border: 2px solid var(--ink); position: relative; transition: transform .3s var(--spring); }
.review:nth-child(odd) { rotate: -.6deg; }
.review:nth-child(even) { rotate: .6deg; translate: 0 20px; }
.review:hover { transform: scale(1.015); }
.r-orange { background: var(--orange-50); } .r-blue { background: var(--blue-50); } .r-pink { background: var(--pink-50); } .r-mint { background: var(--mint-50); }
.stars { width: 110px; height: 19px; fill: var(--orange); margin-bottom: 16px; }
.review blockquote { margin: 0; }
.review p[lang="ar"] { font-family: "Readex Pro", sans-serif; font-size: 1.125rem; line-height: 1.85; margin-bottom: 14px; font-weight: 500; }
html[dir="ltr"] .review p[lang="ar"] { text-align: right; }
.review .tr { color: var(--muted); font-style: italic; font-size: 1rem; margin: 0; padding-top: 14px; border-top: 1.5px dashed rgba(21,18,43,.2); }
html[lang="ar"] .review .tr { display: none; }

/* ---------- Mission ---------- */
.mission {
  border-radius: var(--r-xl); border: 2px solid var(--ink); padding: clamp(32px, 6vw, 72px);
  position: relative; isolation: isolate; overflow: hidden; background: var(--orange);
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
/* The gradient drifts slowly across the card. It lives on a double-size layer that is moved with
   transform (GPU) — animating background-position repainted the card every frame and made iPhones lag. */
.mission::before {
  content: ""; position: absolute; top: 0; left: 0; width: 200%; height: 200%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 70% at 100% 0%, var(--yellow), transparent 70%),
    radial-gradient(ellipse 45% 80% at 0% 100%, #6f9bff, transparent 70%),
    var(--grad);
  will-change: transform;
  animation: missionFlow 16s ease-in-out infinite alternate;
}
@keyframes missionFlow { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, -50%, 0); } }
.mission-ring { width: 100%; max-width: 220px; animation: spin 26s linear infinite; }
.mission-ring text { font-family: "Bricolage Grotesque", sans-serif; font-size: 24px; font-weight: 800; letter-spacing: 3px; fill: var(--ink); }
.ring-spark { fill: #fff; transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(.6) rotate(45deg); opacity: .7; } }
@keyframes spin { to { transform: rotate(360deg); } }
/* Heading then paragraph rise in when the card scrolls into view (home.js adds .shown) */
.mission.anim:not(.shown) .mission-lead, .mission.anim:not(.shown) .mission-text { opacity: 0; }
.mission.shown .mission-lead { animation: missionUp .9s var(--ease) .15s both; }
.mission.shown .mission-text { animation: missionUp .9s var(--ease) .35s both; }
@keyframes missionUp { from { opacity: 0; transform: translateY(24px); } }
.mission-lead { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 18px; color: var(--ink); }
html[lang="ar"] .mission-lead { letter-spacing: 0; line-height: 1.3; }
.mission-text { font-size: 1.125rem; max-width: 36em; margin: 0; color: var(--ink); font-weight: 500; }

/* ---------- Quote ---------- */
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote-intro p { color: var(--muted); }
.quote-socials { margin-top: 24px; }
.quote-socials p { font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.soc { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 700; color: #fff; border: 2px solid var(--ink); transition: transform .2s var(--spring), box-shadow .2s; }
.soc:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.soc svg { width: 22px; height: 22px; }

/* Brand-colour social buttons (white icon/text contrast ≥ 4.5:1) */
.soc-wa { background: #128c4a; }
.soc-ig { background: linear-gradient(45deg, #e1306c, #c13584 50%, #833ab4); }
.soc-tt { background: #000; }

.quote-form { background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--orange); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; align-content: start; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field legend { margin-bottom: 6px; }
.req { color: var(--danger); }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid #9a96ad; background: #faf9fc; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(36, 89, 230, .3); }
.field [aria-invalid="true"] { border-color: var(--danger) !important; background: #fff5f6; }
.hint { font-size: .85rem; color: var(--muted); margin: 0; }
.err { font-size: .875rem; color: var(--danger); margin: 0; font-weight: 600; }
.err:empty { display: none; }
.err::before { content: "⚠ "; }

.seg { display: inline-grid; grid-auto-flow: column; background: var(--bg-soft); border: 1.5px solid var(--line); padding: 4px; border-radius: 999px; gap: 4px; width: max-content; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 22px; border-radius: 999px; font-weight: 600; transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checks label { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 14px; cursor: pointer; border: 1.5px solid #9a96ad; border-radius: 14px; font-size: .95rem; font-weight: 500; transition: border-color .2s, background-color .2s; }
.checks label:hover { border-color: var(--ink); }
.checks label:has(input:checked) { border-color: var(--ink); background: var(--yellow-50); }
.checks input { width: 18px; height: 18px; accent-color: var(--orange); }

.form-error-summary { border: 2px solid var(--danger); background: #fff5f6; border-radius: 14px; padding: 14px 18px; color: var(--danger); }
.form-error-summary p { margin: 0 0 6px; font-weight: 700; }
.form-error-summary ul { padding-inline-start: 18px; }
.form-error-summary a { color: var(--danger); }
.form-status { margin: 0; text-align: center; color: #0d7a4f; font-weight: 600; }
.form-status:empty { display: none; }
.wa-ico { width: 22px; height: 22px; }

/* ---------- Shop promo (home) ---------- */
.shop-promo {
  border-radius: var(--r-xl); border: 2px solid var(--ink); background: var(--yellow); padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center;
}
.shop-promo p { font-weight: 500; max-width: 32em; }
.shop-promo-img { width: min(100%, 300px); justify-self: center; aspect-ratio: 215 / 280; object-fit: cover; border-radius: var(--r-lg); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); rotate: 3deg; }
.shop-promo .btn { margin-top: 8px; }

/* ---------- Products page ---------- */
.shop-hero { padding-bottom: clamp(32px, 4vw, 56px); }
.shop-hero .display { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.crumbs { display: flex; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--ink); text-underline-offset: 3px; }
.shop-benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.shop-benefits li { padding: 10px 16px; border-radius: var(--r-md); border: 1.5px solid var(--ink); font-size: .92rem; font-weight: 600; }
.shop { padding-top: 0; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--ink); background: #fff;
  font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s;
}
.filter-btn:hover { background: var(--yellow-50); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product {
  display: flex; flex-direction: column; border-radius: var(--r-lg); border: 2px solid var(--ink); background: #fff;
  padding: 10px; transition: transform .3s var(--spring), box-shadow .3s var(--ease);
}
.product[hidden] { display: none; }
.product:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-pop); }
.product-art { position: relative; border-radius: 16px; display: grid; place-items: center; aspect-ratio: 5 / 3.6; }
.product-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.product-art .tag { z-index: 1; }
.product-art svg { width: 72%; height: auto; aspect-ratio: 5 / 4; transition: transform .4s var(--spring); }
.product:hover .product-art svg { transform: rotate(-3deg) scale(1.05); }
.product-body { padding: 18px 10px 4px; flex: 1; }
.product-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.product-body p { color: var(--muted); font-size: .98rem; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.specs li { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); border: 1.5px solid var(--line); }
.product-buy { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 16px 10px 10px; }
.product-buy .order-btn { grid-column: 1 / -1; }
.price { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.qty-btn { width: 40px; height: 40px; border: 0; background: #fff; font-size: 1.2rem; font-weight: 700; cursor: pointer; transition: background-color .2s; }
.qty-btn:hover { background: var(--yellow-50); }
.qty input { width: 44px; height: 40px; border: 0; border-inline: 1.5px solid var(--line); text-align: center; font-weight: 700; background: #fff; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-other { background: var(--grad); justify-content: space-between; padding: clamp(20px, 3vw, 28px); }
.product-other .product-body { padding: 0 0 20px; }
.product-other .product-name { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); }
.product-other p { color: var(--ink); font-weight: 500; }

.shop-cta {
  border-radius: var(--r-xl); background: var(--ink); color: #fff; padding: clamp(28px, 5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.shop-cta .h3 { color: #fff; margin-bottom: 8px; }
.shop-cta p { margin: 0; color: #d6d3e8; max-width: 34em; }
.js .product-grid .reveal { transform: translate3d(0, 60px, 0) rotate(calc(3deg * var(--dir))); }

@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-promo { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .shop-cta .btn { width: 100%; }
}

/* ---------- Blog page ---------- */
.blog-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.blog-jump a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 2px solid var(--ink); font-weight: 700; text-decoration: none; transition: transform .2s var(--spring), box-shadow .2s var(--ease);
}
.blog-jump a:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.blog-jump .arrow { width: 18px; height: 18px; }
html[dir="rtl"] .blog-jump .arrow { transform: none; }
.blog-head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 44px); }
.blog-head .section-sub { margin-inline: 0; }
.lb { padding-top: clamp(24px, 3vw, 40px); }
.tog { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; transition: transform .3s var(--spring), background-color .2s; }
.tog::before, .tog::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); }
.tog::after { transform: rotate(90deg); }
details[open] > summary .tog { transform: rotate(45deg); background: var(--yellow); }
.step-list { list-style: none; counter-reset: step; display: grid; gap: 12px; }
.step-list li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: .97rem; }
.step-list li::before {
  content: counter(step); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.post {
  border-radius: var(--r-lg); border: 2px solid var(--ink); background: #fff; padding: clamp(20px, 2.4vw, 28px);
  transition: transform .3s var(--spring), box-shadow .3s var(--ease);
}
.post:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-pop); }
.post-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.post-tag { padding: 4px 12px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: .8rem; font-weight: 700; }
.post-time { font-size: .85rem; font-weight: 600; color: var(--muted); }
.post-num { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.post h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
html[lang="ar"] .post h3 { letter-spacing: 0; line-height: 1.4; }
.post > p { color: var(--muted); font-size: .98rem; }
.post-more { border-top: 1.5px solid var(--line); }
.post-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-weight: 700; }
.post-more summary::-webkit-details-marker, .ts-item summary::-webkit-details-marker { display: none; }
.post-more .step-list { padding-bottom: 6px; }

.ts { background: var(--bg-soft); }
.ts-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.ts-list { display: grid; gap: 12px; }
.ts-item { border: 2px solid var(--ink); border-radius: var(--r-md); background: #fff; transition: box-shadow .2s var(--ease); }
.ts-item[hidden] { display: none; }
.ts-item[open] { box-shadow: 4px 4px 0 var(--ink); }
.ts-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 16px; }
.ts-cat { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.ts-q { flex: 1; font-weight: 700; line-height: 1.35; }
.ts-body { padding: 4px 18px 18px; }
.ts-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.checklist-card, .help-card { border-radius: var(--r-lg); border: 2px solid var(--ink); padding: 26px; }
.checklist-card { background: var(--yellow); }
.help-card { background: var(--ink); color: #fff; }
.help-card p { color: #d6d3e8; }
.ck-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; }
.checklist-card > p { font-weight: 500; font-size: .95rem; }
.checklist { display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 600; font-size: .95rem; line-height: 1.45; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; border-radius: 6px; background: #fff; border: 1.5px solid var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2315122b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 16px; background-position: center; background-repeat: no-repeat;
}
.js .post-grid .reveal { transform: translate3d(0, 60px, 0) rotate(calc(3deg * var(--dir))); }

@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .ts-layout { grid-template-columns: 1fr; }
  .ts-side { position: static; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .ts-item summary { flex-wrap: wrap; gap: 8px 12px; }
  .ts-q { flex-basis: calc(100% - 40px); order: 2; }
  .ts-item .tog { order: 3; }
}

/* ---------- Drawing arm booth card ---------- */
.booth-grid .booth-wide { grid-column: 1 / -1; }
.bc-arm { background: var(--yellow-50); }
.bc-arm .booth-media { background: var(--mint-50); display: grid; place-items: center; }
.bc-arm .booth-tag { background: var(--pink); }
.booth-art { width: min(100%, 420px); height: auto; aspect-ratio: 400 / 320; padding: 24px 16px 12px; }

/* ---------- Services page ---------- */
.sv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sv-step { border-radius: var(--r-lg); padding: 28px; border: 2px solid var(--ink); transition: transform .3s var(--spring), box-shadow .3s var(--ease); }
.sv-step:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-pop); }
.sv-step h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
html[lang="ar"] .sv-step h3 { letter-spacing: 0; line-height: 1.4; }
.sv-step p { margin: 0; font-weight: 500; }
@media (max-width: 1100px) { .sv-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sv-steps { grid-template-columns: 1fr; } }

/* ---------- Basket (cart.js) ---------- */
.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: background-color .2s, border-color .2s;
}
.cart-btn:hover { background: var(--yellow-50); border-color: var(--yellow); }
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.cart-count {
  position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--orange); color: var(--ink); border: 2px solid #fff; font-size: .7rem; font-weight: 800; line-height: 16px; text-align: center;
  transform: scale(0); transition: transform .3s var(--spring);
}
.cart-btn.has-items .cart-count { transform: scale(1); }
.cart-btn.bump { animation: cartBump .45s var(--spring); }
@keyframes cartBump { 40% { transform: scale(1.18) rotate(-8deg); } }
.bag-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.add-btn.added { background: var(--mint); }
.booth-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.booth-actions .btn { margin-top: 0; }
.svc-body .add-sm { margin-top: 14px; min-height: 42px; padding: 8px 16px; font-size: .9rem; }

.basket {
  margin: 0; margin-inline-start: auto; padding: 0; border: 0; border-inline-start: 2px solid var(--ink);
  width: min(420px, 100%); height: 100dvh; max-width: 100%; max-height: none; background: #fff; color: var(--text);
}
.basket[open] { display: flex; flex-direction: column; animation: basketIn .35s var(--ease); }
@keyframes basketIn { from { transform: translateX(calc(100% * var(--dir))); } }
.basket::backdrop { background: rgba(21, 18, 43, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
html:has(.basket[open]) { overflow: hidden; }
.basket-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1.5px solid var(--line); }
.basket-head h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; }
.basket-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-soft); cursor: pointer; display: grid; place-items: center; }
.basket-close:hover { background: var(--pink-50); }
.basket-close svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.basket-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.basket-list { display: grid; gap: 10px; }
.basket-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r-md); }
.basket-item strong { display: block; font-weight: 700; line-height: 1.35; }
.basket-tag { display: inline-block; margin-top: 4px; padding: 1px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.basket-tag.is-product { background: var(--blue-50); } .basket-tag.is-service { background: var(--pink-50); }
.basket-item .qty-btn { width: 34px; height: 34px; }
.basket-qty { min-width: 30px; text-align: center; font-weight: 800; }
.basket-del { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.basket-del:hover { background: var(--pink-50); }
.basket-del svg { width: 19px; height: 19px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.basket-empty { color: var(--muted); text-align: center; padding: 40px 10px; margin: 0; }
.basket:not(.is-empty) .basket-empty, .basket.is-empty .basket-form { display: none; }
.basket-form { display: grid; gap: 10px; padding: 16px 20px 20px; border-top: 1.5px solid var(--line); background: var(--bg-soft); }
.basket-note { margin: 0; font-size: .85rem; color: var(--muted); }
.basket-form label { display: grid; gap: 4px; font-size: .85rem; font-weight: 700; }
.basket-form input, .basket-form textarea {
  width: 100%; min-height: 44px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 500; resize: vertical;
}
.basket-form input:focus, .basket-form textarea:focus { outline: none; border-color: var(--ink); }
.basket-msg { margin: 0; font-size: .88rem; font-weight: 600; }
.basket-msg:empty { display: none; }
.basket-msg.error { color: var(--danger); } .basket-msg.ok { color: #0d7a4f; }
.basket-clear { justify-self: center; border: 0; background: none; color: var(--muted); font-size: .85rem; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 6px; }

.cart-toast {
  position: fixed; z-index: 120; bottom: 24px; left: 50%; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px);
  padding: 12px 14px 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: 0 16px 40px -14px rgba(21, 18, 43, .6);
  opacity: 0; visibility: hidden; transform: translate(-50%, 20px); transition: opacity .25s, transform .35s var(--spring), visibility 0s .35s;
}
.cart-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .35s var(--spring); }
.cart-toast button { flex-shrink: 0; border: 0; border-radius: 999px; padding: 7px 14px; background: var(--yellow); color: var(--ink); font-weight: 800; cursor: pointer; }
@media (max-width: 600px) {
  .cart-btn { width: 40px; height: 40px; }
  .cart-toast { bottom: 90px; }
  /* On phones the whole panel scrolls, so the item list isn't squeezed by the form */
  .basket[open] { overflow-y: auto; }
  .basket-body { flex: none; overflow: visible; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e9e7f3; padding-top: clamp(56px, 7vw, 88px); position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 6px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand-word { font-size: 2rem; }
.footer-tag { color: #bdb9d4; line-height: 1.8; }
.footer-h { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.site-footer ul a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; color: #e9e7f3; transition: color .2s; }
.site-footer ul a:hover { color: var(--yellow); }
.socials { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.soc-round { width: 46px; height: 46px; border-radius: 50%; display: grid !important; place-items: center; color: #fff !important; transition: transform .2s var(--spring); }
.soc-round:hover { transform: translateY(-3px) rotate(-6deg); }
.soc-round svg { width: 22px; height: 22px; }
.soc-round.soc-tt { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; padding-inline-end: 84px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: #bdb9d4; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #bdb9d4; }

/* ---------- Floating social buttons ---------- */
/* One round button; tapping it fans out WhatsApp, Instagram and TikTok above it */
.social-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.fl-items { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.fl {
  position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; text-decoration: none; border: 2px solid #fff;
  box-shadow: 0 10px 24px -8px rgba(21,18,43,.55);
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.5);
  transition: opacity .2s, transform .3s var(--spring), visibility 0s .3s;
}
.social-float.open .fl { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .35s var(--spring); }
.social-float.open .fl:nth-child(3) { transition-delay: 0s; }
.social-float.open .fl:nth-child(2) { transition-delay: .05s; }
.social-float.open .fl:nth-child(1) { transition-delay: .1s; }
.social-float.open .fl:hover { transform: scale(1.1); }
.fl svg { width: 24px; height: 24px; }
.fl-wa { background: #128c4a; }
.fl-ig { background: linear-gradient(45deg, #e1306c, #c13584 50%, #833ab4); }
.fl-tt { background: #000; }
.fl-label {
  position: absolute; inset-inline-end: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: .85rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  white-space: nowrap; pointer-events: none; box-shadow: 0 8px 18px -10px rgba(21,18,43,.6);
}
.fl-toggle {
  position: relative; width: 62px; height: 62px; border-radius: 50%; border: 2px solid #fff; padding: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: var(--grad);
  box-shadow: 0 12px 28px -8px rgba(255, 61, 129, .6); transition: transform .25s var(--spring), background-color .2s;
  animation: flIn .6s var(--spring) .3s both;
}
.fl-toggle::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--pink); animation: ping 2.4s var(--ease) infinite; }
.fl-toggle:hover { transform: scale(1.08); }
.fl-toggle svg { grid-area: 1 / 1; width: 28px; height: 28px; transition: transform .3s var(--spring), opacity .2s; }
.fl-ic-open { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fl-ic-open circle { fill: currentColor; stroke: none; }
.fl-ic-close { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; opacity: 0; transform: rotate(-90deg); }
.social-float.open .fl-toggle { background: var(--ink); box-shadow: 0 12px 28px -8px rgba(21,18,43,.6); }
.social-float.open .fl-toggle::before { display: none; }
.social-float.open .fl-ic-open { opacity: 0; transform: rotate(90deg); }
.social-float.open .fl-ic-close { opacity: 1; transform: none; }
@keyframes flIn { from { opacity: 0; transform: scale(.4) translateY(20px); } }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.45); opacity: 0; } }

/* ==========================================================
   Motion: sliding reveals, hero entrance, sliders
   ========================================================== */
html { --dir: 1; }
html[dir="rtl"] { --dir: -1; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; inset-inline: 0; height: 4px; z-index: 200; background: var(--grad);
  transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none;
}
html[dir="rtl"] .scroll-progress { transform-origin: right; }

/* Scroll reveals (default: slide up) */
.js .reveal {
  opacity: 0; transform: translate3d(0, 48px, 0);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
  transition-delay: var(--stagger, 0ms);
}
.js .reveal[data-anim="left"] { transform: translate3d(calc(-90px * var(--dir)), 0, 0); }
.js .reveal[data-anim="right"] { transform: translate3d(calc(90px * var(--dir)), 0, 0); }
.js .reveal[data-anim="zoom"] { transform: scale(.88); }
/* Grids slide in from alternating sides */
.js .why-grid .reveal:nth-child(3n+1), .js .steps .reveal:nth-child(odd) { transform: translate3d(calc(-80px * var(--dir)), 0, 0); }
.js .why-grid .reveal:nth-child(3n), .js .steps .reveal:nth-child(even) { transform: translate3d(calc(80px * var(--dir)), 0, 0); }
.js .svc-grid .reveal { transform: translate3d(0, 70px, 0) rotate(calc(4deg * var(--dir))); }
.js .frames .reveal { transform: scale(.5) rotate(-10deg); transition-timing-function: var(--spring); }
.js .examples .reveal { transform: translate3d(0, 80px, 0) rotate(-6deg); }
/* !important: the per-grid start offsets above are more specific and would otherwise stick */
.js .reveal.in { opacity: 1; transform: none !important; }

/* Hero entrance */
.hero-in { animation: heroSlide .9s var(--ease) both; animation-delay: var(--d, 0s); }
.hero-in-right { animation: heroSlideR 1.1s var(--ease) .25s both; }
@keyframes heroSlide { from { opacity: 0; transform: translate3d(calc(-70px * var(--dir)), 0, 0); } }
@keyframes heroSlideR { from { opacity: 0; transform: translate3d(calc(120px * var(--dir)), 0, 0) rotate(calc(6deg * var(--dir))); } }

/* Rotating event word */
.rotator {
  --rh: 1.35em;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0 .35em;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  letter-spacing: -.02em; margin: -6px 0 18px;
}
html[lang="ar"] .rotator { --rh: 1.8em; letter-spacing: 0; }
.rot-window { display: inline-block; height: var(--rh); overflow: hidden; }
.rot-list { display: flex; flex-direction: column; animation: rot 12.5s var(--ease) infinite; }
.rot-list span {
  display: block; height: var(--rh); line-height: var(--rh); white-space: nowrap;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes rot {
  0%, 16% { transform: translateY(0); }
  20%, 36% { transform: translateY(calc(var(--rh) * -1)); }
  40%, 56% { transform: translateY(calc(var(--rh) * -2)); }
  60%, 76% { transform: translateY(calc(var(--rh) * -3)); }
  80%, 96% { transform: translateY(calc(var(--rh) * -4)); }
  100% { transform: translateY(calc(var(--rh) * -5)); }
}

/* Gallery: two infinite sliding rows */
.g-rows {
  display: grid; gap: 16px; overflow: hidden; padding-block: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.g-row { display: flex; width: max-content; animation: gslide 70s linear infinite; }
.g-right { animation-direction: reverse; animation-duration: 80s; }
html[dir="rtl"] .g-row { animation-name: gslideRtl; }
.g-rows:hover .g-row, .g-rows:focus-within .g-row, .g-rows.paused .g-row { animation-play-state: paused; }
.g-track { display: flex; gap: 16px; padding-inline-end: 16px; }
.g-track li { width: clamp(190px, 21vw, 290px); flex-shrink: 0; }
.g-track .g-item img { aspect-ratio: 4 / 5; object-fit: cover; }
.g-track li:nth-child(odd) .g-item { rotate: -1.5deg; }
.g-track li:nth-child(even) .g-item { rotate: 1.5deg; }
.g-track .g-item { transition: rotate .3s var(--spring), transform .3s var(--spring); }
.g-track .g-item:hover { rotate: 0deg; transform: scale(1.04); z-index: 2; }
.g-track li:nth-child(3n+1) .g-item:hover::after { box-shadow: inset 0 0 0 5px var(--orange); }
.g-track li:nth-child(3n+2) .g-item:hover::after { box-shadow: inset 0 0 0 5px var(--pink); }
.g-track li:nth-child(3n) .g-item:hover::after { box-shadow: inset 0 0 0 5px var(--blue); }
@keyframes gslide { to { transform: translateX(-50%); } }
@keyframes gslideRtl { to { transform: translateX(50%); } }
.g-pause {
  justify-self: center; margin-top: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px;
  border: 2px solid var(--ink); background: #fff; font-weight: 700; cursor: pointer; transition: background-color .2s;
}
.g-pause:hover { background: var(--yellow); }

/* Reviews slider */
.rev-viewport {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 10px 6px 26px; border-radius: var(--r-lg);
}
.rev-viewport::-webkit-scrollbar { display: none; }
.rev-viewport .review { flex: 0 0 calc(50% - 9px); scroll-snap-align: start; rotate: 0deg; translate: none; }
.rev-viewport .review:hover { transform: translateY(-4px); }
.rev-controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 8px; }
.rev-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; cursor: pointer;
  display: grid; place-items: center; box-shadow: 3px 3px 0 var(--ink); transition: transform .2s var(--spring), background-color .2s;
}
.rev-btn:hover { background: var(--yellow); transform: translate(-2px, -2px); }
.rev-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .rev-btn svg { transform: scaleX(-1); }
.rev-dots { display: flex; gap: 4px; }
.rev-dots button { width: 28px; height: 28px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.rev-dots button::before { content: ""; width: 12px; height: 12px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; transition: width .3s var(--spring), background-color .3s; }
.rev-dots button[aria-current="true"]::before { width: 26px; background: var(--orange); }

/* Count-up stat */
.stat strong { font-variant-numeric: tabular-nums; }

/* ---------- Booth comparison ---------- */
.booth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 40px; }
.booth-card {
  display: grid; grid-template-columns: .9fr 1.1fr; border: 2px solid var(--ink); border-radius: var(--r-xl);
  overflow: hidden; transition: transform .3s var(--spring), box-shadow .3s var(--ease);
}
.booth-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.bc-mirror { background: var(--pink-50); }
.bc-ai { background: var(--blue-50); }
.booth-media { position: relative; min-height: 300px; border-inline-end: 2px solid var(--ink); }
.booth-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.booth-tag { position: absolute; top: 14px; inset-inline-start: 14px; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--yellow); font-weight: 800; font-size: .82rem; }
.bc-ai .booth-tag { background: var(--mint); }
.booth-body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.booth-body h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.02em; }
.booth-body p { margin: 0; color: var(--muted); }
.booth-body .best { color: var(--ink); font-size: .95rem; }
.booth-body .btn { margin-top: auto; align-self: flex-start; }

.compare { border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 14px 18px; text-align: start; border-bottom: 1.5px solid var(--line); }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.compare thead th:not(:first-child), .compare td { text-align: center; width: 24%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:nth-child(even) { background: var(--bg-soft); }
.compare tbody th { font-weight: 600; }
.compare td.yes::before, .compare td.no::before {
  content: ""; display: inline-block; width: 28px; height: 28px; border-radius: 50%; vertical-align: middle;
  background-position: center; background-repeat: no-repeat; background-size: 16px;
}
.compare td.yes::before { background-color: var(--mint); border: 1.5px solid var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315122b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); }
.compare td.no::before { background-color: #ece9f3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b4763' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E"); }

/* Services now 3 cards */
.svc-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- Social ---------- */
.social-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.sc-card {
  display: flex; flex-direction: column; gap: 18px; padding: 18px; border-radius: var(--r-xl); border: 2px solid var(--ink);
  text-decoration: none; color: inherit; transition: transform .3s var(--spring), box-shadow .3s var(--ease);
}
.sc-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.sc-ig { background: linear-gradient(135deg, #fff1e8, #ffe9f1 50%, #f2eeff); }
.sc-tt { background: var(--ink); color: #fff; }
.sc-head { display: flex; align-items: center; gap: 12px; }
.sc-logo { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.sc-ig .sc-logo { background: linear-gradient(45deg, #e1306c, #c13584 50%, #833ab4); }
.sc-tt .sc-logo { background: #000; border: 1.5px solid rgba(255,255,255,.35); }
.sc-logo svg { width: 26px; height: 26px; }
.sc-name { display: flex; flex-direction: column; line-height: 1.25; }
.sc-name strong { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.sc-name span { font-size: .9rem; opacity: .85; direction: ltr; text-align: start; }
.sc-follow { margin-inline-start: auto; padding: 8px 18px; border-radius: 999px; font-weight: 800; border: 2px solid var(--ink); background: var(--orange); color: var(--ink); }
.sc-tt .sc-follow { background: #fff; border-color: #fff; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ig-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 12px; transition: transform .4s var(--ease); }
.sc-ig:hover .ig-grid img:nth-child(odd) { transform: scale(1.04) rotate(-2deg); }
.sc-ig:hover .ig-grid img:nth-child(even) { transform: scale(1.04) rotate(2deg); }
.tt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.tt-vid { position: relative; border-radius: 12px; overflow: hidden; min-height: 220px; }
.tt-vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sc-tt:hover .tt-vid img { transform: scale(1.06); }
.play {
  position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%2315122b'/%3E%3C/svg%3E") 55% center / 22px no-repeat;
  box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .3s var(--spring);
}
.sc-tt:hover .play { transform: scale(1.15); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-intro p { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 2px solid var(--ink); border-radius: var(--r-md); background: #fff; transition: background-color .25s, box-shadow .25s var(--ease); }
.faq-item[open] { background: var(--yellow-50); box-shadow: 5px 5px 0 var(--ink); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.plus { width: 32px; height: 32px; border-radius: 50%; background: var(--orange); border: 1.5px solid var(--ink); position: relative; flex-shrink: 0; transition: transform .35s var(--spring), background-color .25s; }
.plus::before, .plus::after { content: ""; position: absolute; inset: 0; margin: auto; width: 13px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.plus::after { transform: rotate(90deg); }
.faq-item[open] .plus { transform: rotate(135deg); background: var(--pink); }
.faq-a { padding: 0 20px 20px; }
.faq-a p { margin: 0; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}

.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }

.seg-wrap { display: flex; flex-wrap: wrap; width: auto; border-radius: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav ul a { padding: 0 10px; font-size: .9rem; }
  .hide-sm { display: none; }
}
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 80px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; top: calc(var(--header-h) + 4px); inset-inline: var(--gutter); margin: 0;
    background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
    padding: 12px; transform: translateY(-8px) scale(.98); opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease), opacity .2s, visibility 0s .25s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; transition: transform .25s var(--spring), opacity .2s; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav ul a { min-height: 50px; font-size: 1.05rem; width: 100%; padding: 0 16px; }
  .main-nav { max-height: calc(100dvh - var(--header-h) - 16px); overflow-y: auto; }
  .main-nav .sub-nav { position: static; display: none; opacity: 1; visibility: visible; transform: none; transition: none; min-width: 0; padding: 0 0 6px 16px; border: 0; box-shadow: none; background: none; }
  .main-nav .has-sub.open .sub-nav { display: grid; }
  .main-nav .nav-item a { flex: 1; }
  .sub-toggle { width: 50px; height: 50px; margin: 0; }
  .sub-toggle svg { width: 20px; height: 20px; }
  html[dir="rtl"] .main-nav .sub-nav { padding: 0 16px 6px 0; }
  .main-nav .sub-nav a { min-height: 42px; font-size: .95rem; color: var(--muted); }
  .header-actions { margin-inline-start: auto; }

  .hero-grid, .included-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .sticker-yellow { inset-inline-start: -8px; }
  .sticker-blue { inset-inline-end: -8px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .booth-grid, .social-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .mission { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .mission-ring { max-width: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .site-header { padding-top: 10px; }
  .header-inner { height: 60px; padding-inline: 8px !important; }
  .brand-word { font-size: 1.4rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .stat { min-width: 0; flex: 1 1 calc(50% - 6px); padding: 12px 14px; }
  .hero-img { box-shadow: 6px 6px 0 var(--ink); }
  .sticker { font-size: .9rem; padding: 9px 14px; }
  .why-grid, .reviews-grid, .svc-grid, .steps { grid-template-columns: 1fr; }
  .review:nth-child(even) { translate: none; }
  .field-row, .checks { grid-template-columns: 1fr; }
  .inc-photos { gap: 8px; }
  .inc-photos figure { border-radius: var(--r-md); }
  .inc-photos figcaption { font-size: .78rem; padding: 28px 6px 10px; }
  .ex img { height: 210px; }
  .frames { gap: 10px; }
  .rev-viewport .review { flex-basis: 88%; }
  .booth-card { grid-template-columns: 1fr; }
  .booth-media { min-height: 0; aspect-ratio: 4 / 3; border-inline-end: 0; border-bottom: 2px solid var(--ink); }
  .compare th, .compare td { padding: 12px 10px; font-size: .9rem; }
  .compare thead th { font-size: .9rem; }
  .tt-vid { min-height: 170px; }
  .sc-follow { padding: 6px 14px; }
  .faq-item summary { font-size: 1rem; padding: 16px; }
  .g-rows { gap: 10px; }
  .g-track { gap: 10px; padding-inline-end: 10px; }
  .g-track li { width: 160px; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry li { margin-bottom: 10px; }
  .g-item { border-radius: 14px; }
  .ticker { rotate: -2deg; }
  .logo-wall { gap: 10px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .logo-set { gap: 10px; padding-inline-end: 10px; }
  .logo-grid li, .logo-set li { height: 64px; min-width: 128px; padding-inline: 18px; border-radius: 14px; }
  .logo-grid img, .logo-set img { max-height: 32px; max-width: 104px; }
  .footer-grid { grid-template-columns: 1fr; }
  .fl { width: 46px; height: 46px; }
  .fl svg { width: 21px; height: 21px; }
  .fl-toggle { width: 56px; height: 56px; }
  .fl-toggle svg { width: 26px; height: 26px; }
  .social-float { bottom: 14px; inset-inline-end: 14px; gap: 8px; }
}

/* Phones: drop the GPU-heavy effects (live blurs and masks) that made scrolling lag on iPhones.
   Soft radial gradients give the same glow without a blur filter. */
@media (max-width: 960px) {
  .header-inner { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .96); }
  .blob { filter: none; opacity: .5 !important; background: radial-gradient(circle, var(--c) 0%, transparent 68%) !important; }
  .blob-1 { --c: var(--orange); }
  .blob-2 { --c: var(--pink); }
  .blob-3 { --c: var(--blue); }
  .logo-wall::before, .logo-wall::after { filter: none; background: radial-gradient(circle, var(--c) 0%, transparent 68%); }
  .logo-wall::before { --c: var(--pink); }
  .logo-wall::after { --c: var(--orange); }
  .logo-row, .g-rows { -webkit-mask-image: none; mask-image: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .rot-list { animation: none; }
  .g-rows { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .g-row { animation: none; }
  .g-track[aria-hidden="true"], .g-pause { display: none; }
}
