/* =====================================================================
   VATLOOP — Tax & VAT Services Platform
   Design System  |  Palette derived from brand logo (interlocking loop)
   Fonts: IBM Plex Sans Arabic (AR) / IBM Plex Sans (EN) · Arial for digits
   ===================================================================== */

/* ---------- Arial-only-for-digits font shim ---------- */
@font-face {
  font-family: "NumArial";
  src: local("Arial"), local("Arial Regular"), local("Helvetica");
  font-weight: 100 900;
  /* digits, common numeric punctuation, currency, percent, plus/minus, colon, slash */
  unicode-range: U+0030-0039, U+002C, U+002E, U+0025, U+002B, U+002D, U+003A, U+002F, U+0028, U+0029, U+00D7;
}

/* ===================== Design Tokens ===================== */
:root {
  /* Brand — extracted from logo */
  --brand:           #1E6FB8;   /* primary loop blue */
  --brand-600:       #1A63A4;
  --brand-700:       #155488;
  --brand-800:       #114673;
  --navy:            #0D2E4F;   /* deep navy (dark surfaces / headings) */
  --navy-900:        #0A2440;
  --accent:          #4FC3F7;   /* cyan loop accent */
  --accent-2:        #5AB9F2;
  --sky:             #7FB4DE;

  /* Neutrals (blue-tinted, from identity doc) */
  --ink:             #0D2E4F;   /* primary text */
  --ink-2:           #355A78;   /* secondary text */
  --muted:           #5F8DB4;   /* muted text */
  --muted-2:         #8FAEC6;   /* faint text / captions */
  --line:            #E3EDF6;   /* hairline borders */
  --line-2:          #D8E6F2;
  --surface:         #FFFFFF;
  --surface-2:       #F2F7FB;   /* very light tinted bg */
  --surface-3:       #E9F2FA;
  --white:           #FFFFFF;

  /* Status */
  --ok:              #1F9D6B;
  --ok-bg:           #E6F6EF;
  --warn:            #B8851A;
  --danger:         #C2453C;

  /* Gradients */
  --grad-brand:  linear-gradient(135deg, #1E6FB8 0%, #155488 60%, #0D2E4F 100%);
  --grad-loop:   linear-gradient(120deg, #1E6FB8 0%, #4FC3F7 100%);
  --grad-soft:   linear-gradient(180deg, #F2F7FB 0%, #FFFFFF 100%);
  --grad-hero:   radial-gradient(1200px 600px at 85% -10%, rgba(79,195,247,.18), transparent 60%),
                 radial-gradient(900px 500px at 10% 110%, rgba(30,111,184,.12), transparent 55%),
                 linear-gradient(180deg, #F4F9FD 0%, #FFFFFF 100%);

  /* Typography */
  --font: "NumArial", "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, "Segoe UI", Tahoma, sans-serif;

  /* Radius & shadow */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;
  --sh-sm: 0 2px 8px rgba(13,46,79,.06);
  --sh:    0 10px 30px rgba(13,46,79,.08);
  --sh-md: 0 16px 44px rgba(13,46,79,.12);
  --sh-lg: 0 30px 70px rgba(13,46,79,.16);
  --ring:  0 0 0 4px rgba(30,111,184,.18);

  /* Layout */
  --container: 1200px;
  --gut: clamp(16px, 4vw, 28px);
  --header-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ===================== Reset / Base ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
input, textarea, select { -webkit-appearance: none; appearance: none; }
input[type=checkbox], input[type=radio] { -webkit-appearance: auto; appearance: auto; }
select { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235F8DB4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 40px; }
[dir=rtl] select { background-position: left 14px center; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.75;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
svg.ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.ic { width: 20px; height: 20px; flex: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; color: inherit; }

/* numbers helper (explicit) */
.num { font-family: var(--font); font-feature-settings: "tnum" 1; letter-spacing: .2px; }

/* Selection */
::selection { background: rgba(30,111,184,.18); color: var(--navy); }

/* Focus visibility (a11y) */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ===================== Typography ===================== */
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p  { color: var(--ink-2); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); line-height: 1.85; }

/* ===================== Layout helpers ===================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.section--tint { background: var(--surface-2); }
.section--navy { background: var(--grad-brand); color: #EaF3FB; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #C7DCEF; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
  background: var(--surface-3); padding: 7px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
.section--navy .eyebrow { color: #BFE6FB; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }

.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 14px; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ===================== Buttons ===================== */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--r-pill);
  font-weight: 700; font-size: .98rem; line-height: 1;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  box-shadow: 0 8px 20px rgba(30,111,184,.22);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30,111,184,.32); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 19px; height: 19px; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: var(--surface-3); border-color: var(--brand); box-shadow: none; }
.btn--accent { --bg: var(--accent); --fg: var(--navy); box-shadow: 0 8px 20px rgba(79,195,247,.3); }
.btn--white { background: #fff; color: var(--brand); box-shadow: var(--sh); }
.btn--white:hover { background: #fff; box-shadow: var(--sh-md); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); box-shadow: none; }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; box-shadow: none; }
.btn--block { display: flex; width: 100%; }

/* RTL/LTR arrow flip inside buttons/links */
.arrow { display: inline-flex; transition: transform .25s var(--ease); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .arrow, [dir="rtl"] .link-arrow:hover .arrow { transform: scaleX(-1) translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); }
.link-arrow .ic { width: 18px; height: 18px; }

/* ===================== Header / Nav ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--sh-sm); background: rgba(255,255,255,.95); }

/* top utility bar */
.topbar { background: var(--navy); color: #C7DCEF; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar a { color: #C7DCEF; transition: color .2s; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; opacity: .85; }
.topbar-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
@media (max-width: 760px){ .topbar { display: none; } }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { height: 38px; width: auto; }
.brand .brand-name { font-weight: 800; font-size: 1.18rem; color: var(--navy); letter-spacing: -.02em; }
.brand .brand-name b { color: var(--brand); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  position: relative; padding: 10px 14px; border-radius: var(--r-sm);
  font-weight: 600; color: var(--ink-2); font-size: .97rem;
  transition: color .2s, background .2s;
}
.nav-menu a:hover { color: var(--brand); background: var(--surface-3); }
.nav-menu a.active { color: var(--brand); }
.nav-menu a.active::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2.5px;
  background: var(--grad-loop); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2); font-weight: 700; color: var(--ink);
  background: #fff; transition: border-color .2s, color .2s, background .2s;
  font-size: .9rem;
}
.lang-toggle:hover { border-color: var(--brand); color: var(--brand); }
.lang-toggle .ic { width: 17px; height: 17px; }

/* burger */
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line-2); background:#fff; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: .3s; }
.burger span::before, .burger span::after { content:""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger.open span { background: transparent; }
.burger.open span::before { top: 0; transform: rotate(45deg); }
.burger.open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1040px){
  .nav-menu { display: none; }
  .burger { display: inline-flex; }
  .nav-actions .btn-cta-desktop { display: none; }
}

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none;
}
.mobile-menu .overlay { position: absolute; inset: 0; background: rgba(10,36,64,.5); opacity: 0; transition: opacity .3s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.mobile-menu .panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(360px, 86vw);
  background: #fff; box-shadow: var(--sh-lg); padding: 22px;
  transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
[dir="rtl"] .mobile-menu .panel { transform: translateX(-100%); }
.mobile-menu.open { visibility: visible; pointer-events: auto; }
.mobile-menu.open .overlay { opacity: 1; }
.mobile-menu.open .panel { transform: translateX(0); }
.mobile-menu .m-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mobile-menu .m-close { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.mobile-menu .m-close .ic { width: 20px; height: 20px; }
.mobile-menu a.m-link {
  padding: 14px 14px; border-radius: 12px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 12px; transition: background .2s, color .2s;
}
.mobile-menu a.m-link:hover, .mobile-menu a.m-link.active { background: var(--surface-3); color: var(--brand); }
.mobile-menu a.m-link .ic { width: 20px; height: 20px; color: var(--muted); }
.mobile-menu a.m-link.active .ic { color: var(--brand); }
.mobile-menu .m-divider { height: 1px; background: var(--line); margin: 12px 0; }
.mobile-menu .m-cta { margin-top: 8px; }

/* ===================== Hero ===================== */
.hero { position: relative; background: var(--grad-hero); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(30,111,184,.06) 1px, transparent 1px);
  background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%); opacity: .6;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; padding-block: clamp(48px, 7vw, 92px);
}
@media (max-width: 960px){ .hero-grid { grid-template-columns: 1fr; text-align: start; } }

.hero h1 { color: var(--navy); }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content:""; position:absolute; inset-inline: 0; bottom: 4px; height: 12px; z-index: -1;
  background: linear-gradient(90deg, rgba(79,195,247,.5), rgba(79,195,247,0));
  border-radius: 4px;
}
.hero .lead { margin-top: 20px; max-width: 600px; }
@media (max-width: 960px){ .hero .lead { margin-inline: 0; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.hero-trust .ti { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.hero-trust .ti .ic { width: 20px; height: 20px; color: var(--ok); }

/* hero visual card */
.hero-visual { position: relative; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); padding: 22px; position: relative; z-index: 2;
}
.hero-card .hc-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px dashed var(--line-2); margin-bottom: 16px; }
.hero-card .hc-title { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); }
.hero-card .hc-title .ic { width: 22px; height: 22px; color: var(--brand); }
.badge-live { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 700; color: var(--ok); background: var(--ok-bg); padding: 5px 11px; border-radius: var(--r-pill); }
.badge-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(31,157,107,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(31,157,107,.5);} 70%{ box-shadow: 0 0 0 8px rgba(31,157,107,0);} 100%{ box-shadow: 0 0 0 0 rgba(31,157,107,0);} }

.timeline-mini { display: flex; flex-direction: column; gap: 0; }
.tl-step { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step .tl-dot { position: relative; flex: none; width: 34px; }
.tl-step .tl-dot i {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3); color: var(--muted);
  border: 2px solid var(--line-2); position: relative; z-index: 1;
}
.tl-step .tl-dot i .ic { width: 17px; height: 17px; }
.tl-step:not(:last-child) .tl-dot::after { content:""; position:absolute; top: 34px; bottom: -4px; inset-inline-start: 16px; width: 2px; background: var(--line-2); }
.tl-step.done .tl-dot i { background: var(--brand); color: #fff; border-color: var(--brand); }
.tl-step.active .tl-dot i { background: #fff; color: var(--brand); border-color: var(--brand); box-shadow: var(--ring); }
.tl-step.done:not(:last-child) .tl-dot::after { background: var(--brand); }
.tl-step .tl-body { padding-top: 4px; }
.tl-step .tl-body strong { display: block; color: var(--navy); font-size: .98rem; }
.tl-step .tl-body span { font-size: .85rem; color: var(--muted); }

.hero-float {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-md); padding: 13px 16px;
  display: flex; align-items: center; gap: 12px;
}
.hero-float .fi { width: 40px; height: 40px; border-radius: 11px; display:flex; align-items:center; justify-content:center; background: var(--grad-loop); color:#fff; flex:none; }
.hero-float .fi .ic { width: 21px; height: 21px; }
.hero-float .ft b { display:block; color: var(--navy); font-size: 1.15rem; line-height: 1.1; }
.hero-float .ft span { font-size: .78rem; color: var(--muted); }
.hero-float.f1 { inset-block-start: -22px; inset-inline-start: -26px; }
.hero-float.f2 { inset-block-end: -24px; inset-inline-end: -22px; }
@media (max-width: 1100px){ .hero-float.f1{ inset-inline-start: -8px;} .hero-float.f2{ inset-inline-end:-6px;} }
@media (max-width: 600px){ .hero-float { display: none; } .media-frame .hero-float { display: flex; } }

/* ===================== Trust strip / partners ===================== */
.trust-strip { border-block: 1px solid var(--line); background: #fff; }
.trust-strip .container { display:flex; align-items:center; justify-content:center; gap: clamp(20px,5vw,64px); flex-wrap: wrap; padding-block: 26px; }
.trust-strip .ts-label { color: var(--muted); font-weight: 600; font-size: .9rem; }
.trust-strip .ts-item { display:flex; align-items:center; gap:10px; color: var(--ink-2); font-weight: 700; opacity: .9; }
.trust-strip .ts-item .ic { width: 24px; height: 24px; color: var(--brand); }

/* ===================== Cards ===================== */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--line-2); }

.icon-box {
  width: 56px; height: 56px; border-radius: 16px; display:flex; align-items:center; justify-content:center;
  background: var(--surface-3); color: var(--brand); margin-bottom: 18px;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.icon-box .ic { width: 27px; height: 27px; }
.card:hover .icon-box { background: var(--grad-loop); color: #fff; transform: scale(1.05) rotate(-3deg); }

.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { font-size: .96rem; }
.service-card .card-foot { margin-top: 18px; }

/* numbered step card */
.step-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 26px; height:100%; position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.step-card .step-num {
  font-family:var(--font); font-weight: 800; font-size: 3.4rem; line-height:1;
  color: var(--surface-3); position:absolute; inset-block-start: 14px; inset-inline-end: 18px;
  transition: color .3s;
}
.step-card:hover .step-num { color: rgba(79,195,247,.35); }
.step-card .step-ic { width: 50px; height:50px; border-radius: 14px; background: var(--grad-loop); color:#fff; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.step-card .step-ic .ic { width: 24px; height: 24px; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: .93rem; }

/* feature list item (dashboard features) */
.feature-row { display:flex; gap: 16px; align-items:flex-start; padding: 18px; border-radius: var(--r); transition: background .25s; }
.feature-row:hover { background: var(--surface-2); }
.feature-row .fr-ic { flex:none; width: 46px; height:46px; border-radius: 13px; background: var(--surface-3); color: var(--brand); display:flex; align-items:center; justify-content:center; }
.feature-row .fr-ic .ic { width: 23px; height: 23px; }
.feature-row h4 { font-size: 1.04rem; color: var(--navy); margin-bottom: 4px; }
.feature-row p { font-size: .92rem; margin: 0; }

/* ===================== Stats ===================== */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px,2.5vw,28px); }
@media (max-width: 760px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat { text-align: center; padding: 20px; }
.stat .s-num { font-family:var(--font); font-weight: 800; font-size: clamp(2.2rem,5vw,3.1rem); line-height:1; background: var(--grad-loop); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--navy .stat .s-num { background: linear-gradient(120deg,#fff,#BFE6FB); -webkit-background-clip:text; background-clip:text; color: transparent; }
.stat .s-suffix { font-family:var(--font); }
.stat .s-label { margin-top: 8px; color: var(--ink-2); font-weight: 600; font-size: .96rem; }
.section--navy .stat .s-label { color: #C7DCEF; }

/* ===================== Why / split layout ===================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; } }
.split.rev .split-media { order: 2; }
@media (max-width: 900px){ .split.rev .split-media { order: 0; } }

.check-list { display: grid; gap: 14px; margin-top: 22px; }
.check-list li { display:flex; gap: 12px; align-items:flex-start; }
.check-list .ci { flex:none; width: 26px; height: 26px; border-radius: 8px; background: var(--ok-bg); color: var(--ok); display:flex; align-items:center; justify-content:center; }
.check-list .ci .ic { width: 16px; height: 16px; }
.check-list b { color: var(--navy); }
.check-list span { color: var(--ink-2); }

.media-frame {
  border-radius: var(--r-xl); overflow: hidden; border:1px solid var(--line);
  background: var(--grad-brand); box-shadow: var(--sh-md); position: relative; padding: 30px;
}
.media-frame .mf-glass { background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); border-radius: var(--r-lg); padding: 22px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ===================== Packages ===================== */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2.4vw,26px); align-items: stretch; }
@media (max-width: 980px){ .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline:auto; } }
.plan {
  background:#fff; border:1.5px solid var(--line); border-radius: var(--r-xl); padding: 30px;
  display:flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  position: relative;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.plan.popular { border-color: var(--brand); box-shadow: var(--sh-md); }
.plan-tag {
  position:absolute; inset-block-start: -13px; inset-inline-start: 50%; transform: translateX(-50%);
  background: var(--grad-loop); color: var(--navy); font-weight: 800; font-size: .78rem;
  padding: 6px 16px; border-radius: var(--r-pill); white-space: nowrap; box-shadow: var(--sh);
}
[dir="rtl"] .plan-tag { transform: translateX(50%); }
.plan .plan-name { font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.plan .plan-desc { font-size: .9rem; color: var(--muted); margin-top: 6px; min-height: 40px; }
.plan .plan-price { margin: 20px 0 6px; display:flex; align-items:baseline; gap: 8px; flex-wrap: wrap; }
.plan .plan-price .amt { font-family:var(--font); font-weight: 800; font-size: 2.6rem; color: var(--brand); line-height:1; }
.plan .plan-price .cur { font-weight: 700; color: var(--ink-2); }
.plan .plan-price .per { font-size: .88rem; color: var(--muted); }
.plan .plan-note { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.plan .plan-feats { display:grid; gap: 12px; margin: 14px 0 24px; padding-top: 20px; border-top:1px solid var(--line); }
.plan .plan-feats li { display:flex; gap:10px; align-items:flex-start; font-size: .93rem; color: var(--ink-2); }
.plan .plan-feats .ci { flex:none; width:21px; height:21px; border-radius:6px; background: var(--ok-bg); color: var(--ok); display:flex; align-items:center; justify-content:center; }
.plan .plan-feats .ci .ic { width: 13px; height:13px; }
.plan .plan-feats li.off { color: var(--muted-2); }
.plan .plan-feats li.off .ci { background: var(--surface-3); color: var(--muted-2); }
.plan .plan-cta { margin-top: auto; }

/* comparison table */
.compare-wrap { overflow-x: auto; border:1px solid var(--line); border-radius: var(--r-lg); -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background:#fff; }
table.compare th, table.compare td { padding: 16px 18px; text-align: start; border-bottom: 1px solid var(--line); }
table.compare thead th { background: var(--surface-2); color: var(--navy); font-weight: 800; font-size: .95rem; }
table.compare thead th.hl { color: var(--brand); }
table.compare td.feat { font-weight: 600; color: var(--ink); }
table.compare td.ctr, table.compare th.ctr { text-align: center; }
table.compare .ic-yes { color: var(--ok); width: 20px; height: 20px; display:inline-block; }
table.compare .ic-no { color: var(--muted-2); width: 18px; height: 18px; display:inline-block; }
table.compare tbody tr:hover { background: var(--surface-2); }

/* ===================== FAQ ===================== */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background:#fff; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item.open { box-shadow: var(--sh); border-color: var(--line-2); }
.faq-q { width: 100%; display:flex; align-items:center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; color: var(--navy); text-align: start; font-size: 1.02rem; }
.faq-q .faq-ic { flex:none; width: 30px; height:30px; border-radius: 9px; background: var(--surface-3); color: var(--brand); display:flex; align-items:center; justify-content:center; transition: transform .3s, background .3s, color .3s; }
.faq-q .faq-ic .ic { width: 18px; height:18px; }
.faq-item.open .faq-q .faq-ic { background: var(--brand); color:#fff; transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 22px 22px; color: var(--ink-2); }

/* ===================== Testimonials ===================== */
.testi { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 28px; height:100%; display:flex; flex-direction:column; transition: transform .3s var(--ease), box-shadow .3s; }
.testi:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.testi .quote-ic { width: 38px; height: 38px; color: var(--accent); opacity: .9; margin-bottom: 14px; }
.testi p { color: var(--ink); font-size: 1rem; line-height: 1.85; flex: 1; }
.testi .stars { display:flex; gap:3px; margin: 16px 0; color: #F4B740; }
.testi .stars .ic { width: 17px; height:17px; }
.testi .who { display:flex; align-items:center; gap: 12px; padding-top: 16px; border-top:1px solid var(--line); }
.testi .who .av { width: 46px; height:46px; border-radius: 50%; background: var(--grad-brand); color:#fff; display:flex; align-items:center; justify-content:center; font-weight: 800; }
.testi .who b { display:block; color: var(--navy); font-size: .96rem; }
.testi .who span { font-size: .84rem; color: var(--muted); }

/* ===================== CTA band ===================== */
.cta-band { position: relative; overflow: hidden; background: var(--grad-brand); border-radius: var(--r-xl); padding: clamp(34px,5vw,60px); text-align:center; color:#fff; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 80% -20%, rgba(79,195,247,.35), transparent 60%); }
.cta-band > * { position: relative; z-index:1; }
.cta-band h2 { color:#fff; }
.cta-band p { color: #C7DCEF; max-width: 620px; margin: 14px auto 0; }
.cta-band .cta-row { display:flex; gap: 14px; justify-content:center; flex-wrap: wrap; margin-top: 28px; }

/* ===================== Page hero (inner pages) ===================== */
.page-hero { background: var(--grad-hero); border-bottom: 1px solid var(--line); position: relative; overflow:hidden; }
.page-hero::before {
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(rgba(30,111,184,.05) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg,#000,transparent 80%); mask-image: linear-gradient(180deg,#000,transparent 80%);
}
.page-hero .container { position: relative; z-index:1; padding-block: clamp(40px,6vw,72px); }
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:.88rem; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--line-2); }
.breadcrumb .sep .ic { width: 14px; height:14px; }
.page-hero h1 { color: var(--navy); }
.page-hero p { margin-top: 14px; max-width: 680px; }

/* ---------- Animated hero decorations (6 variants) ---------- */
.hero-deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-deco span { position: absolute; display: block; will-change: transform, opacity; }
.hero-deco .orb { border-radius: 50%; filter: blur(58px); }
@keyframes hdF1 { 0%,100%{ transform: translate(0,0) } 50%{ transform: translate(26px,-32px) } }
@keyframes hdF2 { 0%,100%{ transform: translate(0,0) } 50%{ transform: translate(-30px,28px) } }
@keyframes hdF3 { 0%,100%{ transform: translate(0,0) scale(1) } 50%{ transform: translate(18px,22px) scale(1.08) } }
@keyframes hdSpin { to { transform: rotate(360deg) } }
@keyframes hdSpinR { to { transform: rotate(-360deg) } }
@keyframes hdPulse { 0%,100%{ transform: scale(.92); opacity:.5 } 50%{ transform: scale(1.08); opacity:.9 } }
@keyframes hdDrift { 0%,100%{ transform: translate(0,0) rotate(0) } 50%{ transform: translate(22px,-18px) rotate(18deg) } }
@keyframes hdBob { 0%,100%{ transform: translateY(0) rotate(45deg) } 50%{ transform: translateY(-24px) rotate(45deg) } }

/* v1 — services: aurora orbs + slow ring */
.hd-v1 .hd-a { width: clamp(220px,28vw,360px); aspect-ratio:1; border-radius:50%; filter:blur(60px); background:radial-gradient(circle,#4FC3F7,transparent 70%); opacity:.38; top:-70px; inset-inline-start:6%; animation:hdF1 17s ease-in-out infinite; }
.hd-v1 .hd-b { width: clamp(160px,22vw,260px); aspect-ratio:1; border-radius:50%; filter:blur(52px); background:radial-gradient(circle,#1E6FB8,transparent 70%); opacity:.26; bottom:-60px; inset-inline-start:30%; animation:hdF2 21s ease-in-out infinite; }
.hd-v1 .hd-c { width:130px; height:130px; border:1.5px solid rgba(30,111,184,.16); border-radius:50%; top:28%; inset-inline-start:18%; animation:hdSpin 44s linear infinite; }
.hd-v1 .hd-d { display:none; }

/* v2 — packages: concentric pulsing rings */
.hd-v2 .hd-a { width:300px; height:300px; border:2px solid rgba(79,195,247,.22); border-radius:50%; top:calc(50% - 150px); inset-inline-start:12%; animation:hdPulse 7s ease-in-out infinite; }
.hd-v2 .hd-b { width:200px; height:200px; border:1.5px solid rgba(30,111,184,.2); border-radius:50%; top:calc(50% - 100px); inset-inline-start:calc(12% + 50px); animation:hdPulse 7s ease-in-out infinite .9s; }
.hd-v2 .hd-c { width: clamp(200px,26vw,320px); aspect-ratio:1; border-radius:50%; filter:blur(60px); background:radial-gradient(circle,#7FB4DE,transparent 70%); opacity:.26; top:-50px; inset-inline-start:2%; animation:hdF1 19s ease-in-out infinite; }
.hd-v2 .hd-d { display:none; }

/* v3 — platform: orb + rotating square + small orb */
.hd-v3 .hd-a { width: clamp(200px,26vw,320px); aspect-ratio:1; border-radius:50%; filter:blur(58px); background:radial-gradient(circle,#1E6FB8,transparent 70%); opacity:.3; top:-60px; inset-inline-start:10%; animation:hdF1 18s ease-in-out infinite; }
.hd-v3 .hd-b { width:150px; height:150px; border:1.5px solid rgba(79,195,247,.25); border-radius:24px; top:32%; inset-inline-start:22%; animation:hdSpin 30s linear infinite; }
.hd-v3 .hd-c { width:90px; height:90px; border-radius:50%; filter:blur(34px); background:radial-gradient(circle,#4FC3F7,transparent 70%); opacity:.4; bottom:-20px; inset-inline-start:38%; animation:hdF3 14s ease-in-out infinite; }
.hd-v3 .hd-d { display:none; }

/* v4 — about: interlocking loop rings (brand motif) */
.hd-v4 .hd-a { width:200px; height:200px; border:2px solid rgba(30,111,184,.16); border-radius:50%; top:14%; inset-inline-start:14%; animation:hdSpin 50s linear infinite; }
.hd-v4 .hd-b { width:200px; height:200px; border:2px solid rgba(79,195,247,.2); border-radius:50%; top:14%; inset-inline-start:calc(14% + 110px); animation:hdSpinR 50s linear infinite; }
.hd-v4 .hd-c { width: clamp(180px,24vw,300px); aspect-ratio:1; border-radius:50%; filter:blur(58px); background:radial-gradient(circle,#4FC3F7,transparent 70%); opacity:.28; bottom:-70px; inset-inline-start:24%; animation:hdF2 22s ease-in-out infinite; }
.hd-v4 .hd-d { display:none; }

/* v5 — contact: orbs + floating diamond */
.hd-v5 .hd-a { width: clamp(200px,26vw,330px); aspect-ratio:1; border-radius:50%; filter:blur(58px); background:radial-gradient(circle,#4FC3F7,transparent 70%); opacity:.34; top:-60px; inset-inline-start:8%; animation:hdF1 16s ease-in-out infinite; }
.hd-v5 .hd-b { width:96px; height:96px; border:1.5px solid rgba(30,111,184,.2); border-radius:18px; top:34%; inset-inline-start:26%; animation:hdBob 9s ease-in-out infinite; }
.hd-v5 .hd-c { width: clamp(150px,20vw,240px); aspect-ratio:1; border-radius:50%; filter:blur(50px); background:radial-gradient(circle,#1E6FB8,transparent 70%); opacity:.24; bottom:-50px; inset-inline-start:34%; animation:hdF2 20s ease-in-out infinite; }
.hd-v5 .hd-d { width:120px; height:120px; border:1.5px solid rgba(127,180,222,.22); border-radius:50%; top:20%; inset-inline-start:4%; animation:hdSpin 38s linear infinite; }

/* v6 — blog / knowledge: drifting orbs + ring + square */
.hd-v6 .hd-a { width: clamp(220px,28vw,350px); aspect-ratio:1; border-radius:50%; filter:blur(60px); background:radial-gradient(circle,#7FB4DE,transparent 70%); opacity:.3; top:-70px; inset-inline-start:16%; animation:hdF3 18s ease-in-out infinite; }
.hd-v6 .hd-b { width:140px; height:140px; border:1.5px solid rgba(79,195,247,.22); border-radius:50%; top:30%; inset-inline-start:8%; animation:hdSpin 42s linear infinite; }
.hd-v6 .hd-c { width:110px; height:110px; border-radius:50%; filter:blur(40px); background:radial-gradient(circle,#4FC3F7,transparent 70%); opacity:.36; bottom:-30px; inset-inline-start:36%; animation:hdF2 15s ease-in-out infinite; }
.hd-v6 .hd-d { width:70px; height:70px; border:1.5px solid rgba(30,111,184,.18); border-radius:16px; top:50%; inset-inline-start:46%; animation:hdDrift 13s ease-in-out infinite; }

@media (max-width: 640px){ .hero-deco .hd-c, .hero-deco .hd-d { display: none; } .hero-deco .orb, .hd-v1 .hd-a, .hd-v2 .hd-c, .hd-v3 .hd-a, .hd-v4 .hd-c, .hd-v5 .hd-a, .hd-v6 .hd-a { filter: blur(42px); } }
@media (prefers-reduced-motion: reduce){ .hero-deco span { animation: none !important; } }

/* ===================== Contact ===================== */
.contact-grid { display:grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px,3.5vw,44px); align-items: start; }
@media (max-width: 920px){ .contact-grid { grid-template-columns: 1fr; } }
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px,3vw,38px); box-shadow: var(--sh); }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: 8px; }
.field label .req { color: var(--danger); }
.field .control {
  width:100%; padding: 13px 16px; border:1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--surface-2); transition: border-color .2s, background .2s, box-shadow .2s; color: var(--ink);
}
.field textarea.control { min-height: 130px; resize: vertical; }
.field .control:focus { outline:none; border-color: var(--brand); background:#fff; box-shadow: var(--ring); }
.field .control::placeholder { color: var(--muted-2); }
.field .err { display:none; color: var(--danger); font-size: .82rem; margin-top: 6px; }
.field.invalid .control { border-color: var(--danger); background: #FDF3F2; }
.field.invalid .err { display: block; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.form-success { display:none; align-items:center; gap: 12px; background: var(--ok-bg); color: #14744f; border:1px solid #BCE6D3; border-radius: var(--r); padding: 16px; margin-bottom: 18px; font-weight: 600; }
.form-success.show { display: flex; }
.form-success .ic { width: 24px; height:24px; flex:none; }
/* honeypot — sr-only without causing horizontal overflow (no left:-9999px in RTL) */
.hp { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); clip-path: inset(50%); white-space:nowrap; border:0; }

.info-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.info-list { display:grid; gap: 6px; }
.info-list .ci-row { display:flex; gap: 14px; align-items:flex-start; padding: 14px; border-radius: var(--r); transition: background .2s; }
.info-list .ci-row:hover { background: var(--surface-2); }
.info-list .ci-row .ic-w { flex:none; width: 46px; height:46px; border-radius: 13px; background: var(--surface-3); color: var(--brand); display:flex; align-items:center; justify-content:center; }
.info-list .ci-row .ic-w .ic { width: 22px; height:22px; }
.info-list .ci-row b { display:block; color: var(--navy); font-size: .9rem; margin-bottom: 3px; }
.info-list .ci-row a, .info-list .ci-row span { color: var(--ink-2); font-size: .95rem; word-break: break-word; }
.info-list .ci-row a:hover { color: var(--brand); }

.map-frame { border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; height: 300px; background: var(--surface-2); }
.map-frame iframe { width:100%; height:100%; border:0; }

/* social row */
.social-row { display:flex; gap: 10px; flex-wrap: wrap; }
.social-row a { width: 44px; height:44px; border-radius: 12px; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color: var(--ink-2); background:#fff; transition: all .25s var(--ease); }
.social-row a:hover { background: var(--brand); color:#fff; border-color: var(--brand); transform: translateY(-3px); }
.social-row a .ic { width: 20px; height:20px; }

/* ===================== Legal / prose ===================== */
.prose { max-width: 860px; }
.prose h2 { font-size: 1.5rem; margin: 34px 0 14px; }
.prose h3 { font-size: 1.18rem; margin: 24px 0 10px; color: var(--brand-700); }
.prose p { margin-bottom: 14px; line-height: 1.9; }
.prose ul { margin: 0 0 16px; padding-inline-start: 4px; display:grid; gap: 10px; }
.prose ul li { display:flex; gap: 11px; align-items:flex-start; color: var(--ink-2); }
.prose ul li::before { content:""; flex:none; width: 8px; height:8px; margin-top:10px; border-radius: 50%; background: var(--accent); }
.prose .note-box { background: var(--surface-2); border:1px solid var(--line); border-inline-start: 4px solid var(--brand); border-radius: var(--r); padding: 18px 20px; margin: 20px 0; }
.prose .note-box.warn { border-inline-start-color: var(--warn); background: #FBF6EA; }
.prose .updated { color: var(--muted); font-size: .9rem; }
.legal-toc { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 22px; position: sticky; top: calc(var(--header-h) + 16px); }
.legal-toc h4 { color: var(--navy); margin-bottom: 12px; font-size: 1rem; }
.legal-toc a { display:block; padding: 8px 12px; border-radius: 9px; color: var(--ink-2); font-size: .92rem; transition: background .2s, color .2s; }
.legal-toc a:hover { background: var(--surface-3); color: var(--brand); }
.legal-layout { display:grid; grid-template-columns: 280px 1fr; gap: clamp(24px,3vw,48px); align-items: start; }
@media (max-width: 900px){ .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* ===================== Footer ===================== */
.site-footer { background: var(--navy); color: #AFC8DF; padding-block: clamp(48px,6vw,72px) 0; }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(28px,3vw,44px); }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: #8FB0CC; font-size: .94rem; max-width: 320px; }
.site-footer h5 { color:#fff; font-size: 1rem; margin-bottom: 18px; font-weight: 700; }
.footer-links { display:grid; gap: 11px; }
.footer-links a { color: #AFC8DF; font-size: .93rem; transition: color .2s, padding-inline-start .2s; display:inline-flex; align-items:center; gap:8px; }
.footer-links a:hover { color:#fff; padding-inline-start: 4px; }
.footer-contact .fc-row { display:flex; gap: 11px; align-items:flex-start; margin-bottom: 14px; font-size: .93rem; }
.footer-contact .fc-row .ic { width: 18px; height:18px; color: var(--accent); flex:none; margin-top: 3px; }
.footer-contact .fc-row a:hover { color:#fff; }
.footer-brand .ft-legal-info { margin-top: 18px; font-size: .8rem; color: #7F9CB8; line-height: 1.85; }
.footer-brand .ft-legal-info .num { color: #BFE6FB; }

/* legal links bar — horizontal above the bottom line (desktop), stacked on mobile */
.footer-legal { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px 30px; margin-top:40px; padding-top:24px; border-top:1px solid rgba(255,255,255,.1); }
.footer-legal .fl-label { color:#7F9CB8; font-size:.82rem; font-weight:800; letter-spacing:.3px; }
.footer-legal a { color:#BFE6FB; font-size:.9rem; transition:color .2s; }
.footer-legal a:hover { color:#fff; }
@media (max-width: 640px){ .footer-legal { flex-direction:column; gap:14px; margin-top:28px; text-align:center; } }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 0; padding-block: 22px; display:flex; align-items:center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: #7F9CB8; font-size: .86rem; }
.footer-bottom .credit a { color: #BFE6FB; }
.footer-bottom .credit a:hover { color:#fff; }
@media (max-width: 600px){ .footer-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 8px; } }
.footer-social { display:flex; gap: 9px; }
.footer-social a { width: 38px; height:38px; border-radius: 10px; border:1px solid rgba(255,255,255,.14); display:flex; align-items:center; justify-content:center; color:#AFC8DF; transition: all .25s; }
.footer-social a:hover { background: var(--brand); color:#fff; border-color: var(--brand); }
.footer-social a .ic { width: 18px; height:18px; }

/* ===================== Cookie banner ===================== */
.cookie {
  position: fixed; inset-block-end: 18px; inset-inline: 18px; z-index: 300; max-width: 540px; margin-inline: auto;
  background:#fff; border:1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 20px 22px; display: none; gap: 16px; align-items: center;
}
.cookie.show { display: flex; animation: cookieUp .5s var(--ease); }
@keyframes cookieUp { from { opacity:0; transform: translateY(20px);} to { opacity:1; transform: translateY(0);} }
.cookie .ck-ic { flex:none; width: 46px; height:46px; border-radius: 13px; background: var(--surface-3); color: var(--brand); display:flex; align-items:center; justify-content:center; }
.cookie .ck-ic .ic { width: 24px; height:24px; }
.cookie .ck-body { flex:1; }
.cookie .ck-body p { font-size: .9rem; margin:0; }
.cookie .ck-body a { color: var(--brand); font-weight: 700; }
.cookie .ck-actions { display:flex; gap: 10px; flex:none; }
.cookie .ck-actions .btn { padding: 10px 18px; font-size: .9rem; }
@media (max-width: 600px){ .cookie { flex-direction: column; align-items: stretch; text-align: center; } .cookie .ck-actions { justify-content: center; } }

/* ===================== Scroll reveal ===================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"]{ transition-delay: .08s; }
[data-reveal][data-delay="2"]{ transition-delay: .16s; }
[data-reveal][data-delay="3"]{ transition-delay: .24s; }
[data-reveal][data-delay="4"]{ transition-delay: .32s; }
[data-reveal][data-delay="5"]{ transition-delay: .40s; }

/* loop spinner (preloader) */
.preloader { position: fixed; inset:0; z-index: 9999; background:#fff; display:flex; align-items:center; justify-content:center; transition: opacity .5s, visibility .5s; }
.preloader.hide { opacity:0; visibility:hidden; }
.loop-spin { width: 56px; height: 56px; position: relative; }
.loop-spin svg { width:100%; height:100%; animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg);} }

/* utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.hide-rtl { } .hide-ltr { }
[dir="rtl"] .only-ltr { display:none !important; }
[dir="ltr"] .only-rtl { display:none !important; }
.nowrap { white-space: nowrap; }
.dir-num { unicode-bidi: plaintext; }

/* keep latin phone/email LTR even in RTL */
.ltr { direction: ltr; unicode-bidi: embed; display:inline-block; }

/* ===================== iOS / mobile foundations ===================== */
@supports (padding:max(0px)){
  /* keep the cookie bar above the iPhone home indicator */
  .cookie { inset-block-end: max(18px, env(safe-area-inset-bottom)); }
  /* respect the notch inside the mobile navigation drawer */
  .mobile-menu .panel {
    padding-top: max(22px, env(safe-area-inset-top));
    padding-bottom: max(22px, env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }
}
