@font-face {
  font-family: "Wix Madefor Display";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/wix-madefor-display-latin-D9TqALYD.woff2") format("woff2");
}
@font-face {
  font-family: "Wix Madefor Text";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/wix-madefor-text-latin-BTSEdCXq.woff2") format("woff2");
}
@font-face {
  font-family: "Azeret Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/azeret-mono-latin-BhHwRSCm.woff2") format("woff2");
}

:root {
  --navy: #0a192b;
  --navy-deep: #050b12;
  --navy-mid: #101e30;
  --navy-soft: #17304c;
  --ink: #eef3f9;
  --muted: #9aafc5;
  --croft-blue: #0060a8;
  --croft-blue-hot: #1a7fd0;
  --croft-blue-deep: #004980;
  --accent: var(--croft-blue);
  --accent-hot: var(--croft-blue-hot);
  --orange: var(--croft-blue);
  --orange-hot: var(--croft-blue-hot);
  --paper: #f3f6fa;
  --line: rgba(232, 238, 247, 0.12);
  --shadow: 0 28px 70px rgba(0, 8, 18, 0.45);
  --radius: 16px;
  --max: 1200px;
  --header: 92px;
  --font-display: "Wix Madefor Display", "Segoe UI", sans-serif;
  --font-body: "Wix Madefor Text", "Segoe UI", sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--navy-deep);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #111;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
  /* Solid background — backdrop-filter was ghosting/clipping the logo in Chromium */
  background: #050b12;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header);
  overflow: visible;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  overflow: visible;
}
.brand-logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: min(220px, 46vw);
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
}
.nav {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover, .nav a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent {
  background: linear-gradient(135deg, var(--croft-blue), var(--croft-blue-hot));
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 96, 168, 0.28);
}
.btn-accent:hover { filter: brightness(1.05); }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: rgba(0, 96, 168, 0.65); }
.btn-navy {
  background: var(--navy-mid);
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 16, 28, 0.92) 12%, rgba(6, 16, 28, 0.55) 52%, rgba(6, 16, 28, 0.35) 100%),
    linear-gradient(180deg, rgba(6, 16, 28, 0.25) 0%, rgba(6, 16, 28, 0.88) 100%);
}
.hero-content {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 7rem 1.25rem 4.5rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--croft-blue-hot);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--croft-blue);
}
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  max-width: 11ch;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.hero h1 span {
  display: block;
  color: var(--croft-blue-hot);
}
.hero-lead {
  max-width: 38rem;
  font-size: 1.1rem;
  color: #d5e0ef;
  margin-bottom: 1.8rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.pill {
  border: 1px solid var(--line);
  background: rgba(10, 25, 43, 0.55);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 34rem;
  margin: 0;
}
.hero-facts > div {
  border-top: 1px solid rgba(0, 96, 168, 0.45);
  padding-top: 0.7rem;
}
.hero-facts dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--croft-blue-hot);
  margin: 0 0 0.25rem;
}
.hero-facts dd {
  margin: 0;
  font-size: 1rem;
  color: #dce6f3;
}
@media (max-width: 640px) {
  .hero-facts { grid-template-columns: 1fr; }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.25rem;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 16ch;
}
.section-head p {
  max-width: 34rem;
  color: var(--muted);
  margin: 0;
}
.band {
  background: linear-gradient(180deg, rgba(18, 38, 63, 0.55), rgba(6, 16, 28, 0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid, .project-grid, .sector-grid, .value-grid, .stat-grid {
  display: grid;
  gap: 1rem;
}
.service-grid { grid-template-columns: repeat(4, 1fr); }
.project-grid, .sector-grid { grid-template-columns: repeat(3, 1fr); }
.value-grid { grid-template-columns: repeat(3, 1fr); }
.stat-grid { grid-template-columns: repeat(4, 1fr); }

.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(18, 38, 63, 0.45);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 96, 168, 0.55);
  box-shadow: var(--shadow);
}
.tile-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  transition: opacity 0.3s ease, transform 0.5s ease;
}
.tile:hover .tile-media img {
  opacity: 0.55;
  transform: scale(1.05);
}
.tile > * { position: relative; z-index: 1; }
.tile h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.tile p { color: #c7d4e6; font-size: 0.95rem; margin: 0 0 0.8rem; }
.tile-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--croft-blue-hot);
}

.stat {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--croft-blue-hot);
  line-height: 1;
  margin-bottom: 0.45rem;
}
.stat span { color: var(--muted); font-size: 0.95rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.split-copy .lede {
  font-size: 1.15rem;
  color: #d7e2f1;
}
.split-panel {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  position: relative;
  box-shadow: var(--shadow);
}
.split-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.value-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(27, 51, 84, 0.65), rgba(10, 25, 43, 0.2));
}
.value-card h3 { margin-bottom: 0.6rem; }
.value-card p { color: var(--muted); margin: 0; }

.page-hero {
  padding: 4.5rem 1.25rem 2.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  max-width: 16ch;
}
.page-hero p {
  max-width: 40rem;
  color: var(--muted);
}

.prose {
  max-width: 46rem;
}
.prose p { color: #d5e0ef; font-size: 1.05rem; }

.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
}
.detail-aside {
  position: sticky;
  top: calc(var(--header) + 1rem);
  align-self: start;
  padding: 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(18, 38, 63, 0.5);
}
.detail-aside h3 { margin-bottom: 0.8rem; }
.detail-aside a {
  display: block;
  padding: 0.55rem 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.detail-aside a:hover { color: var(--croft-blue-hot); }

.cta-band {
  margin: 2rem 1.25rem 5rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  border-radius: 28px;
  padding: 2.4rem;
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 96, 168, 0.38), transparent 38%),
    linear-gradient(135deg, #12263f, #0a192b 55%, #050b12);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 16ch; }
.cta-band p { color: var(--muted); margin: 0; max-width: 32rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}
input, select, textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 0.85rem 0.95rem;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(0, 96, 168, 0.8);
  box-shadow: 0 0 0 3px rgba(0, 96, 168, 0.18);
}
textarea { min-height: 140px; resize: vertical; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 0;
  margin-top: 0.65rem;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--croft-blue);
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(0, 96, 168, 0.25);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--croft-blue);
  border: 2px solid #fff;
  cursor: pointer;
}
input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.calc-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}
.calc-panel, .calc-result {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(18, 38, 63, 0.48);
  padding: 1.4rem;
}
.calc-result {
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 96, 168, 0.28), transparent 42%),
    rgba(6, 16, 28, 0.78);
}
.calc-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.calc-status {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 96, 168, 0.45);
  background: rgba(0, 96, 168, 0.16);
  color: var(--croft-blue-hot);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.calc-status[data-state="warn"] {
  border-color: rgba(214, 158, 46, 0.55);
  background: rgba(214, 158, 46, 0.14);
  color: #f0c86a;
}
.calc-model {
  margin: 0.85rem 0 0.35rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(62, 112, 158, 0.45);
  background: #0a1420;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  animation: calc-model-in 0.45s ease both;
}
.calc-model img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 200;
  object-fit: cover;
}
.calc-model.is-swap {
  animation: none;
}
.calc-model.is-swap img {
  animation: calc-model-in 0.4s ease both;
}
@keyframes calc-model-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.calc-kpi {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  color: var(--croft-blue-hot);
  line-height: 1.1;
  margin: 0.55rem 0 0.45rem;
  max-width: 14ch;
}
.calc-recommend {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
  color: #eef4fb;
}
.calc-alt {
  margin: 0.55rem 0 0.35rem;
  color: #bcd0e8;
  font-size: 0.95rem;
}
.calc-note { color: var(--muted); font-size: 0.95rem; }
.calc-fleet {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 1.05rem 0 0.2rem;
}
.calc-fleet-item {
  appearance: none;
  border: 1px solid rgba(62, 112, 158, 0.35);
  background: rgba(8, 18, 32, 0.72);
  border-radius: 12px;
  padding: 0.28rem;
  cursor: default;
  text-align: center;
  color: #9bb4cd;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.calc-fleet-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 200;
  border-radius: 8px;
  margin-bottom: 0.28rem;
  pointer-events: none;
}
.calc-fleet-item span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calc-fleet-item.is-active {
  border-color: rgba(0, 96, 168, 0.85);
  background: rgba(0, 96, 168, 0.18);
  color: #e8f3fb;
  box-shadow: 0 0 0 1px rgba(0, 96, 168, 0.35), 0 8px 18px rgba(0, 72, 128, 0.25);
  transform: translateY(-2px);
}
.calc-fleet-item.is-active span {
  color: var(--croft-blue-hot);
  font-weight: 600;
}
.calc-meta {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.2rem;
}
.calc-meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: #d7e2f1;
}
.range-row { margin-bottom: 1rem; }
.range-row output {
  float: right;
  color: var(--croft-blue-hot);
  font-family: var(--font-mono);
}

.portal-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}
.portal-card {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(18, 38, 63, 0.5);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.portal-card h1 { margin-bottom: 0.4rem; }
.portal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.2rem;
}
.portal-table th, .portal-table td {
  text-align: left;
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.portal-table th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }
.badge {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-available { background: rgba(46, 204, 113, 0.15); color: #7dffa8; }
.badge-review { background: rgba(0, 96, 168, 0.18); color: var(--croft-blue-hot); }

.flash {
  max-width: var(--max);
  margin: 1rem auto 0;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.flash-success { background: rgba(46, 204, 113, 0.12); color: #b9ffd0; }
.flash-error { background: rgba(231, 76, 60, 0.12); color: #ffc4bc; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #040b14;
  padding: 3.5rem 1.25rem 1.5rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
}
.footer-brand p { color: var(--muted); }
.footer-brand .footer-wordmark {
  width: auto;
  height: 58px;
  max-width: 240px;
  max-height: 58px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.footer-phone {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--croft-blue-hot);
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.site-footer h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.site-footer li + li { margin-top: 0.4rem; }
.site-footer a { color: #d5e0ef; }
.site-footer a:hover { color: var(--croft-blue-hot); }
.detail-aside a:hover { color: var(--croft-blue-hot); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .service-grid, .project-grid, .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid, .value-grid, .footer-grid, .split, .calc-shell, .detail-layout, .form-grid {
    grid-template-columns: 1fr;
  }
  .calc-fleet {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .brand-logo { height: 44px; max-height: 44px; }
  .header-inner { padding: 0.85rem 1rem; }
  .nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.4rem);
    flex-direction: column;
    background: rgba(6, 16, 28, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.8rem;
    box-shadow: var(--shadow);
  }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .split-panel { min-height: 280px; }
}

.page-admin {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 96, 168, 0.18), transparent 36%),
    #050b12;
}
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  border-right: 1px solid var(--line);
  background: rgba(4, 11, 20, 0.96);
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.admin-brand {
  display: grid;
  gap: 0.55rem;
  padding: 0.35rem 0.4rem 1rem;
  border-bottom: 1px solid var(--line);
}
.admin-brand img {
  width: auto;
  height: 42px;
  object-fit: contain;
}
.admin-brand span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--croft-blue-hot);
}
.admin-sidebar nav {
  display: grid;
  gap: 0.25rem;
}
.admin-sidebar nav a {
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  color: var(--muted);
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a.is-active {
  background: rgba(0, 96, 168, 0.16);
  color: #eef5ff;
}
.admin-sidebar-foot {
  margin-top: auto;
  display: grid;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.admin-sidebar-foot a { color: #d5e0ef; }
.admin-main {
  padding: 1.5rem 1.4rem 3rem;
  max-width: 1180px;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.admin-header h1 { margin-bottom: 0.25rem; }
.admin-header p { color: var(--muted); margin: 0; max-width: 40rem; }
.admin-stats { margin-bottom: 1.2rem; }
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.admin-span { grid-column: 1 / -1; }
.admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.4rem;
}
.admin-card-head h2 { font-size: 1.15rem; margin: 0; }
.admin-muted { color: var(--muted); font-size: 0.88rem; margin-top: 0.15rem; }
.admin-message {
  white-space: pre-wrap;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  color: #d7e2f1;
  font-family: var(--font-body);
  line-height: 1.5;
}
.admin-nav-badge {
  display: inline-flex;
  min-width: 1.35rem;
  justify-content: center;
  margin-left: 0.4rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: var(--croft-blue);
  color: #fff;
  font-size: 0.72rem;
  font-family: var(--font-mono);
}
.admin-global-search {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.admin-global-search input {
  flex: 1;
}
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.admin-filters input,
.admin-filters select {
  min-width: 180px;
  flex: 1;
}
.admin-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.admin-activity li {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.25rem;
}
.admin-activity strong {
  color: var(--croft-blue-hot);
  font-size: 0.82rem;
  font-family: var(--font-mono);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.contact-next-steps {
  margin: 0 1.25rem 1rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(46, 204, 113, 0.35);
  background: rgba(46, 204, 113, 0.1);
  color: #b9ffd0;
}
.contact-next-steps ol {
  margin: 0.55rem 0 0 1.1rem;
  color: #d7e2f1;
}
.badge-new, .badge-lead { background: rgba(0, 96, 168, 0.18); color: var(--croft-blue-hot); }
.badge-in_progress, .badge-qualified { background: rgba(214, 158, 46, 0.16); color: #f0c86a; }
.badge-quoted, .badge-active { background: rgba(46, 204, 113, 0.15); color: #7dffa8; }
.badge-won { background: rgba(46, 204, 113, 0.22); color: #b9ffd0; }
.badge-closed, .badge-lost, .badge-archived { background: rgba(255, 255, 255, 0.08); color: #b7c5d8; }

@media (max-width: 960px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-grid { grid-template-columns: 1fr; }
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.portal-demo {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
}
.portal-demo p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.header-phone {
  font-variant-numeric: tabular-nums;
}
.mobile-cta {
  display: none;
}
body.has-mobile-cta {
  padding-bottom: 4.75rem;
}

@media (max-width: 640px) {
  .service-grid, .project-grid, .sector-grid { grid-template-columns: 1fr; }
  .hero-content { padding-top: 5.5rem; }
  .cta-band { padding: 1.5rem; }
  .header-phone { display: none; }
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0.55rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(5, 11, 18, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
  }
  .mobile-cta .btn {
    justify-content: center;
    text-align: center;
  }
  .calc-fleet {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .calc-fleet-item span {
    font-size: 0.58rem;
  }
}
