/* ==========================================================================
   Royal Step Computers — Aurora design system
   Deep indigo night · aurora gradient (cyan → violet → pink → gold)
   Glass surfaces, glowing pills, halo CTAs.
   ========================================================================== */

:root {
  /* surfaces */
  --bg0: #0a081c;
  --bg1: #100d2a;
  --bg2: #171338;
  --bg3: #1e1946;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);

  /* ink — tuned for high legibility on the dark aurora background */
  --text: #f7f6ff;
  --muted: #d6d2ec;   /* brighter body/secondary text (older-user readable) */
  --faint: #aca7cc;   /* captions / fine print */

  /* aurora */
  --cyan: #53d8ff;
  --blue: #4d7cfe;
  --violet: #9b5cf6;
  --pink: #f45bc4;
  --gold: #ffc145;
  --aurora: linear-gradient(92deg, var(--cyan) 0%, var(--violet) 42%, var(--pink) 72%, var(--gold) 100%);
  --aurora-soft: linear-gradient(92deg, rgba(83,216,255,.16), rgba(155,92,246,.16) 45%, rgba(244,91,196,.14) 75%, rgba(255,193,69,.16));

  /* geometry */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 100px;
  --container: 1320px;
  --shadow: 0 18px 50px rgba(4, 2, 20, 0.55);

  /* type */
  --f-display: 'Sora', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-body: 'Manrope', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

[dir="rtl"] {
  --f-display: 'IBM Plex Sans Arabic', 'Sora', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans Arabic', 'Manrope', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  background: var(--bg1);
  color: var(--text);
  font-size: 17px;
  font-weight: 450;
  line-height: 1.72;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
::selection { background: rgba(155, 92, 246, 0.45); color: #fff; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.18; letter-spacing: -0.015em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; line-height: 1.4; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* focus */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ==========================================================================
   Aurora atmosphere — fixed light field behind everything
   ========================================================================== */
.aurora-field {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(56vw 42vw at 12% -6%, rgba(77, 124, 254, 0.20), transparent 60%),
    radial-gradient(48vw 38vw at 88% 4%, rgba(155, 92, 246, 0.17), transparent 62%),
    radial-gradient(40vw 34vw at 78% 84%, rgba(244, 91, 196, 0.07), transparent 65%),
    radial-gradient(34vw 30vw at 6% 92%, rgba(83, 216, 255, 0.06), transparent 60%),
    var(--bg1);
}
.aurora-field::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.028) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.12) 40%, rgba(0,0,0,.4));
}

/* ==========================================================================
   Type helpers
   ========================================================================== */
.grad-text {
  background: var(--aurora);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: #cbc5e8; margin-bottom: 18px;
}
[dir="rtl"] .eyebrow { letter-spacing: 0.06em; }
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--aurora);
}
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-sub { color: var(--muted); max-width: 640px; font-size: 1.03rem; }

/* ==========================================================================
   Glass pills — the signature chip (glowing outline, like the reference)
   ========================================================================== */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 600; color: var(--text);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 0 18px rgba(155, 92, 246, 0.18), inset 0 1px 0 rgba(255,255,255,0.09);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}
.pill .ico { font-size: 15px; line-height: 1; }
.pill--glow { border-color: rgba(255,255,255,0.28); box-shadow: 0 0 24px rgba(83, 216, 255, 0.22), inset 0 1px 0 rgba(255,255,255,0.14); }
.pill--gold { box-shadow: 0 0 22px rgba(255, 193, 69, 0.22), inset 0 1px 0 rgba(255,255,255,0.1); }

/* ==========================================================================
   Buttons — gradient CTA with light halo behind (signature)
   ========================================================================== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; border: 0; border-radius: var(--r-pill);
  font-family: var(--f-display); font-weight: 700; font-size: 15.5px; letter-spacing: 0.01em;
  color: #fff; background: var(--aurora); background-size: 130% 100%; background-position: 0 0;
  transition: background-position .45s ease, transform .2s ease, box-shadow .3s ease;
  isolation: isolate;
}
.btn::before { /* halo */
  content: ""; position: absolute; inset: -7px; z-index: -1; border-radius: inherit;
  background: var(--aurora); filter: blur(22px); opacity: 0.45;
  transition: opacity .3s ease;
}
.btn:hover { background-position: 90% 0; transform: translateY(-2px); }
.btn:hover::before { opacity: 0.75; }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: var(--glass); border: 1px solid var(--line-2); color: var(--text);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--ghost::before { opacity: 0.12; }
.btn--ghost:hover { border-color: rgba(255,255,255,0.34); }
.btn--ghost:hover::before { opacity: 0.28; }

.btn--sm { padding: 10px 22px; font-size: 14px; }
.btn--gold { background: linear-gradient(92deg, var(--gold), #ff9d4d); }
.btn--danger { background: linear-gradient(92deg, #ff5b7f, #f43f5e); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ==========================================================================
   Top bar + navigation
   ========================================================================== */
.topbar {
  background: rgba(10, 8, 28, 0.7); border-bottom: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 14px; flex-wrap: wrap; }
.topbar { color: #cdc8e6; font-weight: 500; }
.topbar a { color: #cdc8e6; transition: color .2s; }
.topbar a:hover { color: var(--text); }
.topbar .tb-links { display: flex; gap: 18px; align-items: center; }

/* Header track search — small white bar */
.track-search { display: flex; align-items: center; gap: 4px; background: #fff; border-radius: 999px; padding: 3px 3px 3px 13px; box-shadow: 0 2px 10px rgba(4,2,20,.25); }
.track-search input { border: 0; outline: none; background: transparent; font: 500 12.5px var(--f-body, 'Manrope', system-ui, sans-serif); color: #17133a; width: 132px; padding: 3px 0; }
.track-search input::placeholder { color: #9089b3; }
.track-search button { border: 0; cursor: pointer; border-radius: 999px; background: var(--aurora); color: #fff; font: 700 12px var(--f-display); letter-spacing: .01em; padding: 6px 14px; white-space: nowrap; transition: filter .2s ease; }
.track-search button:hover { filter: brightness(1.08); }
@media (max-width: 460px) { .track-search input { width: 104px; } }

.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(13, 10, 32, 0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.logo { font-family: var(--f-display); font-weight: 800; font-size: 22.5px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.logo .logo-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--aurora); font-size: 18px; color: #fff;
  box-shadow: 0 0 20px rgba(155, 92, 246, 0.5);
}
.logo b { color: var(--gold); font-weight: 800; }

.nav-links { display: flex; gap: 4px; list-style: none; margin-inline-start: auto; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a.nl {
  display: block; padding: 9px 11px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; color: #e7e4f7; transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-cta { flex-shrink: 0; }
@media (max-width: 1520px) and (min-width: 1021px) {
  .nav .container { gap: 12px; }
  .nav-links a.nl { padding: 9px 8px; font-size: 14px; }
  .logo { font-size: 20px; }
  .logo .logo-mark { width: 34px; height: 34px; font-size: 16px; }
  .lang-switch { padding: 8px 12px; font-size: 13px; }
  .cart-link { width: 40px; height: 40px; font-size: 16px; }
  .nav-cta .btn--sm { padding: 9px 15px; font-size: 13px; }
}
.btn { white-space: nowrap; }
.nav-links a.nl:hover, .nav-links a.nl.active { color: var(--text); background: var(--glass-2); }

.dropdown { position: absolute; inset-inline-start: 0; top: calc(100% + 10px); min-width: 250px;
  background: rgba(19, 15, 44, 0.96); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 8px; box-shadow: var(--shadow); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s ease; z-index: 95; }
.nav-links li:hover > .dropdown, .nav-links li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; color: var(--muted); }
.dropdown a:hover { background: var(--glass-2); color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--glass); border: 1px solid var(--line-2); font-size: 18px; }
.cart-link .cart-n {
  position: absolute; top: -5px; inset-inline-end: -5px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 20px; background: var(--gold); color: #221a02; font-size: 11.5px; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 0 12px rgba(255,193,69,.55); }
.lang-switch { font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--glass); color: var(--text); }
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }

.nav-burger { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px;
  width: 44px; height: 44px; color: var(--text); font-size: 19px; }

/* ==========================================================================
   Mobile off-canvas drawer
   ========================================================================== */
.mnav, .mnav-backdrop { display: none; }
/* CRITICAL: the hidden attribute must always win, or the fixed backdrop
   covers the whole page and swallows every tap on mobile. */
.mnav[hidden], .mnav-backdrop[hidden] { display: none !important; }
@media (max-width: 1020px) {
  .nav-links { display: none; }            /* hide desktop menu on mobile */
  .nav-burger { display: grid; place-items: center; }
  .nav-cta .btn--sm:not(.mnav-cta) { display: none; }

  .mnav-backdrop { display: block; position: fixed; inset: 0; z-index: 190;
    background: rgba(4, 2, 16, 0.6); backdrop-filter: blur(3px); opacity: 0;
    pointer-events: none; transition: opacity .28s ease; }
  body.mnav-open .mnav-backdrop { pointer-events: auto; }
  .mnav {
    display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; inset-inline-end: 0;
    width: min(88vw, 380px); z-index: 200; background: #0b0820;
    border-inline-start: 1px solid var(--line-2); box-shadow: -20px 0 60px rgba(0,0,0,.5);
    transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
    overscroll-behavior: contain;
  }
  [dir="rtl"] .mnav { transform: translateX(-100%); box-shadow: 20px 0 60px rgba(0,0,0,.5); }

  body.mnav-open { overflow: hidden; }
  body.mnav-open .mnav-backdrop { opacity: 1; }
  body.mnav-open .mnav { transform: translateX(0); }

  .mnav-top { display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
  .mnav-top .logo { font-size: 20px; }
  .mnav-close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2);
    background: var(--glass); color: var(--text); font-size: 18px; display: grid; place-items: center; }

  .mnav-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 16px 40px; }
  .mnav-link { display: block; padding: 15px 14px; font-family: var(--f-display); font-weight: 700;
    font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); border-radius: 10px; }
  .mnav-link:active { background: var(--glass-2); }

  .mnav-sec { border-bottom: 1px solid var(--line); }
  .mnav-sec summary { list-style: none; cursor: pointer; padding: 15px 14px;
    font-family: var(--f-display); font-weight: 700; font-size: 17px; color: var(--text);
    display: flex; justify-content: space-between; align-items: center; }
  .mnav-sec summary::-webkit-details-marker { display: none; }
  .mnav-sec summary::after { content: "＋"; color: var(--gold); font-size: 18px; font-weight: 400; }
  .mnav-sec[open] summary::after { content: "－"; }
  .mnav-sub { padding: 2px 8px 14px; display: flex; flex-direction: column; }
  .mnav-sub a { padding: 12px 16px; font-size: 15.5px; color: var(--muted); border-radius: 9px; }
  .mnav-sub a:active { background: var(--glass-2); color: var(--text); }
  .mnav-grp { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--gold); font-weight: 800; padding: 12px 16px 4px; }
  .mnav-cta { display: flex; justify-content: center; width: 100%; margin: 18px 0 10px; }
  .mnav-lang { text-align: center; color: var(--cyan); border-bottom: 0; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 86px 0 80px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 800; margin: 18px 0 22px; }
.hero .lead { color: var(--muted); font-size: 1.12rem; max-width: 560px; margin-bottom: 30px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--faint); font-size: 13.5px; }

/* hero visual: glass device card stack */
.hero-visual { position: relative; min-height: 420px; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.orb--1 { width: 300px; height: 300px; background: rgba(77,124,254,.5); top: -30px; inset-inline-end: 10%; animation: drift 11s ease-in-out infinite alternate; }
.orb--2 { width: 220px; height: 220px; background: rgba(244,91,196,.35); bottom: 0; inset-inline-start: 0; animation: drift 13s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(24px, 18px); } }

.dev-card {
  position: absolute; border-radius: var(--r-lg); padding: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.14);
}
.dev-card .dc-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 25px; margin-bottom: 14px; background: var(--aurora-soft); border: 1px solid var(--line-2); }
.dev-card h3 { font-size: 17px; margin-bottom: 4px; }
.dev-card p { font-size: 13px; color: var(--muted); }
/* Non-overlapping zigzag cascade — vertical steps (230px) exceed the tallest
   card (~205px) plus the ±10px float, so text is never covered at any width. */
.hero-visual { min-height: 700px; }
.dev-card { max-width: 46%; }
.dev-card--a { top: 0;     inset-inline-end: 4%;  width: 250px; animation: floaty 7s ease-in-out infinite; }
.dev-card--b { top: 235px; inset-inline-start: 0; width: 240px; animation: floaty 8s ease-in-out infinite 1.2s; }
.dev-card--c { top: 470px; inset-inline-end: 7%;  width: 244px; animation: floaty 9s ease-in-out infinite 2.1s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 1180px) {
  .dev-card--a { inset-inline-end: 0; }
  .dev-card--c { inset-inline-end: 2%; }
}
@media (max-width: 940px) {
  .hero .container { grid-template-columns: 1fr; }
  .dev-card { max-width: none; }
  .hero-visual { min-height: 720px; margin-top: 12px; }
}
/* On phones the absolutely-positioned floating cards overlap — stack them cleanly */
@media (max-width: 720px) {
  .hero-visual { min-height: 0; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
  .dev-card { position: static !important; width: 100% !important; inset: auto !important;
    animation: none !important; padding: 20px; }
  .dev-card--a, .dev-card--b, .dev-card--c { animation: none !important; }
  .orb { display: none; }
}

/* ==========================================================================
   Sections & cards
   ========================================================================== */
.section { padding: 88px 0; }
.section--tint { background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0) 90%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 46px; flex-wrap: wrap; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  position: relative; border-radius: var(--r-lg); padding: 30px 28px;
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.22); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.12); }
.card .c-ico {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font-size: 25px;
  background: var(--aurora-soft); border: 1px solid var(--line-2); margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(155,92,246,.14);
}
.card h3 { font-size: 19px; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .c-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--cyan); }
.card .c-link .arr { transition: transform .25s; display: inline-block; }
.card:hover .c-link .arr { transform: translateX(5px); }
[dir="rtl"] .card:hover .c-link .arr { transform: translateX(-5px) scaleX(-1); }
[dir="rtl"] .c-link .arr { transform: scaleX(-1); }
.card--featured { background: linear-gradient(165deg, rgba(155,92,246,.16), rgba(77,124,254,.07)); border-color: rgba(155,92,246,.4); }

/* stretched-link cards */
.card a.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 30px 12px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
.stat span { color: var(--muted); font-size: 14px; }

/* process steps (real sequence → numbered) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 24px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line); counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-display); font-weight: 800; font-size: 14px; letter-spacing: .1em;
  display: inline-flex; padding: 5px 13px; border-radius: var(--r-pill); margin-bottom: 16px;
  background: var(--aurora-soft); border: 1px solid var(--line-2); color: var(--text);
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; border-radius: var(--r-lg); padding: 60px 48px; overflow: hidden;
  background: linear-gradient(120deg, rgba(77,124,254,.2), rgba(155,92,246,.22) 45%, rgba(244,91,196,.16) 78%, rgba(255,193,69,.14));
  border: 1px solid var(--line-2); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: -40%; background: radial-gradient(40% 55% at 50% 45%, rgba(255,255,255,.14), transparent 70%); pointer-events: none; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

/* ==========================================================================
   Shop / product
   ========================================================================== */
.p-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.p-card .p-img { position: relative; aspect-ratio: 1 / .82; background: linear-gradient(150deg, var(--bg3), var(--bg2)); display: grid; place-items: center; overflow: hidden; }
.p-card .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.p-card:hover .p-img img { transform: scale(1.05); }
.p-card .p-img .ph { font-size: 54px; opacity: .5; }
.p-badge { position: absolute; top: 14px; inset-inline-start: 14px; padding: 5px 13px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 800; background: var(--gold); color: #221a02; box-shadow: 0 0 14px rgba(255,193,69,.4); }
.p-card .p-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-card .p-cat { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.p-card h3 { font-size: 16.5px; }
.p-price { margin-top: auto; display: flex; align-items: baseline; gap: 10px; font-family: var(--f-display); }
.p-price b { font-size: 19px; }
.p-price s { color: var(--faint); font-size: 14px; }

/* product page */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .product-hero { grid-template-columns: 1fr; } }
.product-gallery .main-img { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(150deg, var(--bg3), var(--bg2)); aspect-ratio: 1/.85; display: grid; place-items: center; }
.product-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.qty-row { display: flex; gap: 14px; align-items: center; margin: 26px 0; }
.qty-box { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r-pill); overflow: hidden; }
.qty-box button { width: 44px; height: 48px; background: var(--glass); color: var(--text); border: 0; font-size: 18px; }
.qty-box input { width: 56px; text-align: center; background: transparent; border: 0; color: var(--text); font-weight: 700; }

/* tables (cart) */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: start; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.tbl td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--glass); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.f-field { display: flex; flex-direction: column; gap: 8px; }
.f-field.full { grid-column: 1 / -1; }
.f-field label { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.f-field label .req { color: var(--pink); }
.input {
  width: 100%; padding: 14px 18px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-2);
  color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(155,92,246,.18); }
textarea.input { min-height: 130px; resize: vertical; }
select.input option { background: var(--bg2); color: var(--text); }

.flash { padding: 15px 20px; border-radius: 14px; margin-bottom: 22px; font-weight: 600; font-size: 14.5px;
  background: rgba(83,216,255,.1); border: 1px solid rgba(83,216,255,.35); color: #bfeeff; }
.flash--err { background: rgba(244,91,196,.1); border-color: rgba(244,91,196,.4); color: #ffd3ee; }

/* radio cards (payment methods) */
.radio-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--glass); cursor: pointer; transition: border-color .2s, background .2s; }
.radio-card:has(input:checked) { border-color: var(--violet); background: rgba(155,92,246,.1); box-shadow: 0 0 18px rgba(155,92,246,.15); }
.radio-card input { margin-top: 5px; accent-color: var(--violet); }
.radio-card b { display: block; font-size: 15px; }
.radio-card span { font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   Content pages / article body
   ========================================================================== */
.page-hero { padding: 66px 0 46px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 14px 0 12px; }
.breadcrumbs { font-size: 13.5px; color: var(--faint); display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.breadcrumbs a:hover { color: var(--text); }

.prose { max-width: 800px; font-size: 1.05rem; }
.prose h2 { font-size: 1.65rem; margin: 2.2em 0 .7em; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .6em; }
.prose p { margin-bottom: 1.15em; color: #cbc7e6; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.4em; color: #cbc7e6; }
[dir="rtl"] .prose ul, [dir="rtl"] .prose ol { margin: 0 1.4em 1.2em 0; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose blockquote { border-inline-start: 3px solid var(--violet); padding-inline-start: 20px; margin: 1.6em 0; color: var(--muted); font-style: italic; }
.prose img { border-radius: var(--r); margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 10px 14px; text-align: start; font-size: .95em; }
.prose th { background: var(--glass-2); }

/* blog cards */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .pc-img { aspect-ratio: 16/9; background: linear-gradient(150deg, var(--bg3), var(--bg2)); display: grid; place-items: center; font-size: 44px; overflow: hidden; }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .pc-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { font-size: 12.5px; color: var(--faint); display: flex; gap: 12px; }

/* FAQ accordion */
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); margin-bottom: 14px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-family: var(--f-display);
  display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--gold); transition: transform .25s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* track / status timeline (real sequence) */
.timeline { position: relative; margin: 30px 0; padding-inline-start: 30px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item::before { content: ""; position: absolute; inset-inline-start: -30px; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg2); border: 2px solid var(--faint); }
.tl-item.done::before { background: var(--aurora); border-color: transparent; box-shadow: 0 0 14px rgba(155,92,246,.5); }
.tl-item.now::before { background: var(--gold); border-color: transparent; box-shadow: 0 0 16px rgba(255,193,69,.65); }
.tl-item b { display: block; font-size: 15.5px; }
.tl-item span { color: var(--muted); font-size: 13.5px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { margin-top: 60px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.28)); }
.footer-top { height: 4px; background: var(--aurora); opacity: .8; }

/* newsletter strip */
.foot-news { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.foot-news h3 { font-size: 19px; }
.foot-news .news-form { margin: 0; min-width: 300px; flex: 0 1 420px; }

/* directory (Apple-style columns / mobile accordions via <details>) */
.foot-dir { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px 24px; padding: 44px 0 30px; }
@media (max-width: 1100px) { .foot-dir { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .foot-dir { grid-template-columns: 1fr; gap: 0; padding: 12px 0; } }
.f-col > summary { list-style: none; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text); margin-bottom: 16px; cursor: default; display: flex; justify-content: space-between; align-items: center; }
.f-col > summary::-webkit-details-marker { display: none; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.f-col ul a { color: var(--muted); font-size: 14px; transition: color .2s; }
.f-col ul a:hover { color: var(--gold); }
.f-col ul li.muted { color: var(--faint); }

@media (max-width: 860px) {
  .f-col { border-bottom: 1px solid var(--line); }
  .f-col > summary { cursor: pointer; padding: 17px 4px; margin: 0; font-size: 14px; }
  .f-col > summary::after { content: "＋"; color: var(--gold); font-size: 17px; font-weight: 400; }
  .f-col[open] > summary::after { content: "－"; }
  .f-col ul { padding: 2px 4px 18px; }
  .f-col ul a { font-size: 15px; padding: 5px 0; display: inline-block; }
}

/* bottom bar — socials · copyright · payment logos */
.foot-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px;
  padding: 22px 0 40px; border-top: 1px solid var(--line); margin-top: 8px; }
.fb-left { display: flex; align-items: center; gap: 18px; }
.fb-left .logo { font-size: 20px; }
.fb-center { text-align: center; color: var(--faint); font-size: 13px; line-height: 1.9; }
.fb-center .legal-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.fb-center .legal-links a { color: var(--faint); }
.fb-center .legal-links a:hover { color: var(--text); }
.fb-pay { justify-self: end; }
.fb-pay img { height: 64px; max-width: 100%; background: #fff; border-radius: 12px; padding: 9px 14px; }
@media (max-width: 900px) {
  .foot-bar { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 20px; padding-bottom: 30px; }
  .fb-left { flex-direction: column; }
  .fb-pay { justify-self: center; }
  .fb-pay img { height: 56px; }
}
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--line-2); font-size: 16px; transition: all .2s; }
.socials a:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 0 16px rgba(255,193,69,.3); }
.news-form { display: flex; gap: 8px; }
.news-form .input { flex: 1; padding: 12px 16px; }

.foot-pay { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0 6px; border-top: 1px solid var(--line); }
.foot-pay span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.foot-pay img { height: 52px; max-width: 100%; background: #fff; border-radius: 10px; padding: 8px 12px; }
.footer-bottom { padding: 20px 0 6px; color: var(--faint); font-size: 13px; line-height: 1.7; }
.footer-legal { border-top: 1px solid var(--line); padding: 18px 0 40px; display: flex; justify-content: space-between;
  gap: 12px 22px; flex-wrap: wrap; color: var(--faint); font-size: 12.5px; }
.footer-legal .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: var(--faint); } .footer-legal a:hover { color: var(--text); }

.whatsapp-fab { position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 27px;
  background: linear-gradient(140deg, #22c55e, #16a34a); color: #fff; box-shadow: 0 10px 30px rgba(34,197,94,.45); transition: transform .2s; }
.whatsapp-fab:hover { transform: scale(1.08); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

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

/* ==========================================================================
   Invoice (screen + A4 print) — premium light document
   ========================================================================== */
.invoice-sheet {
  max-width: 820px; margin: 36px auto; background: #fff; color: #1a1733;
  border-radius: 16px; padding: 46px 50px 40px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.invoice-sheet .inv-aurora { height: 6px; border-radius: 6px; background: var(--aurora); margin: -46px -50px 30px; border-radius: 16px 16px 0 0; }
.inv-top { display: flex; flex-direction: column; }
.inv-meta { font-size: 13px; color: #5b567e; line-height: 1.75; margin: 0; }

/* header */
.inv-head { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.inv-brand { font-family: var(--f-display); font-weight: 800; font-size: 24px; color: #17133a; letter-spacing: -.01em; }
.inv-brand span { color: #c99400; }
.inv-head .inv-meta { margin-top: 8px; }
.inv-title { text-align: right; }
.inv-title h1 { font-family: var(--f-display); font-size: 25px; font-weight: 800; color: #17133a; margin: 0; }
.inv-title h1 span { color: #8781ad; font-weight: 500; font-size: 15px; }
.inv-stamp { display: inline-block; margin-top: 10px; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.inv-stamp.due  { background: #fff5e0; color: #b5820b; border: 1px solid #f0d79a; }
.inv-stamp.paid { background: #e6f7ee; color: #0a8a4a; border: 1px solid #a9e2c3; }

/* meta strip: bill-to + facts */
.inv-strip { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin: 30px 0 6px; }
.inv-lbl { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 7px; color: #9089b3; }
.inv-billto { min-width: 240px; }
.inv-cust { font-weight: 700; font-size: 16.5px; color: #17133a; margin: 0 0 4px; }
.inv-facts { display: grid; gap: 10px; align-content: start; min-width: 210px; }
.inv-facts > div { display: flex; flex-direction: column; }
.inv-facts span { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #9089b3; }
.inv-facts b { font-size: 14px; color: #17133a; font-weight: 700; }

/* line items */
.inv-tbl { width: 100%; border-collapse: collapse; margin: 22px 0 8px; }
.inv-tbl th { background: #17133a; color: #fff; padding: 11px 14px; font-size: 11.5px; text-align: left; letter-spacing: .06em; text-transform: uppercase; }
.inv-tbl th:first-child { border-radius: 8px 0 0 8px; }
.inv-tbl th:last-child  { border-radius: 0 8px 8px 0; }
.inv-tbl td { padding: 12px 14px; border-bottom: 1px solid #ece9f7; font-size: 14px; color: #2c2950; }
.inv-tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* totals */
.inv-summary { margin-inline-start: auto; width: 340px; max-width: 100%; margin-top: 14px; }
.inv-totals { width: 100%; }
.inv-totals td { padding: 7px 4px; font-size: 14px; color: #5b567e; }
.inv-totals td.num { text-align: right; color: #2c2950; font-variant-numeric: tabular-nums; }
.inv-total-band { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; padding: 14px 18px; border-radius: 12px; background: #17133a; color: #fff; }
.inv-total-band span { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; opacity: .82; }
.inv-total-band b { font-family: var(--f-display); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.inv-total-band.is-paid { background: #0a8a4a; }
.inv-notes { font-size: 12.5px; color: #5b567e; margin-top: 18px; line-height: 1.7; }

/* payment cards */
.inv-pay { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.inv-paycard { flex: 1; min-width: 230px; background: #f7f6ff; border: 1px solid #e8e4fb; border-radius: 14px; padding: 18px 20px; }
.inv-paycard.is-online { background: linear-gradient(180deg,#f3efff,#faf8ff); border-color: #ddd2fb; }
.inv-paycard.is-paid { background: #e9f8f0; border-color: #b6e5cd; flex: 1 1 100%; }
.inv-bankbody { line-height: 1.9; }
.inv-paid-line { font-weight: 700; color: #0a8a4a; font-size: 15px; margin: 4px 0 6px; }
.inv-paybtn { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 8px; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: #fff; text-decoration: none; background: linear-gradient(90deg,#7b5cff,#c057c9); box-shadow: 0 8px 20px -8px rgba(123,92,255,.7); }

/* footer */
.inv-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #ece9f7; flex-wrap: wrap; }
.inv-thanks { flex: 1; min-width: 240px; font-size: 13px; color: #2c2950; line-height: 1.6; }
.inv-qr { text-align: center; font-size: 11px; color: #7d78a0; }
.inv-qr img { width: 118px; height: 118px; margin-bottom: 6px; border: 1px solid #ece9f7; border-radius: 10px; padding: 6px; display: block; }
.inv-qr span { display: block; }

/* on-screen actions */
.inv-actions { max-width: 820px; margin: 26px auto 6px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn.btn--pay { background: linear-gradient(90deg,#7b5cff,#c057c9); border: 0; color: #fff; }
.btn.btn--paid { background: #17362a; color: #7ee0ad; border: 1px solid #2f5b48; cursor: default; }
.inv-verify-note { text-align: center; margin: 0 auto 56px; font-size: 13px; }
.inv-verify-note a { color: var(--muted); text-decoration: underline; }

@media print {
  @page { size: A4 portrait; margin: 10mm; }
  html, body { background: #fff !important; }
  .aurora-field, .nav, .topbar, .footer, .inv-actions, .inv-verify-note, .whatsapp-fab { display: none !important; }
  /* Content flows top-down and stays compact so the whole invoice fits ONE page. */
  .invoice-sheet {
    box-shadow: none; margin: 0; border-radius: 0; max-width: none; padding: 0;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
    font-size: 10.5px;
  }
  .invoice-sheet .inv-aurora { margin: 0 0 14px; height: 5px; border-radius: 4px; }
  .inv-top, .inv-tbl tr, .inv-totals tr, .inv-foot, .inv-pay, .inv-paycard { page-break-inside: avoid; break-inside: avoid; }
  .inv-meta { font-size: 10px; line-height: 1.45; }
  .inv-brand, .inv-title h1 { font-size: 18px; }
  .inv-head .inv-meta { margin-top: 5px; }
  .inv-stamp { margin-top: 6px; padding: 3px 11px; }
  .inv-strip { margin: 14px 0 2px; }
  .inv-cust { font-size: 15px; }
  .inv-facts { gap: 7px; }
  .inv-tbl { margin: 12px 0 4px; }
  .inv-tbl th { padding: 6px 12px; font-size: 9.5px; }
  .inv-tbl td { padding: 6px 12px; font-size: 10.5px; }
  .inv-summary { margin-top: 8px; }
  .inv-totals td { padding: 3px 4px; font-size: 10.5px; }
  .inv-total-band { padding: 9px 16px; margin-top: 7px; }
  .inv-total-band b { font-size: 16px; }
  .inv-pay { gap: 12px; margin-top: 16px; }
  .inv-paycard { padding: 11px 14px; }
  .inv-paybtn { display: none; }    /* the printed copy shows the QR + link, not a button */
  .inv-foot { margin-top: 14px; padding-top: 12px; }
  .inv-thanks { font-size: 11px; }
  .inv-qr img { width: 88px; height: 88px; padding: 4px; }
}

/* ==========================================================================
   Repair wizard — model grid + issue multi-select
   ========================================================================== */
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1020px) { .model-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .model-grid { grid-template-columns: repeat(2, 1fr); } }
.model-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 13px;
  padding: 28px 16px 22px; border-radius: var(--r-lg); text-align: center;
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border: 1px solid var(--line); transition: transform .22s ease, border-color .22s ease, box-shadow .22s; }
.model-card:hover { transform: translateY(-5px); border-color: rgba(155,92,246,.55); box-shadow: 0 14px 34px rgba(4,2,20,.5), 0 0 22px rgba(155,92,246,.22); }
.mc-thumb { width: 92px; height: 92px; border-radius: 20px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--aurora-soft); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 20px rgba(83,216,255,.12); }
.mc-thumb img { width: 62px; height: 62px; object-fit: contain; }
.mc-thumb .mc-ico, .model-card .mc-ico { font-size: 46px; line-height: 1; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.model-card > img { width: 84px; height: 84px; object-fit: contain; }   /* legacy fallback */
.model-card .mc-name { font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.model-card .mc-arrow { color: var(--cyan); font-size: 16px; opacity: .55; transition: opacity .2s, transform .2s; }
.model-card:hover .mc-arrow { opacity: 1; transform: translateX(3px); }

.issue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1020px) { .issue-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .issue-grid { grid-template-columns: repeat(2, 1fr); } }
.issue-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 13px;
  padding: 28px 14px 22px; border-radius: var(--r-lg); text-align: center; cursor: pointer;
  background: var(--glass); border: 1px solid var(--line-2);
  transition: border-color .2s, background .2s, transform .2s; }
.issue-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.34); }
.issue-card input { position: absolute; opacity: 0; pointer-events: none; }
.issue-card .ic-ico { font-size: 42px; line-height: 1; width: 76px; height: 76px; border-radius: 20px;
  display: grid; place-items: center; background: var(--aurora-soft); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
.issue-card .ic-name { font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.issue-card .ic-price { font-size: 12px; color: var(--gold); font-weight: 700; }
.issue-card .ic-check { position: absolute; top: 10px; inset-inline-end: 10px; width: 22px; height: 22px;
  border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff;
  background: var(--aurora); opacity: 0; transform: scale(.5); transition: all .18s ease; }
.issue-card:has(input:checked) { background: rgba(155,92,246,.14); border-color: var(--violet);
  box-shadow: 0 0 20px rgba(155,92,246,.25), inset 0 1px 0 rgba(255,255,255,.1); }
.issue-card:has(input:checked) .ic-check { opacity: 1; transform: scale(1); }
.issue-card:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ==========================================================================
   Guarantees trust bar
   ========================================================================== */
.guarantees { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(155,92,246,.06), rgba(83,216,255,.03)); }
.guar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
@media (max-width: 860px) { .guar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .guar-grid { grid-template-columns: 1fr; } }
.guar { display: flex; align-items: center; gap: 13px; padding: 20px 14px; }
.guar + .guar { border-inline-start: 1px solid var(--line); }
@media (max-width: 860px) { .guar:nth-child(odd) { border-inline-start: 0; } }
@media (max-width: 460px) { .guar { border-inline-start: 0 !important; padding: 14px; } }
.guar .g-ic { font-size: 26px; line-height: 1; flex-shrink: 0; }
.guar b { display: block; font-size: 14.5px; font-family: var(--f-display); }
.guar span { font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   Mega dropdown (Locations)
   ========================================================================== */
.dropdown--mega { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 4px 10px;
  min-width: 720px; max-width: 92vw; inset-inline-start: 50%; transform: translateX(-50%) translateY(8px); }
[dir="rtl"] .dropdown--mega { transform: translateX(50%) translateY(8px); }
.nav-links li:hover > .dropdown--mega, .nav-links li:focus-within > .dropdown--mega { transform: translateX(-50%) translateY(0); }
[dir="rtl"] .nav-links li:hover > .dropdown--mega { transform: translateX(50%) translateY(0); }
.mega-col { padding: 4px; }
.mega-h { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  font-weight: 800; padding: 8px 12px 4px; }
.dropdown--mega a { padding: 7px 12px; font-size: 13.5px; }

/* ==========================================================================
   Booking step cards + pickup toggle
   ========================================================================== */
.card .step-badge { position: absolute; top: -14px; inset-inline-start: 24px; width: 32px; height: 32px;
  border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800;
  font-size: 15px; color: #fff; background: var(--aurora); box-shadow: 0 6px 18px rgba(155,92,246,.4); }
.card { position: relative; }
.pickup-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .pickup-toggle { grid-template-columns: 1fr; } }
[data-pickup-only] { transition: opacity .2s; }

/* ==========================================================================
   Track: quote + payment
   ========================================================================== */
.quote-row { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line-2); }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .pay-options { grid-template-columns: 1fr; } }
.pay-card { padding: 18px 20px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line-2); }
.pay-card b { display: block; margin-bottom: 6px; }
.pay-confirm { padding: 20px; border-radius: var(--r); background: rgba(52,211,153,.06); border: 1px dashed rgba(52,211,153,.4); }
.pay-confirm .input[type=file] { padding: 10px 14px; }

/* location index emirate blocks */
.loc-emirate { margin-bottom: 30px; }
.loc-emirate + .loc-emirate { border-top: 1px solid var(--line); padding-top: 26px; }


/* ==========================================================================
   Mobile refinements
   ========================================================================== */
@media (max-width: 700px) {
  .topbar .tb-links a[href^="mailto"], .topbar .tb-links span { display: none; }
  .topbar .container { min-height: 34px; }
  .nav .container { gap: 10px; min-height: 64px; }
  .lang-switch { padding: 8px 12px; font-size: 12.5px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .section { padding: 54px 0; }
  .hero { padding: 48px 0 40px; }
  .page-hero { padding: 40px 0 30px; }
  .section-head { margin-bottom: 30px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .cta-band { padding: 40px 22px; }
  .hero-ctas .btn, .hero-ctas .btn--ghost { width: 100%; }
  .hero-ctas { width: 100%; }
  .btn { padding: 14px 26px; }
  .card { padding: 24px 20px; }
  .breadcrumbs { font-size: 12.5px; }
}

/* ==========================================================================
   Location picker (Leaflet map)
   ========================================================================== */
.loc-picker { margin: 6px 0 4px; }
.loc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.loc-map { height: 260px; width: 100%; border-radius: 14px; border: 1px solid var(--line-2); overflow: hidden; z-index: 0; }
.loc-map .leaflet-control-attribution { font-size: 10px; }
.loc-status { margin-top: 8px; }

/* utility */
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 34px; } .mt-4 { margin-top: 52px; }
.mb-2 { margin-bottom: 20px; } .center { text-align: center; }
.muted { color: var(--muted); } .small { font-size: 13.5px; }
.hidden { display: none !important; }
