/**
 * /contact — header/footer chrome (same architecture as /about about-chrome.css).
 *
 * Activates existing SiteHeader hero-overlay shell + solid #000 paint so Header →
 * Contact Hero reads as one continuous black surface.
 * Forces SiteFooterDark surface to #000 to match the Contact final CTA.
 *
 * Scoped via :has([data-zs-contact-page]) — does not affect other routes.
 */

html:has([data-zs-contact-page]) body main {
  padding-top: 0 !important;
}

html:has([data-zs-contact-page]) footer[data-zs-footer="dark"] {
  background: #000000 !important;
  background-color: #000000 !important;
  border-top: 0 !important;
  box-shadow: none !important;
}

html:has([data-zs-contact-page]) footer[data-zs-footer="dark"] [class*="scene"]::after {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.18) 72%,
    rgba(0, 0, 0, 0.48) 88%,
    #000000 100%
  ) !important;
}

html:has([data-zs-contact-page]) footer[data-zs-footer="dark"] [class*="statement"]::before {
  background: radial-gradient(
    ellipse 52% 48% at 50% 40%,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.16) 42%,
    rgba(0, 0, 0, 0.04) 68%,
    rgba(0, 0, 0, 0) 82%
  ) !important;
}

/* ============================================================================
 * ZeroSpread — /contact
 * Dark-mode-only design system for the contact experience.
 * Every selector is scoped under `.zs-contact` so nothing leaks into the
 * rest of the ZeroSpread application.
 * ========================================================================== */

.zs-contact {
  /* --- surfaces ---------------------------------------------------------- */
  --zs-black: #000000;
  /* Component depth tokens — NOT page canvas */
  --zs-bg: #050607;
  --zs-surface: #0a0b0d;
  --zs-surface-2: #0e1013;
  --zs-surface-3: #131619;

  /* --- lines ------------------------------------------------------------- */
  --zs-line: rgba(255, 255, 255, 0.07);
  --zs-line-2: rgba(255, 255, 255, 0.12);
  --zs-line-3: rgba(255, 255, 255, 0.2);

  /* --- type -------------------------------------------------------------- */
  --zs-text: #f1f3f2;
  --zs-text-2: #9aa2a0;
  --zs-text-3: #7c8482;

  /* --- accent (used sparingly) ------------------------------------------- */
  --zs-green: #a3ff12;
  --zs-green-soft: rgba(163, 255, 18, 0.14);
  --zs-green-line: rgba(163, 255, 18, 0.32);

  /* --- semantic market colours (only where meaningful) ------------------- */
  --zs-up: #2ed06a;
  --zs-down: #ff4d4d;

  /* --- geometry ---------------------------------------------------------- */
  --zs-max: min(1760px, calc(100vw - (2 * clamp(20px, 4vw, 72px))));
  --zs-pad: clamp(20px, 4vw, 72px);
  --zs-radius: 14px;
  --zs-radius-lg: 20px;
  --zs-ease: cubic-bezier(0.22, 0.8, 0.26, 1);

  position: relative;
  /* Page canvas — true black. Component panels keep --zs-surface* depth. */
  background: #000000;
  background-color: #000000;
  color: var(--zs-text);
  font-family: var(--font-body, var(--zs-font-body, "Tajawal", sans-serif));
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

.zs-contact *,
.zs-contact *::before,
.zs-contact *::after {
  box-sizing: border-box;
}

.zs-contact :focus-visible {
  outline: 2px solid var(--zs-green);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Latin identifiers (emails, handles, phone numbers) stay LTR inside RTL. */
.zs-contact .zs-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.zs-contact .zs-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.zs-contact .zs-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------------------
 * Layout
 * ------------------------------------------------------------------------ */

.zs-container {
  width: 100%;
  max-width: var(--zs-max);
  margin-inline: auto;
  padding-inline: var(--zs-pad);
}

.zs-section {
  position: relative;
  padding-block: clamp(52px, 5.6vw, 96px);
  /* Explicit true-black outer canvas (not transparent → parent near-black). */
  background: #000000;
  background-color: #000000;
}

.zs-section--tight {
  padding-block: clamp(48px, 5.5vw, 92px);
}

.zs-rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    to left,
    transparent,
    var(--zs-line-2) 12%,
    var(--zs-line-2) 88%,
    transparent
  );
}

/* Section header: index + eyebrow + title on the start side, body on the end */
.zs-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: end;
  padding-block-start: clamp(28px, 3vw, 48px);
  padding-block-end: clamp(32px, 4vw, 60px);
}

@media (max-width: 860px) {
  .zs-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }
}

.zs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--zs-green);
  margin: 0 0 18px;
}

.zs-eyebrow::after {
  content: "";
  width: clamp(28px, 4vw, 56px);
  height: 1px;
  background: linear-gradient(to left, var(--zs-green-line), transparent);
}

.zs-eyebrow__index {
  color: var(--zs-text-3);
  font-variant-numeric: tabular-nums;
}

.zs-h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 86px);
  line-height: 1.1;
  color: var(--zs-text);
}

.zs-h2 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.16;
  color: var(--zs-text);
}

.zs-h3 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.35;
  color: var(--zs-text);
}

.zs-lead {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.75;
  color: var(--zs-text-2);
  max-width: 60ch;
}

.zs-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--zs-text-2);
  max-width: 62ch;
}

.zs-small {
  font-size: 13px;
  line-height: 1.7;
  color: var(--zs-text-3);
}

/* ---------------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------------ */

.zs-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding-inline: 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s var(--zs-ease), background-color 0.35s var(--zs-ease),
    border-color 0.35s var(--zs-ease), color 0.35s var(--zs-ease),
    box-shadow 0.35s var(--zs-ease);
}

.zs-btn__icon {
  display: inline-flex;
  transition: transform 0.35s var(--zs-ease);
}

.zs-btn:hover .zs-btn__icon {
  transform: translateX(-4px);
}

.zs-btn--primary {
  background: var(--zs-green);
  color: #060a00;
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(163, 255, 18, 0);
}

.zs-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px -18px rgba(163, 255, 18, 0.7);
}

.zs-btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--zs-line-2);
  color: var(--zs-text);
}

.zs-btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--zs-line-3);
  background: rgba(255, 255, 255, 0.05);
}

.zs-btn--quiet {
  height: 42px;
  padding-inline: 18px;
  font-size: 14px;
  background: transparent;
  border-color: var(--zs-line-2);
  color: var(--zs-text-2);
}

.zs-btn--quiet:hover {
  color: var(--zs-text);
  border-color: var(--zs-line-3);
  background: rgba(255, 255, 255, 0.04);
}

.zs-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---------------------------------------------------------------------------
 * Panels & chips
 * ------------------------------------------------------------------------ */

.zs-panel {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035) 0%,
    rgba(255, 255, 255, 0.012) 34%,
    rgba(255, 255, 255, 0) 100%
  ),
  var(--zs-surface);
  border: 1px solid var(--zs-line);
  border-radius: var(--zs-radius-lg);
}

.zs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding-inline: 12px;
  border-radius: 999px;
  border: 1px solid var(--zs-line-2);
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  font-weight: 500;
  color: var(--zs-text-2);
  white-space: nowrap;
}

.zs-chip--accent {
  border-color: var(--zs-green-line);
  background: var(--zs-green-soft);
  color: var(--zs-green);
}

.zs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--zs-green);
  box-shadow: 0 0 0 0 rgba(163, 255, 18, 0.55);
  animation: zs-pulse 2.6s var(--zs-ease) infinite;
}

@keyframes zs-pulse {
  0% { box-shadow: 0 0 0 0 rgba(163, 255, 18, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(163, 255, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(163, 255, 18, 0); }
}

/* ---------------------------------------------------------------------------
 * Scroll reveal
 * ------------------------------------------------------------------------ */

.zs-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.9s var(--zs-ease), transform 0.9s var(--zs-ease);
  transition-delay: var(--zs-delay, 0ms);
  will-change: opacity, transform;
}

.zs-reveal.is-in {
  opacity: 1;
  transform: none;
}

.zs-reveal--line {
  transform: scaleX(0.4);
  transform-origin: right center;
  opacity: 0;
}

.zs-reveal--line.is-in {
  transform: scaleX(1);
  opacity: 1;
}

/* ---------------------------------------------------------------------------
 * HERO
 * ------------------------------------------------------------------------ */

.zs-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(72px, 10vw, 150px) clamp(56px, 7vw, 104px);
  border-bottom: 1px solid var(--zs-line);
  /* Outer canvas true black — decorative SignalField/grid stay on .zs-hero__bg. */
  background: #000000;
  background-color: #000000;
}

.zs-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.zs-hero__grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(85% 70% at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(85% 70% at 50% 40%, #000 0%, transparent 78%);
  animation: zs-drift 46s linear infinite;
  opacity: 0.75;
}

@keyframes zs-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: -76px -76px, -76px -76px; }
}

.zs-hero__sweep {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(
    to left,
    transparent,
    rgba(163, 255, 18, 0.55) 45%,
    rgba(163, 255, 18, 0.9) 50%,
    rgba(163, 255, 18, 0.55) 55%,
    transparent
  );
  transform: translateX(-100%);
  animation: zs-sweep 9s var(--zs-ease) infinite;
  opacity: 0.6;
}

@keyframes zs-sweep {
  0% { transform: translateX(-110%); }
  55%, 100% { transform: translateX(110%); }
}

.zs-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 96px);
  align-items: center;
}

@media (max-width: 1080px) {
  .zs-hero__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.zs-hero__title .zs-line {
  display: block;
  overflow: hidden;
  /* Room for Arabic diacritics (hamza on أ) that a tight line-height would clip. */
  padding-block-start: 0.16em;
  margin-block-start: -0.16em;
}

.zs-hero__title .zs-line > span {
  display: block;
  transform: translateY(105%);
  animation: zs-rise 1.05s var(--zs-ease) forwards;
  animation-delay: var(--zs-delay, 0ms);
}

@keyframes zs-rise {
  to { transform: translateY(0); }
}

.zs-hero__accent {
  color: var(--zs-green);
}

.zs-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3vw, 44px);
}

.zs-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: clamp(26px, 3vw, 40px);
  padding-top: 22px;
  border-top: 1px solid var(--zs-line);
}

/* Hero side console --------------------------------------------------------- */

.zs-console {
  position: relative;
  border-radius: var(--zs-radius-lg);
  border: 1px solid var(--zs-line);
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.012) 40%,
      rgba(255, 255, 255, 0) 100%
    ),
    rgba(10, 11, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.zs-console__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(20px, 2vw, 28px);
  border-bottom: 1px solid var(--zs-line);
}

.zs-console__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--zs-text);
  margin: 0;
}

.zs-console__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zs-console__item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(20px, 2vw, 28px);
  border-bottom: 1px solid var(--zs-line);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.35s var(--zs-ease);
}

.zs-console__item:last-child {
  border-bottom: 0;
}

.zs-console__item::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 2px;
  background: var(--zs-green);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.4s var(--zs-ease);
}

.zs-console__item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.zs-console__item:hover::before {
  transform: scaleY(1);
}

.zs-console__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--zs-line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--zs-text-2);
  transition: color 0.35s var(--zs-ease), border-color 0.35s var(--zs-ease);
}

.zs-console__item:hover .zs-console__mark {
  color: var(--zs-green);
  border-color: var(--zs-green-line);
}

.zs-console__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--zs-text);
}

.zs-console__value {
  display: block;
  font-size: 12px;
  color: var(--zs-text-3);
  margin-top: 3px;
}

.zs-console__foot {
  padding: 16px clamp(20px, 2vw, 28px);
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--zs-line);
}

/* Orbit / signal field ------------------------------------------------------ */

.zs-orbit {
  position: absolute;
  inset-block-start: -10%;
  inset-inline-start: -18%;
  width: min(1180px, 86vw);
  aspect-ratio: 1;
  opacity: 0.38;
}

.zs-orbit__spin {
  transform-origin: 50% 50%;
  animation: zs-spin 120s linear infinite;
}

.zs-orbit__spin--rev {
  animation-duration: 190s;
  animation-direction: reverse;
}

@keyframes zs-spin {
  to { transform: rotate(360deg); }
}

.zs-orbit__glow {
  animation: zs-breathe 9s var(--zs-ease) infinite;
}

@keyframes zs-breathe {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}

/* ---------------------------------------------------------------------------
 * CHANNEL ROWS  (wide editorial list — not a card grid)
 * ------------------------------------------------------------------------ */

.zs-channels {
  border-block: 1px solid var(--zs-line);
}

.zs-channel {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(220px, 1.05fr) minmax(0, 1.25fr) minmax(0, 0.7fr) auto;
  align-items: center;
  gap: clamp(16px, 2.4vw, 40px);
  padding-block: clamp(22px, 2.4vw, 32px);
  border-bottom: 1px solid var(--zs-line);
  transition: background-color 0.45s var(--zs-ease);
}

.zs-channel:last-child {
  border-bottom: 0;
}

.zs-channel::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline: calc(var(--zs-pad) * -1);
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.012) 55%,
    transparent
  );
  opacity: 0;
  transition: opacity 0.45s var(--zs-ease);
  pointer-events: none;
}

.zs-channel:hover::before {
  opacity: 1;
}

.zs-channel__index {
  font-size: 13px;
  font-weight: 500;
  color: var(--zs-text-3);
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--zs-ease);
}

.zs-channel:hover .zs-channel__index {
  color: var(--zs-green);
}

.zs-channel__name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zs-channel__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  border: 1px solid var(--zs-line-2);
  background: rgba(255, 255, 255, 0.025);
  color: var(--zs-text-2);
  transition: color 0.4s var(--zs-ease), border-color 0.4s var(--zs-ease),
    transform 0.4s var(--zs-ease);
}

.zs-channel:hover .zs-channel__mark {
  color: var(--zs-green);
  border-color: var(--zs-green-line);
  transform: translateY(-2px);
}

.zs-channel__title {
  font-size: 17px;
  font-weight: 500;
  color: var(--zs-text);
  margin: 0;
}

.zs-channel__id {
  font-size: 12px;
  color: var(--zs-text-3);
  margin-top: 2px;
}

.zs-channel__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--zs-text-2);
  margin: 0;
}

.zs-channel__meta {
  font-size: 13px;
  color: var(--zs-text-3);
}

@media (max-width: 1180px) {
  .zs-channel {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas:
      "idx name action"
      ".   desc desc"
      ".   meta meta";
    row-gap: 10px;
  }
  .zs-channel__index { grid-area: idx; align-self: start; padding-top: 10px; }
  .zs-channel__name { grid-area: name; }
  .zs-channel__desc { grid-area: desc; }
  .zs-channel__meta { grid-area: meta; }
  .zs-channel__action { grid-area: action; }
}

@media (max-width: 620px) {
  .zs-channel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "idx"
      "name"
      "desc"
      "meta"
      "action";
  }
  .zs-channel__index { padding-top: 0; }
  .zs-channel__action { justify-self: start; }
}

/* ---------------------------------------------------------------------------
 * INSTAGRAM FEATURE
 * ------------------------------------------------------------------------ */

.zs-ig {
  position: relative;
  overflow: hidden;
  border-radius: clamp(18px, 2vw, 28px);
  border: 1px solid var(--zs-line);
  background:
    radial-gradient(90% 120% at 85% 0%, rgba(163, 255, 18, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, var(--zs-surface-2) 0%, var(--zs-surface) 100%);
}

.zs-ig__spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    320px 320px at var(--x, 50%) var(--y, 50%),
    rgba(163, 255, 18, 0.1),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s var(--zs-ease);
}

.zs-ig:hover .zs-ig__spot {
  opacity: 1;
}

.zs-ig__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 72px);
  padding: clamp(28px, 4vw, 64px);
  align-items: center;
}

@media (max-width: 980px) {
  .zs-ig__inner {
    grid-template-columns: 1fr;
  }
}

.zs-ig__handle {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(30px, 4.4vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--zs-text);
  text-decoration: none;
  direction: ltr;
  unicode-bidi: isolate;
}

.zs-ig__at {
  color: var(--zs-green);
}

.zs-ig__reasons {
  display: grid;
  gap: 14px;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
  list-style: none;
}

.zs-ig__reason {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding-block: 14px;
  border-top: 1px solid var(--zs-line);
}

.zs-ig__reason:first-child {
  border-top: 0;
  padding-top: 0;
}

.zs-ig__reasonMark {
  margin-top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--zs-green);
  justify-self: center;
}

/* Abstract tile mosaic (no fake screenshots) */
.zs-ig__mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.zs-ig__tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid var(--zs-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.005));
  overflow: hidden;
  transition: transform 0.55s var(--zs-ease), border-color 0.55s var(--zs-ease);
}

.zs-ig:hover .zs-ig__tile {
  border-color: var(--zs-line-2);
}

.zs-ig__tile:nth-child(3n + 1) { transform: translateY(-6px); }
.zs-ig__tile:nth-child(3n) { transform: translateY(6px); }
.zs-ig:hover .zs-ig__tile:nth-child(3n + 1) { transform: translateY(-10px); }
.zs-ig:hover .zs-ig__tile:nth-child(3n) { transform: translateY(10px); }

.zs-ig__tile svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------------------------------------------------------------------------
 * ROUTING
 * ------------------------------------------------------------------------ */

.zs-routing {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.5fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}

@media (max-width: 980px) {
  .zs-routing {
    grid-template-columns: 1fr;
  }
}

.zs-routing__tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 980px) {
  .zs-routing__tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.zs-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--zs-text-2);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
  transition: background-color 0.35s var(--zs-ease), color 0.35s var(--zs-ease),
    border-color 0.35s var(--zs-ease);
}

@media (max-width: 980px) {
  .zs-tab {
    width: auto;
  }
}

.zs-tab:hover {
  color: var(--zs-text);
  background: rgba(255, 255, 255, 0.03);
}

.zs-tab[aria-selected="true"] {
  color: var(--zs-text);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--zs-line-2);
}

.zs-tab__bar {
  position: absolute;
  inset-block: 10px;
  inset-inline-start: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--zs-green);
  opacity: 0;
  transform: scaleY(0.3);
  transition: opacity 0.35s var(--zs-ease), transform 0.35s var(--zs-ease);
}

.zs-tab[aria-selected="true"] .zs-tab__bar {
  opacity: 1;
  transform: scaleY(1);
}

@media (max-width: 980px) {
  .zs-tab__bar { display: none; }
  .zs-tab .zs-btn__icon { display: none; }
  .zs-tab {
    border-color: var(--zs-line);
    background: rgba(255, 255, 255, 0.022);
  }
}

.zs-routing__panel {
  position: relative;
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--zs-radius-lg);
  border: 1px solid var(--zs-line);
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035) 0%,
      rgba(255, 255, 255, 0.008) 45%,
      transparent 100%
    ),
    var(--zs-surface);
  min-height: 340px;
}

.zs-routing__fade {
  animation: zs-fade-in 0.5s var(--zs-ease);
}

@keyframes zs-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.zs-routing__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  margin-top: clamp(22px, 2.4vw, 32px);
  background: var(--zs-line);
  border: 1px solid var(--zs-line);
  border-radius: 12px;
  overflow: hidden;
}

.zs-routing__fact {
  padding: 18px 20px;
  background: var(--zs-surface-2);
}

.zs-routing__factLabel {
  font-size: 12px;
  color: var(--zs-text-3);
  margin-bottom: 6px;
}

.zs-routing__factValue {
  font-size: 15px;
  font-weight: 500;
  color: var(--zs-text);
}

.zs-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.65;
  color: var(--zs-text-2);
}

.zs-check svg {
  margin-top: 4px;
  color: var(--zs-green);
}

/* ---------------------------------------------------------------------------
 * FORM
 * ------------------------------------------------------------------------ */

.zs-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 760px) {
  .zs-form {
    grid-template-columns: 1fr;
  }
}

.zs-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.zs-field--full {
  grid-column: 1 / -1;
}

.zs-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--zs-text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.zs-label__req {
  color: var(--zs-green);
  font-size: 11px;
}

.zs-input,
.zs-textarea,
.zs-select {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--zs-line-2);
  background: rgba(255, 255, 255, 0.022);
  color: var(--zs-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  transition: border-color 0.3s var(--zs-ease), background-color 0.3s var(--zs-ease),
    box-shadow 0.3s var(--zs-ease);
}

.zs-input::placeholder,
.zs-textarea::placeholder {
  color: var(--zs-text-3);
}

.zs-input:hover,
.zs-textarea:hover,
.zs-select:hover {
  border-color: var(--zs-line-3);
}

.zs-input:focus,
.zs-textarea:focus,
.zs-select:focus {
  outline: none;
  border-color: var(--zs-green-line);
  background: rgba(163, 255, 18, 0.035);
  box-shadow: 0 0 0 4px rgba(163, 255, 18, 0.08);
}

.zs-textarea {
  min-height: 168px;
  resize: vertical;
}

.zs-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa2a0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: left 18px center;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  padding-inline-start: 18px;
  padding-inline-end: 42px;
}

.zs-select option {
  background: var(--zs-surface-2);
  color: var(--zs-text);
}

.zs-input[aria-invalid="true"],
.zs-textarea[aria-invalid="true"] {
  border-color: rgba(255, 77, 77, 0.55);
  background: rgba(255, 77, 77, 0.04);
}

.zs-error {
  font-size: 12px;
  color: var(--zs-down);
}

.zs-segment {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid var(--zs-line-2);
  background: rgba(255, 255, 255, 0.022);
  flex-wrap: wrap;
}

.zs-segment__btn {
  height: 38px;
  padding-inline: 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--zs-text-2);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s var(--zs-ease), color 0.3s var(--zs-ease);
}

.zs-segment__btn[aria-pressed="true"] {
  background: rgba(163, 255, 18, 0.12);
  color: var(--zs-green);
}

.zs-drop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px dashed var(--zs-line-2);
  background: rgba(255, 255, 255, 0.015);
  cursor: pointer;
  transition: border-color 0.3s var(--zs-ease), background-color 0.3s var(--zs-ease);
}

.zs-drop:hover {
  border-color: var(--zs-green-line);
  background: rgba(163, 255, 18, 0.03);
}

.zs-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 13px;
  line-height: 1.7;
  color: var(--zs-text-2);
  cursor: pointer;
}

.zs-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  margin-top: 2px;
  border-radius: 6px;
  border: 1px solid var(--zs-line-3);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.25s var(--zs-ease), border-color 0.25s var(--zs-ease);
}

.zs-checkbox::after {
  content: "";
  width: 9px;
  height: 5px;
  border: 2px solid #060a00;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.25s var(--zs-ease);
}

.zs-checkbox:checked {
  background: var(--zs-green);
  border-color: var(--zs-green);
}

.zs-checkbox:checked::after {
  transform: rotate(-45deg) scale(1);
}

.zs-form__status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 14px;
  animation: zs-fade-in 0.4s var(--zs-ease);
}

.zs-form__status--error {
  border: 1px solid rgba(255, 77, 77, 0.3);
  background: rgba(255, 77, 77, 0.06);
  color: #ffb3b3;
}

.zs-success {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--zs-radius-lg);
  border: 1px solid var(--zs-green-line);
  background: radial-gradient(90% 120% at 80% 0%, rgba(163, 255, 18, 0.12), transparent 60%),
    var(--zs-surface-2);
  animation: zs-fade-in 0.55s var(--zs-ease);
}

.zs-success__mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--zs-green-line);
  background: var(--zs-green-soft);
  color: var(--zs-green);
}

.zs-success__mark svg path {
  stroke-dasharray: 32;
  stroke-dashoffset: 32;
  animation: zs-draw 0.7s var(--zs-ease) 0.15s forwards;
}

@keyframes zs-draw {
  to { stroke-dashoffset: 0; }
}

.zs-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(6, 10, 0, 0.25);
  border-top-color: #060a00;
  animation: zs-spin 0.75s linear infinite;
}

.zs-counter {
  direction: ltr;
  unicode-bidi: isolate;
  margin-inline-start: auto;
  font-size: 12px;
  color: var(--zs-text-3);
  font-variant-numeric: tabular-nums;
}

/* Form shell layout: aside + form */
.zs-formLayout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}

@media (max-width: 1080px) {
  .zs-formLayout {
    grid-template-columns: 1fr;
  }
}

.zs-formCard {
  padding: clamp(22px, 3vw, 44px);
  border-radius: var(--zs-radius-lg);
  border: 1px solid var(--zs-line);
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035) 0%,
      rgba(255, 255, 255, 0.008) 40%,
      transparent 100%
    ),
    var(--zs-surface);
}

.zs-aside {
  display: grid;
  gap: 1px;
  background: var(--zs-line);
  border: 1px solid var(--zs-line);
  border-radius: var(--zs-radius-lg);
  overflow: hidden;
}

.zs-aside__block {
  padding: 22px clamp(18px, 2vw, 26px);
  background: var(--zs-surface-2);
}

/* ---------------------------------------------------------------------------
 * RESPONSE MATRIX
 * ------------------------------------------------------------------------ */

.zs-matrix {
  border: 1px solid var(--zs-line);
  border-radius: var(--zs-radius-lg);
  overflow: hidden;
}

.zs-matrix__row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(140px, 0.7fr) minmax(0, 1.4fr) minmax(120px, 0.6fr);
  gap: clamp(12px, 2vw, 32px);
  align-items: center;
  padding: clamp(16px, 1.8vw, 24px) clamp(18px, 2.2vw, 32px);
  border-bottom: 1px solid var(--zs-line);
  transition: background-color 0.4s var(--zs-ease);
}

.zs-matrix__row:last-child { border-bottom: 0; }

.zs-matrix__row:not(.zs-matrix__row--head):hover {
  background: rgba(255, 255, 255, 0.025);
}

.zs-matrix__row--head {
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  color: var(--zs-text-3);
}

.zs-matrix__barWrap {
  display: block;
}

.zs-matrix__bar {
  display: block;
  position: relative;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.zs-matrix__barFill {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  border-radius: 2px;
  background: linear-gradient(to left, var(--zs-green), rgba(163, 255, 18, 0.35));
  width: 0;
  transition: width 1.2s var(--zs-ease);
  transition-delay: var(--zs-delay, 0ms);
}

.is-in .zs-matrix__barFill,
.zs-matrix__row.is-in .zs-matrix__barFill {
  width: var(--zs-w, 0%);
}

@media (max-width: 900px) {
  .zs-matrix__row {
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
  }
  .zs-matrix__row--head { display: none; }
  .zs-matrix__scope { grid-column: 1 / -1; }
  .zs-matrix__barWrap { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------------------
 * FAQ
 * ------------------------------------------------------------------------ */

.zs-faqLayout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.7fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}

@media (max-width: 980px) {
  .zs-faqLayout { grid-template-columns: 1fr; }
}

.zs-faq {
  border-top: 1px solid var(--zs-line);
}

.zs-faq__item {
  border-bottom: 1px solid var(--zs-line);
}

.zs-faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: clamp(18px, 2vw, 26px) 4px;
  background: transparent;
  border: 0;
  color: var(--zs-text);
  font-family: inherit;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  text-align: start;
  cursor: pointer;
  transition: color 0.3s var(--zs-ease);
}

.zs-faq__btn:hover { color: var(--zs-green); }

.zs-faq__sign {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
}

.zs-faq__sign::before,
.zs-faq__sign::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--zs-ease), opacity 0.4s var(--zs-ease);
}

.zs-faq__sign::after {
  transform: rotate(90deg);
}

.zs-faq__item[data-open="true"] .zs-faq__sign::after {
  transform: rotate(0deg);
  opacity: 0;
}

.zs-faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--zs-ease);
}

.zs-faq__item[data-open="true"] .zs-faq__body {
  grid-template-rows: 1fr;
}

.zs-faq__bodyInner {
  overflow: hidden;
}

.zs-faq__text {
  margin: 0;
  padding: 0 4px clamp(20px, 2vw, 28px);
  font-size: 14px;
  line-height: 1.85;
  color: var(--zs-text-2);
  max-width: 72ch;
}

.zs-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  background: var(--zs-surface-2);
  color: var(--zs-text-2);
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.35s var(--zs-ease), color 0.35s var(--zs-ease);
}

.zs-shortcut:hover {
  background: var(--zs-surface-3);
  color: var(--zs-text);
}

/* ---------------------------------------------------------------------------
 * FINAL CTA
 * ------------------------------------------------------------------------ */

.zs-final {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--zs-line);
  /* Green ambient radial removed — it sat at 50% 120% and bled into the footer seam.
     Keep solid true-black exit into SiteFooterDark. CTA button / SVG accents stay green. */
  background: #000000;
  background-color: #000000;
}

.zs-final__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 120px);
}

@media (max-width: 900px) {
  .zs-final__inner { grid-template-columns: 1fr; }
}

.zs-final__lines {
  position: absolute;
  inset-inline: 0;
  /* Keep decorative lines away from the footer seam (was inset-block-end). */
  inset-block-start: 0;
  height: 180px;
  opacity: 0.5;
  pointer-events: none;
}

.zs-final__lines path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 2.4s var(--zs-ease);
  transition-delay: var(--zs-delay, 0ms);
}

.is-in .zs-final__lines path {
  stroke-dashoffset: 0;
}

/* ---------------------------------------------------------------------------
 * Reduced motion — stays beautiful, simply stops moving.
 * ------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .zs-contact *,
  .zs-contact *::before,
  .zs-contact *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .zs-contact .zs-reveal,
  .zs-contact .zs-reveal--line {
    opacity: 1 !important;
    transform: none !important;
  }

  .zs-contact .zs-hero__title .zs-line > span {
    transform: none !important;
  }

  .zs-contact .zs-hero__sweep,
  .zs-contact .zs-dot {
    display: none;
  }

  .zs-contact .zs-final__lines path {
    stroke-dashoffset: 0;
  }

  .zs-contact .zs-matrix__barFill {
    width: var(--zs-w, 0%);
  }

  .zs-contact .zs-success__mark svg path {
    stroke-dashoffset: 0;
  }
}

