/* ==========================================================================
   Chatoyant Tech — corporate website
   ========================================================================== */

:root {
  --bg: #070b14;
  --bg-2: #0a101d;
  --surface: #0e1626;
  --surface-2: #121c30;
  --ink: #e9eef8;
  --muted: #97a3bb;
  --soft: #6b7791;
  --cyan: #2fd4c6;
  --cyan-deep: #18a99e;
  --violet: #8b94f8;
  --magenta: #ef6bb0;
  --line: rgba(151, 163, 187, .14);
  --line-strong: rgba(151, 163, 187, .26);
  --glow-cyan: rgba(47, 212, 198, .16);
  --glow-violet: rgba(139, 148, 248, .14);
  --shadow-sm: 0 8px 24px -16px rgba(0, 0, 0, .6);
  --shadow-md: 0 20px 50px -24px rgba(0, 0, 0, .7);
  --max: 1160px;
  --radius: 14px;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--text);
  color: var(--ink);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color .18s ease;
}

a:hover { color: #7fe9df; }
img, svg { display: block; max-width: 100%; }

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

/* ---------- Background texture ---------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 85% -10%, var(--glow-violet), transparent 70%),
    radial-gradient(900px 560px at 8% 12%, var(--glow-cyan), transparent 70%),
    var(--bg);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(151, 163, 187, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 163, 187, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(1200px 800px at 50% 0%, #000 0%, transparent 78%);
}

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand:hover { color: inherit; }

.logo {
  width: 38px;
  height: 38px;
  flex: none;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .01em;
  color: var(--ink);
  line-height: 1.15;
}

.wordmark small {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--soft);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 11, 20, .72);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}

.site-header.scrolled {
  background: rgba(7, 11, 20, .92);
  border-bottom-color: var(--line);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: width .12s linear;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

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

.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg { width: 20px; height: 20px; margin: 0 auto; }
.nav-toggle .ic-close { display: none; }
body.nav-open .nav-toggle .ic-open { display: none; }
body.nav-open .nav-toggle .ic-close { display: block; }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 72px 0 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px;
  background: rgba(7, 11, 20, .97);
  backdrop-filter: blur(16px);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

body.nav-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav a {
  padding: 15px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
}

.mobile-nav a[aria-current="page"] { color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

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

.btn-primary {
  color: #04221f;
  background: linear-gradient(120deg, var(--cyan) 0%, #5fe3d6 100%);
  box-shadow: 0 12px 32px -14px rgba(47, 212, 198, .55);
}

.btn-primary:hover {
  color: #04221f;
  box-shadow: 0 16px 40px -14px rgba(47, 212, 198, .7);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(151, 163, 187, .06);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--cyan);
  background: rgba(47, 212, 198, .08);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 18px;
  font-size: 13.5px;
}

.btn svg { width: 17px; height: 17px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 92px 0 84px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 7px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(151, 163, 187, .05);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
}

.tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(47, 212, 198, .18);
  animation: pulse 2.4s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 212, 198, .22); }
  50% { box-shadow: 0 0 0 7px rgba(47, 212, 198, .06); }
}

.hero h1 {
  margin: 0 0 22px;
  font-size: 56px;
  letter-spacing: -.02em;
}

.hero h1 .grad {
  background: linear-gradient(95deg, var(--cyan) 10%, var(--violet) 60%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 560px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 18.5px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-facts div { min-width: 120px; }

.hero-facts b {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  color: var(--ink);
}

.hero-facts span {
  color: var(--soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Terminal panel ---------- */
.terminal {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--surface-2), var(--surface) 60%);
  box-shadow: var(--shadow-md), 0 0 80px -30px var(--glow-cyan);
  overflow: hidden;
}

.terminal::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(47, 212, 198, .5), transparent 38%, transparent 64%, rgba(139, 148, 248, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 20, .45);
}

.term-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--soft);
  opacity: .5;
}

.term-bar i:nth-child(1) { background: #f87171; opacity: .85; }
.term-bar i:nth-child(2) { background: #fbbf24; opacity: .85; }
.term-bar i:nth-child(3) { background: #34d399; opacity: .85; }

.term-bar .title {
  margin-left: 8px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 12px;
}

.term-body {
  min-height: 318px;
  padding: 20px 22px 24px;
  font-family: var(--mono);
  font-size: 13.2px;
  line-height: 1.9;
}

.term-body .ln { display: block; white-space: pre-wrap; }
.term-body .p { color: var(--cyan); }
.term-body .c { color: var(--soft); }
.term-body .ok { color: #34d399; }
.term-body .v { color: var(--violet); }
.term-body .m { color: var(--magenta); }
.term-body .w { color: var(--ink); }

.caret {
  display: inline-block;
  width: 8px;
  height: 16px;
  margin-left: 2px;
  vertical-align: -3px;
  background: var(--cyan);
  animation: caret 1s steps(1) infinite;
}

@keyframes caret { 50% { opacity: 0; } }

/* ---------- Sections ---------- */
section.block { padding: 92px 0; }
section.block.tightened { padding-top: 0; }

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan);
}

.section-head.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan);
}

.section-head h2 {
  margin-bottom: 16px;
  font-size: 40px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17.5px;
}

/* ---------- Tabs (business lines) ---------- */
.tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 36px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(7, 11, 20, .5);
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.tab-btn svg { width: 17px; height: 17px; }

.tab-btn[aria-selected="true"] {
  color: #04221f;
  background: linear-gradient(120deg, var(--cyan), #5fe3d6);
}

.tab-btn.alt[aria-selected="true"] {
  color: #1d0a2e;
  background: linear-gradient(120deg, var(--violet), #b4a7fb);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .45s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.panel-copy h3 {
  margin-bottom: 14px;
  font-size: 28px;
}

.panel-copy > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16.5px;
}

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

.check-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 15.5px;
}

.check-list svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--cyan);
  flex: none;
}

.tab-panel[data-accent="violet"] .check-list svg { color: var(--violet); }

.ssic {
  display: inline-block;
  margin-top: 24px;
  padding: 6px 13px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 12px;
}

/* Panel visuals */
.panel-visual {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-md);
  padding: 30px;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.panel-visual svg { width: 100%; height: auto; max-width: 420px; }

/* ---------- Cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 212, 198, .4);
  box-shadow: var(--shadow-md);
}

.card .ic {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--cyan);
  background: rgba(47, 212, 198, .07);
  display: grid;
  place-items: center;
}

.card .ic svg { width: 23px; height: 23px; }

.card h3 {
  margin: 0 0 9px;
  font-size: 19px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.card .index {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 12px;
  opacity: .7;
}

/* ---------- Company snapshot ---------- */
.snapshot {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.fact-table {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.fact-table header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 20, .4);
}

.fact-table header h3 {
  margin: 0;
  font-size: 16px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 13px;
  border: 1px solid rgba(52, 211, 153, .4);
  border-radius: 999px;
  color: #34d399;
  background: rgba(52, 211, 153, .08);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse 2.4s infinite ease-in-out;
}

.fact-table dl { margin: 0; }

.fact-table dl div {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 16px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
}

.fact-table dl div:first-child { border-top: 0; }

.fact-table dt {
  color: var(--soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding-top: 2px;
}

.fact-table dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.fact-table dd .mono { font-family: var(--mono); font-size: 13.5px; }

/* ---------- Values strip ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(7, 11, 20, .4);
  overflow: hidden;
}

.values article {
  padding: 32px 30px;
  border-left: 1px solid var(--line);
}

.values article:first-child { border-left: 0; }

.values .num {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
}

.values h3 { margin: 0 0 8px; font-size: 18px; }
.values p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 64px 48px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    radial-gradient(560px 280px at 12% 0%, var(--glow-cyan), transparent 70%),
    radial-gradient(560px 280px at 88% 100%, var(--glow-violet), transparent 70%),
    linear-gradient(170deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-md);
  text-align: center;
  overflow: hidden;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: 34px;
}

.cta-band p {
  max-width: 540px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 17px;
}

.cta-band .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 76px 0 56px;
  border-bottom: 1px solid var(--line);
}

.page-hero .crumb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .05em;
}

.page-hero .crumb a { color: var(--soft); }
.page-hero .crumb a:hover { color: var(--cyan); }

.page-hero h1 {
  margin: 0 0 12px;
  font-size: 44px;
}

.page-hero p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 17.5px;
}

/* ---------- Content / legal pages ---------- */
.content {
  padding: 56px 0 92px;
}

.content .wrap { max-width: 820px; }

.content h2 {
  margin: 44px 0 14px;
  font-size: 26px;
}

.content h3 {
  margin: 28px 0 8px;
  font-size: 19px;
}

.content p, .content li {
  color: var(--muted);
  font-size: 16px;
}

.content ul, .content ol { padding-left: 24px; }
.content li { margin-bottom: 9px; }
.content strong { color: var(--ink); font-weight: 600; }

.content .meta {
  margin: 4px 0;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 13.5px;
}

.callout {
  margin: 28px 0;
  padding: 20px 24px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--cyan);
  border-radius: 10px;
  background: rgba(47, 212, 198, .05);
}

.callout p { margin: 0; color: var(--ink); }

/* ---------- People / governance ---------- */
.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.person {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
}

.person .avatar {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #04221f;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}

.person h3 { margin: 0 0 4px; font-size: 18px; }

.person .role {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.person p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  margin-bottom: 20px;
}

.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 10px;
  font-size: 18px;
}

.contact-card h3 svg { width: 19px; height: 19px; color: var(--cyan); }
.contact-card p { margin: 4px 0; color: var(--muted); font-size: 15px; }
.contact-card a { font-weight: 600; }

.form-panel {
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-md);
}

.form-panel h3 { margin: 0 0 6px; font-size: 22px; }
.form-panel > p { margin: 0 0 26px; color: var(--muted); font-size: 15px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(7, 11, 20, .55);
  color: var(--ink);
  font-family: var(--text);
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(47, 212, 198, .15);
}

.form-note {
  margin-top: 14px;
  color: var(--soft);
  font-size: 13px;
}

/* ---------- Accordion (FAQ) ---------- */
.accordion {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  overflow: hidden;
}

.acc-item + .acc-item { border-top: 1px solid var(--line); }

.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 21px 26px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color .18s ease;
}

.acc-trigger:hover { color: var(--cyan); }

.acc-trigger .chev {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--soft);
  transition: transform .25s ease, color .25s ease;
}

.acc-item.open .acc-trigger .chev {
  transform: rotate(180deg);
  color: var(--cyan);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.acc-body p {
  margin: 0;
  padding: 0 26px 22px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 11, 20, .6);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.site-footer .brand { margin-bottom: 18px; }

.site-footer .about {
  max-width: 360px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14.5px;
}

.site-footer .reg {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 12.5px;
}

.footer-col h4 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 14.5px;
}

.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(14, 22, 38, .9);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, border-color .2s ease;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover { border-color: var(--cyan); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid,
  .panel-grid,
  .snapshot,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero { padding: 64px 0; }
  .hero h1 { font-size: 46px; }
  .values { grid-template-columns: 1fr; }
  .values article { border-left: 0; border-top: 1px solid var(--line); }
  .values article:first-child { border-top: 0; }
}

@media (max-width: 860px) {
  .cards-3, .people { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 17px; }
  .section-head h2 { font-size: 31px; }
  section.block { padding: 64px 0; }
  .page-hero h1 { font-size: 34px; }
  .cta-band { padding: 46px 24px; }
  .cta-band h2 { font-size: 27px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .fact-table dl div { grid-template-columns: 1fr; gap: 3px; }
  .tabs { width: 100%; }
  .tab-btn { flex: 1; justify-content: center; padding: 11px 10px; font-size: 14px; }
  .term-body { min-height: 280px; font-size: 12.3px; }
  .form-panel { padding: 26px 20px; }
}
