/* ZavaPOS marketing — "counter" system: cream canvas, espresso ink, saffron accents.
   Colour values follow branding/tokens.json. Mobile-first, logical properties for RTL.
   No gradients, glass, shadows or rounded cards. */

:root {
  --espresso: #3E2723;
  --saffron: #FFB300;
  --cream: #F8EBC4;
  --cream-2: #EFDFB4;
  --canvas: #FFF8E1;
  --ink: #263238;
  --muted: #7A4A2A;
  --rust: #8F2D07;
  --line: rgba(62, 39, 35, .28);
  --line-strong: #3E2723;
  --display: "Public Sans", "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  --body: "Public Sans", "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Noto Sans Arabic", monospace;
  --wa-bar-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--saffron); color: var(--espresso); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
h1, h2, h3 { color: var(--espresso); }

/* helpers */
.wrap { width: min(1240px, calc(100% - 32px)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--muted); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: -9999px; top: 0; background: var(--saffron); color: var(--espresso); padding: .7rem 1rem; z-index: 100; font-weight: 600; text-decoration: none; }
.skip:focus { inset-inline-start: 1rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 2px solid var(--espresso); }
.bar { display: flex; align-items: center; gap: 12px; min-height: 60px; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--espresso); flex: none; }
.brand img { width: auto; height: 34px; }
.nav { display: none; flex: 1; }
.nav ul { display: flex; justify-content: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.nav a { font-size: .84rem; font-weight: 600; text-decoration: none; color: var(--espresso); padding-block: 7px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--saffron); }
.head-tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }

/* language selector */
.lang { display: inline-flex; }
.lang select {
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 600;
  color: var(--espresso);
  background: var(--canvas);
  border: 1px solid var(--espresso);
  min-height: 40px;
  padding: 6px 8px;
  cursor: pointer;
  max-width: 118px;
}
.lang select:hover { background: var(--cream-2); }

/* header contact + menu */
.head-contact { display: none; align-items: center; gap: 12px; }
.head-contact a { font-size: .8rem; font-weight: 600; text-decoration: none; white-space: nowrap; color: var(--espresso); }
.head-contact .wa { padding: 9px 12px; border: 1px solid var(--espresso); }
.head-contact .wa:hover { background: var(--espresso); color: var(--cream); }
.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  font-size: .8rem; font-weight: 600; border: 1px solid var(--espresso);
  color: var(--espresso); padding: 9px 12px; min-height: 40px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px);
  width: min(86vw, 320px); background: var(--cream);
  border: 2px solid var(--espresso); padding: 6px 16px 16px; z-index: 60;
}
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li { border-bottom: 1px solid var(--line); }
.menu-panel a { display: block; padding: 13px 0; text-decoration: none; font-weight: 700; color: var(--espresso); }
.panel-actions { display: grid; gap: 8px; margin-top: 14px; }
.panel-actions .btn { width: 100%; }
.panel-contact { margin-top: 14px; font-family: var(--mono); font-size: .74rem; }
.panel-contact a { font-weight: 400; text-decoration: none; }

/* persistent mobile WhatsApp bar */
.wa-bar { display: none; }
.wa-bar-call { font-size: .84rem; font-weight: 700; color: var(--espresso); text-decoration: none; white-space: nowrap; padding: 10px 4px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 18px; background: var(--espresso); color: var(--cream);
  border: 1px solid var(--espresso); font-family: var(--body); font-size: .88rem;
  font-weight: 600; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--rust); border-color: var(--rust); color: var(--cream); }
.btn.rust { background: var(--rust); border-color: var(--rust); color: var(--cream); }
.btn.rust:hover { background: var(--espresso); border-color: var(--espresso); }
.btn.ghost { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn.ghost:hover { background: var(--espresso); color: var(--cream); }
.actions { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.actions .btn { width: 100%; }

/* hero */
.hero-main { min-width: 0; }
.hero { background: var(--canvas); padding: 30px 0 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.kicker { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rust); margin: 0 0 14px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 9vw, 46px); line-height: 1.02; letter-spacing: -.04em; margin: 0; color: var(--espresso); }
.hero h1 em { font-style: normal; color: var(--espresso); text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: .07em; text-underline-offset: .12em; }
.hero-copy { padding: 18px 0 24px; }
.hero-copy p { max-width: 56ch; font-size: 1.03rem; color: var(--muted); margin: 0; }
.hero-copy .actions { margin: 22px 0 16px; }
.hero-facts { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--muted); }
.hero-facts li::before { content: "—"; color: var(--saffron); margin-inline-end: 6px; }
.hero-fig { margin: 0; border: 1px solid var(--line); background: var(--espresso); padding: 2px; }
.hero-fig img { width: 100%; height: auto; }
.hero-fig figcaption { font-family: var(--mono); font-size: .64rem; line-height: 1.55; color: var(--cream); padding: 10px 6px 4px; }

/* payment band */
.pay-band { background: var(--cream); color: var(--espresso); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.pay-band .wrap { display: grid; gap: 10px; }
.pay-band .label { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); }
.pay-list { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.pay-list li { font-size: .95rem; font-weight: 600; line-height: 1.3; }
.pay-note { font-family: var(--mono); font-size: .62rem; line-height: 1.65; letter-spacing: .03em; margin: 2px 0 0; max-width: 100ch; color: var(--muted); }

/* sections */
.section { padding: 56px 0; border-top: 1px solid var(--line); }
.section.soft { background: var(--cream-2); }
.section-head { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 6px 14px; align-items: start; margin-bottom: 26px; }
.sec-no { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: var(--rust); margin: 6px 0 0; }
.sec-title { font-family: var(--display); font-weight: 750; line-height: 1.08; font-size: clamp(27px, 6.4vw, 34px); letter-spacing: -.03em; margin: 0; color: var(--espresso); }
.sec-note { font-size: .95rem; color: var(--muted); margin: 10px 0 0; grid-column: 2; }

/* business-type grid */
.type-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; border-top: 1px solid var(--line); }
.type-grid li { border-bottom: 1px solid var(--line); }
.type-grid a { display: block; padding: 14px 0 16px; text-decoration: none; min-height: 100%; }
.type-grid a:hover strong { color: var(--rust); }
.type-grid .no { display: block; font-family: var(--mono); font-size: .64rem; color: var(--rust); margin-bottom: 6px; }
.type-grid strong { display: block; font-family: var(--display); font-size: clamp(18px, 4.4vw, 23px); font-weight: 700; line-height: 1.2; color: var(--espresso); letter-spacing: -.02em; }
.type-grid .desc { display: block; font-size: .84rem; color: var(--muted); margin-top: 6px; }
.type-grid .go { display: block; font-size: .76rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 359px) { .type-grid { grid-template-columns: 1fr; } }

/* product proof */
.proof-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.proof { margin: 0; border: 1px solid var(--line); background: var(--canvas); padding: 4px; }
.proof img { width: 100%; height: auto; }
.proof figcaption { font-size: .8rem; line-height: 1.55; color: var(--ink); padding: 10px 6px 4px; }
.proof figcaption strong { color: var(--espresso); font-weight: 700; }
.proof-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px 28px; }
.proof-points li { border-top: 1px solid var(--line); padding-top: 10px; font-size: .92rem; }
.proof-points strong { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); display: block; margin-bottom: 4px; }

/* why */
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 24px; }
.why-grid li { border-top: 1px solid var(--line); padding-top: 16px; }
.why-grid .n { display: block; font-family: var(--mono); font-size: .66rem; color: var(--rust); margin-bottom: 10px; }
.why-grid h3 { font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 8px; }
.why-grid p { margin: 0; font-size: .9rem; color: var(--muted); }

/* audience band */
.social-band { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.social-band .wrap { display: grid; gap: 22px; }
.social-band h2 { font-family: var(--display); font-size: clamp(26px, 6vw, 36px); line-height: 1.1; letter-spacing: -.03em; font-weight: 750; margin: 0; }
.social-list { font-size: .95rem; line-height: 1.9; margin: 0; color: var(--espresso); }
.social-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; max-width: 52ch; }

/* pricing teaser */
.price-teaser { background: var(--canvas); border-top: 1px solid var(--line); padding: 48px 0; }
.price-teaser .wrap { display: grid; gap: 24px; }
.price { font-family: var(--display); font-weight: 750; font-size: clamp(30px, 8vw, 46px); line-height: 1.05; letter-spacing: -.035em; margin: 0; color: var(--espresso); }
.price .per { font-family: var(--body); font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-tiers { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-family: var(--mono); font-size: .8rem; color: var(--espresso); }
.price-tiers li strong { font-weight: 600; }
.price-teaser .note { font-family: var(--mono); font-size: .66rem; line-height: 1.65; letter-spacing: .04em; color: var(--muted); margin: 14px 0 0; max-width: 62ch; }
.price-teaser .actions { display: flex; flex-direction: column; gap: 10px; }
.price-teaser .actions .btn { width: 100%; }

/* plan cards */
.plans { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--canvas); padding: 22px 20px; }
.plan.featured { border: 2px solid var(--espresso); background: var(--cream); }
.plan-name { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); margin: 0 0 12px; }
.plan-price { font-family: var(--display); font-weight: 750; font-size: clamp(36px, 10vw, 46px); line-height: 1; letter-spacing: -.03em; color: var(--espresso); margin: 0; }
.plan-price .per { font-family: var(--body); font-size: .85rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-inline-start: 6px; }
.plan-summary { font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; line-height: 1.7; color: var(--ink); margin: 14px 0 0; }
.plan-points { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--muted); }
.plan-points li { position: relative; padding-inline-start: 16px; }
.plan-points li::before { content: "—"; position: absolute; inset-inline-start: 0; color: var(--saffron); }
.plan .btn { margin-top: auto; width: 100%; }

/* final CTA */
.cta-band { background: var(--cream-2); color: var(--espresso); border-top: 1px solid var(--line); padding: 44px 0; }
.cta-band .wrap { display: grid; gap: 22px; }
.cta-band .kicker { color: var(--rust); }
.cta-band h2 { font-family: var(--display); font-size: clamp(28px, 7vw, 40px); line-height: 1.08; letter-spacing: -.035em; font-weight: 750; margin: 0; color: var(--espresso); }
.cta-band p { color: var(--muted); max-width: 54ch; margin: 12px 0 0; }
.cta-band .actions { display: flex; flex-direction: column; gap: 10px; }
.cta-band .actions .btn { width: 100%; }
.cta-band .btn { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.cta-band .btn:hover { background: var(--rust); border-color: var(--rust); }
.cta-band .btn.ghost { background: transparent; border-color: var(--espresso); color: var(--espresso); }
.cta-band .btn.ghost:hover { background: var(--espresso); color: var(--cream); }

/* page head + article */
.page-head { background: var(--cream-2); color: var(--espresso); padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: 20px; }
.page-head h1 { font-family: var(--display); font-size: clamp(32px, 8vw, 52px); line-height: 1.03; letter-spacing: -.035em; font-weight: 750; margin: 0; color: var(--espresso); }
.page-head .kicker { margin-bottom: 12px; }
.page-head .lede { max-width: 54ch; color: var(--muted); font-size: 1.02rem; margin: 14px 0 0; }
.page-head .stamp { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rust); border: 1px solid var(--rust); padding: 7px 10px; justify-self: start; }
.article { padding: 40px 0 56px; }
.article .wrap { max-width: 920px; }
.article h2 { font-family: var(--display); font-size: clamp(23px, 5.6vw, 32px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; margin: 34px 0 12px; color: var(--espresso); }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.08rem; margin: 26px 0 6px; color: var(--espresso); }
.article p { max-width: 70ch; margin: 0 0 14px; }
.article ul { max-width: 70ch; padding-inline-start: 1.2rem; margin: 0 0 16px; }
.article li { margin-bottom: .45rem; }
.article .actions { margin-top: 24px; }
.notice { border: 2px solid var(--espresso); border-inline-start: 8px solid var(--saffron); padding: 14px 16px; margin: 22px 0; background: var(--cream-2); font-size: .95rem; }
.notice p { margin: 0; }

/* article figure */
.fig { margin: 24px 0; border: 2px solid var(--espresso); background: var(--espresso); padding: 6px; }
.fig img { width: 100%; height: auto; }
.fig figcaption { font-family: var(--mono); font-size: .64rem; line-height: 1.55; color: var(--cream); padding: 8px 2px 0; }

/* store index */
.store-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--espresso); }
.store-list li { border-bottom: 1px solid var(--line-strong); }
.store-list a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; padding: 15px 0; text-decoration: none; }
.store-list a:hover { background: var(--cream-2); }
.store-list .no { font-family: var(--mono); font-size: .68rem; color: var(--rust); }
.store-list strong { font-family: var(--display); font-size: clamp(20px, 5vw, 26px); font-weight: 700; line-height: 1.15; color: var(--espresso); letter-spacing: -.02em; }
.store-list .desc { grid-column: 2 / -1; font-size: .88rem; color: var(--muted); }
.store-list .go { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; color: var(--rust); white-space: nowrap; }

/* feature ledger */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--espresso); }
.ledger li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ledger .n { font-family: var(--mono); font-size: .68rem; color: var(--rust); }
.ledger h3 { font-family: var(--display); font-size: 19px; font-weight: 700; margin: 0; line-height: 1.15; color: var(--espresso); letter-spacing: -.02em; grid-column: 2; }
.ledger p { margin: 6px 0 0; font-size: .95rem; grid-column: 2; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.contact-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 2px solid var(--espresso); }
.contact-list a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-list .label { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list .value { font-size: 1.05rem; font-weight: 700; text-align: end; }
.contact-list a:hover .value { color: var(--rust); }
.big-phone { font-family: var(--display); font-weight: 750; font-size: clamp(26px, 7vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin: 0; color: var(--espresso); font-variant-numeric: tabular-nums; }
.big-phone a { text-decoration: none; color: inherit; }
.big-phone a:hover { color: var(--rust); }
.contact-form { display: grid; gap: 6px; }
.contact-form label { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 10px; color: var(--espresso); }
.contact-form input, .contact-form select {
  width: 100%; min-height: 48px; padding: 11px 12px; border: 2px solid var(--espresso);
  background: var(--canvas); color: var(--ink); font: inherit; font-size: 16px; border-radius: 0;
}
.contact-form input:focus, .contact-form select:focus { outline: 3px solid var(--saffron); outline-offset: 1px; }
.contact-form .btn { margin-top: 14px; cursor: pointer; }
.form-note { font-family: var(--mono); font-size: .66rem; color: var(--muted); margin: 8px 0 0; min-height: 1.2em; }

/* footer */
.site-footer { background: var(--espresso); color: var(--cream); padding: 44px 0 20px; border-top: 1px solid var(--saffron); }
.foot-top { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer-logo { width: 170px; height: auto; margin-bottom: 14px; }
.foot-top p { color: var(--cream-2); max-width: 36ch; }
.foot-top h2 { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron); margin: 0 0 12px; }
.foot-top ul { list-style: none; margin: 0; padding: 0; }
.foot-top li { margin-bottom: 9px; }
.foot-top a { text-decoration: none; color: var(--cream); }
.foot-top a:hover { color: var(--saffron); }
.foot-bottom { margin-top: 32px; padding-top: 14px; border-top: 1px solid rgba(248, 235, 196, .3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; font-family: var(--mono); font-size: .62rem; letter-spacing: .05em; color: var(--cream-2); }

/* 404 */
.notfound { min-height: 52vh; display: grid; align-content: center; gap: 14px; padding-block: 44px; }
.notfound h1 { font-family: var(--display); font-size: clamp(52px, 18vw, 200px); line-height: .85; margin: 0; color: var(--rust); letter-spacing: -.04em; overflow-wrap: break-word; }
.notfound p { max-width: 52ch; margin: 0; }

/* ---------- tablet and up ---------- */
@media (min-width: 600px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .proof-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 700px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof.wide { grid-column: 1 / -1; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (min-width: 761px) {
  .wrap { width: min(1240px, calc(100% - 48px)); }
  .bar { min-height: 72px; gap: 24px; }
  .brand img { height: 42px; }
  .head-contact { display: flex; }
  .head-contact .phone { display: none; }
  .actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .actions .btn { width: auto; }
  .price-teaser .actions, .cta-band .actions { flex-direction: row; flex-wrap: wrap; }
  .price-teaser .actions .btn, .cta-band .actions .btn { width: auto; }
  .article { padding: 54px 0 72px; }
  .contact-form .btn { width: auto; justify-self: start; }
}
@media (min-width: 900px) {
  .hero { padding-top: 56px; }
  .hero .wrap { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 44px; align-items: end; }
  .hero h1 { font-size: clamp(44px, 4.4vw, 66px); }
  .hero-copy { padding-bottom: 6px; }
  .pay-band .wrap { grid-template-columns: auto minmax(0, 1fr); gap: 12px 26px; align-items: center; }
  .pay-list { justify-content: space-between; }
  .pay-note { grid-column: 1 / -1; }
  .social-band .wrap { grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
  .social-band { padding: 64px 0; }
  .price-teaser { padding: 60px 0; }
  .price-teaser .wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
  .cta-band { padding: 56px 0; }
  .cta-band .wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
  .page-head { padding: 56px 0 44px; }
  .page-head .wrap { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
  .page-head h1 { font-size: clamp(40px, 4.6vw, 62px); }
  .page-head .stamp { justify-self: end; }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1000px) {
  .nav { display: block; }
  .menu { display: none; }
  .head-contact .phone { display: inline; }
  .section { padding: 84px 0; }
  .section-head { grid-template-columns: 64px minmax(0, 1fr) minmax(220px, .45fr); gap: 24px; margin-bottom: 34px; }
  .sec-title { font-size: clamp(30px, 3.2vw, 42px); }
  .sec-note { grid-column: auto; margin-top: 8px; }
  .type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
  .type-grid a { min-height: 128px; }
  .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .store-list a { grid-template-columns: 54px minmax(0, 1fr) minmax(200px, .8fr) auto; gap: 18px; padding: 18px 0; }
  .store-list .desc { grid-column: auto; }
  .ledger li { grid-template-columns: 64px 260px minmax(0, 1fr); gap: 22px; padding: 18px 0; }
  .ledger h3, .ledger p { grid-column: auto; }
  .ledger p { margin: 0; }
  .foot-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }
  .notfound h1 { font-size: clamp(90px, 16vw, 220px); }
}

/* persistent WhatsApp bar — small screens only */
@media (max-width: 760px) {
  body { padding-bottom: calc(var(--wa-bar-h) + env(safe-area-inset-bottom, 0px)); }
  .wa-bar {
    display: flex; align-items: center; gap: 12px;
    position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    background: var(--cream); border-top: 2px solid var(--espresso);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .wa-bar .btn { flex: 1; min-height: 46px; }
}

/* RTL: drop Latin display tracking, keep joins natural */
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] .kicker, html[dir="rtl"] .sec-no, html[dir="rtl"] .mono,
html[dir="rtl"] .plan-name, html[dir="rtl"] .stamp, html[dir="rtl"] .foot-top h2 {
  letter-spacing: normal;
}

/* RTL: keep Latin/digit islands — phones, emails, prices, acronyms — reading LTR */
html[dir="rtl"] [dir="ltr"] { unicode-bidi: isolate; }
html[dir="rtl"] .price-tiers li, html[dir="rtl"] .plan-summary { unicode-bidi: isolate; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
