/* ==========================================================================
   Marketing site styles. Tokens come from shared/tokens.css.
   Logical properties only (RTL-safe). Breakpoints: 700 (marquee/swipe),
   880 (header), 960 (two-column layouts), 1200 (wide hero).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font-family: var(--f-body); font-size: var(--fs-body); line-height: var(--lh-body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--c-teal-600); }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; z-index: calc(var(--z-header) + 1); background: var(--c-surface); color: var(--c-ink); padding: 10px 16px; border-radius: var(--r-btn-sm); font-weight: var(--fw-semibold); }
.skip-link:focus { top: 8px; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
section[id] { scroll-margin-top: 76px; }
.section { padding-block: var(--section-y); }

/* ---- Section heads ---- */
.head { text-align: center; max-width: 760px; margin: 0 auto var(--space-10); }
.head .t-eyebrow { margin-bottom: var(--space-2); }
.head h2 { font-size: var(--fs-h2); }
.head p { margin-top: var(--space-4); font-size: var(--fs-body); }
.t-heading { padding-block: .06em; } /* keeps descenders from clipping with background-clip */
.t-eyebrow { font-weight: var(--fw-regular); }

/* ---- Header (rendered by site/partials.js) ---- */
/* <site-header> is a real box with the header's height from the first paint, so nothing below it
   moves when partials.js fills it in (it also holds a static brand link as the no-script fallback). */
site-header { display: block; position: sticky; top: 0; z-index: var(--z-header); min-height: 77px; background: var(--c-chrome); }
site-footer { display: block; }
.nojs { margin: 0 0 var(--space-5); padding: var(--space-4) var(--gutter); background: var(--c-cta-tint); color: var(--c-text-strong); text-align: center; font-size: var(--fs-small); }
.site-header {
  position: relative;
  display: flex; align-items: center; gap: var(--space-4);
  min-height: 77px; padding: 0 var(--gutter); background: var(--c-chrome);
}
.site-header__brand { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--f-display); font-weight: var(--fw-bold); font-size: 26px; line-height: 44px; color: var(--c-ink); text-decoration: none; margin-inline-end: auto; }
.site-header__burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; border-radius: var(--r-btn-sm); cursor: pointer; }
.site-header__burger i { display: block; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform .25s var(--ease-standard); }
.site-header.is-open .site-header__burger i:first-of-type { transform: translateY(4px) rotate(45deg); }
.site-header.is-open .site-header__burger i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
.site-header__nav {
  position: absolute; inset-inline: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0;
  padding: var(--space-3) var(--gutter) var(--space-6); background: var(--c-chrome); border-top: 1px solid var(--c-line);
}
.site-header.is-open .site-header__nav { display: flex; }
.site-header__link:not(.btn), .site-header__lang { padding: 14px 4px; color: var(--c-text); text-decoration: none; font-weight: var(--fw-bold); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; transition: color .3s ease-in-out; }
:root:lang(ar) .site-header__link:not(.btn), :root:lang(ar) .site-header__lang { text-transform: none; letter-spacing: 0; font-size: 16px; }
.site-header__link:not(.btn):hover, .site-header__lang:hover, .site-header__link:not(.btn).is-active { color: var(--c-teal-600); }
.site-header__cta { margin-top: var(--space-3); min-height: 46px; font-size: 16px; text-transform: none; }
.site-header__lang { border-top: 1px solid var(--c-line); margin-top: var(--space-2); }
@media (min-width: 880px) {
  site-header, .site-header { min-height: 69px; }
  .site-header__burger { display: none; }
  .site-header__nav { position: static; display: flex; flex-direction: row; align-items: center; gap: var(--space-6); padding: 0; background: none; border: 0; }
  .site-header__link:not(.btn), .site-header__lang { padding: 8px 0; }
  .site-header__cta { margin: 0; padding: 0 var(--space-6); min-height: 42px; }
  .site-header__lang { border: 0; margin: 0; }
}

/* ---- Buttons (extend tokens.css) ---- */
.btn { text-align: center; line-height: 1.2; background-origin: border-box; }
.btn--lg { min-height: 56px; padding-inline: var(--space-10); font-size: 19px; }
.btn--block { width: 100%; }
.btn--outline-ink { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-ink); }
.btn--outline-ink:hover { background: var(--c-teal-600); border-color: var(--c-teal-600); color: #fff; }
.btn .ico { font-size: 1.1em; }
:root:lang(ar) .btn .ico--dir { transform: scaleX(-1); }
.btn--small { min-height: 46px; padding-inline: var(--space-6); font-size: 16px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-top: var(--space-10); overflow: hidden; }
.hero__grid { display: grid; gap: var(--space-8); justify-items: center; text-align: center; padding-bottom: var(--space-10); }
.hero h1 { font-size: var(--fs-h1); line-height: 1.2; }
.hero h1 .line2 { display: block; font-size: var(--fs-h1-sub); font-weight: 600; line-height: 1.2; }
/* Arabic display face: marks under line one met the marks over line two below laptop width. */
@media (max-width: 959px) { :root:lang(ar) .hero h1 .line2 { margin-top: .3em; } }
.typed { color: var(--c-teal-typed); -webkit-text-fill-color: var(--c-teal-typed); }
.typed__cursor { display: inline-block; width: 2px; height: .9em; margin-inline-start: 3px; background: var(--c-teal-typed); vertical-align: -.08em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__lead { margin-top: var(--space-5); font-size: var(--fs-lead); line-height: 1.4; max-width: 34em; margin-inline: auto; }
/* Arabic on phones: the body font arrives in pieces and the paragraph briefly loses a line; hold its four lines. */
@media (max-width: 400px) { :root:lang(ar) .hero__lead { min-height: 4lh; } }
.rating {
  display: inline-flex; align-items: center; gap: 10px; margin-top: var(--space-5); padding: 10px 18px;
  background: var(--c-cream); border: 2px solid var(--c-cream-line); border-radius: 15px; box-shadow: var(--sh-glow);
  color: #464646; text-decoration: none; font-size: 16px;
}
.rating strong { font-family: var(--f-num); font-size: 22px; color: var(--c-text); }
.stars { display: inline-flex; gap: 2px; color: var(--c-star); }
.stars .ico { fill: currentColor; stroke: none; font-size: 15px; }
.hero__actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); width: 100%; max-width: 362px; margin-inline: auto; }
.hero__actions .btn { width: 100%; min-height: 60px; border-radius: 30px; }
.trust { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-6); align-items: center; font-size: 16px; line-height: 1.5; }
.trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--c-teal-800); font-weight: var(--fw-bold); }
.trust .ico { font-size: 18px; color: var(--c-teal-600); stroke-width: 2.2; }

/* hero visual */
.stage { position: relative; width: min(100%, 340px); height: 400px; margin-inline: auto; }
.arch {
  position: absolute; inset-inline-start: 50%; top: 0; width: 212px; height: 295px; transform: translateX(-50%);
  border-radius: var(--r-arch); overflow: hidden;
  background:
    radial-gradient(circle at 50% 100%, transparent 0 34%, rgba(255,255,255,.1) 34.4% 35%, transparent 35.4% 52%, rgba(255,255,255,.08) 52.4% 53%, transparent 53.4%),
    linear-gradient(170deg, #a23a48, #6b1b26 70%, #5e1620);
}
:root:lang(ar) .arch { transform: translateX(50%); }
.phone { position: relative; width: var(--pw, 120px); aspect-ratio: 9 / 18.6; padding: calc(var(--pw, 120px) * .035); background: #14181b; border-radius: calc(var(--pw, 120px) * .16); box-shadow: 0 14px 30px -12px rgba(60, 14, 20, .45), inset 0 0 0 1.5px #3a4349; flex: none; }
.phone::before { content: ""; position: absolute; z-index: 2; top: calc(var(--pw, 120px) * .05); inset-inline: 0; margin-inline: auto; width: 26%; height: calc(var(--pw, 120px) * .06); background: #000; border-radius: 99px; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw, 120px) * .13); overflow: hidden; background: linear-gradient(160deg, #f4e9e3, #e8d6cc); display: grid; place-items: center; }
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .8s ease; }
.phone__screen .phone__fallback { font-family: var(--f-display); color: var(--c-ink); font-size: calc(var(--pw, 120px) * .13); text-align: center; padding: 8%; }
.phone--white { background: #f6f7f8; box-shadow: 0 16px 34px -12px rgba(60, 14, 20, .4), inset 0 0 0 1.5px #d6dadd; }
.phone--white::before { background: #1b1f22; }
.phone--main { --pw: 138px; position: absolute; inset-inline-start: 50%; top: 52px; transform: translateX(-50%); }
:root:lang(ar) .phone--main { transform: translateX(50%); }
.phone--float-a { --pw: 112px; position: absolute; inset-inline-start: 0; top: 150px; transform: rotate(-9deg); animation: floatA 6s linear infinite; z-index: 3; }
.phone--float-b { --pw: 88px; position: absolute; inset-inline-end: 4px; top: 82px; transform: rotate(7deg); animation: floatB 6s linear infinite; z-index: 3; }
@keyframes floatA { 0%, 100% { transform: translateX(0) rotate(-9deg); } 50% { transform: translateX(-12px) rotate(-14deg); } }
@keyframes floatB { 0%, 100% { transform: translate(0, 0) rotate(7deg); } 50% { transform: translate(10px, -5px) rotate(11deg); } }
:root:lang(ar) .phone--float-a { animation-name: floatAr; }
:root:lang(ar) .phone--float-b { animation-name: floatBr; }
@keyframes floatAr { 0%, 100% { transform: translateX(0) rotate(9deg); } 50% { transform: translateX(12px) rotate(14deg); } }
@keyframes floatBr { 0%, 100% { transform: translate(0, 0) rotate(-7deg); } 50% { transform: translate(-10px, -5px) rotate(-11deg); } }
.plinth { position: absolute; inset-inline: 0; bottom: 0; height: 110px; z-index: 1; pointer-events: none; }
.plinth i { position: absolute; bottom: 0; background: linear-gradient(#fff, #f3f4f5); border-radius: 50%; box-shadow: 0 10px 26px -12px rgba(122, 31, 43, .25); }
.plinth i:nth-child(1) { inset-inline-start: 6%; width: 52%; height: 70px; }
.plinth i:nth-child(2) { inset-inline-start: 32%; width: 56%; height: 86px; z-index: 1; }
.plinth i:nth-child(3) { inset-inline-end: 4%; width: 40%; height: 58px; z-index: 2; }
.stage__wave { position: absolute; inset-inline: -4%; bottom: 62px; width: 108%; height: 34px; z-index: 2; fill: none; stroke: var(--c-teal-line); stroke-width: 2; stroke-linecap: round; }
.stamp { position: absolute; inset-inline-end: 8px; bottom: 34px; z-index: 4; width: 76px; height: 76px; display: grid; place-items: center; background: var(--c-coral-tint); color: var(--c-coral); border: 2px dashed var(--c-coral); border-radius: 50%; transform: rotate(-12deg); }
.stamp .ico { font-size: 28px; fill: currentColor; }

/* occasion marquee */
.marquee { overflow: hidden; background: var(--c-panel); height: 40px; display: flex; align-items: center; }
.marquee__track { display: flex; flex: none; width: max-content; align-items: center; animation: marq 28s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 30px; padding-inline-end: 30px; font-size: 18px; white-space: nowrap; color: var(--c-text); }
.marquee__item .ico { font-size: 14px; color: var(--c-coral); fill: currentColor; stroke: none; }
@keyframes marq { to { transform: translateX(-50%); } }
:root:lang(ar) .marquee__track { animation-name: marq-rtl; }
@keyframes marq-rtl { to { transform: translateX(50%); } }

@media (min-width: 960px) {
  .hero { padding-top: var(--space-12); }
  .hero__grid { grid-template-columns: 1.15fr .85fr; justify-items: start; text-align: start; gap: var(--space-12); align-items: center; padding-bottom: var(--space-16); }
  .hero h1 { font-size: 54px; }
  .hero h1 .line2 { font-size: 47px; }
  .hero__lead { margin-inline: 0; font-size: 20px; }
  .hero__actions { flex-direction: row; max-width: none; margin-inline: 0; width: auto; }
  .hero__actions .btn { width: auto; min-width: 220px; min-height: 52px; font-size: 19px; border-radius: var(--r-pill); }
  .trust { flex-direction: row; flex-wrap: wrap; gap: var(--space-2) var(--space-6); align-items: center; }
  .stage { width: 440px; height: 500px; justify-self: end; }
  .arch { width: 270px; height: 376px; }
  .phone--main { --pw: 176px; top: 66px; }
  .phone--float-a { --pw: 140px; top: 190px; }
  .phone--float-b { --pw: 108px; top: 100px; inset-inline-end: 6px; }
  .plinth { height: 130px; }
  .plinth i:nth-child(1) { height: 84px; }
  .plinth i:nth-child(2) { height: 104px; }
  .plinth i:nth-child(3) { height: 70px; }
  .stamp { width: 92px; height: 92px; bottom: 44px; }
  .stamp .ico { font-size: 34px; }
}

/* ==========================================================================
   Our difference
   ========================================================================== */
.diff { background: var(--c-bg); }
.diff__layout { display: block; }
.diff__media { display: none; }
.diff__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 8px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain;
}
.diff__track::-webkit-scrollbar { display: none; }
.diff-item {
  flex: 0 0 min(360px, calc(100vw - 56px)); scroll-snap-align: start; position: relative;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: 28px 24px 26px;
}
.diff-item__num { display: block; font-family: var(--f-num); font-weight: var(--fw-bold); font-size: 52px; line-height: 1; color: var(--c-teal-600); opacity: .12; margin-bottom: -8px; letter-spacing: -.02em; }
.diff-item__check { display: none; }
.diff-item h3 { font-family: var(--f-display); font-size: 20px; line-height: 1.25; font-weight: var(--fw-bold); color: var(--c-text-strong); margin-bottom: var(--space-2); }
.diff-item p { font-size: 14px; line-height: 1.72; color: var(--c-text-soft); }
:root:lang(ar) .diff-item p { line-height: 1.9; }
.pill-tag { display: inline-block; margin-top: var(--space-3); padding: 4px 12px; border-radius: var(--r-chip); background: var(--c-teal-tint-1); color: var(--c-teal-600); font-size: var(--fs-micro); font-weight: var(--fw-semibold); }
:root:lang(ar) .pill-tag { font-size: 12px; }
.dots { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; margin-top: var(--space-2); }
/* Each button is a 44x44 target; the visible bar (16x5, 28x5 when current) is its ::before. */
.dots button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r-btn-sm); background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 16px; height: 5px; border-radius: 3px; background: #c9bfb3; transition: width .35s ease, background-color .35s ease; }
.dots button[aria-current="true"]::before { width: 28px; background: var(--c-teal-600); }
.dots__count { margin-inline-start: var(--space-3); font-size: var(--fs-micro); color: var(--c-text-muted); font-variant-numeric: tabular-nums; }

@media (min-width: 960px) {
  .diff__layout { display: grid; grid-template-columns: 342px 1fr; gap: var(--space-16); align-items: center; }
  .diff__media { display: block; position: sticky; top: 100px; }
  .diff__media .phone { --pw: 342px; margin-inline: auto; }
  .diff__track { display: grid; gap: var(--space-6); overflow: visible; margin: 0; padding: 0; }
  .diff-item { flex: initial; background: none; border: 0; border-radius: 0; padding: 0 0 0 0; display: grid; grid-template-columns: 34px 1fr; column-gap: var(--space-4); }
  .diff-item__num, .diff-item .pill-tag { display: none; }
  .diff-item__check { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-teal-tint-1); color: var(--c-teal-600); font-size: 18px; margin-top: 2px; }
  .diff-item__check .ico { stroke-width: 2.4; }
  .diff-item h3 { grid-column: 2; font-size: var(--fs-h-item); margin-bottom: 6px; background: var(--g-heading); -webkit-background-clip: text; background-clip: text; color: transparent; padding-block: .04em; }
  .diff-item p { grid-column: 2; font-size: 17px; line-height: 1.6; color: var(--c-text); }
  .diff .dots { display: none; }
}
.phone--gate .phone__screen img + img, .phone--main .phone__screen img + img { opacity: 0; }
.phone--gate.is-open .phone__screen img + img, .phone--main.is-open .phone__screen img + img { opacity: 1; }
/* Phones: one hero phone only (the side phones return at 960px). */
@media (max-width: 959px) {
  .phone--float-a, .phone--float-b { display: none; }
  .phone--main { --pw: 164px; top: 40px; }
  .stage { height: 410px; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
/* Two columns on phones (Baymard), all designs shown; three views per card (gate, invitation, inside). */
.gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-inline: calc(var(--gutter) * -0.4); }
.gallery__grid > .gcard { min-width: 0; }
.gcard { display: flex; flex-direction: column; background: var(--c-surface); border-radius: var(--r-gallery) var(--r-gallery) 0 0; overflow: hidden; }
.gcard.is-new { animation: fadeRight .5s var(--ease-spring) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes fadeRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
:root:lang(ar) .gcard.is-new { animation-name: fadeLeft; }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
/* Card media: soft per-design tint (registry `tint`, neutral fallback) behind a phone frame cut off at the bottom. */
.gcard__media { position: relative; aspect-ratio: 9 / 13; border-radius: 18px 18px 0 0; overflow: hidden; background: var(--tint, var(--c-panel)); padding-top: 14px; }
.gcard__phone { position: relative; width: 78%; margin-inline: auto; aspect-ratio: 9 / 17; padding: 4px; background: #14181b; border-radius: 22px; box-shadow: 0 14px 28px -14px rgba(40, 10, 14, .55); }
.gcard__phone::before { content: ""; position: absolute; z-index: 2; top: 9px; inset-inline: 0; margin-inline: auto; width: 24%; height: 7px; background: #000; border-radius: 99px; pointer-events: none; }
.gcard__shots { position: absolute; inset: 4px; border-radius: 18px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; background: #f1e7e0; transition: opacity .26s ease; }
.gcard__shots[data-quick] { cursor: zoom-in; }
.gcard__shots.is-fading { opacity: 0; }
.gcard__shots::-webkit-scrollbar { display: none; }
.gcard__shot { flex: 0 0 100%; margin: 0; position: relative; scroll-snap-align: start; }
.gcard__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gcard__views { position: absolute; inset-inline: 0; bottom: 0; display: flex; justify-content: center; gap: 0; z-index: 3; }
.gcard__views button { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.gcard__views button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .75); box-shadow: 0 0 0 1px rgba(40, 10, 14, .4); transition: width .25s ease, background-color .25s ease; }
.gcard__views button[aria-pressed="true"]::before { width: 18px; border-radius: 4px; background: #fff; }
.gcard__views button:focus-visible { outline: 2px solid var(--c-teal-600); outline-offset: -3px; border-radius: 8px; }
.gcard__fallback { position: absolute; inset: 4px; display: grid; place-items: center; padding: var(--space-4); text-align: center; font-family: var(--f-display); font-size: 18px; color: var(--c-ink); background: var(--c-surface); border-radius: 18px; }
.gcard__price { font-size: 14px; font-weight: var(--fw-semibold); color: var(--c-teal-700); }
.gcard__body { padding: 12px 10px 12px; background: var(--c-panel); text-align: center; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gcard__tag { font-size: 13px; color: var(--c-text); display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.gcard__tag .ico { color: var(--c-coral); font-size: 13px; }
.gcard__name { font-family: var(--f-display); font-size: 19px; line-height: 1.25; font-weight: var(--fw-bold); color: var(--c-text); }
.gcard .btn { min-height: 44px; padding-inline: 8px; font-size: 16px; width: 100%; border-radius: 64px; }
.gcard .btn--outline-ink:not(:hover) { background: var(--c-surface); } /* :not(:hover) so the hover fill still applies (white label on the accent) */
.gcard__btns { display: grid; gap: 8px; margin-top: auto; padding-top: 4px; }
@media (min-width: 700px) {
  .gcard__media { border-radius: var(--r-gallery) var(--r-gallery) 0 0; aspect-ratio: 9 / 11; padding-top: 24px; }
  .gcard__phone { width: 60%; border-radius: 30px; padding: 6px; }
  .gcard__shots, .gcard__fallback { inset: 6px; border-radius: 24px; }
  .gcard__phone::before { top: 13px; height: 9px; }
  .gcard__body { padding: 18px 20px 20px; gap: 10px; }
  .gcard__tag { font-size: 16px; }
  .gcard__name { font-size: var(--fs-h3); line-height: 1.35; }
  .gcard .btn { min-height: 50px; font-size: 18px; }
}
.gallery__more { display: flex; justify-content: center; margin-top: var(--space-8); }
.gallery__more .btn { min-height: 50px; padding-inline: var(--space-8); border-radius: 64px; }
.gallery__empty { text-align: center; color: var(--c-text-soft); }

/* Occasion chips */
.gallery__chips { display: flex; gap: 8px; min-height: 54px; margin: 0 calc(var(--gutter) * -1) var(--space-5); padding: 4px var(--gutter) 6px; overflow-x: auto; scrollbar-width: none;
  /* Phones: the row scrolls; an edge fades while more chips are hidden past it (classes set by home.js). */
  --fade-l: 0px; --fade-r: 0px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); }
.gallery__chips.has-after { --fade-r: 56px; }
.gallery__chips.has-before { --fade-l: 56px; }
:root:lang(ar) .gallery__chips.has-after { --fade-r: 0px; --fade-l: 56px; }
:root:lang(ar) .gallery__chips.has-before { --fade-l: 0px; --fade-r: 56px; }
:root:lang(ar) .gallery__chips.has-after.has-before { --fade-l: 56px; --fade-r: 56px; }
.gallery__chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--c-teal-line); background: var(--c-surface); color: var(--c-teal-700); font-size: 15px; font-weight: var(--fw-semibold); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--c-teal-600); }
.chip[aria-pressed="true"] { background: var(--c-teal-600); border-color: var(--c-teal-600); color: #fff; }
.chip:focus-visible { outline: 3px solid var(--c-teal-600); outline-offset: 2px; }
@media (min-width: 700px) { .gallery__chips { justify-content: center; flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; -webkit-mask-image: none; mask-image: none; } }

/* Quick view dialog: full-height sheet on phones, centred phone panel on desktop with the gallery visible behind */
:root.qv-lock, :root.qv-lock body { overflow: hidden; }
.qv { padding: 0; border: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: var(--c-bg); color: var(--c-text); }
.qv::backdrop { background: rgba(31, 27, 22, .45); }
.qv__panel { display: flex; flex-direction: column; height: 100%; }
.qv__head { display: flex; align-items: center; gap: var(--space-3); padding: 10px var(--gutter); background: var(--c-chrome); }
.qv__title { flex: 1; font-family: var(--f-display); font-size: 22px; color: var(--c-ink); }
.qv__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-surface); color: var(--c-ink); font-size: 22px; cursor: pointer; }
.qv__close .ico { stroke-width: 2; }
.qv__close:focus-visible, .qv .btn:focus-visible { outline: 3px solid var(--c-teal-600); outline-offset: 3px; }
.qv__desc { margin: 0; padding: 0 var(--gutter) 10px; background: var(--c-chrome); font-size: var(--fs-small); line-height: 1.45; color: var(--c-text-soft); }
.qv__stage { flex: 1; min-height: 0; display: flex; justify-content: center; }
.qv__phone { width: 100%; height: 100%; }
.qv__frame { display: block; width: 100%; height: 100%; border: 0; background: var(--c-surface); }
.qv__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--c-chrome); }
.qv__actions .btn { min-height: 48px; padding-inline: 10px; font-size: 16px; }
@media (min-width: 700px) {
  .qv { width: min(460px, 94vw); height: min(940px, 94vh); margin: auto; border-radius: 26px; box-shadow: 0 30px 80px -20px rgba(31, 27, 22, .5); }
  .qv::backdrop { background: rgba(31, 27, 22, .3); }
  .qv__stage { padding: 16px 0; background: var(--tint, var(--c-panel)); }
  .qv__phone { width: min(390px, 86%); padding: 8px; background: #14181b; border-radius: 34px; }
  .qv__frame { border-radius: 26px; }
  .qv__head { border-radius: 26px 26px 0 0; }
  .qv__actions { border-radius: 0 0 26px 26px; }
}
@media (prefers-reduced-motion: no-preference) {
  .qv[open] { animation: qvIn .28s var(--ease-standard); }
  @keyframes qvIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (min-width: 700px) { .gallery__grid { max-width: 760px; margin-inline: auto; gap: var(--space-6); } }
@media (min-width: 960px) { .gallery__grid { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   What's included + limits card
   ========================================================================== */
.incl__layout { display: grid; gap: var(--space-6); align-items: start; }
.incl__tiles { display: grid; grid-template-columns: 1fr; gap: 10px; }
.tile { display: flex; align-items: center; gap: 13px; padding: 14px 17px; background: var(--c-surface); border: 1px solid #efefef; border-radius: var(--r-tile); transition: border-color .2s, background-color .2s, transform .2s, box-shadow .2s; }
.tile__ic { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--c-teal-tint-1); color: var(--c-teal-600); font-size: 18px; transition: background-color .22s, color .22s; }
.tile span:last-child { font-size: 15px; line-height: 1.3; font-weight: var(--fw-semibold); color: #1e1e1e; }
:root:lang(ar) .tile span:last-child { font-size: 16px; }
.tile:hover { border-color: var(--c-teal-line); background: var(--c-teal-tint-2); box-shadow: var(--sh-hover); }
.tile:hover .tile__ic { background: var(--c-teal-600); color: #fff; }
.limits { background: var(--c-teal-tint-2); border: 1.5px solid var(--c-teal-line); border-radius: var(--r-card-lg); padding: 34px 30px 32px; text-align: center; }
.limits__eyebrow { font-size: var(--fs-micro); font-weight: var(--fw-bold); letter-spacing: .14em; text-transform: uppercase; color: var(--c-teal-600); }
:root:lang(ar) .limits__eyebrow { font-size: 13px; letter-spacing: 0; }
.limits__big { display: block; margin: 10px 0 2px; font-family: var(--f-num); font-weight: var(--fw-bold); font-size: 62px; line-height: 1; color: var(--c-teal-700); }
.limits__big .ico { width: 1.25em; height: 1.25em; margin-inline: auto; stroke-width: 1.3; }
.limits__sub { font-size: 12px; font-weight: var(--fw-semibold); color: var(--c-text-muted); }
:root:lang(ar) .limits__sub { font-size: 14px; }
.limits h3 { margin-top: var(--space-4); font-family: var(--f-display); font-size: 20px; line-height: 1.3; color: var(--c-text-strong); }
.limits p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--c-text-soft); }
:root:lang(ar) .limits p { font-size: 15px; line-height: 1.9; }
.limits__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--space-5); }
.limits__pills li { padding: 5px 14px; background: var(--c-surface); border: 1.5px solid var(--c-teal-line); border-radius: var(--r-chip); color: var(--c-teal-600); font-size: var(--fs-micro); font-weight: var(--fw-semibold); }
:root:lang(ar) .limits__pills li { font-size: 13px; }
.cta-row { display: flex; justify-content: center; margin-top: var(--space-10); }
.cta-row .btn { min-width: 220px; }
@media (min-width: 700px) { .incl__tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .incl__layout { grid-template-columns: 1fr 360px; gap: var(--space-8); } }

/* ==========================================================================
   Reviews (only rendered when site.reviews has items)
   ========================================================================== */
.reviews { background: var(--c-bg); }
.rating-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--space-4); padding: 10px 22px; background: var(--c-surface); border: 1px solid #e4e4e4; border-radius: 50px; font-size: 12px; color: var(--c-text-muted); }
.rating-pill strong { font-family: var(--f-num); font-size: 15px; color: var(--c-text-strong); }
.rev-viewport { position: relative; overflow: hidden; }
.rev-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 8px; scrollbar-width: none; }
.rev-track::-webkit-scrollbar { display: none; }
.rcard { flex: 0 0 min(360px, calc(100vw - 56px)); scroll-snap-align: start; background: var(--c-surface); border: 1px solid #ebebeb; border-radius: 16px; padding: 22px 22px 18px; display: flex; flex-direction: column; }
.rcard__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rcard__av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--f-display); font-weight: var(--fw-bold); font-size: 15px; flex: none; }
.rcard__name { font-family: var(--f-display); font-weight: var(--fw-bold); font-size: 14px; color: var(--c-text-strong); display: block; }
.rcard__date { font-size: var(--fs-micro); color: var(--c-text-muted); }
.rcard blockquote { margin: 0; font-size: 13.5px; line-height: 1.65; color: #444; flex: 1; }
:root:lang(ar) .rcard blockquote { font-size: 15px; line-height: 1.85; }
.rcard__src { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--c-line-soft); font-size: var(--fs-micro); color: var(--c-text-muted); }
.rev-more { display: flex; justify-content: center; margin-top: var(--space-6); }
.rev-more .btn { min-height: 44px; padding: 0 26px; font-size: 14px; border-radius: var(--r-btn-sm); border-width: 1.5px; }
@media (min-width: 700px) {
  .rev-viewport::before, .rev-viewport::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
  .rev-viewport::before { inset-inline-start: 0; background: linear-gradient(to right, var(--c-bg), transparent); }
  .rev-viewport::after { inset-inline-end: 0; background: linear-gradient(to left, var(--c-bg), transparent); }
  :root:lang(ar) .rev-viewport::before { background: linear-gradient(to left, var(--c-bg), transparent); }
  :root:lang(ar) .rev-viewport::after { background: linear-gradient(to right, var(--c-bg), transparent); }
  .rev-track { overflow: visible; scroll-snap-type: none; width: max-content; padding: 4px 0 8px; animation: marq 60s linear infinite; }
  :root:lang(ar) .rev-track { animation-name: marq-rtl; }
  .rev-viewport:hover .rev-track, .rev-viewport:focus-within .rev-track { animation-play-state: paused; }
  .rcard { flex-basis: 320px; }
  .reviews .dots { display: none; }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps { display: grid; gap: var(--space-8); counter-reset: step; position: relative; max-width: 960px; margin-inline: auto; }
.step { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--space-5); position: relative; }
.step__n { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--c-ink); color: #fff; display: grid; place-items: center; font-family: var(--f-num); font-weight: var(--fw-bold); font-size: 20px; position: relative; z-index: 1; }
.step:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 21px; top: 44px; bottom: calc(var(--space-8) * -1); width: 2px; background: #e6e6e6; }
.step h3 { font-family: var(--f-display); font-size: 20px; line-height: 1.35; color: var(--c-ink); padding-top: 8px; }
.step p { margin-top: 6px; font-size: 16px; line-height: 1.5; color: #333; }
@media (min-width: 880px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-10); text-align: center; }
  .step { grid-template-columns: 1fr; justify-items: center; row-gap: var(--space-3); }
  .step__n { grid-row: auto; width: 54px; height: 54px; font-size: 24px; }
  .step:not(:last-child)::before { inset-inline-start: calc(50% + 40px); top: 26px; bottom: auto; width: calc(100% + var(--space-10) - 80px); height: 2px; }
  .step h3 { padding-top: 0; }
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq__list { max-width: 850px; margin-inline: auto; border-bottom: 1px solid #eee; }
.qa { border-top: 1px solid #eee; }
.qa h3 { margin: 0; font-size: inherit; }
.qa__q { width: 100%; display: flex; align-items: center; gap: var(--space-4); min-height: 84px; padding: 16px 0; background: none; border: 0; text-align: start; cursor: pointer; font-family: var(--f-display); font-weight: var(--fw-bold); font-size: 20px; line-height: 1.35; color: var(--c-ink); }
.qa__q:hover { color: var(--c-teal-600); }
.qa__q .num { color: var(--c-teal-500); font-family: var(--f-num); min-width: 1.6em; }
.qa__q .txt { flex: 1; }
.qa__ic { position: relative; width: 24px; height: 24px; flex: none; }
.qa__ic::before, .qa__ic::after { content: ""; position: absolute; inset-inline: 3px; top: 50%; height: 1.5px; background: var(--c-ink); transition: transform .3s var(--ease-standard); }
.qa__ic::after { transform: rotate(90deg); }
.qa__q[aria-expanded="true"] .qa__ic::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease-standard); }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 0 24px; padding-inline-end: 40px; font-size: 16px; line-height: 1.45; color: var(--c-text); }
:root:lang(ar) .qa__a p { line-height: 1.85; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a[inert] p { visibility: hidden; }
@media (max-width: 480px) { .qa__q { font-size: 18px; min-height: 76px; } .qa__a p { padding-inline-end: 0; } }
.rcard[data-clone] { display: none; }
@media (min-width: 700px) { .rcard[data-clone] { display: flex; } }

/* ==========================================================================
   Closing CTA + contact + footer
   ========================================================================== */
.closing { text-align: center; }
.closing h2 { font-size: var(--fs-h2); line-height: 1.2; }
.closing h2 .line2 { display: block; font-size: 28px; line-height: 1.3; font-weight: 600; margin-top: 4px; }
.closing p { margin-top: var(--space-4); font-size: var(--fs-body); color: var(--c-text); }
.closing__btns { display: flex; flex-direction: column; gap: var(--space-3); max-width: 362px; margin: var(--space-6) auto 0; }
.closing__btns .btn { min-height: 60px; }
@media (min-width: 700px) { .closing__btns { flex-direction: row; max-width: none; justify-content: center; } .closing__btns .btn { min-height: 52px; } .closing h2 .line2 { font-size: 36px; } }
.contact { text-align: center; padding-block: var(--space-12); }
.contact h2 { font-family: var(--f-display); font-weight: var(--fw-bold); font-size: 30px; color: var(--c-ink); }
.contact p { margin-top: var(--space-3); font-size: 20px; color: var(--c-text); }
.contact__icons { display: flex; justify-content: center; gap: var(--space-4); margin-top: var(--space-5); }
.contact__icons a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-teal-tint-1); color: var(--c-teal-600); font-size: 21px; transition: background-color .2s, color .2s, transform .2s; }
.contact__icons a:hover { background: var(--c-teal-600); color: #fff; }
.site-footer { padding: var(--space-8) var(--gutter); background: var(--c-chrome); display: grid; gap: var(--space-3); justify-items: center; text-align: center; font-size: var(--fs-small); color: var(--c-ink-footer); }
.site-footer a { color: var(--c-text); font-weight: var(--fw-bold); text-decoration: none; margin: 0 var(--space-3); }
.site-footer a:hover { color: var(--c-teal-600); }
.site-footer__contacts, .site-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) 0; }
.site-footer__contacts:empty { display: none; }
.site-footer__copy { margin: 0; }

/* ==========================================================================
   Legal pages (privacy, terms): one readable prose column. Logical properties only.
   ========================================================================== */
.legal { max-inline-size: calc(70ch + 2 * var(--gutter)); margin-inline: auto; padding: var(--space-10) var(--gutter) var(--section-y); overflow-wrap: anywhere; }
.legal h1 { font-size: var(--fs-h1-sub); margin: 0 0 var(--space-2); }
.legal__updated { font-size: var(--fs-small); color: var(--c-text-muted); margin-block-end: var(--space-8); }
.legal h2 { font-family: var(--f-display); font-weight: var(--fw-bold); font-size: var(--fs-h2-sm); line-height: var(--lh-heading); color: var(--c-ink); margin: var(--space-10) 0 var(--space-3); scroll-margin-top: 96px; }
.legal p, .legal ul { margin-block-end: var(--space-4); }
.legal ul { list-style: disc; padding-inline-start: var(--space-6); }
.legal li { margin-block-end: var(--space-2); padding-inline-start: var(--space-1); }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--c-text-strong); font-weight: var(--fw-semibold); }

/* ==========================================================================
   Motion
   ========================================================================== */
.rv-on .rv { opacity: 0; transform: translateY(14px); transition: opacity .46s var(--ease-spring), transform .46s var(--ease-spring); transition-delay: calc(var(--d, 0) * 70ms); }
.rv-on .rv.is-in { opacity: 1; transform: none; }
.btn:focus-visible, .qa__q:focus-visible, .dots button:focus-visible, .site-header a:focus-visible, .site-header button:focus-visible { outline: 3px solid var(--c-teal-600); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv-on .rv { opacity: 1; transform: none; }
  .marquee { height: auto; padding-block: 8px; }
  .marquee__track { animation: none !important; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 4px; }
  .marquee__item[aria-hidden="true"] { display: none; }
  .rev-track { animation: none !important; width: auto; overflow-x: auto; }
  .rcard[data-clone] { display: none !important; }
  .phone--float-a, .phone--float-b { animation: none; }
  .typed__cursor { animation: none; }
}
