/* Layout idea: a Gulf trade counter. Deep sea-petrol bands carry an eight-point star lattice; the request
   "ticket" with its four places is the recurring object; every service wears its category's colour on an
   icon tile; marigold is kept for the main action and for credits. */
:root {
  --bg: #f1f5f5;
  --surface: #ffffff;
  --surface-2: #e7eeee;
  --ink: #0d282e;
  --ink-2: #496067;
  --line: #d3dddd;
  --brand: #0a5a63;
  --brand-strong: #07454c;
  --brand-ink: #ffffff;
  --brand-soft: #dbeaeb;
  --deep: #06373d;
  --deep-2: #0d5059;
  --deep-line: #2c6d75;
  --on-deep: #f2f8f8;
  --on-deep-2: #b7d5d8;
  --sun: #f6b93b;
  --sun-strong: #eaa51c;
  --sun-ink: #2a1c00;
  --credit: #7d5200;
  --credit-bg: #ffedbe;
  --good: #1b6f46;
  --good-bg: #dcf1e5;
  --warn: #8c5200;
  --warn-bg: #ffefd4;
  --bad: #ad241d;
  --bad-bg: #fbe3e1;
  --info: #1d5a8a;
  --info-bg: #e2eef8;
  --home-bg: #d7eeee;
  --home-ink: #0a6570;
  --business-bg: #e3e7fb;
  --business-ink: #3a47a6;
  --events-bg: #f9e2ec;
  --events-ink: #a03268;
  --lessons-bg: #fdecc8;
  --lessons-ink: #865600;
  --wellness-bg: #dcf1e0;
  --wellness-ink: #1d7742;
  --auto-bg: #fde4d9;
  --auto-ink: #ae4720;
  --shadow-1: 0 1px 2px rgba(13, 40, 46, 0.05), 0 4px 14px rgba(13, 40, 46, 0.06);
  --shadow-2: 0 2px 6px rgba(4, 30, 34, 0.1), 0 16px 36px rgba(4, 30, 34, 0.18);
  --overlay: rgba(6, 26, 30, 0.6);
  --font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
  --wrap: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #091618;
    --surface: #10252a;
    --surface-2: #183339;
    --ink: #e6f0f0;
    --ink-2: #a0b7bb;
    --line: #27434a;
    --brand: #5cc4ce;
    --brand-strong: #86d7de;
    --brand-ink: #04282c;
    --brand-soft: #153a40;
    --deep: #0b3a41;
    --deep-2: #125058;
    --deep-line: #2f747c;
    --on-deep: #f2f8f8;
    --on-deep-2: #b7d5d8;
    --sun: #f6b93b;
    --sun-strong: #ffcb5c;
    --sun-ink: #2a1c00;
    --credit: #f2c351;
    --credit-bg: #3a2f10;
    --good: #72d4a2;
    --good-bg: #143426;
    --warn: #f0b96a;
    --warn-bg: #3a2b10;
    --bad: #f39a93;
    --bad-bg: #3f1a17;
    --info: #8ec3ef;
    --info-bg: #15303f;
    --home-bg: #12393e;
    --home-ink: #74d3dc;
    --business-bg: #20264f;
    --business-ink: #aab4ff;
    --events-bg: #401c30;
    --events-ink: #f29cc4;
    --lessons-bg: #3a2c0e;
    --lessons-ink: #f2c351;
    --wellness-bg: #143522;
    --wellness-ink: #7fdba3;
    --auto-bg: #40200f;
    --auto-ink: #f5a37f;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.25);
    --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.35), 0 16px 36px rgba(0, 0, 0, 0.4);
    --overlay: rgba(0, 0, 0, 0.68);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #091618;
  --surface: #10252a;
  --surface-2: #183339;
  --ink: #e6f0f0;
  --ink-2: #a0b7bb;
  --line: #27434a;
  --brand: #5cc4ce;
  --brand-strong: #86d7de;
  --brand-ink: #04282c;
  --brand-soft: #153a40;
  --deep: #0b3a41;
  --deep-2: #125058;
  --deep-line: #2f747c;
  --on-deep: #f2f8f8;
  --on-deep-2: #b7d5d8;
  --sun: #f6b93b;
  --sun-strong: #ffcb5c;
  --sun-ink: #2a1c00;
  --credit: #f2c351;
  --credit-bg: #3a2f10;
  --good: #72d4a2;
  --good-bg: #143426;
  --warn: #f0b96a;
  --warn-bg: #3a2b10;
  --bad: #f39a93;
  --bad-bg: #3f1a17;
  --info: #8ec3ef;
  --info-bg: #15303f;
  --home-bg: #12393e;
  --home-ink: #74d3dc;
  --business-bg: #20264f;
  --business-ink: #aab4ff;
  --events-bg: #401c30;
  --events-ink: #f29cc4;
  --lessons-bg: #3a2c0e;
  --lessons-ink: #f2c351;
  --wellness-bg: #143522;
  --wellness-ink: #7fdba3;
  --auto-bg: #40200f;
  --auto-ink: #f5a37f;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.35), 0 16px 36px rgba(0, 0, 0, 0.4);
  --overlay: rgba(0, 0, 0, 0.68);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
[dir="rtl"] body { line-height: 1.75; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0; text-wrap: balance; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.5; }
h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); font-weight: 700; }
[dir="ltr"] h1 { letter-spacing: -0.01em; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.02rem; }
p { margin: 0; }
a { color: var(--brand); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.num, .money, .phone { font-variant-numeric: tabular-nums; }
.phone, .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.stack > *, .stack-lg > * { min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 30px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row.spread { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }
main { padding-block: 24px 64px; min-height: 60vh; }
.page-head p { margin-top: 6px; }
.lattice { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Demo strip and header */
.demo-strip { background: var(--warn-bg); color: var(--warn); font-size: 0.85rem; }
.demo-strip .wrap { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding-block: 7px; }
@media (max-width: 520px) { .demo-strip { font-size: 0.78rem; line-height: 1.45; } .demo-strip .wrap { gap: 2px 12px; padding-block: 6px; } }
.demo-strip button { background: none; border: 0; padding: 2px 0; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 10px 14px; min-height: 66px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--brand); display: grid; grid-template-columns: repeat(2, 8px); gap: 4px; align-content: center; justify-content: center; flex: none; }
.brand-mark i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-ink); display: block; }
.brand-mark i:last-child { background: var(--sun); }
.nav { order: 2; flex: 1 1 auto; display: flex; gap: 2px; flex-wrap: wrap; align-items: center; margin-inline-start: 10px; }
.nav a, .nav button { padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 0.95rem; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav a:hover, .nav button:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.nav a.nav-cta { margin-inline-start: auto; background: var(--brand); color: var(--brand-ink); font-weight: 600; padding-inline: 16px; }
.nav a.nav-cta:hover { background: var(--brand-strong); color: var(--brand-ink); }
.header-tools { order: 3; flex: none; display: flex; gap: 8px; align-items: center; margin-inline-start: auto; }
.tool-btn .short { display: none; }
.menu-btn svg { width: 20px; height: 20px; }
.tool-select, .tool-btn { height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 0 12px; font-size: 0.9rem; font-weight: 500; cursor: pointer; }
.tool-select:hover, .tool-btn:hover { border-color: var(--brand); }
.tool-btn.lang { font-family: var(--font-body); min-width: 78px; }
.badge-dot { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 0.7rem; text-align: center; margin-inline-start: 4px; }
.menu-btn { display: none; }
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 6px; }
  .nav { display: none; order: 5; flex: 1 1 100%; flex-direction: column; align-items: stretch; margin-inline-start: 0; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a, .nav button { text-align: start; padding: 11px 10px; }
  .nav a.nav-cta { margin-inline-start: 0; margin-top: 6px; text-align: center; }
}
@media (max-width: 520px) {
  .site-header .wrap { gap: 8px; min-height: 58px; }
  .brand { font-size: 1.15rem; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 10px; grid-template-columns: repeat(2, 7px); }
  .brand-mark i { width: 7px; height: 7px; }
  .header-tools { gap: 6px; }
  .tool-select, .tool-btn { height: 38px; padding: 0 9px; font-size: 0.85rem; }
  .tool-btn.lang { min-width: 0; }
  .tool-btn .long, .menu-btn .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tool-btn .short { display: inline; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 600; cursor: pointer; text-decoration: none; background: var(--brand); color: var(--brand-ink); }
.btn:hover { background: var(--brand-strong); }
.btn.sun { background: var(--sun); color: var(--sun-ink); }
.btn.sun:hover { background: var(--sun-strong); }
.btn.secondary { background: var(--surface); color: var(--brand); border-color: var(--line); }
.btn.secondary:hover { background: var(--brand-soft); border-color: var(--brand); }
.btn.quiet { background: none; color: var(--ink-2); border-color: transparent; padding-inline: 10px; }
.btn.quiet:hover { background: var(--surface-2); color: var(--ink); }
.btn.danger { background: var(--bad); color: #fff; }
:root[data-theme="dark"] .btn.danger { color: #2a0b09; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.danger { color: #2a0b09; } }
.btn.small { min-height: 38px; padding: 6px 14px; font-size: 0.9rem; border-radius: 10px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.linkish { background: none; border: 0; padding: 0; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 500; }

/* Surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card.pad-lg { padding: 28px; border-radius: 20px; box-shadow: var(--shadow-1); }
@media (max-width: 640px) { .card.pad-lg { padding: 20px 18px; } }
.panel { background: var(--surface-2); border-radius: var(--radius); padding: 16px; }
.notice { border-radius: var(--radius); padding: 12px 14px; background: var(--info-bg); color: var(--info); font-size: 0.95rem; }
.notice.warn { background: var(--warn-bg); color: var(--warn); }
.notice.bad { background: var(--bad-bg); color: var(--bad); }
.notice.good { background: var(--good-bg); color: var(--good); }
.notice strong { display: block; }
.grid { display: grid; gap: 14px; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.fill { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid.kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid.cols-2 { grid-template-columns: minmax(0, 1fr); }
}
.split { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Pills, icons and small marks */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.pill.good { background: var(--good-bg); color: var(--good); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.info { background: var(--info-bg); color: var(--info); }
.pill.credit { background: var(--credit-bg); color: var(--credit); }
.pill.credit::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; flex: none; }
.pill svg { width: 14px; height: 14px; flex: none; }
.slots { display: inline-flex; gap: 5px; align-items: center; vertical-align: middle; }
.slots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--brand); display: block; }
.slots i.on { background: var(--brand); }
.svc-ico { --ico-bg: var(--home-bg); --ico-ink: var(--home-ink); width: 44px; height: 44px; border-radius: 13px; background: var(--ico-bg); color: var(--ico-ink); display: grid; place-items: center; flex: none; }
.svc-ico svg { width: 24px; height: 24px; }
.svc-ico.lg { width: 58px; height: 58px; border-radius: 17px; }
.svc-ico.lg svg { width: 31px; height: 31px; }
.svc-ico.sm { width: 30px; height: 30px; border-radius: 9px; }
.svc-ico.sm svg { width: 18px; height: 18px; }
.c-business { --ico-bg: var(--business-bg); --ico-ink: var(--business-ink); }
.c-events { --ico-bg: var(--events-bg); --ico-ink: var(--events-ink); }
.c-lessons { --ico-bg: var(--lessons-bg); --ico-ink: var(--lessons-ink); }
.c-wellness { --ico-bg: var(--wellness-bg); --ico-ink: var(--wellness-ink); }
.c-auto { --ico-bg: var(--auto-bg); --ico-ink: var(--auto-ink); }
.svc-head { display: flex; gap: 12px; align-items: center; min-width: 0; }
.trust-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.trust-ico svg { width: 23px; height: 23px; }

/* Dark bands: hero, professional band, footer */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--on-deep); padding-block: 56px 60px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 95% at 88% 8%, var(--deep-2), transparent 72%); }
[dir="rtl"] .hero::before { background: radial-gradient(60% 95% at 12% 8%, var(--deep-2), transparent 72%); }
.hero .lattice { z-index: -1; color: var(--on-deep); opacity: 0.1; }
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 1.15rem + 3.3vw, 3.3rem); line-height: 1.1; max-width: 17ch; }
[dir="rtl"] .hero h1 { line-height: 1.5; }
.hero p.lead { color: var(--on-deep-2); font-size: 1.125rem; max-width: 54ch; margin-top: 16px; }
.search { display: flex; align-items: center; gap: 6px; margin-top: 28px; max-width: 600px; padding: 6px; background: var(--surface); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-2); }
.search:focus-within { outline: 3px solid var(--sun); outline-offset: 2px; }
.search-ico { display: grid; place-items: center; width: 38px; color: var(--ink-2); flex: none; }
.search-ico svg { width: 22px; height: 22px; }
.search input[type="search"] { flex: 1 1 120px; min-width: 0; min-height: 48px; border: 0; background: transparent; padding-inline: 2px; box-shadow: none; outline: none; }
.search .btn { flex: none; }
.results { margin-top: 10px; max-width: 600px; display: grid; gap: 6px; }
.hero .results .muted { color: var(--on-deep-2); }
.result-link { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; }
.result-link:hover { border-color: var(--brand); }
.result-link span:last-child { color: var(--ink-2); font-weight: 400; font-size: 0.9rem; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 24px 0 0; padding: 0; color: var(--on-deep-2); font-size: 0.95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 16px; height: 16px; color: var(--sun); flex: none; }
.hero-all { display: inline-flex; align-items: center; gap: 4px; margin-top: 18px; color: var(--on-deep); font-weight: 600; text-underline-offset: 4px; }
.hero-all svg { width: 16px; height: 16px; display: block; }
.hero :focus-visible { outline-color: var(--sun); }
.hero-art { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hero-art > .pill { align-self: flex-start; background: var(--deep-2); color: var(--on-deep-2); border: 1px solid var(--deep-line); }
.hero-art .ticket { border-color: transparent; box-shadow: var(--shadow-2); color: var(--ink); }
.art-thread { position: relative; display: grid; gap: 10px; padding-inline-start: 30px; }
.art-thread::before { content: ""; position: absolute; inset-inline-start: 13px; top: -12px; bottom: 38px; border-inline-start: 2px dashed var(--deep-line); }
.art-reply { position: relative; display: flex; gap: 12px; align-items: center; background: var(--surface); color: var(--ink); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-2); }
.art-reply::before { content: ""; position: absolute; inset-inline-start: -17px; top: 50%; width: 17px; border-top: 2px dashed var(--deep-line); }
.art-reply b { display: block; font-weight: 600; }
.art-reply .meta { margin-top: 4px; }
.art-reply .avatar { border-radius: 50%; }
.art-how { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--ink-2); font-size: 0.86rem; }
.art-how svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 900px) {
  .hero { padding-block: 36px 40px; }
  .hero > .wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
.pro-band { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--on-deep); border-radius: 22px; padding: 30px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.pro-band .lattice { z-index: -1; color: var(--on-deep); opacity: 0.08; }
.pro-band p { color: var(--on-deep-2); max-width: 56ch; margin-top: 6px; }
.pro-band :focus-visible { outline-color: var(--sun); }
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--on-deep-2); padding-block: 40px 26px; font-size: 0.94rem; }
.site-footer .lattice { z-index: -1; color: var(--on-deep); opacity: 0.045; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
.site-footer .brand { color: var(--on-deep); }
.site-footer .brand-mark { background: var(--on-deep); }
.site-footer .brand-mark i { background: var(--deep); }
.site-footer .brand-mark i:last-child { background: var(--sun-strong); }
.foot-brand p { margin-top: 12px; max-width: 34ch; }
.site-footer h2 { font-size: 0.95rem; color: var(--on-deep); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-deep-2); text-decoration: none; }
.site-footer a:hover { color: var(--on-deep); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--sun); }
.foot-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--deep-line); font-size: 0.88rem; }

/* Home sections */
.section { padding-block: 46px 0; }
.section h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin-bottom: 18px; }
.section.band { background: var(--surface); border-block: 1px solid var(--line); margin-top: 46px; padding-block: 42px; }
.service-tile { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; }
.service-tile b { display: block; font-weight: 600; line-height: 1.3; }
.service-tile small { display: block; color: var(--ink-2); font-size: 0.82rem; margin-top: 2px; }
.service-tile:hover { border-color: var(--brand); box-shadow: var(--shadow-1); }
@media (max-width: 640px) { .grid.cols-4.tiles .service-tile { flex-direction: column; align-items: flex-start; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step-card { position: relative; counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.step-card::before { content: counter(step); position: absolute; inset-block-start: 14px; inset-inline-end: 20px; font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--brand-soft); }
.step-ico { width: 52px; height: 52px; border-radius: 15px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: 14px; }
.step-ico svg { width: 26px; height: 26px; }
.step-card p { margin-top: 4px; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: minmax(0, 1fr); } }
.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.cat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid transparent; color: var(--ink); text-decoration: none; font-size: 0.92rem; }
.chip-link:hover { border-color: var(--brand); color: var(--brand); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.trust-item, .card.feature { display: flex; gap: 14px; align-items: flex-start; }
.trust-item p, .card.feature p { margin-top: 3px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .label { font-weight: 600; font-size: 0.95rem; }
.field .hint { color: var(--ink-2); font-size: 0.86rem; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink);
}
textarea { min-height: 116px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
.phone-field { display: flex; gap: 8px; direction: ltr; }
.phone-field .dial { display: grid; place-items: center; padding: 0 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); font-variant-numeric: tabular-nums; font-weight: 600; }
.phone-field input { text-align: left; letter-spacing: 0.02em; }
.code-input { max-width: 190px; font-size: 1.4rem; letter-spacing: 0.4em; text-align: center; direction: ltr; font-variant-numeric: tabular-nums; }
.choices { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.choice { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; min-height: 48px; }
.choice:hover { border-color: var(--brand); }
.choice input { accent-color: var(--brand); width: 18px; height: 18px; flex: none; margin: 0; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); font-weight: 600; box-shadow: inset 0 0 0 1px var(--brand); }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.progress { display: flex; gap: 6px; }
.progress i { height: 6px; flex: 1; border-radius: 3px; background: var(--surface-2); display: block; }
.progress i.on { background: var(--brand); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; margin-top: 6px; }

/* Request ticket and lists */
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.ticket.dim { background: var(--surface-2); border-color: transparent; }
.ticket.dim .svc-ico { filter: grayscale(1); opacity: 0.75; }
.ticket h3 a { color: var(--ink); text-decoration: none; }
.ticket h3 a:hover { color: var(--brand); text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-2); font-size: 0.9rem; align-items: center; }
.meta svg { width: 15px; height: 15px; vertical-align: -2px; margin-inline-end: 4px; }
.answers { display: grid; gap: 8px 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0; }
.answers div { min-width: 0; }
.answers dt { color: var(--ink-2); font-size: 0.82rem; }
.answers dd { margin: 0; font-weight: 500; }
.user-text { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.ticket.dim .user-text { background: var(--surface); }
.contact-box { background: var(--good-bg); border-radius: 14px; padding: 14px; display: grid; gap: 8px; }
.contact-box .big { font-size: 1.25rem; font-weight: 600; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 0; margin: 0; }
.kv dt { color: var(--ink-2); padding-inline-end: 16px; }
.kv dd { margin: 0; font-weight: 500; text-align: end; }
.kv .sum dt, .kv .sum dd { border-top: 1px solid var(--line); padding-top: 8px; font-weight: 700; color: var(--ink); }
.stars { color: var(--sun-strong); letter-spacing: 1px; white-space: nowrap; }
.rating-input { display: flex; gap: 6px; direction: ltr; justify-content: flex-start; }
[dir="rtl"] .rating-input { justify-content: flex-end; }
.rating-input label { cursor: pointer; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; background: var(--surface); }
.rating-input input:checked + span { background: var(--credit-bg); border-color: var(--credit); color: var(--credit); }
.rating-input input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.avatar { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; flex: none; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat span { color: var(--ink-2); font-size: 0.86rem; }
.balance-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--credit-bg); color: var(--credit); border-radius: 16px; padding: 16px 18px; }
.balance-box b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.pack { display: flex; flex-direction: column; gap: 8px; }
.pack .price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }

/* Tables */
.table-wrap { position: relative; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { text-align: start; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.8rem; color: var(--ink-2); font-weight: 600; white-space: nowrap; background: var(--surface-2); }
tr.group th { background: var(--bg); color: var(--ink); font-size: 0.92rem; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
td input[type="number"] { min-height: 36px; width: 84px; padding: 4px 8px; }
.tabs { position: relative; display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.tabs a { padding: 10px 13px; text-decoration: none; color: var(--ink-2); font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; font-size: 0.95rem; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters a { padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: 0.88rem; background: var(--surface); }
.filters a[aria-current="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

/* Modal and toast */
.modal-back { position: fixed; inset: 0; background: var(--overlay); display: grid; place-items: center; padding: 16px; z-index: 50; overflow-y: auto; }
.modal { background: var(--surface); border-radius: 20px; padding: 24px; width: min(520px, 100%); box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 14px; }
.toasts { position: fixed; inset-inline: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; justify-items: center; z-index: 60; pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 12px; font-weight: 500; box-shadow: var(--shadow-2); max-width: 520px; }
.toast.bad { background: var(--bad); color: #fff; }
.sim-sms { border: 2px dashed var(--warn); background: var(--warn-bg); color: var(--warn); border-radius: var(--radius); padding: 12px 14px; }
.sim-sms b { font-size: 1.5rem; letter-spacing: 0.25em; font-variant-numeric: tabular-nums; color: var(--ink); }
.demo-list { display: grid; gap: 8px; }
.demo-list button { display: flex; flex-direction: column; gap: 2px; text-align: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.demo-list button:hover { border-color: var(--brand); background: var(--brand-soft); }
.demo-list b { font-weight: 600; }
.demo-list span { color: var(--ink-2); font-size: 0.88rem; }

.empty { text-align: center; padding: 38px 16px; color: var(--ink-2); display: grid; gap: 12px; justify-items: center; }
.flip { display: inline-block; }
[dir="rtl"] .flip { transform: scaleX(-1); }
@media (prefers-reduced-motion: no-preference) {
  .toast { animation: rise 0.2s ease-out; }
  @keyframes rise { from { transform: translateY(8px); opacity: 0.4; } to { transform: none; opacity: 1; } }
}
