/* ==========================================================================
   Noevix Technologies — Design System
   ========================================================================== */

:root {
  /* Brand palette */
  --bg: #0e1526;
  --bg-alt: #131b30;
  --surface: #19233c;
  --surface-2: #1f2a47;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);

  --text: #eef2f9;
  --text-muted: #97a3b8;
  --text-faint: #647089;

  --accent: #c9a227;
  --accent-2: #f0c869;
  --accent-3: #8a6d2f;
  --accent-grad: linear-gradient(120deg, #c9a227 0%, #f0c869 100%);
  --accent-grad-soft: linear-gradient(120deg, rgba(201, 162, 39, 0.15) 0%, rgba(240, 200, 105, 0.15) 100%);

  --light-bg: #f6f8fc;
  --light-surface: #ffffff;
  --light-border: #e4e9f2;
  --light-text: #0e1526;
  --light-muted: #5b6479;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-soft: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 0 1px rgba(201, 162, 39, 0.15), 0 20px 50px -15px rgba(201, 162, 39, 0.35);

  --container: 1200px;
  --nav-h: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 17px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-grad);
  color: #060a14;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-2px); }
.btn-dark {
  background: var(--light-text);
  color: #fff;
}
.btn-dark:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(14, 21, 38, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(14, 21, 38, 0.85);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-grad);
  display: flex; align-items: center; justify-content: center;
  color: #060a14;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.brand span.dim { color: var(--text-muted); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: transparent;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.mobile-panel.open { display: flex; }
.mobile-panel a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
}
.mobile-panel a.active { color: var(--accent-2); }
.mobile-panel .btn { margin-top: 16px; width: 100%; }

/* ---------- Hero ---------- */
.official-banner {
  margin-top: var(--nav-h);
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 25%, var(--accent) 50%, var(--accent-2) 75%, var(--accent) 100%);
  background-size: 300% 100%;
  animation: banner-shimmer 7s ease-in-out infinite;
  overflow: hidden;
  padding: 18px 0;
  position: relative;
  z-index: 5;
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.35);
}
.official-track {
  display: flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-left 20s linear infinite;
}
.official-track span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: text-flash 2.6s ease-in-out infinite;
}
.official-track span::after {
  content: '\2726';
  font-size: 12px;
  opacity: 0.5;
}
.official-track span:nth-child(1) { animation-delay: 0s; }
.official-track span:nth-child(2) { animation-delay: 0.2s; }
.official-track span:nth-child(3) { animation-delay: 0.4s; }
.official-track span:nth-child(4) { animation-delay: 0.6s; }
.official-track span:nth-child(5) { animation-delay: 0.8s; }
.official-track span:nth-child(6) { animation-delay: 1s; }
.official-track span:nth-child(7) { animation-delay: 1.2s; }
.official-track span:nth-child(8) { animation-delay: 1.4s; }
.official-track span:nth-child(9) { animation-delay: 1.6s; }
.official-track span:nth-child(10) { animation-delay: 1.8s; }

@keyframes banner-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes text-flash {
  0%, 100% { opacity: 1; text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  50% { opacity: 0.5; text-shadow: 0 0 14px rgba(255, 255, 255, 0.85); }
}

.hero {
  padding: 96px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.22) 0%, rgba(240, 200, 105, 0.08) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(10px);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: clamp(36px, 6vw, 66px);
  margin-bottom: 24px;
}
.hero p.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat h3 {
  font-size: 30px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.hero-stat p { font-size: 13.5px; color: var(--text-faint); }

/* marquee */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg-alt);
}
.marquee {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: scroll-left 28s linear infinite;
  width: max-content;
}
.marquee span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 10px;
}
.marquee span::after { content: '◆'; color: var(--accent); font-size: 10px; margin-left: 56px; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Cards / Services ---------- */
.section { padding: 110px 0; }
.section.alt { background: var(--bg-alt); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-grad-soft);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-grad-soft);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.icon-box svg { width: 24px; height: 24px; stroke: var(--accent-2); }

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 14.5px; }
.card .link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 13.5px; font-weight: 600;
  color: var(--accent-2);
}
.card .link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.card:hover .link svg { transform: translateX(4px); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-list span {
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.price-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 27px;
  font-weight: 700;
  margin: 16px 0 10px;
}
.price-tag span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

/* ---------- Why / Feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature-row.reverse .feature-visual { order: 2; }
.feature-list { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--accent-2);
  font-family: 'Space Grotesk', sans-serif;
}
.feature-item h4 { font-size: 16px; margin-bottom: 6px; }
.feature-item p { font-size: 14px; color: var(--text-muted); }

.feature-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  padding: 40px;
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.feature-visual::after {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  background: var(--accent-grad);
  filter: blur(90px);
  opacity: 0.25;
  border-radius: 50%;
}
.orbit-graphic { position: relative; z-index: 1; width: 100%; height: 100%; }

/* ---------- Process / Timeline ---------- */
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 24px; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 15%, var(--border-strong) 85%, transparent);
}
.process-step { position: relative; text-align: center; }
.process-step .dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--accent-2);
  position: relative;
  z-index: 1;
}
.process-step h4 { font-size: 15.5px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- Stats band ---------- */
.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.stats-band .grid-4 { text-align: center; }
.stats-band h3 { font-size: 36px; margin-bottom: 6px; }
.stats-band p { color: var(--text-faint); font-size: 14px; }

/* ---------- Values grid ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #10152a 0%, #141d33 100%);
  border: 1px solid var(--border-strong);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 500px; height: 500px;
  background: var(--accent-grad);
  filter: blur(120px);
  opacity: 0.2;
}
.cta-banner h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 16px; position: relative; }
.cta-banner p { color: var(--text-muted); max-width: 520px; margin: 0 auto 32px; position: relative; }
.cta-banner .hero-cta { position: relative; margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand p { color: var(--text-muted); font-size: 14.5px; margin: 20px 0 24px; max-width: 280px; }
.footer h5 { font-size: 14px; margin-bottom: 20px; color: var(--text); }
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-links a { color: var(--text-muted); font-size: 14px; transition: color 0.25s; }
.footer-links a:hover { color: var(--accent-2); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
  color: var(--text-muted);
}
.social-row a:hover { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-2px); }
.social-row svg { width: 16px; height: 16px; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-faint);
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a:hover { color: var(--text-muted); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13.5px; color: var(--text-faint); margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--accent-2); }
.page-header h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 18px; }
.page-header p { color: var(--text-muted); font-size: 17px; max-width: 600px; margin: 0 auto; }

/* ---------- Service detail rows ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .service-visual { order: 2; }
.service-detail .icon-box { margin-bottom: 24px; }
.service-detail h3 { font-size: 26px; margin-bottom: 16px; }
.service-detail > div:first-child p { color: var(--text-muted); margin-bottom: 24px; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-muted); }
.check-list svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--accent-2); margin-top: 1px; }
.service-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 40px;
}
.service-visual::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  background: var(--accent-grad);
  filter: blur(90px);
  opacity: 0.22;
  border-radius: 50%;
}
.service-num {
  position: absolute;
  top: 24px; right: 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: var(--border-strong);
  z-index: 0;
}

/* ---------- Work / capability cards ---------- */
.work-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.work-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.work-media {
  height: 200px;
  background: linear-gradient(135deg, var(--surface-2), var(--bg-alt));
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.work-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148,163,184,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.work-media svg { width: 56px; height: 56px; stroke: var(--accent-2); opacity: 0.85; position: relative; z-index: 1; }
.work-body { padding: 28px; }
.work-body .pill { margin-bottom: 14px; }
.work-body h3 { font-size: 18px; margin-bottom: 10px; }
.work-body p { font-size: 14px; color: var(--text-muted); }

.note-card {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  background: rgba(255,255,255,0.015);
}
.note-card p { color: var(--text-muted); max-width: 480px; margin: 12px auto 0; font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 36px;
  margin-bottom: 20px;
  display: flex; gap: 18px;
}
.contact-info-card .icon-box { margin-bottom: 0; flex-shrink: 0; }
.contact-info-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a { font-size: 14.5px; color: var(--text-muted); }
.contact-info-card a:hover { color: var(--accent-2); }

.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .error-msg { display: none; color: #fb7185; font-size: 12.5px; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #fb7185; }
.field.invalid .error-msg { display: block; }
.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-top: 16px;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(34, 197, 94, 0.12); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.25); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.54s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.61s; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, border-color 0.3s;
  z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--accent-2); }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .service-detail, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse .feature-visual, .service-detail.reverse .service-visual { order: -1; }
  .process-track { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process-track::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .values-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .cta-banner { padding: 48px 24px; }
  .service-num { display: none; }
  .section { padding: 76px 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .official-banner { padding: 14px 0; }
  .official-track { gap: 36px; }
  .official-track span { font-size: 13px; gap: 10px; }
}
