:root {
  /* هوية BarmajTech — أزرق ملكي + سماوي إلكتروني (حسب اللوغو) */
  --bg-deep: #050a14;
  --bg: #07131f;
  --bg-elev: #0a1a2e;
  --bg-card: rgba(8, 28, 52, 0.58);
  --text: #ffffff;
  --text-soft: #e0eaf4;
  --muted: #8b9eb8;
  --royal: #0056ff;
  --cyan: #00e5ff;
  --cyan-dim: #0080c8;
  /* أسماء قديمة → تُحمَّل بنفس ألوان الهوية لتقليل تغييرات لاحقة */
  --gold: #00cfff;
  --gold-bright: #5eefff;
  --gold-dim: #0048cc;
  --violet: #4da3ff;
  --violet-dim: #0056ff;
  --line: rgba(0, 229, 255, 0.12);
  --line-strong: rgba(0, 229, 255, 0.32);
  --glow-cyan: rgba(0, 229, 255, 0.35);
  --glow-royal: rgba(0, 86, 255, 0.28);
  --font-display: "Tajawal", system-ui, sans-serif;
  --font-body: "Tajawal", system-ui, sans-serif;
  --font-latin: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 28px 80px rgba(0, 10, 30, 0.65);
  --header-h: 4.65rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  background: linear-gradient(90deg, var(--royal), var(--cyan-dim), var(--cyan), var(--gold-bright));
  box-shadow: 0 0 24px var(--glow-cyan);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
}

.mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -25%, rgba(0, 86, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 65% 50% at 95% 35%, rgba(0, 229, 255, 0.1), transparent 48%),
    radial-gradient(ellipse 55% 45% at 5% 75%, rgba(0, 72, 200, 0.12), transparent 52%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 42%, #040810 100%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.grid-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(90deg, rgba(0, 229, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(0, 86, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, black 18%, transparent 72%);
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1140px, 92vw);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 10, 20, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 14, 28, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 48px rgba(0, 30, 60, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}

.logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: 100% 50%;
  filter: drop-shadow(0 0 14px var(--glow-cyan)) drop-shadow(0 4px 24px var(--glow-royal));
  transition: filter 0.3s ease, transform 0.25s ease;
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 22px rgba(0, 229, 255, 0.45)) drop-shadow(0 6px 28px rgba(0, 86, 255, 0.35));
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .logo-img {
    height: 38px;
  }
}

.nav {
  display: flex;
  gap: 0.35rem 1.1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.86rem;
  padding: 0.35rem 0;
  text-decoration: none !important;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.25s, transform 0.25s;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 0.45rem 1.1rem !important;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--gold-bright) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: rgba(0, 229, 255, 0.14);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: rgba(12, 12, 24, 0.85);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 1.15rem;
  margin-inline: auto;
  background: var(--gold-bright);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  color: var(--gold);
  margin: 0 0 1.25rem;
  font-weight: 600;
}

.eyebrow-line {
  width: 2.25rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.15rem);
  line-height: 1.18;
  margin: 0 0 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.grad-text {
  background: linear-gradient(100deg, var(--cyan), var(--royal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--text-soft);
  font-size: 1.06rem;
  max-width: 52ch;
  margin: 0 0 1.85rem;
  font-weight: 400;
}

.brand-inline {
  color: var(--gold-bright);
  font-weight: 600;
}

.hero-trust {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(8, 8, 20, 0.55);
}

.hero-trust-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-trust-list {
  margin: 0;
  padding: 0 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero-trust-list li {
  margin-bottom: 0.2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.65rem;
  border-radius: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn-primary {
  background: linear-gradient(145deg, var(--gold-bright), var(--royal) 45%, var(--gold-dim));
  color: #050a14;
  box-shadow: 0 4px 0 rgba(0, 72, 180, 0.55), 0 18px 48px rgba(0, 229, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(0, 60, 160, 0.5), 0 22px 56px rgba(0, 229, 255, 0.32);
}

.btn-ghost {
  background: rgba(12, 12, 24, 0.6);
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: var(--cyan-dim);
  color: var(--cyan);
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 540px;
}

@media (max-width: 600px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

.metric {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.metric-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Hero visual panel */
.hero-visual {
  position: relative;
}

.hero-glow {
  position: absolute;
  width: 120%;
  height: 70%;
  top: -10%;
  inset-inline-start: -12%;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.14), transparent 62%),
    radial-gradient(ellipse at 70% 40%, rgba(0, 86, 255, 0.14), transparent 55%);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% {
    opacity: 0.75;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.hero-panel {
  position: relative;
  z-index: 1;
  background: linear-gradient(165deg, rgba(8, 28, 52, 0.92), rgba(5, 10, 20, 0.97));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(0, 229, 255, 0.06) inset, 0 0 48px rgba(0, 86, 255, 0.12);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: -14px 0 0 var(--royal), -28px 0 0 var(--muted);
}

.panel-title {
  margin-inline-start: auto;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-body {
  padding: 1.5rem 1.35rem 1.75rem;
}

.stat-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 0.35rem;
}

.stat-bar {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.stat-bar > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--royal), var(--cyan));
  box-shadow: 0 0 16px var(--glow-cyan);
}

.stat-bar--cyan > i {
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
  box-shadow: 0 0 16px rgba(94, 228, 212, 0.25);
}

.stat-bar--gold > i {
  background: linear-gradient(90deg, var(--royal), var(--gold-bright));
  box-shadow: 0 0 16px var(--glow-royal);
}

.stat-bar--violet > i {
  background: linear-gradient(90deg, var(--violet-dim), var(--violet));
  box-shadow: 0 0 16px rgba(109, 75, 214, 0.35);
}

.panel-list {
  margin: 0;
  padding: 0 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.panel-list li {
  margin-bottom: 0.45rem;
}

.panel-list li:last-child {
  margin-bottom: 0;
}

.hero-badge {
  position: absolute;
  bottom: 1.25rem;
  inset-inline-start: 1.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: rgba(0, 86, 255, 0.12);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.08);
}

.hero-badge strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gold-bright);
}

.hero-badge span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Marquee */
.marquee-wrap {
  direction: ltr;
  border-block: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  margin-top: -1px;
}

.marquee {
  display: flex;
  gap: 2.5rem;
  padding: 0.85rem 0;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee .sep {
  color: var(--cyan-dim);
  opacity: 0.75;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 5.5rem) 0;
  position: relative;
}

.section-alt {
  background: rgba(5, 16, 32, 0.72);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-head--row {
  max-width: none;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  margin: 0 0 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nomargin {
  margin-bottom: 0 !important;
}

.section-sub {
  color: var(--text-soft);
  max-width: 58ch;
  margin: 0;
  font-size: 1.02rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}

.cards .card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.5rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.cards .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0, 229, 255, 0.08), transparent 55%);
  pointer-events: none;
}

.card--accent {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.14) inset;
}

.cards .card:hover {
  border-color: rgba(94, 228, 212, 0.32);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.card-icon {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
  opacity: 0.9;
}

.cards .card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.55rem;
  color: var(--text);
  position: relative;
}

.cards .card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  position: relative;
}

/* Bento pillars */
.section-bento {
  padding-top: clamp(3.5rem, 7vw, 4.5rem);
}

.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 720px) {
  .bento {
    grid-template-columns: 1fr;
  }
}

.bento-item {
  position: relative;
  padding: 1.5rem 1.45rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(16, 16, 32, 0.85), rgba(6, 6, 14, 0.92));
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.bento-item:hover {
  border-color: rgba(180, 163, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.bento-item--wide {
  grid-column: span 2;
}

@media (max-width: 720px) {
  .bento-item--wide {
    grid-column: span 1;
  }
}

.bento-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.12em;
  margin-bottom: 0.65rem;
}

.bento-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.bento-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Split expertise */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.checklist {
  margin: 1.75rem 0 0;
  padding: 0 1.25rem 0 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.checklist li {
  margin-bottom: 0.75rem;
  position: relative;
}

.checklist li::marker {
  color: var(--gold);
}

.glass-card {
  padding: 2rem 1.85rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(0, 86, 255, 0.1), rgba(0, 229, 255, 0.06));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft), 0 0 80px rgba(0, 229, 255, 0.06) inset;
  backdrop-filter: blur(16px);
}

.glass-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.glass-quote {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text);
  font-weight: 500;
}

.glass-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--gold-bright);
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.pill--outline {
  background: transparent;
  color: var(--cyan);
  border-color: rgba(94, 228, 212, 0.35);
}

/* Process */
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.35rem;
  max-width: 760px;
}

.process li {
  display: flex;
  gap: 1.35rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(12, 12, 24, 0.5);
}

.process .step {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--cyan), var(--royal));
  color: #050a14;
  font-weight: 800;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px var(--glow-cyan);
}

.process strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.02rem;
}

.process p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tags span {
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--text-soft);
  background: rgba(8, 8, 18, 0.5);
  transition: border-color 0.25s, color 0.25s;
}

.tags span:hover {
  border-color: rgba(94, 228, 212, 0.4);
  color: var(--cyan);
}

/* FAQ */
.faq {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 12, 24, 0.55);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  position: relative;
  padding-inline-end: 2.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background: rgba(0, 229, 255, 0.06);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cta-section {
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background:
    linear-gradient(135deg, rgba(0, 86, 255, 0.14), transparent 48%),
    linear-gradient(225deg, rgba(0, 229, 255, 0.1), transparent 42%),
    rgba(5, 12, 24, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-soft), 0 0 60px rgba(0, 86, 255, 0.08);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
}

.hint {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 3rem;
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 2rem 1.5rem;
  align-items: start;
}

.footer-grid .footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-body);
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: 100% 50%;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.2));
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  max-width: 32ch;
  line-height: 1.65;
}

.nomargin-top {
  margin-top: 0 !important;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 0.92rem;
  text-decoration: none !important;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-col-title {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.latin-mark {
  font-family: var(--font-latin);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.small {
  font-size: 0.9rem;
}

.muted {
  color: var(--muted);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Mobile nav */
  @media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 4vw 1.25rem;
    background: rgba(5, 14, 28, 0.98);
    border-bottom: 1px solid var(--line);
    gap: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav a:last-child {
    border-bottom: none;
    margin-top: 0.5rem;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Focus & accessibility */
.btn:focus-visible,
.logo:focus-visible,
.nav a:focus-visible,
.faq-item summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .scroll-progress {
    display: none;
  }
}
