/* ==========================================================================
   Fazora — company profile
   Palette and geometry derived from the FZ logo mark:
   bright-to-deep blue gradient, 45° chamfers, one large soft corner.
   ========================================================================== */

:root {
  /* Brand blues, sampled off the mark */
  --blue-300: #6FBEFF;
  --blue-400: #3AA2FF;
  --blue-500: #1276EA;
  --blue-600: #0F5FD6;
  --blue-700: #0B3AA6;

  /* Ink — the wordmark navy, pushed darker for a night UI */
  --ink-950: #05080F;
  --ink-900: #070C17;
  --ink-850: #0A1120;
  --ink-800: #0D1526;
  --ink-700: #131E33;

  --text: #E8EEF9;
  --text-dim: #A7B4CA;
  --text-mute: #7788A3;

  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --grad-brand: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-500) 45%, var(--blue-700) 100%);
  --grad-text: linear-gradient(120deg, #8CCBFF 0%, #3AA2FF 40%, #1276EA 100%);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 20px 60px -22px rgba(18, 118, 234, 0.65);

  --chamfer: 14px;               /* echoes the logo's 45° cut corners */
  --radius-lg: 20px;
  --radius-sm: 10px;

  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mark: "Michroma", "Sora", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------- base --- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; }

p { margin: 0; }

::selection { background: var(--blue-500); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 130px);
}

.section--tint { background: linear-gradient(180deg, var(--ink-950), var(--ink-900) 40%, var(--ink-950)); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--blue-500);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 16px; }

/* --------------------------------------------------------- shared bits --- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-brand);
}

.section-head { max-width: 660px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.section-head p {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 1.02rem;
}

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

/* Buttons -------------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { box-shadow: 0 24px 66px -20px rgba(18, 118, 234, 0.85); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: var(--blue-500); background: rgba(18, 118, 234, 0.1); }

.btn--sm { padding: 10px 18px; font-size: 0.85rem; }

.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* --------------------------------------------------------------- header --- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  background: rgba(7, 12, 23, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.site-header .shell {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

/* Logo lockup: SVG mark + letter-spaced wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand__mark {
  width: 38px;
  height: auto;
  filter: drop-shadow(0 4px 14px rgba(18, 118, 234, 0.5));
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand__mark { transform: translateY(-2px) scale(1.04); }

.brand__word {
  font-family: var(--font-mark);
  font-size: 1.02rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;   /* keeps the tracked-out word optically centred */
  color: var(--text);
  line-height: 1;
}

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

.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.92rem;
  color: var(--text-dim);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active { color: var(--text); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.header-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: background-color 0.2s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  padding-top: clamp(140px, 18vh, 190px);
  padding-bottom: clamp(70px, 9vw, 110px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Faint engineering grid, faded at the edges */
.hero__grid {
  position: absolute;
  inset: -10% -10% 0 -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 10%, transparent 75%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.hero__glow--a {
  width: 46vw; height: 46vw;
  top: -14vw; left: 52%;
  background: radial-gradient(circle, rgba(18, 118, 234, 0.65), transparent 68%);
}
.hero__glow--b {
  width: 34vw; height: 34vw;
  top: 22vw; left: -8vw;
  background: radial-gradient(circle, rgba(11, 58, 166, 0.6), transparent 70%);
}

.hero .shell { position: relative; z-index: 1; }

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  margin-bottom: 26px;
  font-size: 0.8rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 100px;
}

.hero__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35D07F;
  box-shadow: 0 0 0 4px rgba(53, 208, 127, 0.16);
}

.hero__lead {
  max-width: 54ch;
  margin-top: 24px;
  font-size: clamp(1.02rem, 1.5vw, 1.13rem);
  color: var(--text-dim);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  font-size: 0.86rem;
  color: var(--text-mute);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.hero__meta svg { color: var(--blue-400); flex: none; }

.hero__meta,
.hero__meta li { margin: 0; padding: 0; }
.hero__meta { padding-left: 0; }

/* Rotating showcase panel on the right */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}

.hero__ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  aspect-ratio: 1;
}
.hero__ring--1 { width: 78%; }
.hero__ring--2 { width: 100%; border-style: dashed; border-color: rgba(58, 162, 255, 0.18); animation: spin 44s linear infinite; }
.hero__ring--3 { width: 56%; border-color: rgba(58, 162, 255, 0.26); }

@keyframes spin { to { transform: rotate(360deg); } }

.hero__mark {
  position: relative;
  width: min(46%, 230px);
  filter: drop-shadow(0 24px 60px rgba(18, 118, 234, 0.55));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(-8px); }
  50%      { transform: translateY(8px); }
}

/* Small orbiting service chips */
.orbit-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  background: rgba(13, 21, 38, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.orbit-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-brand);
}

.orbit-chip--1 { top: 8%;  left: -4%; }
.orbit-chip--2 { top: 40%; right: -8%; }
.orbit-chip--3 { bottom: 12%; left: 2%; }

/* --------------------------------------------------------------- stats --- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(56px, 8vw, 90px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  padding: 28px 24px;
  background: var(--ink-900);
  text-align: center;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--text-mute);
}

/* ------------------------------------------------------------ services --- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  /* chamfered top-right corner — the same 45° cut as the logo's bar ends */
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%);
  border-radius: 4px 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease),
              border-color 0.35s var(--ease);
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
              rgba(18, 118, 234, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.service:hover {
  transform: translateY(-6px);
  border-color: rgba(58, 162, 255, 0.4);
}
.service:hover::before { opacity: 1; }

.service__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--blue-300);
  background: linear-gradient(150deg, rgba(58, 162, 255, 0.22), rgba(11, 58, 166, 0.18));
  border: 1px solid rgba(58, 162, 255, 0.28);
  border-radius: 13px;
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}

.service:hover .service__icon { color: #fff; transform: rotate(-6deg) scale(1.06); }

.service h3 { margin-bottom: 10px; }

.service p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  /* auto top margin pins the tag row to the card floor, so rows line up
     across cards whose copy runs to different lengths */
  margin: auto 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service__tags li {
  padding: 4px 10px;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.service__num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.14);
}

/* ----------------------------------------------------------------- why --- */

.why {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.why__panel {
  position: relative;
  padding: 34px;
  background: linear-gradient(160deg, rgba(18, 118, 234, 0.16), rgba(7, 12, 23, 0.4));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why__panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: -110px;
  background: radial-gradient(circle, rgba(58, 162, 255, 0.35), transparent 70%);
  filter: blur(28px);
}

.why__panel-inner { position: relative; z-index: 1; }

.why__quote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.why__panel hr {
  height: 1px;
  margin: 26px 0;
  border: 0;
  background: var(--line-strong);
}

.why__mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.why__mini dt {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-300);
  letter-spacing: -0.03em;
}

.why__mini dd {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: var(--text-dim);
}

.feature-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}

.feature__tick {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue-300);
  background: rgba(58, 162, 255, 0.12);
  border: 1px solid rgba(58, 162, 255, 0.28);
  border-radius: 9px;
}

.feature h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature p { font-size: 0.92rem; color: var(--text-dim); }

/* ------------------------------------------------------------- process --- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* connector line between steps */
.step::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -11px;
  width: 22px;
  height: 1px;
  background: var(--line-strong);
}
.step:last-child::after { display: none; }

.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-dim); }

/* --------------------------------------------------------------- stack --- */

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 6px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: slide 38s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.chip {
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text-dim);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 100px;
}

/* ----------------------------------------------------------------- cta --- */

.cta-band {
  position: relative;
  padding: clamp(44px, 6vw, 68px);
  text-align: center;
  background: linear-gradient(135deg, rgba(18, 118, 234, 0.2), rgba(11, 58, 166, 0.14));
  border: 1px solid rgba(58, 162, 255, 0.28);
  border-radius: 26px;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 72%);
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band p {
  max-width: 52ch;
  margin: 16px auto 0;
  color: var(--text-dim);
}

.cta-band .hero__actions { justify-content: center; }

/* ------------------------------------------------------------- contact --- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.contact-cards { display: grid; gap: 14px; }

.contact-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.contact-card:hover { border-color: rgba(58, 162, 255, 0.4); transform: translateY(-3px); }

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--blue-300);
  background: rgba(58, 162, 255, 0.12);
  border-radius: 11px;
}

.contact-card dt {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.contact-card dd {
  margin: 2px 0 0;
  font-size: 0.96rem;
  font-weight: 500;
}

.form {
  padding: clamp(24px, 3.4vw, 36px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field { display: block; margin-bottom: 16px; }

.field span {
  display: block;
  margin-bottom: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.94rem;
  color: var(--text);
  background: rgba(5, 8, 15, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea { resize: vertical; min-height: 122px; }

.field 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='%23A7B4CA' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field select option { background: var(--ink-800); color: var(--text); }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(18, 118, 234, 0.2);
}

.form .btn { width: 100%; margin-top: 6px; }

.form__note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-mute);
  text-align: center;
}

.form__status {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 0.87rem;
  border-radius: var(--radius-sm);
  background: rgba(53, 208, 127, 0.12);
  border: 1px solid rgba(53, 208, 127, 0.35);
  color: #9BEDC3;
}

.form__status[hidden] { display: none; }

/* -------------------------------------------------------------- footer --- */

.site-footer {
  padding-top: clamp(56px, 7vw, 80px);
  padding-bottom: 32px;
  background: var(--ink-900);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.footer-col a:hover { color: var(--blue-300); padding-left: 4px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--text-mute);
}

.socials { display: flex; gap: 8px; }

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
              background-color 0.25s var(--ease);
}
.socials a:hover {
  color: #fff;
  border-color: rgba(58, 162, 255, 0.45);
  background: rgba(18, 118, 234, 0.16);
}

/* Back to top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--grad-brand);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* -------------------------------------------------------------- reveal --- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- responsive --- */

@media (max-width: 1024px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 300px; }
  .hero__mark { width: min(38%, 190px); }
  .why { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 26px;
    background: rgba(7, 12, 23, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }

  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }

  /* the header CTA rides along inside the drawer rather than disappearing */
  .nav .btn {
    margin: 18px 0 0;
    padding: 14px 24px;
    font-size: 0.95rem;
    border-bottom: 0;
  }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .orbit-chip--2 { right: -2%; }
}

@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .orbit-chip { font-size: 0.72rem; padding: 6px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
