:root {
  --ink: #071014;
  --panel: #10191d;
  --panel-2: #152227;
  --muted: #617177;
  --line: rgba(7, 16, 20, 0.12);
  --soft: #eef3f1;
  --paper: #fbfcfa;
  --teal: #00a88f;
  --teal-dark: #007866;
  --amber: #ffb443;
  --red: #e0574f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 16, 20, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  color: var(--ink);
  background: rgba(255, 180, 67, 0.5);
}

:focus-visible {
  outline: 3px solid rgba(0, 168, 143, 0.35);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

main {
  overflow-x: hidden;
}

.wrap,
.panel,
.service-card,
.feature-card,
.case-card,
.route-console,
.route-display,
.route-panel {
  min-width: 0;
}

h1,
h2,
h3,
p,
a,
button,
li,
span {
  overflow-wrap: break-word;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 99;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 250, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), #15383f 70%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
}

.brand-text {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
}

.brand-sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 21px;
  height: 21px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.8rem;
  color: #233237;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-dark);
  background: rgba(0, 168, 143, 0.09);
}

.lang-switch {
  border: 1px solid var(--line);
  background: var(--white);
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(7, 16, 20, 0.18);
}

.nav-cta:hover {
  background: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #071014;
}

.hero.compact {
  min-height: 480px;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 20, 0.94), rgba(7, 16, 20, 0.76) 38%, rgba(7, 16, 20, 0.18) 72%),
    linear-gradient(180deg, rgba(7, 16, 20, 0.1), rgba(7, 16, 20, 0.85));
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.44;
}

.hero-business::after {
  background:
    linear-gradient(135deg, rgba(0, 168, 143, 0.18), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 78px);
}

.hero-ot::after {
  background:
    radial-gradient(circle at 76% 34%, rgba(255, 180, 67, 0.2), transparent 18%),
    repeating-linear-gradient(0deg, rgba(0, 168, 143, 0.12) 0 1px, transparent 1px 46px);
}

.hero-private::after {
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(0, 168, 143, 0.16), transparent 42%);
}

.hero-about::after,
.hero-contact::after,
.hero-services::after {
  background:
    linear-gradient(135deg, rgba(255, 180, 67, 0.14), transparent 28%),
    linear-gradient(90deg, rgba(0, 168, 143, 0.12), transparent 54%);
}

.circuit-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 76%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 6rem 0 7rem;
}

.hero-home .hero-content {
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: #cbece5;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--teal);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 940px;
  margin-bottom: 1.15rem;
  font-size: clamp(2.6rem, 5.6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.compact h1 {
  font-size: clamp(2.25rem, 4.4vw, 4.2rem);
  line-height: 1.04;
}

.hero-home h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 4.6vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 680px;
  color: #d7e1df;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.75rem;
  color: #e9f6f3;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.button.light {
  color: var(--ink);
  background: var(--white);
}

.button.ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.trust-strip {
  position: relative;
  z-index: 4;
  width: min(var(--max), calc(100% - 32px));
  margin: -58px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-item {
  padding: 1.25rem;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.4rem;
}

.trust-item span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 6rem 0;
}

.section.alt {
  background: var(--soft);
}

.premium-section {
  position: relative;
  overflow: hidden;
}

.premium-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(0, 168, 143, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(255, 180, 67, 0.1), transparent 30%);
}

.premium-section > .wrap {
  position: relative;
  z-index: 1;
}

.section.dark {
  color: var(--white);
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 168, 143, 0.14), transparent 32%),
    linear-gradient(135deg, #071014, #132125);
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.dark .section-head p,
.dark .muted,
.dark .service-card p,
.dark .list-check li {
  color: #b8c7c4;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.feature-card,
.step,
.contact-card,
.quote-card,
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.dark .service-card,
.dark .feature-card,
.dark .step {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 1.3rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card[href],
.service-card[data-modal-target],
.panel[data-modal-target] {
  cursor: pointer;
}

.service-card[href] {
  color: inherit;
}

.panel[data-modal-target] {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.panel[data-modal-target]:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 168, 143, 0.45);
  box-shadow: 0 18px 40px rgba(7, 16, 20, 0.16);
}

.service-card:target {
  border-color: rgba(0, 168, 143, 0.75);
  box-shadow: 0 18px 44px rgba(0, 168, 143, 0.18);
}

.service-card:target::before {
  opacity: 1;
}

.service-card::before,
.feature-card::before,
.case-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card:hover,
.feature-card:hover,
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 168, 143, 0.45);
  box-shadow: 0 18px 40px rgba(7, 16, 20, 0.1);
}

.service-card:hover::before,
.feature-card:hover::before,
.case-card:hover::before,
.contact-card:hover::before {
  opacity: 1;
}

.featured-service {
  border-color: rgba(0, 168, 143, 0.35);
  box-shadow: 0 18px 46px rgba(0, 168, 143, 0.12);
}

.featured-service::before {
  opacity: 1;
}

.path-card {
  isolation: isolate;
}

.path-card::after {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 110px;
  height: 110px;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.16;
  background: var(--teal);
}

.path-business {
  color: var(--white);
  border-color: rgba(7, 16, 20, 0.22);
  background:
    linear-gradient(145deg, rgba(7, 16, 20, 0.96), rgba(20, 46, 50, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 52px);
}

.path-business p,
.path-business li {
  color: #c9d8d5;
}

.path-business .icon {
  color: var(--white);
  background: rgba(255, 180, 67, 0.18);
}

.path-business .card-link {
  color: #fff2d7;
}

.path-business::after {
  background: var(--amber);
}

.path-ot {
  border-color: rgba(0, 168, 143, 0.32);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 244, 241, 0.94)),
    repeating-linear-gradient(0deg, rgba(0, 168, 143, 0.06) 0 1px, transparent 1px 34px);
}

.path-ot::after {
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(0, 168, 143, 0.85), transparent),
    linear-gradient(0deg, rgba(0, 168, 143, 0.85), transparent);
}

.path-private {
  border-color: rgba(255, 180, 67, 0.34);
  background: linear-gradient(145deg, #ffffff, #fbf6ea);
}

.path-private .icon {
  color: #7b560f;
  background: rgba(255, 180, 67, 0.18);
}

.path-private::after {
  background: var(--amber);
  opacity: 0.12;
}

.path-business,
.path-business h3,
.path-business .card-link {
  color: #ffffff;
}

.path-business p,
.path-business li {
  color: #d8e8e4;
}

.path-business .icon {
  color: #ffffff;
  background: rgba(0, 168, 143, 0.18);
}

.path-business .card-link {
  color: #fff2d7;
}

.path-business li::before {
  background: var(--amber);
}

.service-card .icon,
.feature-card .icon,
.step .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  color: var(--teal-dark);
  background: rgba(0, 168, 143, 0.1);
  border-radius: var(--radius);
}

.service-card h3,
.feature-card h3,
.case-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.service-card p,
.feature-card p,
.case-card p {
  color: var(--muted);
}

.service-card ul,
.feature-card ul {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.price-tag {
  align-self: flex-end;
  margin-top: 1rem;
  padding: 0.55rem 0.75rem;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.15;
  text-align: right;
  box-shadow: 0 10px 24px rgba(7, 16, 20, 0.14);
}

.price-tag span {
  display: block;
  color: #cfe4df;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  font-size: 0.96rem;
}

.pricing-note strong {
  color: var(--ink);
}

.service-card li,
.feature-card li {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.45rem;
  color: #324247;
  font-size: 0.94rem;
  font-weight: 650;
}

.dark .service-card li,
.dark .feature-card li {
  color: #d9e5e2;
}

.service-card li::before,
.feature-card li::before {
  content: "";
  flex: 0 0 7px;
  height: 7px;
  margin-top: 0.5rem;
  background: var(--amber);
  border-radius: 50%;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 850;
}

.card-link::after {
  content: "->";
  transition: transform 160ms ease;
}

.service-card[href]:hover .card-link::after {
  transform: translateX(4px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: center;
}

.panel {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.route-console {
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(7, 16, 20, 0.96), rgba(17, 36, 40, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 54px);
  color: var(--white);
}

.route-console-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  min-height: 430px;
}

.route-selector {
  display: grid;
  align-content: stretch;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.route-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.8rem;
  align-content: center;
  min-height: 130px;
  padding: 1.2rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: #dce9e6;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.route-option:last-child {
  border-bottom: 0;
}

.route-option span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  grid-row: span 2;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
}

.route-option strong {
  color: var(--white);
  font-size: 0.98rem;
}

.route-option small {
  color: #aebeba;
  font-size: 0.82rem;
  line-height: 1.35;
}

.route-option:hover,
.route-option.active {
  background: rgba(0, 168, 143, 0.16);
}

.route-option.active span {
  border-color: rgba(255, 180, 67, 0.55);
  background: rgba(255, 180, 67, 0.12);
}

.route-display {
  position: relative;
  display: grid;
  padding: 1.4rem;
  min-width: 0;
  overflow: hidden;
}

.route-display::before {
  content: "";
  position: absolute;
  inset: 1.4rem;
  border: 1px solid rgba(0, 168, 143, 0.22);
  border-radius: var(--radius);
  pointer-events: none;
}

.route-panel {
  position: relative;
  display: none;
  align-content: center;
  min-height: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 2rem;
}

.route-panel.active {
  display: grid;
}

.route-kicker {
  margin-bottom: 0.65rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.route-panel h3 {
  max-width: 100%;
  margin-bottom: 0.8rem;
  color: var(--white);
  font-size: clamp(1.6rem, 2.4vw, 2.05rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.route-panel p {
  max-width: 100%;
  color: #c4d4d0;
  overflow-wrap: anywhere;
}

.route-panel .button {
  max-width: 100%;
  width: fit-content;
  white-space: normal;
  text-align: center;
}

.route-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.3rem;
}

.route-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e8f4f1;
  font-size: 0.82rem;
  font-weight: 800;
}

.consultant-section {
  background:
    linear-gradient(135deg, rgba(7, 16, 20, 0.98), rgba(15, 43, 46, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 70px);
}

.consultant-profile {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.consultant-profile h2 {
  max-width: 860px;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.consultant-profile p {
  max-width: 820px;
  color: #c9d8d5;
  font-size: 1.05rem;
}

.consultant-portrait {
  width: min(240px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 168, 143, 0.24), rgba(255, 180, 67, 0.16)),
    linear-gradient(160deg, #0b171b, #173137);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.consultant-portrait span {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 3rem;
  font-weight: 900;
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.2rem 0 1.5rem;
}

.credential-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #edf7f4;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

.network-flow {
  min-height: 360px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.7rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(7, 16, 20, 0.96), rgba(18, 42, 45, 0.94)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 42px);
}

.flow-node {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
  text-align: center;
}

.flow-node.strong {
  border-color: rgba(255, 180, 67, 0.48);
  background: rgba(255, 180, 67, 0.14);
}

.flow-node.muted {
  grid-column: span 2;
  min-height: 58px;
  color: #d9e7e4;
  background: rgba(0, 168, 143, 0.12);
}

.flow-line {
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.network-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 16, 20, 0.95), rgba(16, 35, 38, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 56px);
}

.node {
  position: absolute;
  width: 96px;
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 0.6rem;
  text-align: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.node:nth-child(1) { left: 8%; top: 14%; }
.node:nth-child(2) { left: 38%; top: 8%; }
.node:nth-child(3) { right: 9%; top: 18%; }
.node:nth-child(4) { left: 18%; bottom: 16%; }
.node:nth-child(5) { left: 50%; bottom: 10%; }
.node:nth-child(6) { right: 12%; bottom: 22%; }

.node::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 2px;
  right: -150px;
  top: 50%;
  background: linear-gradient(90deg, var(--teal), transparent);
  transform-origin: left center;
  animation: pulseLine 2.6s infinite ease-in-out;
}

.node:nth-child(3)::after,
.node:nth-child(6)::after {
  display: none;
}

.signal {
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(0, 168, 143, 0.35);
  border-radius: 50%;
  animation: scan 6s infinite linear;
}

@keyframes pulseLine {
  0%, 100% { opacity: 0.2; transform: scaleX(0.35); }
  50% { opacity: 0.9; transform: scaleX(1); }
}

@keyframes scan {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tab {
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.tab.active {
  color: var(--white);
  background: var(--ink);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.list-check {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-check li {
  display: flex;
  gap: 0.7rem;
  margin: 0.7rem 0;
  color: #344348;
}

.list-check li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 0.18rem;
  background: var(--teal);
  clip-path: polygon(14% 45%, 0 61%, 40% 100%, 100% 16%, 83% 0, 36% 64%);
}

.feature-card,
.case-card {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
}

.steps {
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 1.2rem;
}

.step::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  right: 1rem;
  top: 0.85rem;
  color: rgba(7, 16, 20, 0.16);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.dark .step::before {
  color: rgba(255, 255, 255, 0.16);
}

.accordion {
  display: grid;
  gap: 0.65rem;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.accordion-button span:last-child {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
}

.accordion-content {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.accordion-item.open .accordion-content {
  display: block;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 1.2rem;
  background: rgba(7, 16, 20, 0.62);
  backdrop-filter: blur(10px);
}

.modal-overlay.open {
  display: grid;
}

.modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(84vh, 760px);
  overflow: auto;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(7, 16, 20, 0.32);
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal-body {
  padding-right: 3rem;
}

.modal-body h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.05;
}

.modal-body p {
  color: var(--muted);
}

.modal-body .list-check {
  margin: 1rem 0;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.modal-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: #26353a;
  font-size: 0.88rem;
  font-weight: 850;
}

.cta-band {
  padding: 4rem 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(0, 168, 143, 0.94), rgba(7, 16, 20, 0.96)),
    url("../images/juraam-hero.webp") center / cover;
}

.cta-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.cta-band h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.cta-band p {
  max-width: 720px;
  margin-bottom: 0;
  color: #d8efea;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 1.3rem;
}

.contact-card.featured {
  color: var(--white);
  background: linear-gradient(135deg, #071014, #143239);
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-card.featured p,
.contact-card.featured a,
.contact-card.featured .form-note {
  color: #d6e6e3;
}

.contact-card.featured strong,
.contact-card.featured h3 {
  color: var(--white);
}

.contact-card + .contact-card {
  margin-top: 1rem;
}

form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: #26353a;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 168, 143, 0.18);
  border-color: var(--teal);
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.toast {
  display: none;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 168, 143, 0.35);
  border-radius: var(--radius);
  background: rgba(0, 168, 143, 0.1);
  color: var(--teal-dark);
  font-weight: 800;
}

.toast.show {
  display: block;
}

.toast.error {
  border-color: rgba(224, 87, 79, 0.35);
  background: rgba(224, 87, 79, 0.1);
  color: var(--red);
}

.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  width: min(760px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-consent strong {
  display: block;
  margin-bottom: 0.25rem;
}

.cookie-consent p {
  margin: 0;
  color: var(--muted);
}

.cookie-consent-actions {
  display: flex;
  gap: 0.5rem;
}

.site-footer {
  color: #d6e1de;
  background: #071014;
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 4rem 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(150px, 0.5fr));
  gap: 2rem;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
  margin-bottom: 0.8rem;
}

.site-footer p,
.site-footer a {
  color: #aebebb;
}

.site-footer a {
  display: block;
  margin: 0.45rem 0;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #91a29f;
  font-size: 0.92rem;
}

.footer-bottom a {
  display: inline;
  color: #d6e1de;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.mini-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem 0.4rem 0.25rem 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: #26353a;
  font-weight: 800;
}

.service-filter {
  margin-bottom: 1rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 80px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-cta {
    justify-content: flex-start;
  }

  .trust-strip,
  .grid.four,
  .grid.three,
  .section-head,
  .split,
  .consultant-profile,
  .route-console-grid,
  .contact-layout,
  .footer-grid,
  .cta-band .wrap {
    grid-template-columns: 1fr;
  }

  .route-console-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .route-selector {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .route-option {
    min-height: auto;
  }

  .route-display {
    padding: 1rem;
  }

  .route-display::before {
    inset: 1rem;
  }

  .route-panel {
    padding: 1.25rem;
  }

  .route-panel .button {
    width: 100%;
  }

  .consultant-portrait {
    width: 180px;
  }

  .network-flow {
    grid-template-columns: 1fr;
  }

  .flow-line {
    width: 2px;
    height: 30px;
    justify-self: center;
  }

  .flow-node.muted {
    grid-column: auto;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding: 4rem 0 6.5rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 16, 20, 0.96), rgba(7, 16, 20, 0.78) 58%, rgba(7, 16, 20, 0.5)),
      linear-gradient(90deg, rgba(7, 16, 20, 0.4), rgba(7, 16, 20, 0.24));
  }

  .grid.two,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .brand-sub {
    display: none;
  }

  .network-map {
    min-height: 520px;
  }

  .node {
    width: 86px;
  }

  .modal-body {
    padding-right: 0;
  }

  .modal-panel {
    padding: 1.2rem;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions {
    justify-content: stretch;
  }

  .cookie-consent-actions .button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
