/* ==========================================================
   True Claims MD — futuristic healthcare theme
   ========================================================== */
:root {
  --bg: #050b1a;
  --bg-2: #0a1428;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(148, 197, 255, 0.14);
  --text: #e6eefc;
  --muted: #93a4c3;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --green: #34d399;
  --grad: linear-gradient(120deg, var(--cyan), var(--blue) 45%, var(--violet));
  --grad-soft: linear-gradient(120deg, rgba(34, 211, 238, .18), rgba(139, 92, 246, .18));
  --radius: 18px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before { /* subtle grid */
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(148, 197, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 197, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(70px, 10vw, 120px) 0; position: relative; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px;
  background: rgba(34, 211, 238, .06);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { font-size: 1.1rem; }

@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .12), transparent 65%);
  pointer-events: none; z-index: 0; transform: translate(-50%, -50%);
  left: -999px; top: -999px; transition: opacity .3s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(59, 130, 246, .7); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35), transparent 70%);
  transform: translateX(-100%); transition: transform .6s;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(139, 92, 246, .8); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .08); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(5, 11, 26, .78); backdrop-filter: blur(16px); border-color: var(--border); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) { color: var(--muted); font-weight: 500; position: relative; transition: color .2s; }
.main-nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); transition: width .3s;
}
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--text); }
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 11, 26, .97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 24px;
    transform: translateY(-120%); transition: transform .35s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; position: relative; overflow: hidden; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { /* glow orbs */
  content: ''; position: absolute; width: 700px; height: 700px; right: -200px; top: -150px;
  background: radial-gradient(circle, rgba(139, 92, 246, .28), transparent 65%);
  filter: blur(20px); z-index: 0; animation: float 12s ease-in-out infinite;
}
.hero::before {
  content: ''; position: absolute; width: 600px; height: 600px; left: -200px; bottom: -200px;
  background: radial-gradient(circle, rgba(34, 211, 238, .2), transparent 65%);
  filter: blur(20px); z-index: 0; animation: float 14s ease-in-out infinite reverse;
}
@keyframes float { 50% { transform: translate(40px, 40px); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero h1 .typed { display: inline-block; min-width: 1ch; }
.hero h1 .caret { display: inline-block; width: 3px; height: .9em; background: var(--cyan); margin-left: 4px; vertical-align: -0.05em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-lead { font-size: 1.18rem; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; color: var(--muted); font-size: .9rem; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--green); }

/* Dashboard mockup */
.dash {
  position: relative;
  background: linear-gradient(160deg, rgba(20, 34, 66, .85), rgba(10, 20, 40, .85));
  border: 1px solid var(--border); border-radius: 22px; padding: 20px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 80px -20px rgba(59, 130, 246, .5);
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  transition: transform .2s ease-out;
}
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.dash-title { font-size: .8rem; color: var(--muted); letter-spacing: .08em; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.kpi small { color: var(--muted); font-size: .72rem; display: block; }
.kpi b { font-family: var(--font-head); font-size: 1.35rem; }
.kpi em { font-style: normal; font-size: .72rem; color: var(--green); }
.dash-chart { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.dash-chart svg { width: 100%; height: 130px; display: block; }
.chart-line { stroke-dasharray: 800; stroke-dashoffset: 800; animation: draw 2.5s .4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash-rows { display: grid; gap: 8px; }
.pt-row { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; font-size: .82rem; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: #fff; flex: none; }
.pt-row .name { flex: 1; }
.tag { font-size: .7rem; padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.tag.ok { background: rgba(52, 211, 153, .15); color: var(--green); }
.tag.wait { background: rgba(251, 191, 36, .15); color: #fbbf24; }
.tag.live { background: rgba(34, 211, 238, .15); color: var(--cyan); }
.float-card {
  position: absolute; background: rgba(10, 20, 40, .9); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow); backdrop-filter: blur(14px); font-size: .82rem;
  animation: bob 5s ease-in-out infinite;
}
.float-card b { display: block; font-family: var(--font-head); font-size: 1rem; }
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan); }
.float-card.one { left: -40px; bottom: 60px; }
.float-card.two { right: -30px; top: -26px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .float-card.one { left: 10px; } .float-card.two { right: 10px; }
}
@media (max-width: 520px) {
  .dash-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .kpi b { font-size: 1.05rem; }
  .float-card { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); padding: 26px 0; overflow: hidden; background: rgba(255, 255, 255, .015); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scroll 35s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-size: 1.15rem; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 60px; }
.marquee-track span::after { content: '✦'; color: var(--violet); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center; padding: 34px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative; padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .35s, border-color .35s, background .35s;
  overflow: hidden; isolation: isolate;
}
.card::before { /* spotlight follows mouse */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 130, 246, .16), transparent 45%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, .4); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border); color: var(--cyan); margin-bottom: 22px;
}
.card .icon svg { width: 28px; height: 28px; }
.card p { margin-bottom: 18px; }
.card .more { color: var(--cyan); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.card .more::after { content: '→'; transition: transform .25s; }
.card:hover .more::after { transform: translateX(5px); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse > :first-child { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(52, 211, 153, .14); color: var(--green); display: grid; place-items: center;
  font-size: .78rem; font-weight: 700; margin-top: 2px;
}
.visual-box {
  aspect-ratio: 4/3.2; border-radius: 22px; border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(20, 34, 66, .8), rgba(10, 20, 40, .8));
  position: relative; overflow: hidden; display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.visual-box::before {
  content: ''; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(34, 211, 238, .25), transparent 30%, rgba(139, 92, 246, .25), transparent 60%);
  animation: spin 14s linear infinite;
}
.visual-box::after { content: ''; position: absolute; inset: 1px; border-radius: 21px; background: linear-gradient(160deg, #0d1a35, #081124); }
.visual-box > * { position: relative; z-index: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* AI orb visual */
.orb { width: 220px; height: 220px; border-radius: 50%; position: relative; }
.orb .core {
  position: absolute; inset: 50px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #a5f3fc, var(--blue) 45%, var(--violet) 80%);
  box-shadow: 0 0 60px rgba(59, 130, 246, .7), 0 0 120px rgba(139, 92, 246, .4);
  animation: breathe 4s ease-in-out infinite;
}
.orb .ring { position: absolute; inset: 0; border: 1px dashed rgba(34, 211, 238, .45); border-radius: 50%; animation: spin 20s linear infinite; }
.orb .ring.r2 { inset: -30px; border-style: solid; border-color: rgba(139, 92, 246, .3); animation-duration: 30s; animation-direction: reverse; }
.orb .ring::before { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.orb .ring.r2::before { background: var(--violet); box-shadow: 0 0 14px var(--violet); }
@keyframes breathe { 50% { transform: scale(1.08); } }
.orb-label { position: absolute; font-size: .78rem; padding: 6px 12px; border-radius: 999px; background: rgba(10, 20, 40, .9); border: 1px solid var(--border); white-space: nowrap; }

/* Bars visual */
.bars { display: flex; align-items: flex-end; gap: 14px; height: 200px; padding: 0 30px; width: 100%; justify-content: center; }
.bars i { width: 34px; border-radius: 8px 8px 4px 4px; background: var(--grad); height: 0; transition: height 1.2s cubic-bezier(.2, .8, .2, 1); opacity: .9; }
.reveal.in .bars i { height: var(--h); }

/* ---------- Specialties chips ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip {
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-weight: 500; transition: .25s; cursor: default;
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 24px -6px var(--cyan); transform: translateY(-3px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--border), var(--violet), var(--border), transparent); }
.step { text-align: center; position: relative; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; background: var(--bg-2); border: 1px solid var(--cyan);
  box-shadow: 0 0 24px -4px var(--cyan); position: relative;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; max-width: 860px; margin: 0 auto; }
.testi-track { display: flex; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.testi-viewport { overflow: hidden; border-radius: var(--radius); }
.testi {
  min-width: 100%; padding: 48px; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.testi blockquote { margin: 0 0 26px; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.6; color: var(--text); font-family: var(--font-head); font-weight: 500; }
.testi .who { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testi .who .avatar { width: 44px; height: 44px; font-size: .9rem; }
.testi .who div { text-align: left; }
.testi .who small { color: var(--muted); display: block; }
.stars { color: #fbbf24; letter-spacing: 3px; margin-bottom: 18px; }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.testi-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: var(--border); cursor: pointer; transition: .3s; padding: 0; }
.testi-dots button.active { width: 30px; background: var(--grad); }
@media (max-width: 600px) { .testi { padding: 32px 22px; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; border-radius: 28px; padding: clamp(40px, 7vw, 80px); text-align: center; overflow: hidden;
  background: linear-gradient(120deg, rgba(34, 211, 238, .12), rgba(59, 130, 246, .12), rgba(139, 92, 246, .18));
  border: 1px solid var(--border);
}
.cta::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; left: 50%; top: -260px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(139, 92, 246, .45), transparent 65%);
}
.cta > * { position: relative; }
.cta p { max-width: 600px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta .hero-actions { justify-content: center; margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 170px 0 80px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; width: 900px; height: 500px; left: 50%; top: -150px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(59, 130, 246, .25), transparent 65%);
}
.page-hero > * { position: relative; }
.page-hero p { max-width: 680px; margin-inline: auto; font-size: 1.15rem; }

/* ---------- Solutions detail ---------- */
.solution-block { scroll-margin-top: 100px; }
.solution-block + .solution-block { border-top: 1px solid var(--border); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini { padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.mini b { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.mini span { color: var(--muted); font-size: .9rem; }
@media (max-width: 520px) { .mini-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--cyan), var(--violet)); }
.tl-item { position: relative; margin-bottom: 40px; }
.tl-item::before { content: ''; position: absolute; left: -32px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.tl-item h3 { margin-bottom: 4px; }
.tl-item .yr { color: var(--cyan); font-weight: 600; font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 16px; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 16px; }
.info-card .icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan); }
.info-card h4 { margin: 0 0 2px; font-size: 1rem; }
.info-card p { margin: 0; word-break: break-word; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: 22px; background: linear-gradient(160deg, rgba(20, 34, 66, .7), rgba(10, 20, 40, .7)); border: 1px solid var(--border); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; font: inherit; color: var(--text);
  background: rgba(5, 11, 26, .6); border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s;
}
.field select option { background: var(--bg-2); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .15); }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 12px; display: none; font-size: .95rem; }
.form-status.ok { display: block; background: rgba(52, 211, 153, .12); color: var(--green); border: 1px solid rgba(52, 211, 153, .3); }
.form-status.err { display: block; background: rgba(236, 72, 153, .12); color: #f9a8d4; border: 1px solid rgba(236, 72, 153, .3); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 70px 0 0; background: linear-gradient(transparent, rgba(10, 20, 40, .8)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin: 16px 0 20px; max-width: 340px; }
.site-footer h4 { font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a, .contact-list li { color: var(--muted); transition: color .2s; word-break: break-word; }
.site-footer ul a:hover { color: var(--cyan); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border); color: var(--muted); transition: .25s; }
.socials a:hover { color: var(--cyan); border-color: var(--cyan); transform: translateY(-3px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 26px 0; margin-top: 50px; border-top: 1px solid var(--border); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badges span { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: .78rem; }

.back-to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 14px; z-index: 90;
  display: grid; place-items: center; background: var(--grad); color: #fff;
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s;
  box-shadow: 0 10px 30px -8px rgba(59, 130, 246, .8);
}
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.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; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
}
