:root {
  --bg: #ffffff;
  --text: #0b0f1a;
  --muted: #5b6476;
  --line: rgba(16, 24, 40, 0.12);

  --header-bg: rgba(7, 7, 11, 0.88);
  --header-line: rgba(234, 179, 8, 0.42);
  --header-text: rgba(255, 255, 255, 0.90);
  --header-text-2: rgba(255, 255, 255, 0.74);

  --gold: #eab308;
  --grad: linear-gradient(135deg, #6d28d9 0%, #2563eb 60%, #06b6d4 120%);

  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.10);
  --shadow-2: 0 12px 34px rgba(0, 0, 0, 0.10);
  --container: 1160px;
}

html[data-theme="dark"] {
  --bg: #06070b;
  --text: #f3f4f6;
  --muted: rgba(243, 244, 246, 0.70);
  --line: rgba(255, 255, 255, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: #111;
  padding: 10px 12px;
  border-radius: 12px;
  z-index: 5000;
}
.skip-link:focus { left: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 10px 14px; font-size: 0.92rem; }
.btn--primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 14px 34px rgba(109, 40, 217, 0.20);
}
.btn--ghost {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
html[data-theme="light"] .btn--ghost {
  color: rgba(16, 24, 40, 0.86);
  background: rgba(255, 255, 255, 0.70);
  border-color: rgba(16, 24, 40, 0.14);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}
.btn--ghost:hover { border-color: rgba(234, 179, 8, 0.35); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 24, 40, 0.10);
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 850;
  font-size: 0.82rem;
  color: rgba(16, 24, 40, 0.82);
}
html[data-theme="dark"] .pill {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.nav-shell { padding: 14px 5%; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { height: 44px; width: auto; display: block; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--header-text);
  text-decoration: none;
  font-weight: 760;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 10px 10px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}
.nav-link:hover { background: rgba(255, 255, 255, 0.06); }
.nav-link.is-active { border-color: rgba(234, 179, 8, 0.30); background: rgba(234, 179, 8, 0.08); }
.nav-link--btn { font: inherit; }
.chev { font-size: 0.78rem; opacity: 0.9; }

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

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--header-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.icon-btn:hover { transform: translateY(-1px); border-color: rgba(234, 179, 8, 0.34); background: rgba(255, 255, 255, 0.08); }

.icon-btn--menu { border-radius: 14px; width: 46px; }
.icon-btn--menu span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 2px;
}
.icon-btn--menu span + span { margin-top: 5px; }

/* Mega menu */
.nav-item { position: relative; }
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(980px, calc(100vw - 28px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(234, 179, 8, 0.40);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(16, 24, 40, 0.06) inset;
  overflow: hidden;
  transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
}
.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) 1.35fr;
  gap: 16px;
  padding: 18px;
}
.mega-title {
  font-weight: 900;
  color: rgba(16, 24, 40, 0.90);
  font-size: 0.92rem;
  margin: 6px 0 12px;
  letter-spacing: 0.02em;
}
.mega-link {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(16, 24, 40, 0.78);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 24, 40, 0.10);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}
.mega-link:hover {
  color: rgba(16, 24, 40, 0.92);
  transform: translateY(-2px);
  border-color: rgba(109, 40, 217, 0.22);
  box-shadow: 0 18px 44px rgba(109, 40, 217, 0.12);
  background:
    radial-gradient(520px 160px at 20% 30%, rgba(109, 40, 217, 0.10), transparent 55%),
    radial-gradient(520px 160px at 80% 60%, rgba(234, 179, 8, 0.10), transparent 55%),
    rgba(255, 255, 255, 0.92);
}

.mega-preview {
  border-radius: 16px;
  border: 1px solid rgba(16, 24, 40, 0.10);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  display: grid;
  grid-template-rows: 180px 1fr;
}
.mega-preview__img img { width: 100%; height: 180px; object-fit: cover; display: block; }
.mega-preview__meta { padding: 14px 14px 16px; display: grid; gap: 8px; }
.mega-preview__kicker { font-weight: 900; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(16, 24, 40, 0.60); }
.mega-preview__title { font-weight: 950; color: rgba(16, 24, 40, 0.92); font-size: 1.06rem; }
.mega-preview__sub { color: rgba(16, 24, 40, 0.66); font-weight: 650; font-size: 0.9rem; }

/* Mobile sidebar */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.60);
  z-index: 2050;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 100%;
  height: 100%;
  z-index: 2100;
  background: rgba(10, 10, 18, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-left: 1px solid rgba(234, 179, 8, 0.34);
  box-shadow: -26px 0 70px rgba(0, 0, 0, 0.66);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: right 220ms ease;
  overscroll-behavior: contain;
}
.mobile-sidebar.is-open { right: 0; }

.mobile-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.mobile-nav { display: flex; flex-direction: column; gap: 10px; overflow: auto; padding-right: 4px; }
.mobile-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 850;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-link:hover { border-color: rgba(234, 179, 8, 0.20); background: rgba(234, 179, 8, 0.10); }

.mobile-acc {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  cursor: pointer;
}
.mobile-acc.open .chev { transform: rotate(180deg); }
.mobile-sub {
  display: grid;
  gap: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
  padding-left: 4px;
}
.mobile-sub.open { max-height: 420px; }
.mobile-sublink {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.84);
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 750;
}
.mobile-cta { margin-top: 8px; display: grid; gap: 10px; }

/* Hero (homepage) */
.hero {
  padding: 0;
  background: var(--bg);
}

/* Standalone full-width cinematic banner */
.hero--slider {
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(500px, 66vh, 690px);
  overflow: hidden;
  border-bottom-left-radius: 26px;
  border-bottom-right-radius: 26px;
}


.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: none;
  transition: opacity 520ms ease;
  will-change: opacity, transform;
}


.hero-slide.is-active { opacity: 1; }

/* Ensure images stay sharp & cover properly */
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
  transform: translateZ(0);
}

@media (max-width: 640px) {
  .hero-slider {
    height: auto;
    min-height: unset;
  }

  .hero-slides {
    position: relative;
  }

  .hero-slide {
    position: absolute;
    inset: 0;
  }

  .hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    image-rendering: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .hero__copy h1 {
    font-size: clamp(1.5rem, 7vw, 2.05rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .hero__copy p {
    font-size: 0.96rem;
    margin-bottom: 12px;
  }

  .hero__actions {
    gap: 10px;
  }
}



/* Lightweight premium animations (NO blur) */
@keyframes heroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes heroZoomIn {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}
@keyframes heroPanSlight {
  from { transform: scale(1.02) translateX(-1.8%); }
  to { transform: scale(1) translateX(0%); }
}
@keyframes heroSlideLeft {
  from { transform: translateX(2.2%); opacity: 0; }
  to { transform: translateX(0%); opacity: 1; }
}
@keyframes heroSlideRight {
  from { transform: translateX(-2.2%); opacity: 0; }
  to { transform: translateX(0%); opacity: 1; }
}

/* Apply animation based on assigned class */
.hero-slide.is-anim-fade.is-active { animation: heroFade 720ms ease both; }
.hero-slide.is-anim-zoom.is-active { animation: heroZoomIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-slide.is-anim-pan.is-active { animation: heroPanSlight 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-slide.is-anim-left.is-active { animation: heroSlideLeft 820ms ease both; }
.hero-slide.is-anim-right.is-active { animation: heroSlideRight 820ms ease both; }

/* Extra premium animations */
.hero-slide.is-anim-scaleFade.is-active { animation: heroFade 620ms ease both, heroZoomIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-slide.is-anim-floating.is-active {
  animation: heroFade 680ms ease both;
}


/* Light transparent overlay only (keeps full image clarity) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.10) 44%, rgba(255,255,255,0.06) 100%),
    radial-gradient(800px 420px at 22% 35%, rgba(109,40,217,0.10), transparent 55%),
    radial-gradient(800px 420px at 78% 40%, rgba(234,179,8,0.08), transparent 58%);
}

html[data-theme="dark"] .hero-overlay {
  background:
    linear-gradient(90deg, rgba(6,7,11,0.40) 0%, rgba(6,7,11,0.26) 44%, rgba(6,7,11,0.18) 100%),
    radial-gradient(800px 420px at 22% 35%, rgba(109,40,217,0.22), transparent 55%),
    radial-gradient(800px 420px at 78% 40%, rgba(234,179,8,0.16), transparent 58%);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(16, 24, 40, 0.12);
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  z-index: 3;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  color: rgba(16,24,40,0.80);
}
html[data-theme="dark"] .hero-arrow { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.84); }
.hero-arrow:hover { border-color: rgba(234,179,8,0.38); }
.hero-arrow--prev { left: 14px; }
.hero-arrow--next { right: 14px; }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(16,24,40,0.18);
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
html[data-theme="dark"] .hero-dot { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.10); }
.hero-dot.is-active { background: rgba(109,40,217,0.85); border-color: rgba(109,40,217,0.30); transform: scale(1.15); }

@media (max-width: 980px) {
  .hero-slider { border-radius: 0; }
  .hero-arrow { display: none; }
  .hero-overlay { background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.62)); }
  html[data-theme="dark"] .hero-overlay { background: linear-gradient(180deg, rgba(6,7,11,0.82), rgba(6,7,11,0.58)); }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy h1 { margin-top: 10px; }
}


.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero__copy h1 {
  margin: 14px 0 10px;
  font-size: clamp(2.2rem, 4.2vw, 3.55rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero__copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 58ch;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 18px; }
.hero__trust { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-item {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.70);
  box-shadow: var(--shadow-2);
  font-weight: 850;
  color: rgba(16, 24, 40, 0.84);
}
html[data-theme="dark"] .trust-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.hero__media { display: none; }


/* Services */
.section {
  padding: 82px 0;
  background: linear-gradient(180deg, rgba(109,40,217,0.03), transparent 40%);
}

.section-head { display: grid; gap: 6px; margin-bottom: 22px; }
.section-head h2 { margin: 0; font-size: clamp(1.55rem, 2.6vw, 2.05rem); letter-spacing: -0.02em; }
.section-head p { margin: 0; color: var(--muted); font-weight: 650; max-width: 70ch; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid rgba(16, 24, 40, 0.10);
  background:
    radial-gradient(700px 220px at 20% 0%, rgba(109,40,217,0.10), transparent 48%),
    radial-gradient(640px 220px at 80% 10%, rgba(6,182,212,0.08), transparent 52%),
    rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

html[data-theme="dark"] .card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.card:hover { transform: translateY(-3px); border-color: rgba(234, 179, 8, 0.34); box-shadow: 0 26px 66px rgba(0, 0, 0, 0.12); }
.card__img img { width: 100%; height: 190px; object-fit: cover; display: block; }
.card__body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.card__body h3 { margin: 0; font-size: 1.08rem; letter-spacing: -0.01em; }
.card__body p { margin: 0; color: var(--muted); font-weight: 650; }
.card__more { margin-top: 2px; font-weight: 950; color: rgba(16, 24, 40, 0.86); }
html[data-theme="dark"] .card__more { color: rgba(255, 255, 255, 0.86); }

/* Responsive */
@media (max-width: 980px) {
  .nav-menu { display: none; }
  .btn--sm { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { min-height: 360px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .nav-shell { padding: 12px 4%; }
  .hero-card--sm { position: static; width: 100%; margin-top: 14px; }
  .cards { grid-template-columns: 1fr; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-preview { display: none; }
}

/* Page hero + rich content */
.page-hero {
  padding: 54px 0 34px;
  background:
    radial-gradient(820px 320px at 20% 10%, rgba(109, 40, 217, 0.10), transparent 55%),
    radial-gradient(740px 300px at 80% 20%, rgba(37, 99, 235, 0.09), transparent 55%),
    radial-gradient(700px 280px at 60% 90%, rgba(234, 179, 8, 0.07), transparent 55%),
    var(--bg);
  border-bottom: 1px solid rgba(16, 24, 40, 0.06);
}
html[data-theme="dark"] .page-hero { border-bottom-color: rgba(255, 255, 255, 0.08); }
.page-hero h1 {
  margin: 10px 0 8px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.page-hero p { margin: 0; color: var(--muted); font-weight: 650; max-width: 70ch; }

.content { padding: 46px 0 82px; }
.prose {
  border: 1px solid rgba(16, 24, 40, 0.10);
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 22px;
}
html[data-theme="dark"] .prose { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.prose h2 { margin: 22px 0 10px; font-size: 1.25rem; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 12px; color: var(--muted); font-weight: 600; }
.prose ul { margin: 10px 0 14px 18px; color: var(--muted); font-weight: 650; }
.prose li { margin: 6px 0; }
.prose .note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(234, 179, 8, 0.26);
  background: rgba(234, 179, 8, 0.08);
  color: rgba(16, 24, 40, 0.86);
  font-weight: 750;
}
html[data-theme="dark"] .prose .note { color: rgba(255,255,255,0.86); background: rgba(234,179,8,0.10); border-color: rgba(234,179,8,0.22); }

/* Footer */
.footer {
  background: linear-gradient(180deg, rgba(7, 7, 11, 0.98), rgba(10, 10, 18, 0.98));
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(234, 179, 8, 0.44);
  padding: 58px 0 34px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 26px;
}
.footer__brand img { height: 44px; width: auto; display: block; }
.footer__brand p { color: rgba(255, 255, 255, 0.72); font-weight: 600; margin: 12px 0 16px; }
.footer h4 { margin: 0 0 12px; font-size: 0.95rem; letter-spacing: 0.02em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-weight: 650; }
.footer a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__social a {
  width: 44px; height: 44px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  display: grid; place-items: center; font-weight: 900;
}
.footer__bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { margin: 0; color: rgba(255, 255, 255, 0.72); font-weight: 650; }

@media (max-width: 980px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* Contact blocks */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-2);
  padding: 18px;
}
html[data-theme="dark"] .panel { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-weight: 850; font-size: 0.85rem; color: rgba(16, 24, 40, 0.78); }
html[data-theme="dark"] .field label { color: rgba(255,255,255,0.78); }
.field input, .field select, .field textarea {
  border-radius: 14px;
  border: 1px solid rgba(16, 24, 40, 0.14);
  padding: 12px 12px;
  font: inherit;
  background: #fff;
  outline: none;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .field textarea {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(109, 40, 217, 0.35);
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.10);
}
.stack { display: grid; gap: 10px; }

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

/* =========================
   Service Pages (scoped)
   ========================= */
.service-page .service-hero {
  padding: 58px 0 38px;
  background:
    radial-gradient(900px 360px at 18% 18%, rgba(109, 40, 217, 0.10), transparent 55%),
    radial-gradient(820px 320px at 78% 24%, rgba(37, 99, 235, 0.09), transparent 55%),
    radial-gradient(720px 300px at 60% 86%, rgba(234, 179, 8, 0.07), transparent 55%),
    var(--bg);
  border-bottom: 1px solid rgba(16, 24, 40, 0.06);
}
html[data-theme="dark"] .service-page .service-hero { border-bottom-color: rgba(255,255,255,0.08); }

.service-page .service-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}
.service-page .badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(234, 179, 8, 0.26);
  background: rgba(234, 179, 8, 0.08);
  color: rgba(16, 24, 40, 0.86);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.76rem;
}
html[data-theme="dark"] .service-page .badge { color: rgba(255,255,255,0.86); background: rgba(234,179,8,0.10); border-color: rgba(234,179,8,0.22); }

.service-page .service-hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.service-page .service-hero p {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 650;
  max-width: 68ch;
}
.service-page .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.service-page .service-hero__media {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: end;
}
.service-page .service-image {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}
html[data-theme="dark"] .service-page .service-image { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.service-page .service-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.service-page .mini-card {
  width: min(360px, 100%);
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-2);
  padding: 14px;
}
html[data-theme="dark"] .service-page .mini-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.service-page .mini-card strong { display:block; font-weight: 950; }
.service-page .mini-card span { display:block; margin-top: 4px; color: var(--muted); font-weight: 650; }

.service-page .feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-page .feat {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-2);
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
html[data-theme="dark"] .service-page .feat { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.service-page .feat:hover { transform: translateY(-3px); border-color: rgba(234,179,8,0.34); box-shadow: 0 26px 66px rgba(0,0,0,0.12); }
.service-page .feat .ico { width: 46px; height: 46px; border-radius: 14px; display:grid; place-items:center; background: rgba(109,40,217,0.10); border: 1px solid rgba(109,40,217,0.16); font-weight: 950; }
html[data-theme="dark"] .service-page .feat .ico { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.service-page .feat h3 { margin: 12px 0 6px; font-size: 1.06rem; letter-spacing: -0.01em; }
.service-page .feat p { margin: 0; color: var(--muted); font-weight: 650; }

.service-page .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.service-page .list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 650;
}
.service-page .list li { margin: 8px 0; }

.service-page .steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.service-page .step {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-2);
  padding: 16px;
}
html[data-theme="dark"] .service-page .step { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.service-page .step .n {
  width: 34px; height: 34px; border-radius: 999px; display:grid; place-items:center;
  background: rgba(234,179,8,0.12); border: 1px solid rgba(234,179,8,0.22); font-weight: 950;
}
.service-page .step h4 { margin: 10px 0 6px; font-size: 1rem; }
.service-page .step p { margin: 0; color: var(--muted); font-weight: 650; font-size: 0.94rem; }

.service-page .faq {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
html[data-theme="dark"] .service-page .faq { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.service-page .faq-item { border-top: 1px solid rgba(16,24,40,0.08); }
html[data-theme="dark"] .service-page .faq-item { border-top-color: rgba(255,255,255,0.10); }
.service-page .faq-item:first-child { border-top: none; }
.service-page .faq-q {
  width: 100%;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}
.service-page .faq-a {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease, padding 220ms ease;
  color: var(--muted);
  font-weight: 650;
}
.service-page .faq-item.is-open .faq-a { max-height: 220px; padding: 0 16px 14px; }
.service-page .faq-ico { transition: transform 160ms ease; }
.service-page .faq-item.is-open .faq-ico { transform: rotate(180deg); }

.service-page .final-cta {
  border-radius: var(--radius);
  border: 1px solid rgba(234, 179, 8, 0.26);
  background:
    radial-gradient(820px 240px at 20% 20%, rgba(109,40,217,0.10), transparent 60%),
    radial-gradient(780px 240px at 80% 40%, rgba(37,99,235,0.09), transparent 60%),
    rgba(234,179,8,0.06);
  box-shadow: var(--shadow-2);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
html[data-theme="dark"] .service-page .final-cta { background: rgba(255,255,255,0.04); border-color: rgba(234,179,8,0.22); }

@media (max-width: 980px) {
  .service-page .service-hero__grid { grid-template-columns: 1fr; }
  .service-page .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-page .two-col { grid-template-columns: 1fr; }
  .service-page .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .service-page .feat-grid { grid-template-columns: 1fr; }
  .service-page .steps { grid-template-columns: 1fr; }
  .service-page .service-image img { height: 260px; }
}

/* =========================
   Auth Pages (scoped)
   ========================= */
.auth-page .auth-hero {
  padding: 56px 0 0;
  background:
    radial-gradient(900px 360px at 25% 10%, rgba(109, 40, 217, 0.12), transparent 55%),
    radial-gradient(860px 320px at 78% 18%, rgba(37, 99, 235, 0.10), transparent 55%),
    radial-gradient(720px 300px at 50% 90%, rgba(234, 179, 8, 0.07), transparent 55%),
    var(--bg);
}
.auth-page .auth-wrap {
  padding: 28px 0 82px;
}
.auth-page .auth-card {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid rgba(16, 24, 40, 0.10);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 26px 70px rgba(0,0,0,0.12);
  overflow: hidden;
}
html[data-theme="dark"] .auth-page .auth-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.auth-page .auth-card__head {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(16,24,40,0.08);
}
html[data-theme="dark"] .auth-page .auth-card__head { border-bottom-color: rgba(255,255,255,0.10); }
.auth-page .auth-card__head h1 { margin: 8px 0 6px; font-size: 2rem; letter-spacing: -0.03em; }
.auth-page .auth-card__head p { margin: 0; color: var(--muted); font-weight: 650; }
.auth-page .auth-card__body { padding: 18px 20px 20px; }

.fl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fl-grid.one { grid-template-columns: 1fr; }

.fl-field { position: relative; }
.fl-input {
  width: 100%;
  padding: 16px 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16, 24, 40, 0.14);
  background: rgba(255,255,255,0.82);
  font: inherit;
  outline: none;
  transition: box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}
html[data-theme="dark"] .fl-input { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.92); }
.fl-label {
  position: absolute;
  left: 12px;
  top: 14px;
  color: rgba(16, 24, 40, 0.62);
  font-weight: 800;
  font-size: 0.88rem;
  pointer-events: none;
  transition: transform 140ms ease, top 140ms ease, opacity 140ms ease, color 140ms ease;
  opacity: 0.95;
}
html[data-theme="dark"] .fl-label { color: rgba(255,255,255,0.66); }
.fl-field.is-focus .fl-label,
.fl-field.has-value .fl-label {
  top: 7px;
  transform: scale(0.88);
  transform-origin: left top;
  opacity: 0.9;
}
.fl-input:focus {
  border-color: rgba(109, 40, 217, 0.35);
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.10);
}

.pw-wrap { position: relative; }
.pw-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(16,24,40,0.12);
  background: rgba(255,255,255,0.70);
  color: rgba(16,24,40,0.78);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 900;
}
html[data-theme="dark"] .pw-toggle { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.78); }

.auth-row { display:flex; align-items:center; justify-content:space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.check { display:flex; align-items:center; gap: 10px; font-weight: 750; color: var(--muted); }
.check input { width: 16px; height: 16px; }
.link { color: rgba(16,24,40,0.86); font-weight: 900; text-decoration: none; }
html[data-theme="dark"] .link { color: rgba(255,255,255,0.88); }
.link:hover { text-decoration: underline; text-decoration-color: rgba(234,179,8,0.55); }

.social {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.social-btn {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(16,24,40,0.12);
  background: rgba(255,255,255,0.82);
  padding: 12px 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
html[data-theme="dark"] .social-btn { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.88); }
.social-btn:hover { transform: translateY(-1px); border-color: rgba(234,179,8,0.34); }

.social-btn__ico {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 950;
  color: #fff;
}

.social-btn--google {
  border-color: rgba(219, 68, 55, 0.24);
}
.social-btn--google:hover {
  border-color: rgba(219, 68, 55, 0.52);
  box-shadow: 0 14px 34px rgba(219, 68, 55, 0.14);
}
.social-btn--google .social-btn__ico {
  background: #db4437;
}

.social-btn--facebook {
  border-color: rgba(24, 119, 242, 0.24);
}
.social-btn--facebook:hover {
  border-color: rgba(24, 119, 242, 0.52);
  box-shadow: 0 14px 34px rgba(24, 119, 242, 0.14);
}
.social-btn--facebook .social-btn__ico {
  background: #1877f2;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.strength {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}
.strength-bar {
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(16,24,40,0.12);
  background: rgba(16,24,40,0.06);
  overflow: hidden;
}
html[data-theme="dark"] .strength-bar { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); }
.strength-bar > div {
  height: 100%;
  width: 0%;
  background: var(--grad);
  transition: width 160ms ease;
}
.strength-text { color: var(--muted); font-weight: 750; font-size: 0.88rem; }

@media (max-width: 640px) {
  .fl-grid { grid-template-columns: 1fr; }
  .social { grid-template-columns: 1fr; }
}
