/* ============================================================
   COMPLITRON — Futuristic Legal & Compliance for iGaming
   ============================================================ */

:root {
  --bg: #04061a;
  --bg-2: #080d2b;
  --bg-3: #0d1440;
  --cyan: #00e5ff;
  --cyan-soft: rgba(0, 229, 255, 0.12);
  --violet: #8b5cf6;
  --magenta: #c084fc;
  --text: #e8ecf8;
  --text-dim: #9aa3c0;
  --card: rgba(13, 20, 64, 0.45);
  --card-border: rgba(0, 229, 255, 0.16);
  --grad: linear-gradient(120deg, #00e5ff 0%, #8b5cf6 55%, #c084fc 100%);
  --radius: 18px;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: rgba(0, 229, 255, 0.35); color: #fff; }

/* ---------- ambient background ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  z-index: -2;
  opacity: 0.5;
  animation: drift 22s ease-in-out infinite alternate;
  pointer-events: none;
}
.orb-1 { width: 480px; height: 480px; background: rgba(0, 229, 255, 0.16); top: -140px; left: -120px; }
.orb-2 { width: 520px; height: 520px; background: rgba(139, 92, 246, 0.18); top: 30%; right: -180px; animation-delay: -8s; }
.orb-3 { width: 420px; height: 420px; background: rgba(192, 132, 252, 0.12); bottom: -160px; left: 30%; animation-delay: -15s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.12); }
}

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.25; letter-spacing: 0.5px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 8px 18px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 100px;
  background: rgba(0, 229, 255, 0.06);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 18px; }
.section-sub { color: var(--text-dim); max-width: 720px; margin: 0 auto; }

/* ---------- layout ---------- */
.container { width: min(1200px, 92%); margin: 0 auto; }
section { padding: 96px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 60px; }

/* ---------- header ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(4, 6, 26, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(0, 229, 255, 0.14);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}
.nav-wrap {
  width: min(1280px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: #04061a;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.45);
}
.logo span em { font-style: normal; color: var(--cyan); }

nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
nav a.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 10px;
  transition: color 0.25s, background 0.25s;
  position: relative;
}
nav a.nav-link:hover, nav a.nav-link.active { color: #fff; background: rgba(0, 229, 255, 0.08); }

/* dropdown */
.has-drop { position: relative; }
.drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  background: rgba(8, 13, 43, 0.97);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(139, 92, 246, 0.12);
  backdrop-filter: blur(20px);
  display: block;
}
/* Desktop-only hover reveal — never applies on touch devices or small screens,
   where the submenu is toggled via the .open class instead */
@media (hover: hover) and (min-width: 1025px) {
  .has-drop:hover .drop-menu, .has-drop:focus-within .drop-menu {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}
.drop-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  border-radius: 9px;
  transition: all 0.2s;
}
.drop-menu a:hover { color: var(--cyan); background: rgba(0, 229, 255, 0.07); }
@media (hover: hover) and (min-width: 1025px) {
  .drop-menu a:hover { padding-left: 18px; }
}

/* Touch devices: neutralise sticky hover transforms (tap = persistent :hover) */
@media (hover: none) {
  .card:hover, .price-card:hover, .contact-card:hover, .btn:hover { transform: none; }
  .split .img-frame:hover img { transform: none; }
  .step:hover { transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: #04061a;
  background: var(--grad);
  padding: 15px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.35);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 0 46px rgba(139, 92, 246, 0.55); }
.btn-ghost {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.45);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(0, 229, 255, 0.08); box-shadow: 0 0 30px rgba(0, 229, 255, 0.25); }
.btn-sm { padding: 11px 24px; font-size: 0.72rem; }

.nav-close { display: none; }

.burger {
  display: none;
  background: none;
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--cyan); transition: 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  position: relative;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(4, 6, 26, 0.96) 20%, rgba(4, 6, 26, 0.55) 60%, rgba(4, 6, 26, 0.35) 100%),
              linear-gradient(to top, var(--bg) 2%, transparent 40%);
}
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); margin-bottom: 24px; max-width: 760px; }
.hero p.lead { font-size: 1.13rem; color: var(--text-dim); max-width: 600px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 56px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 10px 18px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 100px;
  background: rgba(13, 20, 64, 0.5);
  backdrop-filter: blur(8px);
}
.hero-badge svg { flex-shrink: 0; }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -10px;
}
.stat {
  text-align: center;
  padding: 34px 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
}
.stat .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .lbl { font-size: 0.85rem; color: var(--text-dim); margin-top: 6px; }

/* ---------- cards / services grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 30px;
  backdrop-filter: blur(14px);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 255, 0.08);
}
.card:hover::before { opacity: 1; }

.card .icon {
  width: 58px; height: 58px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.1);
}
.card h3 { font-size: 1.08rem; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.93rem; flex: 1; }
.card .more {
  margin-top: 20px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s;
}
.card .more:hover { gap: 14px; }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative;
  padding: 40px 26px 32px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
}
.step .step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1rem; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- pricing ---------- */
.price-card {
  position: relative;
  border-radius: 22px;
  padding: 44px 36px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s, box-shadow 0.35s;
}
.price-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.price-card.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.22);
}
.price-tag {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: var(--grad);
  color: #04061a;
  font-weight: 800;
  padding: 7px 20px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.price-card .price-desc { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 26px; }
.price-card ul { list-style: none; margin-bottom: 32px; flex: 1; }
.price-card ul li {
  padding: 9px 0 9px 30px;
  position: relative;
  color: var(--text-dim);
  font-size: 0.92rem;
  border-bottom: 1px dashed rgba(154, 163, 192, 0.14);
}
.price-card ul li::before {
  content: '▸';
  position: absolute;
  left: 4px;
  color: var(--cyan);
}

.pay-methods {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 56px;
}
.pay-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border-radius: 100px;
  border: 1px solid var(--card-border);
  background: var(--card);
  font-weight: 600;
  font-size: 0.95rem;
}
.pay-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--cyan); }

/* ---------- split / image blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split .img-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(139, 92, 246, 0.12);
}
.split .img-frame img { width: 100%; display: block; transition: transform 0.6s; }
.split .img-frame:hover img { transform: scale(1.04); }
.split h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 18px; }
.split p { color: var(--text-dim); margin-bottom: 16px; }

.check-list { list-style: none; margin: 22px 0 30px; }
.check-list li {
  padding: 8px 0 8px 34px;
  position: relative;
  color: var(--text-dim);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 8px;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(0,229,255,0.2), rgba(139,92,246,0.2));
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--cyan);
  font-size: 0.75rem;
  display: grid;
  place-items: center;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 26px;
  padding: 70px 40px;
  text-align: center;
  background:
    linear-gradient(rgba(8, 13, 43, 0.88), rgba(8, 13, 43, 0.92)),
    var(--grad);
  border: 1px solid rgba(0, 229, 255, 0.3);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: 16px; }
.cta-band p { color: var(--text-dim); max-width: 620px; margin: 0 auto 34px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  background: rgba(4, 6, 26, 0.85);
  padding: 70px 0 34px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 50px;
}
.footer-grid h4 {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--cyan); }
.footer-about p { color: var(--text-dim); font-size: 0.9rem; margin-top: 14px; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(154, 163, 192, 0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-dim);
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--text-dim); text-decoration: none; }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- inner pages ---------- */
.page-hero {
  padding: 190px 0 90px;
  text-align: center;
  position: relative;
}
.page-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); margin-bottom: 20px; }
.page-hero p { color: var(--text-dim); max-width: 760px; margin: 0 auto; font-size: 1.05rem; }

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 26px;
  display: inline-flex;
  gap: 10px;
}
.breadcrumb a { color: var(--cyan); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.doc-content { max-width: 860px; margin: 0 auto; }
.doc-content h2 { font-size: 1.35rem; margin: 46px 0 16px; color: var(--cyan); }
.doc-content h3 { font-size: 1.05rem; margin: 28px 0 10px; }
.doc-content p, .doc-content li { color: var(--text-dim); font-size: 0.97rem; }
.doc-content ul, .doc-content ol { padding-left: 24px; margin: 14px 0; }
.doc-content li { margin-bottom: 8px; }
.doc-content strong { color: var(--text); }
.doc-content a { color: var(--cyan); }

.service-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 50px;
  align-items: start;
}
.service-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.side-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(12px);
}
.side-box h3 { font-size: 0.95rem; margin-bottom: 16px; color: var(--cyan); letter-spacing: 1px; }
.side-box ul { list-style: none; }
.side-box ul li { margin-bottom: 4px; }
.side-box ul a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}
.side-box ul a:hover, .side-box ul a.active { color: var(--cyan); background: rgba(0, 229, 255, 0.07); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.tag {
  font-size: 0.8rem;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.08);
  color: var(--text-dim);
}

.service-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.22);
  margin: 34px 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.service-img img { width: 100%; display: block; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  margin-bottom: 22px;
  transition: transform 0.3s, border-color 0.3s;
  text-decoration: none;
  color: var(--text);
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, 0.4); }
.contact-card .icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: grid;
  place-items: center;
}
.contact-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-card p { color: var(--text-dim); font-size: 0.9rem; }

.form-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 40px;
  backdrop-filter: blur(14px);
}
.form-box h2 { font-size: 1.3rem; margin-bottom: 8px; }
.form-box > p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-weight: 600;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(4, 6, 26, 0.6);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select option { background: var(--bg-2); }

/* ---------- faq ---------- */
.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  margin-bottom: 14px;
  background: var(--card);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 26px;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 1.3rem;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--cyan); }
.faq-item .faq-body { padding: 0 26px 22px; color: var(--text-dim); font-size: 0.93rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }

  /* mobile/tablet navigation */
  .burger { display: flex; position: relative; z-index: 210; }
  nav#main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(360px, 85vw);
    height: 100vh;
    background: rgba(6, 9, 32, 0.98);
    backdrop-filter: blur(24px);
    border-left: 1px solid rgba(0, 229, 255, 0.18);
    transition: right 0.4s ease;
    padding: 110px 30px 40px;
    overflow-y: auto;
    z-index: 205;
  }
  /* when the panel is open, hide the header burger - the in-panel X takes over */
  .burger.open { opacity: 0; pointer-events: none; transition: opacity 0.25s; }
  /* explicit close button inside the panel */
  .nav-close {
    display: flex;
    position: absolute;
    top: 22px;
    right: 26px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.25s, box-shadow 0.25s;
  }
  .nav-close:hover { background: rgba(0, 229, 255, 0.18); box-shadow: 0 0 20px rgba(0, 229, 255, 0.3); }
  /* dimmed backdrop behind the open menu - tap anywhere outside to close */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 3, 14, 0.6);
    z-index: 99; /* below header (100), so the nav panel stays clickable above it */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  nav#main-nav.open { right: 0; }
  nav#main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  nav#main-nav a.nav-link { display: block; padding: 13px 16px; font-size: 1rem; }
  .has-drop > a.nav-link { display: flex !important; justify-content: space-between; align-items: center; }
  .has-drop > a.nav-link .chev { transition: transform 0.3s; display: inline-block; margin-left: 8px; }
  .has-drop.open > a.nav-link .chev { transform: rotate(180deg); }
  .has-drop .drop-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 14px;
    min-width: 0;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .has-drop.open .drop-menu { display: block; }
  .drop-menu a:hover { padding-left: 14px; }
  nav .btn { display: none; }
}

@media (min-width: 1025px) {
  .nav-wrap .btn { white-space: nowrap; }
}

@media (max-width: 768px) {
  section { padding: 68px 0; }
  .grid-3, .grid-2, .steps, .stats, .split, .contact-grid { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .split.reverse .img-frame { order: -1; }
  .hero { padding-top: 130px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .form-box { padding: 28px 22px; }
  .cta-band { padding: 50px 24px; }
}
