/* ============================================================
   ARCELIS ENGINEERING — Industrial Moonlight Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --bg:         #0B1020;
  --surface:    #161F33;
  --surface-2:  #24324A;
  --accent:     #4A7CFF;
  --accent-2:   #7564FF;
  --highlight:  #A78BFA;
  --text:       #E7EDF7;
  --text-muted: #AAB6CC;
  --border:     #2B3954;
  --success:    #98E6C5;
  --warning:    #F4C36A;
  --danger:     #E66D7A;

  --font: 'Exo 2', system-ui, sans-serif;
  --radius:    6px;
  --radius-lg: 12px;
  --trans:     0.22s ease;
  --shadow:    0 4px 24px rgba(0,0,0,0.45);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.65);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ── Type ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); }

/* ── Layout ─────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 0; }
.section-sm { padding: 60px 0; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 60px;
}
.section-header h2  { margin-bottom: 16px; }
.section-header p   { color: var(--text-muted); font-size: 1.05rem; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans);
  border: none;
  letter-spacing: 0.02em;
  line-height: 1;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover {
  background: #3a6cef;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(74,124,255,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: top 0.35s ease, background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
#navbar.nav-hidden { top: -220px; }
#navbar.scrolled {
  background: rgba(11, 16, 32, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  padding: 4px 0;
  transition: opacity var(--trans);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo img { height: 176px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links li a {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--trans);
}
.nav-links li a:hover { color: var(--text); }
.nav-links .nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-left: 8px;
  transition: background var(--trans), transform var(--trans);
}
.nav-links .nav-cta:hover { background: #3a6cef !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.45) saturate(0.75);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11,16,32,0.92) 0%, rgba(11,16,32,0.5) 60%, rgba(11,16,32,0.2) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 30%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  max-width: 760px;
}
.hero-eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-content h1 {
  margin-bottom: 22px;
  color: #fff;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(231,237,247,0.82);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.stat { text-align: left; }
.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
  display: block;
  letter-spacing: 0.03em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.6;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollDown 2.2s ease infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  80%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ══════════════════════════════════════════════════════
   TAGLINE STRIP
══════════════════════════════════════════════════════ */
.tagline-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.tagline-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.tagline-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.5;
}
.tagline-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
}
.tagline-text strong { color: var(--text); font-weight: 600; }

/* ══════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity var(--trans);
}
.service-card:hover {
  border-color: rgba(74,124,255,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(74,124,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.service-icon svg { width: 22px; height: 22px; stroke-width: 1.6; }
.service-card h3  { font-size: 1.05rem; margin-bottom: 10px; }
.service-card > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 18px; line-height: 1.65; }

.service-examples {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.service-examples li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}
.service-examples li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.55;
}

/* ══════════════════════════════════════════════════════
   TRANSFORMATION SECTION
══════════════════════════════════════════════════════ */
.transform-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.transform-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.transform-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.transform-image img { width: 100%; display: block; }
.transform-content .section-tag { display: block; }
.transform-content h2 { margin-bottom: 18px; }
.transform-content p  { color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; font-size: 0.95rem; }
.transform-content p:last-of-type { margin-bottom: 28px; }
.transform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(74,124,255,0.1);
  border: 1px solid rgba(74,124,255,0.25);
  color: var(--accent);
  letter-spacing: 0.03em;
}

/* ══════════════════════════════════════════════════════
   MARKETS
══════════════════════════════════════════════════════ */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.market-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all var(--trans);
}
.market-card:hover {
  border-color: rgba(74,124,255,0.35);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.market-icon {
  width: 36px;
  height: 36px;
  background: rgba(74,124,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 14px;
}
.market-icon svg { width: 18px; height: 18px; stroke-width: 1.6; }
.market-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.market-items { display: flex; flex-direction: column; gap: 4px; }
.market-items li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 10px;
  position: relative;
}
.market-items li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--border);
}

/* ══════════════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════════════ */
.process-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}
.process-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  position: relative;
  transition: border-color var(--trans);
}
.process-step:hover { border-color: rgba(74,124,255,0.3); }
.process-step:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--border);
  font-size: 1.4rem;
  z-index: 1;
}
.step-num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.process-step h4 { font-size: 0.9rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.process-step p  { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; }

.process-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.process-image-wrap img { width: 100%; display: block; }

/* ══════════════════════════════════════════════════════
   PHILOSOPHY / CTA SECTION (bg image)
══════════════════════════════════════════════════════ */
.philosophy-section {
  position: relative;
  overflow: hidden;
}
.philosophy-bg {
  position: absolute;
  inset: 0;
}
.philosophy-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.2) saturate(0.6);
}
.philosophy-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11,16,32,0.65);
}
.philosophy-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.philosophy-quote {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.philosophy-quote em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.philosophy-sub {
  color: rgba(231,237,247,0.75);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
  text-align: left;
}
.advantage-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px;
  backdrop-filter: blur(8px);
}
.advantage-item h4 { font-size: 0.875rem; margin-bottom: 4px; color: var(--highlight); }
.advantage-item p  { font-size: 0.8rem; color: rgba(231,237,247,0.65); line-height: 1.5; }

/* ══════════════════════════════════════════════════════
   PURE LOGIC SECTION
══════════════════════════════════════════════════════ */
.pure-logic-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pure-logic-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.pure-logic-text .section-tag { display: block; }
.pure-logic-text h2 { margin-bottom: 18px; }
.pure-logic-text p  { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 14px; }
.pure-logic-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--trans);
}
.pillar:hover { border-color: rgba(74,124,255,0.3); }
.pillar-icon {
  width: 40px;
  height: 40px;
  background: rgba(74,124,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar h4  { font-size: 0.9375rem; margin-bottom: 4px; }
.pillar p   { font-size: 0.8375rem; color: var(--text-muted); line-height: 1.55; }

/* ══════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════ */
.contact-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact-info h2  { margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 36px; }
.contact-details  { display: flex; flex-direction: column; gap: 18px; }
.contact-detail   { display: flex; align-items: flex-start; gap: 14px; }
.c-icon {
  width: 42px;
  height: 42px;
  background: rgba(74,124,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.c-icon svg { width: 18px; height: 18px; stroke-width: 1.6; }
.c-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 2px; letter-spacing: 0.06em; font-weight: 600; text-transform: uppercase; }
.c-value { font-size: 0.9375rem; font-weight: 500; }
.c-value a:hover { color: var(--accent); }

.contact-note {
  margin-top: 32px;
  padding: 16px 18px;
  background: rgba(74,124,255,0.06);
  border: 1px solid rgba(74,124,255,0.15);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Form */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.form-subtitle { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74,124,255,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(170,182,204,0.45); }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23AAB6CC' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-group select option { background: var(--surface); color: var(--text); }
.form-group textarea { min-height: 120px; resize: vertical; }

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 1rem;
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  text-align: center;
  display: none;
  line-height: 1.5;
}
.form-status.success {
  display: block;
  background: rgba(152,230,197,0.08);
  border: 1px solid rgba(152,230,197,0.3);
  color: var(--success);
}
.form-status.error {
  display: block;
  background: rgba(230,109,122,0.08);
  border: 1px solid rgba(230,109,122,0.3);
  color: var(--danger);
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--trans);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p   { font-size: 0.8rem; color: rgba(170,182,204,0.55); }
.footer-bottom a   { color: var(--accent); }

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .markets-grid    { grid-template-columns: repeat(2, 1fr); }
  .process-steps   { grid-template-columns: repeat(3, 1fr); }
  .process-step:nth-child(3)::after { display: none; }
  .transform-inner { grid-template-columns: 1fr; gap: 44px; }
  .advantage-grid  { grid-template-columns: repeat(2, 1fr); }
  .pure-logic-inner { grid-template-columns: 1fr; gap: 44px; }
  .contact-inner   { grid-template-columns: 1fr; gap: 44px; }
  .footer-top      { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand    { grid-column: 1 / -1; }
  .footer-brand p  { max-width: 100%; }
}
@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .nav-logo img { height: 68px; }
  .services-grid    { grid-template-columns: 1fr; }
  .markets-grid     { grid-template-columns: repeat(2, 1fr); }
  .process-steps    { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .advantage-grid   { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .footer-top       { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom    { flex-direction: column; gap: 8px; text-align: center; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 84px 20px 32px;
    gap: 4px;
    transition: right 0.3s ease;
    box-shadow: -12px 0 48px rgba(0,0,0,0.5);
    z-index: 1000;
  }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; width: 100%; padding: 13px 16px; border-radius: var(--radius); }
  .nav-links .nav-cta { margin-left: 0; text-align: center; margin-top: 8px; }
}
@media (max-width: 520px) {
  .markets-grid  { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-stats    { gap: 20px; }
  .stat-divider  { display: none; }
  .contact-form  { padding: 24px; }
}
