/* Kinetic Consultants — clean corporate theme */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-tint: #eef3ff;
  --surface: #ffffff;
  --border: #e3e8f0;
  --text: #0e1726;
  --text-muted: #4b5668;
  --primary: #1a4fd6;
  --primary-strong: #133ba3;
  --primary-soft: #dfe8ff;
  --on-primary: #ffffff;
  --navy: #0b1b3a;
  --navy-2: #12264d;
  --on-navy: #e8eefb;
  --on-navy-muted: #a9b7d3;
  --accent: #19b5a5;
  --shadow-sm: 0 1px 2px rgba(14, 23, 38, .06), 0 1px 3px rgba(14, 23, 38, .08);
  --shadow-md: 0 8px 24px rgba(14, 23, 38, .08), 0 2px 6px rgba(14, 23, 38, .05);
  --shadow-lg: 0 24px 60px rgba(11, 27, 58, .16);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1222;
    --bg-soft: #0f1a2e;
    --bg-tint: #12213d;
    --surface: #111d33;
    --border: #22314d;
    --text: #e9eef8;
    --text-muted: #a3b0c7;
    --primary: #6d95ff;
    --primary-strong: #93b1ff;
    --primary-soft: #1a2c55;
    --on-primary: #071022;
    --navy: #07101f;
    --navy-2: #0d1a31;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-strong); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.25rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 1.15rem; }
.brand:hover { color: var(--text); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); line-height: 1; margin-top: 2px; }
.brand-text { line-height: 1.05; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-links a[aria-current="page"] { color: var(--primary); }
.nav-links .btn { margin-left: 8px; color: var(--on-primary); }
.nav-links .btn:hover { background: var(--primary-strong); color: var(--on-primary); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; width: 44px; height: 44px; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .nav-links .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  background: var(--primary); color: var(--on-primary);
  font: 600 .98rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s, color .15s;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 28%, transparent);
}
.btn:hover { background: var(--primary-strong); color: var(--on-primary); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); box-shadow: none; }
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); }
.btn-light { background: #fff; color: #0b1b3a; box-shadow: none; }
.btn-light:hover { background: #e8eefb; color: #0b1b3a; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
.btn-outline-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 96px 0; }
@media (max-width: 700px) { section { padding: 64px 0; } }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: var(--on-navy-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-navy .eyebrow { color: #8fb0ff; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.lead { font-size: 1.2rem; color: var(--text-muted); line-height: 1.55; }
.section-navy .lead { color: var(--on-navy-muted); }
.muted { color: var(--text-muted); }

/* Home hero */
.hero { position: relative; padding: 88px 0 104px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 85% 10%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 .grad { background: linear-gradient(100deg, var(--primary) 10%, var(--accent) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: var(--text-muted); font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--primary); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 56px 0 72px; } }

/* Kinetic orbit visual */
.orbit-wrap { position: relative; aspect-ratio: 1; max-width: 500px; width: 100%; margin-left: auto; }
@media (max-width: 960px) { .orbit-wrap { margin: 0 auto; max-width: 420px; } }
.orbit { position: absolute; inset: 0; }
.orbit .ring { fill: none; stroke: var(--border); stroke-width: 1.2; }
.orbit .arc { fill: none; stroke-linecap: round; }
.orbit .spin { transform-origin: 250px 250px; animation: spin linear infinite; }
.orbit .s1 { animation-duration: 28s; }
.orbit .s2 { animation-duration: 20s; animation-direction: reverse; }
.orbit .s3 { animation-duration: 14s; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core {
  position: absolute; inset: 34%; border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), #0f2f8a);
  box-shadow: 0 20px 50px color-mix(in srgb, var(--primary) 40%, transparent), inset 0 2px 0 rgba(255,255,255,.25);
  display: grid; place-items: center; color: #fff; text-align: center;
}
.orbit-core svg { width: 46%; height: 46%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 16px; box-shadow: var(--shadow-md); font-size: .88rem; font-weight: 600; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card small { display: block; font-weight: 500; color: var(--text-muted); font-size: .76rem; }
.fc1 { top: 6%; left: -4%; }
.fc2 { top: 44%; right: -8%; animation-delay: -2s; }
.fc3 { bottom: 4%; left: 6%; animation-delay: -4s; }
@media (max-width: 520px) { .fc1 { left: 0; top: 4%; } .fc2 { right: 0; top: 58%; } .fc3 { bottom: 0; left: 0; } .float-card { padding: 9px 12px; font-size: .8rem; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Venue strip */
.venue-strip { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); overflow: hidden; }
.venue-strip .label { text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.marquee { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; color: var(--text-muted); white-space: nowrap; }
.marquee span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.marquee-mask { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card p { color: var(--text-muted); margin-bottom: 0; }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 18px; }
.card .ic svg { width: 22px; height: 22px; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--text-muted); font-size: .95rem; }
.card ul li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.card ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--primary); opacity: .7; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); color: inherit; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--primary); font-weight: 600; font-size: .95rem; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .more svg { transform: translateX(4px); }

.service-card { position: relative; overflow: hidden; padding: 32px; }
.service-card .num { position: absolute; top: 22px; right: 26px; font-size: .8rem; font-weight: 700; color: var(--text-muted); letter-spacing: .1em; }
.service-card h3 { font-size: 1.35rem; }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.wide-left { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 40px; } }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.check-list li svg { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 2px; }
.check-list strong { display: block; }
.check-list span { color: var(--text-muted); }
.section-navy .check-list li svg { color: #8fb0ff; }
.section-navy .check-list span { color: var(--on-navy-muted); }

/* Pillars */
.pillar { padding: 32px 28px; border-radius: var(--radius); background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); }
.pillar .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(143,176,255,.14); color: #8fb0ff; margin-bottom: 18px; }
.pillar .ic svg { width: 22px; height: 22px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: .5; }
.step { position: relative; text-align: center; padding: 0 16px; }
.step .dot { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--primary); color: var(--primary); font-weight: 700; font-size: 1.1rem; position: relative; box-shadow: 0 0 0 6px var(--bg); }
.section-soft .step .dot { box-shadow: 0 0 0 6px var(--bg-soft); }
.step p { color: var(--text-muted); font-size: .96rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--primary), var(--accent)); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; text-align: left; padding: 0; }
  .step .dot { margin: 0; }
}

/* Founder */
.founder { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; gap: 36px; } }
.portrait {
  aspect-ratio: 4/5; border-radius: 20px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--primary) 0%, #0f2f8a 60%, var(--navy) 100%);
  display: grid; place-items: center; color: rgba(255,255,255,.9); box-shadow: var(--shadow-lg);
}
.portrait .initials { font-size: 6rem; font-weight: 800; letter-spacing: -0.04em; }
.portrait .ph-note { position: absolute; bottom: 16px; left: 16px; right: 16px; font-size: .78rem; text-align: center; color: rgba(255,255,255,.7); }
.portrait::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 50%); }
.quote { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; font-weight: 600; letter-spacing: -0.015em; border-left: 3px solid var(--primary); padding-left: 22px; margin: 28px 0; }
.cred-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.cred-list li { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 500; }

/* Engagement */
.engage { display: flex; flex-direction: column; }
.engage .tag { display: inline-block; align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 5px 10px; border-radius: 6px; margin-bottom: 16px; }
.engage.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }

/* CTA band */
.cta-band { padding: 0 0 96px; }
.cta-inner {
  position: relative; overflow: hidden; border-radius: 24px; padding: 64px;
  background: linear-gradient(120deg, #0b1b3a 0%, #133ba3 60%, #1a4fd6 100%);
  color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-inner::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: #c9d6f5; margin: 0; font-size: 1.1rem; }
.cta-inner .btn-row { position: relative; z-index: 1; }
@media (max-width: 800px) { .cta-inner { grid-template-columns: 1fr; padding: 40px 28px; } .cta-band { padding-bottom: 64px; } }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 80px 0 72px; overflow: hidden; background: var(--navy); color: var(--on-navy); }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 360px at 90% 0%, rgba(26, 79, 214, .55), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(25, 181, 165, .18), transparent 70%);
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 60px rgba(255,255,255,.02), 0 0 0 120px rgba(255,255,255,.015);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.6rem); max-width: 820px; }
.page-hero .lead { color: var(--on-navy-muted); max-width: 680px; margin-bottom: 28px; }
.page-hero .eyebrow { color: #8fb0ff; }
.breadcrumb { font-size: .85rem; color: var(--on-navy-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--on-navy-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* Stat / metric tiles */
.metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1000px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .metrics { grid-template-columns: 1fr; } }
.metric { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; }
.metric b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.metric span { color: var(--text-muted); font-size: .9rem; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 0; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 500; font-size: .95rem; }
.chips li svg { width: 16px; height: 16px; color: var(--primary); }

/* Two-col compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } }
.compare .card h3 { display: flex; align-items: center; gap: 12px; }
.compare .card h3 .ic { margin: 0; }

/* Scorecard visual */
.scorecard { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-lg); }
.scorecard header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.scorecard header b { font-size: 1.05rem; }
.scorecard header span { font-size: .82rem; color: var(--text-muted); }
.score-row { display: grid; grid-template-columns: 150px 1fr 40px; gap: 14px; align-items: center; margin-bottom: 14px; font-size: .92rem; }
.score-row .bar { height: 10px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; }
.score-row .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--primary), var(--accent)); width: 0; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.score-row .val { text-align: right; font-weight: 600; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.scorecard .note { font-size: .8rem; color: var(--text-muted); margin: 14px 0 0; }
@media (max-width: 480px) { .score-row { grid-template-columns: 110px 1fr 34px; font-size: .85rem; } }

/* Talk cards */
.talk { border-top: 4px solid var(--primary); }
.talk .meta { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.talk h3 { font-size: 1.4rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-muted); padding-bottom: 16px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info { display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--border); }
.info-item .ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item b { display: block; margin-bottom: 2px; }
.info-item span, .info-item a { color: var(--text-muted); font-size: .96rem; }
.info-item a { color: var(--primary); font-weight: 500; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 36px; box-shadow: var(--shadow-md); }
@media (max-width: 600px) { .form-card { padding: 24px 18px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.topic-pills { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 18px; }
.topic-pills legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.topic-pills input { position: absolute; opacity: 0; pointer-events: none; }
.topic-pills label { padding: 9px 15px; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; font-size: .92rem; font-weight: 500; transition: all .15s; user-select: none; }
.topic-pills input:checked + label { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.topic-pills input:focus-visible + label { outline: 3px solid var(--primary); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--text); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.form-status.err { display: block; background: color-mix(in srgb, #e5484d 12%, transparent); color: var(--text); border: 1px solid color-mix(in srgb, #e5484d 40%, transparent); }
.form-fine { font-size: .82rem; color: var(--text-muted); margin: 14px 0 0; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 64px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--on-navy-muted); }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { max-width: 360px; margin-top: 16px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 96px 0; }
.notfound .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: linear-gradient(100deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Utilities */
.mt-24 { margin-top: 24px; }
.h-404 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.center-row { justify-content: center; }
