/* ==========================================================================
   07Tech — Design System
   Brand: Deep navy foundation, gold accents, restrained glass effects.
   Brand colors ONLY: #F4C304 (gold), #F8F8F8 (off-white), #000711 (navy)
   plus derived shades. No unrelated bright colors.
   ========================================================================== */

/* ---------- Fonts ----------
   Rabar fonts: place licensed .woff2 files in /fonts/ (see README §Fonts).
   The @font-face declarations below activate automatically when present.
   English falls back to Inter; Arabic/Kurdish fall back to Noto Sans Arabic. */
@font-face {
  font-family: 'Rabar 37';
  src: url('../fonts/Rabar_037.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rabar 38';
  src: url('../fonts/Rabar_038.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette */
  --gold: #F4C304;
  --gold-soft: #d9ab04;
  --gold-pale: #fae28a;
  --ink: #F8F8F8;
  --ink-muted: rgba(248, 248, 248, 0.68);
  --ink-faint: rgba(248, 248, 248, 0.45);
  --navy: #000711;
  --navy-1: #020c18;
  --navy-2: #051322;
  --navy-3: #0a1c30;
  --line: rgba(248, 248, 248, 0.10);
  --line-gold: rgba(244, 195, 4, 0.28);
  --glass: rgba(5, 19, 34, 0.55);
  --gold-glow: rgba(244, 195, 4, 0.12);

  /* Type */
  --font-body: 'Rabar 37', 'Noto Sans Arabic', 'Inter', Arial, sans-serif;
  --font-head: 'Rabar 38', 'Noto Sans Arabic', 'Inter', Arial, sans-serif;

  /* Rhythm */
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

/* LTR locales: prefer Inter for Latin rendering */
html[dir='ltr'] {
  --font-body: 'Inter', 'Rabar 37', 'Noto Sans Arabic', Arial, sans-serif;
  --font-head: 'Inter', 'Rabar 38', 'Noto Sans Arabic', Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100dvh;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul[role='list'], ol[role='list'] { list-style: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--gold);
  color: #000711;
  font-weight: 700;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
html[dir='rtl'] h1,
html[dir='rtl'] h2,
html[dir='rtl'] h3,
html[dir='rtl'] h4 { letter-spacing: 0; line-height: 1.45; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
html[dir='rtl'] .eyebrow { letter-spacing: 0.03em; }
.eyebrow::before {
  content: '';
  width: 26px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-block: 0.5rem 0.75rem; }
.section-lead { color: var(--ink-muted); max-width: 46rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-gold {
  background: var(--gold);
  color: #000711;
  box-shadow: 0 6px 22px -8px var(--gold-glow), 0 2px 10px rgba(0,0,0,0.35);
}
.btn-gold:hover { background: var(--gold-pale); transform: translateY(-2px); }
.btn-outline {
  border-color: var(--line-gold);
  color: var(--gold);
  background: rgba(244, 195, 4, 0.04);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(244, 195, 4, 0.10); transform: translateY(-2px); }
.btn-ghost { color: var(--ink-muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: rgba(248,248,248,0.3); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(0, 7, 17, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.8);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; width: 148px; height: auto; aspect-ratio: 578 / 378; object-fit: contain; }
.hero-logo-badge { display: inline-flex; align-items: center; }
.hero-logo-badge img { display: block; width: 132px; height: auto; aspect-ratio: 578 / 378; object-fit: contain; }
.footer-brand img { display: block; width: 132px; height: auto; aspect-ratio: 578 / 378; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 0.25rem; margin-inline-start: auto; }
.main-nav a {
  position: relative;
  padding: 0.55rem 0.8rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s;
  white-space: nowrap;
}
.main-nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0.8rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current='page'] { color: var(--gold); }
.main-nav a[aria-current='page']::after,
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; margin-inline-start: 0.5rem; }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  direction: ltr;
  transition: color 0.2s;
}
.header-phone:hover { color: var(--gold); }
.header-phone svg { width: 16px; height: 16px; color: var(--gold); }

/* Language selector */
.lang-select { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}
.lang-btn:hover { border-color: var(--line-gold); color: var(--ink); }
.lang-btn svg { width: 15px; height: 15px; }
.lang-btn .chevron { transition: transform 0.25s var(--ease); }
.lang-select[data-open='true'] .chevron { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  min-width: 150px;
  background: var(--navy-2);
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  padding: 0.4rem;
  box-shadow: 0 18px 44px -12px rgba(0,0,0,0.7);
  display: none;
}
.lang-select[data-open='true'] .lang-menu { display: block; }
.lang-menu a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-size: 0.93rem;
  color: var(--ink-muted);
  transition: background 0.15s, color 0.15s;
}
.lang-menu a:hover { background: rgba(244,195,4,0.08); color: var(--ink); }
.lang-menu a[aria-current='true'] { color: var(--gold); background: rgba(244,195,4,0.10); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-open { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(0, 7, 17, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.site-header[data-menu-open='true'] .mobile-menu { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 0.75rem 0; }
.mobile-menu nav a {
  padding: 0.85rem 0.5rem;
  font-size: 1.05rem;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-inline-start 0.2s;
}
.mobile-menu nav a:hover { color: var(--gold); }
.mobile-menu nav a[aria-current='page'] { color: var(--gold); }
.mobile-menu .mobile-menu-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-block: 1rem;
}
.mobile-langs { display: flex; gap: 0.4rem; }
.mobile-langs a {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.mobile-langs a[aria-current='true'] { border-color: var(--gold); color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 5rem;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(58rem 34rem at 78% -10%, rgba(244, 195, 4, 0.07), transparent 62%),
    radial-gradient(44rem 30rem at 8% 108%, rgba(5, 28, 48, 0.9), transparent 65%),
    var(--navy);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(248, 248, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 248, 248, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70rem 46rem at 60% 20%, black, transparent 78%);
          mask-image: radial-gradient(70rem 46rem at 60% 20%, black, transparent 78%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); margin-block: 0.9rem 1.1rem; }
.hero .hero-lead { color: var(--ink-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-logo-badge {
  display: inline-block;
  margin-bottom: 1.4rem;
  padding: 0.5rem 0.9rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.hero-logo-badge img { width: 118px; height: auto; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 480px; height: auto; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; }
.section-alt {
  background:
    radial-gradient(50rem 30rem at 85% 0%, rgba(244, 195, 4, 0.045), transparent 60%),
    var(--navy-1);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 48rem; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Trust strip ---------- */
.trust-strip { margin-top: -2rem; position: relative; z-index: 2; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.trust-item {
  background: var(--navy-2);
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.trust-item svg { width: 30px; height: 30px; color: var(--gold); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 0.98rem; }
.trust-item span { font-size: 0.85rem; color: var(--ink-faint); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  position: relative;
  background: linear-gradient(160deg, var(--navy-2), var(--navy-1));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover, .card:focus-within {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: 0 22px 44px -22px rgba(0,0,0,0.8), 0 0 0 1px rgba(244,195,4,0.08),
              0 10px 34px -18px var(--gold-glow);
}
.card-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(244, 195, 4, 0.09);
  border: 1px solid var(--line-gold);
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 25px; height: 25px; color: var(--gold); }
.card h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.card p { color: var(--ink-muted); font-size: 0.94rem; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
}
.card .card-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
html[dir='ltr'] .card .card-link:hover svg { transform: translateX(4px); }
html[dir='rtl'] .card .card-link:hover svg { transform: translateX(-4px); }
html[dir='rtl'] .card .card-link svg,
html[dir='rtl'] .flip-rtl { transform: scaleX(-1); }
html[dir='rtl'] .card .card-link:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- Featured GSM section ---------- */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.featured-visual {
  position: relative;
  background: linear-gradient(150deg, var(--navy-3), var(--navy-1));
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.featured-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.featured-visual svg { width: 100%; height: auto; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-muted); }
.check-list svg { width: 19px; height: 19px; color: var(--gold); flex-shrink: 0; margin-top: 0.25rem; }
.note {
  margin-top: 1.4rem;
  padding: 0.9rem 1.1rem;
  border: 1px dashed var(--line-gold);
  border-radius: 12px;
  background: rgba(244, 195, 4, 0.05);
  color: var(--ink-faint);
  font-size: 0.88rem;
}

/* ---------- Applications chips grid ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.app-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.app-tile:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.app-tile svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
.app-tile strong { font-size: 1rem; font-weight: 600; }
.app-tile span { display: block; font-size: 0.83rem; color: var(--ink-faint); }

/* ---------- Why choose / process ---------- */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step {
  position: relative;
  padding: 1.6rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-2);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--gold);
  opacity: 0.9;
  margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.88rem; color: var(--ink-muted); }

/* ---------- Demo / placeholder markers ---------- */
.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border: 1px dashed var(--line-gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(244, 195, 4, 0.06);
}
.demo-tag svg { width: 12px; height: 12px; }
.demo-banner {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  margin-bottom: 2rem;
  border: 1px dashed var(--line-gold);
  border-radius: var(--radius);
  background: rgba(244, 195, 4, 0.05);
  color: var(--ink-muted);
  font-size: 0.92rem;
}
.demo-banner svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 0.15rem; }

/* ---------- Product / project cards ---------- */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 2rem;
}
.search-box {
  position: relative;
  flex: 1 1 260px;
  max-width: 420px;
}
.search-box svg {
  position: absolute;
  inset-inline-start: 0.9rem;
  top: 50%;
  translate: 0 -50%;
  width: 18px; height: 18px;
  color: var(--ink-faint);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  min-height: 48px;
  padding-inline: 2.6rem 1rem;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  transition: border-color 0.2s;
}
.search-box input::placeholder { color: var(--ink-faint); }
.search-box input:focus { outline: none; border-color: var(--gold); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 40px;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink-muted);
  transition: all 0.2s;
}
.chip:hover { border-color: var(--line-gold); color: var(--ink); }
.chip[aria-pressed='true'] { background: var(--gold); border-color: var(--gold); color: #000711; font-weight: 600; }

.product-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--navy-3), var(--navy-1));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}
.product-media svg { width: 72px; height: 72px; color: var(--gold); opacity: 0.85; }
.product-media .demo-tag { position: absolute; top: 0.8rem; inset-inline-start: 0.8rem; }
.product-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 0.78rem; color: var(--gold); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
html[dir='rtl'] .product-cat { letter-spacing: 0.02em; }
.product-body h3 { margin-block: 0.35rem 0.5rem; font-size: 1.08rem; }
.product-body h3 a:hover { color: var(--gold); }
.product-body p { font-size: 0.9rem; color: var(--ink-muted); flex: 1; }
.product-actions { display: flex; gap: 0.6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.badge {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid var(--line-gold);
  color: var(--gold);
  background: rgba(244,195,4,0.07);
}
.badge-muted { color: var(--ink-faint); border-color: var(--line); background: transparent; }

/* Product detail */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.gallery-main {
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy-3), var(--navy-1));
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-main svg { width: 120px; height: 120px; color: var(--gold); opacity: 0.9; }
.gallery-thumbs { display: flex; gap: 0.7rem; margin-top: 0.9rem; }
.gallery-thumbs button {
  width: 82px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--navy-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.gallery-thumbs button[aria-pressed='true'] { border-color: var(--gold); }
.gallery-thumbs svg { width: 26px; height: 26px; color: var(--ink-faint); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 1.2rem; }
.spec-table th, .spec-table td {
  text-align: start;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.spec-table th { color: var(--ink-faint); font-weight: 500; width: 42%; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-block: 1rem; }

/* ---------- Projects ---------- */
.project-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(24rem 16rem at 70% 20%, rgba(244, 195, 4, 0.10), transparent 60%),
    linear-gradient(150deg, var(--navy-3), var(--navy-1));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}
.project-media svg { width: 80px; height: 80px; color: var(--gold); opacity: 0.8; }
.project-media .demo-tag { position: absolute; top: 0.8rem; inset-inline-start: 0.8rem; }
.project-body { padding: 1.4rem 1.5rem 1.6rem; }
.project-body h3 { font-size: 1.1rem; margin-block: 0.3rem 0.5rem; }
.project-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 0.7rem; }
.project-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.project-meta svg { width: 14px; height: 14px; color: var(--gold); }

.case-block {
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--navy-2);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.5rem;
}
.case-block h3 { font-size: 1.15rem; margin-bottom: 0.8rem; }
.case-row { margin-bottom: 0.9rem; }
.case-row strong { color: var(--gold); font-weight: 600; display: block; font-size: 0.88rem; margin-bottom: 0.2rem; }
.case-row p { color: var(--ink-muted); font-size: 0.94rem; }

/* ---------- Service detail sections ---------- */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  padding-block: 2.6rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.service-block:last-child { border-bottom: 0; }
.service-block h2 { font-size: 1.6rem; margin-block: 0.4rem 0.8rem; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.info-list li {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.info-list strong { display: flex; align-items: center; gap: 0.5rem; color: var(--gold); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.35rem; }
html[dir='rtl'] .info-list strong { letter-spacing: 0.02em; }
.info-list strong svg { width: 16px; height: 16px; }
.info-list p { color: var(--ink-muted); font-size: 0.93rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1rem;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 195, 4, 0.12);
}
.field [aria-invalid='true'] { border-color: #e8b4b0; }
.field .error-msg { display: none; font-size: 0.82rem; color: #e8b4b0; }
.field.has-error .error-msg { display: block; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-faint) 50%), linear-gradient(135deg, var(--ink-faint) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
html[dir='rtl'] .field select { background-position: 18px 55%, 13px 55%; }
.consent-row { display: flex; gap: 0.7rem; align-items: flex-start; }
.consent-row input { width: 20px; height: 20px; margin-top: 0.2rem; accent-color: var(--gold); flex-shrink: 0; }
.consent-row label { font-size: 0.88rem; color: var(--ink-muted); }
.form-status {
  display: none;
  margin-top: 1.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  font-size: 0.92rem;
  border: 1px solid var(--line-gold);
  background: rgba(244, 195, 4, 0.07);
  color: var(--gold-pale);
}
.form-status.show { display: block; }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-card { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-card .card-icon { margin-bottom: 0.6rem; }
.contact-card a.value { color: var(--ink); font-weight: 600; direction: ltr; text-align: start; }
.contact-card a.value:hover { color: var(--gold); }
.contact-card span.hint { font-size: 0.84rem; color: var(--ink-faint); }

.map-placeholder {
  border: 1px dashed var(--line-gold);
  border-radius: var(--radius-lg);
  background: var(--navy-2);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 2rem;
  color: var(--ink-faint);
}
.map-placeholder svg { width: 44px; height: 44px; color: var(--gold); opacity: 0.7; }

/* ---------- Page hero (internal pages) ---------- */
.page-hero {
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 3.5rem;
  background:
    radial-gradient(46rem 26rem at 82% -20%, rgba(244, 195, 4, 0.06), transparent 60%),
    var(--navy-1);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: clip;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 248, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 248, 248, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60rem 34rem at 70% 0%, black, transparent 75%);
          mask-image: radial-gradient(60rem 34rem at 70% 0%, black, transparent 75%);
}
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-block: 0.6rem 0.8rem; }
.page-hero .lead { color: var(--ink-muted); max-width: 46rem; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.85rem; color: var(--ink-faint); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.3rem; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs svg { width: 13px; height: 13px; }
html[dir='rtl'] .breadcrumbs svg { transform: scaleX(-1); }
.breadcrumbs [aria-current] { color: var(--gold); }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 52rem; }
.legal-body h2 { font-size: 1.3rem; margin-block: 2rem 0.7rem; }
.legal-body p, .legal-body li { color: var(--ink-muted); font-size: 0.96rem; }
.legal-body ul { padding-inline-start: 1.3rem; margin-block: 0.6rem; display: grid; gap: 0.4rem; list-style: disc; }
.legal-updated { font-size: 0.85rem; color: var(--ink-faint); margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }

/* ---------- Final CTA band ---------- */
.cta-band {
  position: relative;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(36rem 20rem at 50% -40%, var(--gold-glow), transparent 65%),
    linear-gradient(160deg, var(--navy-3), var(--navy-1));
}
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: 0.7rem; }
.cta-band p { color: var(--ink-muted); max-width: 38rem; margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy-1);
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand img { width: 150px; height: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--ink-muted); font-size: 0.92rem; max-width: 22rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-muted);
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h2 { font-size: 0.95rem; margin-bottom: 1rem; color: var(--ink); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--ink-muted); font-size: 0.92rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink-muted); font-size: 0.92rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 0.25rem; }
.footer-contact a[href^='tel'], .footer-contact .ltr { direction: ltr; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Floating controls ---------- */
.float-wa {
  position: fixed;
  inset-inline-end: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: #000711;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.6), 0 0 0 6px rgba(244,195,4,0.12);
  transition: transform 0.25s var(--ease);
}
.float-wa:hover { transform: translateY(-3px) scale(1.04); }
.float-wa svg { width: 26px; height: 26px; }
.scroll-top {
  position: fixed;
  inset-inline-end: 1.35rem;
  bottom: 5.4rem;
  z-index: 90;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--navy-2);
  border: 1px solid var(--line-gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  transition: all 0.3s var(--ease);
}
.scroll-top.show { opacity: 1; visibility: visible; translate: 0 0; }
.scroll-top svg { width: 19px; height: 19px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-phone { display: none; }
  .main-nav a { padding: 0.55rem 0.55rem; font-size: 0.9rem; }
}
@media (max-width: 960px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-inline-start: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-visual { order: -1; }
  .hero-visual svg { max-width: 340px; }
  .featured { grid-template-columns: 1fr; gap: 2rem; }
  .split-2 { grid-template-columns: 1fr; gap: 2rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .card-grid, .app-grid, .steps, .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 3.5rem; }
  .btn { width: 100%; }
  .hero-ctas .btn, .cta-band .btn { width: auto; flex: 1 1 200px; }
  .product-actions .btn { width: auto; flex: 1; }
}
@media (min-width: 1101px) {
  .header-phone { display: inline-flex; }
}
