/* Horizon 21 Consulting — site styles */
:root {
  --navy-950: #050d1a;
  --navy-900: #0a1628;
  --navy-800: #10223b;
  --navy-700: #1a3252;
  --ink: #0a1628;
  --ink-2: #3b4a5e;
  --ink-3: #6b7a8f;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --accent: #2f7bff;
  --accent-2: #39d0c4;
  --gold: #c8a96a;
  --radius: 14px;
  --max: 1200px;
  --shadow: 0 1px 2px rgba(10,22,40,.04), 0 8px 28px rgba(10,22,40,.08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } body { font-size: 16px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--accent-2); }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 680px; }
.dark .lead { color: #b6c3d6; }
.muted { color: var(--ink-3); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; transition: transform .2s, background .2s, box-shadow .2s, color .2s; cursor: pointer; border: 0;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(47,123,255,.35); }
.btn-primary:hover { transform: translateY(-2px); background: #1f68ea; }
.btn-ghost { border: 1px solid rgba(255,255,255,.25); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-header .logo img { height: 34px; width: auto; }
.site-header .logo .l-dark { display: none; }
.site-header.solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); border-color: var(--line); }
.site-header.solid .logo .l-dark { display: block; }
.site-header.solid .logo .l-light { display: none; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.82); transition: color .2s, background .2s; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.site-header.solid .nav a { color: var(--ink-2); }
.site-header.solid .nav a:hover, .site-header.solid .nav a.active { color: var(--ink); background: var(--bg-soft); }
.nav .btn { margin-left: 8px; padding: 10px 18px; color: #fff !important; background: var(--accent) !important; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: #fff; }
.site-header.solid .menu-toggle { color: var(--ink); }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .25s, opacity .25s; }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 16px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav a { color: var(--ink) !important; padding: 14px 12px; border-radius: 10px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  body.menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  body.menu-open .site-header { background: #fff; }
  body.menu-open .site-header .logo .l-dark { display: block; }
  body.menu-open .site-header .logo .l-light { display: none; }
  body.menu-open .menu-toggle { color: var(--ink); }
}

/* Dark sections & hero */
.dark { background: var(--navy-900); color: #fff; }
.hero {
  position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 75% 10%, #13305a 0%, transparent 60%), var(--navy-950);
  color: #fff; padding: 170px 0 110px;
}
.hero canvas.net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero .container { position: relative; }
.hero h1 { max-width: 900px; }
.hero h1 .grad { background: linear-gradient(90deg, #7fb0ff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.28rem; margin-top: 22px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta {
  margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12);
}
.hero-meta div { padding: 26px 24px 0 0; }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; }
.hero-meta span { color: #93a3ba; font-size: .9rem; }
@media (max-width: 800px) { .hero-meta { grid-template-columns: repeat(2, 1fr); } .hero { padding: 140px 0 80px; } }

.page-hero { background: radial-gradient(900px 500px at 80% 0%, #13305a 0%, transparent 60%), var(--navy-950); color: #fff; padding: 160px 0 90px; position: relative; overflow: hidden; }
.page-hero .lead { margin-top: 14px; }
.crumbs { font-size: .85rem; color: #8193ab; margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }

/* Sections */
section { padding: 110px 0; }
@media (max-width: 700px) { section { padding: 72px 0; } }
.soft { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .lead { margin: 0; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4dce7; }
.card p { color: var(--ink-2); margin: 0; }
.card .num { font-family: var(--font-display); font-size: .85rem; color: var(--ink-3); margin-bottom: 26px; display: block; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(47,123,255,.12), rgba(57,208,196,.12)); color: var(--accent);
}
.icon svg { width: 24px; height: 24px; }
.card-dark { background: var(--navy-800); border-color: rgba(255,255,255,.08); color: #fff; }
.card-dark p { color: #a9b7cb; }
.card-dark:hover { border-color: rgba(255,255,255,.2); box-shadow: none; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--accent); margin-top: 22px; font-size: .95rem; }
.link-arrow:hover { gap: 12px; }

/* Pedigree strip */
.pedigree { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.pedigree div { padding: 30px 22px; border-right: 1px solid rgba(255,255,255,.1); }
.pedigree div:last-child { border-right: 0; }
.pedigree strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-bottom: 6px; }
.pedigree span { color: #93a3ba; font-size: .88rem; line-height: 1.45; display: block; }
@media (max-width: 900px) { .pedigree { grid-template-columns: 1fr 1fr; } .pedigree div { border-bottom: 1px solid rgba(255,255,255,.1); } }
@media (max-width: 520px) { .pedigree { grid-template-columns: 1fr; } .pedigree div { border-right: 0; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* Process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps .step { padding: 0 28px 0 0; position: relative; }
.steps .step::before {
  counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-display); font-weight: 600;
  font-size: .9rem; color: var(--accent-2); padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.15);
}
.steps .step p { color: #a9b7cb; font-size: .95rem; }
.steps .step .dur { display: inline-block; font-size: .78rem; color: #cfd9e6; background: rgba(255,255,255,.07); padding: 4px 10px; border-radius: 999px; margin-top: 6px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { padding-left: 34px; position: relative; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.dark .checks li { color: #c3cfdf; }

/* Use cases */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters button {
  font: inherit; font-size: .9rem; font-weight: 500; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); cursor: pointer; transition: .2s;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.uc { display: flex; flex-direction: column; }
.uc .tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.uc h3 { margin-bottom: 12px; }
.uc .kpis { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.uc .kpis span { font-size: .78rem; background: var(--bg-soft); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; color: var(--ink-2); }
.uc details { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.uc summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; }
.uc summary::-webkit-details-marker { display: none; }
.uc summary::after { content: "+"; font-size: 1.2rem; line-height: 1; color: var(--ink-3); }
.uc details[open] summary::after { content: "–"; }
.uc details dl { margin: 14px 0 0; font-size: .92rem; }
.uc details dt { font-weight: 600; color: var(--ink); margin-top: 10px; }
.uc details dd { margin: 2px 0 0; color: var(--ink-2); }
.uc.hide { display: none; }

/* Globe */
.globe-wrap { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .globe-wrap { grid-template-columns: 1fr; } }
.globe { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; margin: 0 auto; cursor: grab; touch-action: pan-y; }
.globe:active { cursor: grabbing; }
.globe svg { width: 100%; height: 100%; overflow: visible; }
.globe .sphere { fill: url(#oceanGrad); stroke: rgba(127,176,255,.25); }
.globe .graticule { fill: none; stroke: rgba(255,255,255,.05); }
.globe .land { fill: #1c3558; stroke: #0a1628; stroke-width: .4; }
.globe .land.hl { fill: url(#hlGrad); stroke: #7fb0ff; stroke-width: .6; }
.globe .arc { fill: none; stroke: var(--accent-2); stroke-width: 1.4; stroke-dasharray: 4 5; opacity: .8; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.globe .pin circle.core { fill: #fff; stroke: var(--accent); stroke-width: 3; }
.globe .pin circle.pulse { fill: none; stroke: var(--accent-2); stroke-width: 2; animation: pulse 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.globe .pin { cursor: pointer; }
.globe .pin text { fill: #fff; font: 600 13px var(--font); paint-order: stroke; stroke: rgba(5,13,26,.85); stroke-width: 4px; }
.globe-glow { position: absolute; inset: 8%; border-radius: 50%; box-shadow: 0 0 120px 20px rgba(47,123,255,.25); pointer-events: none; }

.loc-list { display: grid; gap: 14px; }
.loc {
  text-align: left; font: inherit; color: inherit; width: 100%; cursor: pointer;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px 24px; transition: .25s;
}
.loc:hover { border-color: rgba(255,255,255,.25); }
.loc.on { background: rgba(47,123,255,.12); border-color: var(--accent); }
.loc .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.loc h3 { margin: 0; font-size: 1.15rem; }
.loc .role { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }
.loc p { margin: 10px 0 0; color: #a9b7cb; font-size: .93rem; }
.loc .more { display: none; margin-top: 12px; }
.loc.on .more { display: block; }
.loc .more li { color: #c3cfdf; font-size: .9rem; }

/* Facts table */
.facts { width: 100%; border-collapse: collapse; font-size: .97rem; }
.facts th, .facts td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 38%; font-weight: 500; color: var(--ink-3); padding-right: 24px; }
.facts td { font-weight: 500; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item .icon { margin: 0; flex: none; }
.contact-item h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; font-weight: 600; }
.contact-item p, .contact-item a { margin: 0; font-weight: 500; }
.contact-item a:hover { color: var(--accent); }
form.contact-form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field textarea, .field select {
  font: inherit; font-size: .97rem; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } form.contact-form { padding: 24px; } }
.map-embed { border: 0; width: 100%; height: 360px; border-radius: var(--radius); filter: grayscale(.3) contrast(1.05); }

/* CTA */
.cta { background: linear-gradient(120deg, var(--navy-800), #0f2f5e 60%, #134a7a); color: #fff; border-radius: 22px; padding: 72px 64px; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 60px rgba(255,255,255,.03), 0 0 0 120px rgba(255,255,255,.02); }
.cta h2 { margin: 0; max-width: 620px; }
.cta p { color: #b6c3d6; margin: 12px 0 0; }
@media (max-width: 600px) { .cta { padding: 44px 24px; } }

/* Quote / statement */
.statement { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; max-width: 980px; }
.statement em { font-style: normal; color: var(--accent); }

/* Footer */
.site-footer { background: var(--navy-950); color: #93a3ba; padding: 80px 0 36px; font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer img { height: 30px; width: auto; margin-bottom: 22px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Print (company profile) */
@media print {
  .site-header, .site-footer .cols, .cta, .no-print, canvas { display: none !important; }
  .page-hero, .hero, .dark { background: #fff !important; color: #000 !important; padding: 20px 0 !important; }
  .page-hero .lead, .crumbs { color: #333 !important; }
  section { padding: 24px 0 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .card { break-inside: avoid; }
}
.globe-wrap > div { position: relative; }
.hero .lead, .page-hero .lead { color: #b6c3d6; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--accent-2); }
