:root {
  --ink: #172236;
  --muted: #5d6673;
  --line: #dce2e8;
  --paper: #ffffff;
  --page: #f6f8fa;
  --navy: #0f2748;
  --navy-soft: #e8eef6;
  --blue: #0f6fae;
  --orange: #f0821d;
  --green: #2f8b57;
  --soft-orange: #fff2e5;
  --shadow: 0 18px 46px rgba(20, 31, 48, 0.1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 226, 232, 0.86);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(20, 31, 48, 0.09);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 276px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 122px;
  height: 48px;
  border-radius: 8px;
  background: #ffffff;
  object-fit: cover;
  object-position: center;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
  background: var(--navy-soft);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta,
.button-primary {
  color: #ffffff;
  background: var(--orange);
}

.header-cta:hover,
.button-primary:hover {
  background: #d86f10;
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.12);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.button-ghost {
  color: var(--navy);
  border-color: var(--line);
  background: var(--paper);
}

.button-ghost:hover {
  background: var(--navy-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78svh;
  overflow: hidden;
  color: #ffffff;
  background: var(--navy);
}

.hero-photo,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(8, 20, 35, 0.88) 0%, rgba(8, 20, 35, 0.64) 46%, rgba(8, 20, 35, 0.16) 100%),
    linear-gradient(0deg, rgba(8, 20, 35, 0.32), rgba(8, 20, 35, 0.08));
}

.hero-inner,
.section-block,
.network-layout,
.projects-layout,
.quote-layout,
.site-footer,
.contact-strip {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  padding: 82px 0 72px;
}

.hero-copy {
  max-width: 750px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.network-band .eyebrow {
  color: #8ed9ff;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 4.55rem;
  line-height: 0.98;
}

.page-title {
  font-size: 3.05rem;
  line-height: 1.04;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.3rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.17rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero p {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 720px;
  margin: 44px 0 0;
  padding: 25px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-facts dt {
  font-size: 1.72rem;
  font-weight: 900;
}

.hero-facts dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-strip {
  display: grid;
  grid-template-columns: 0.72fr 0.9fr 1.38fr;
  gap: 1px;
  transform: translateY(-1px);
  background: var(--line);
}

.contact-strip a,
.contact-strip div {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 22px;
  background: var(--paper);
  text-decoration: none;
}

.contact-strip strong {
  color: var(--navy);
}

.contact-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.section-block {
  padding: 88px 0;
}

.section-intro {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-intro p {
  margin-bottom: 0;
  font-size: 1.04rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: 18px;
  align-items: stretch;
}

.about-panel,
.service-card,
.performance-grid article,
.fleet-grid article,
.safety-layout article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.about-panel {
  padding: 26px;
}

.about-panel p {
  margin-bottom: 0;
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.performance-grid article {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 160px;
  padding: 18px;
}

.performance-grid span {
  color: var(--muted);
  font-weight: 900;
}

.performance-grid strong {
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.08;
}

.services-band {
  background: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: grid;
  align-content: start;
  min-height: 294px;
  padding: 22px;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--navy-soft);
  font-weight: 900;
}

.service-card p {
  margin-bottom: 0;
}

.service-card a {
  margin-top: 22px;
  color: var(--orange);
  font-weight: 900;
  text-decoration: none;
}

.service-card a:hover {
  text-decoration: underline;
}

.network-band {
  padding: 88px 0;
  color: #ffffff;
  background: var(--navy);
}

.network-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 46px;
  align-items: center;
}

.network-copy p,
.competence-list span {
  color: rgba(255, 255, 255, 0.74);
}

.competence-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.competence-list div {
  display: grid;
  gap: 5px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.competence-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.network-map {
  margin: 0;
}

.network-map img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #eef3f9;
}

.network-map figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.quality-section {
  background: var(--paper);
}

.quality-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: stretch;
}

.quality-layout img,
.projects-layout img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.quality-content {
  display: grid;
  align-content: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.quality-content ul,
.quote-copy ul {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.quality-content li,
.quote-copy li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.quality-content li::before,
.quote-copy li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
  content: "";
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.fleet-grid article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 20px;
}

.fleet-grid strong {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.fleet-grid span {
  color: var(--muted);
  font-weight: 900;
}

.safety-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.safety-layout article {
  padding: 24px;
}

.safety-layout p {
  margin-bottom: 0;
}

.projects-band {
  padding: 88px 0;
  background: #eef3f8;
}

.projects-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 38px;
  align-items: center;
}

.project-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.project-list div {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.project-list span {
  color: var(--muted);
}

.login-section {
  background: var(--paper);
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.55fr);
  gap: 34px;
  align-items: start;
}

.login-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  box-shadow: var(--shadow);
}

.login-card h3 {
  margin-bottom: 0;
}

.login-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.management-section {
  background: var(--page);
}

.management-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.management-intro p {
  max-width: 780px;
}

.management-intro .button {
  flex-shrink: 0;
}

.manager-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.manager-kpis article {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.manager-kpis span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.manager-kpis strong {
  color: var(--navy);
  font-size: 1.85rem;
  line-height: 1;
}

.management-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 4px;
  margin-bottom: 18px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eaf0f6;
}

.management-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.management-tabs button.active {
  color: var(--navy);
  background: var(--paper);
  box-shadow: 0 6px 18px rgba(20, 31, 48, 0.1);
}

.manager-pane {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.manager-pane[hidden] {
  display: none;
}

.manager-form,
.manager-table-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.manager-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.manager-form-heading h3 {
  margin-bottom: 0;
}

.manager-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.manager-table-block {
  min-width: 0;
  overflow: hidden;
}

.table-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.table-heading h3 {
  margin-bottom: 0;
}

.table-heading input,
.table-heading select {
  max-width: 240px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.empty-row td {
  color: var(--muted);
  text-align: center;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 900;
}

.status-good {
  color: #176142;
  background: #def3e9;
}

.status-warn {
  color: #7a4700;
  background: #fff0d8;
}

.status-bad {
  color: #8a2727;
  background: #ffe0df;
}

.status-neutral {
  color: var(--navy);
  background: var(--navy-soft);
}

.table-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.table-action {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--navy);
  background: var(--paper);
  font-size: 0.84rem;
  font-weight: 900;
}

.table-action:hover {
  background: var(--navy-soft);
}

.table-action.download {
  color: var(--green);
}

.table-action.danger {
  color: #8a2727;
}

.quote-section {
  padding: 88px 0;
  background: var(--paper);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(520px, 1.24fr);
  gap: 48px;
  align-items: start;
}

.quote-copy {
  position: sticky;
  top: 104px;
}

.direct-contact {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.direct-contact a,
.direct-contact span {
  display: block;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.direct-contact span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.full-field {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
}

textarea {
  min-height: 118px;
  padding-top: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(15, 111, 174, 0.24);
  outline-offset: 2px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
  line-height: 1.5;
}

.form-message a {
  color: var(--blue);
  font-weight: 900;
}

.form-message.error {
  color: #8a2727;
}

.footer-band {
  background: var(--navy);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: #ffffff;
}

.site-footer a {
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .site-header {
    gap: 16px;
    padding: 0 22px;
  }

  .brand {
    min-width: 220px;
  }

  .brand-copy {
    display: none;
  }

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

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

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

  .manager-pane {
    grid-template-columns: 1fr;
  }

  .about-layout,
  .login-layout,
  .network-layout,
  .projects-layout,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-copy {
    position: static;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 70px;
  }

  .brand {
    min-width: 150px;
  }

  .brand-logo {
    width: 136px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .site-nav {
    display: grid;
  }

  .site-nav a {
    justify-content: flex-start;
  }

  .header-cta {
    display: none;
  }

  .hero-inner,
  .section-block,
  .network-layout,
  .projects-layout,
  .quote-layout,
  .site-footer,
  .contact-strip {
    width: min(100% - 32px, 1180px);
  }

  h1 {
    font-size: 3.55rem;
  }

  .page-title {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .contact-strip,
  .performance-grid,
  .login-layout,
  .quality-layout,
  .safety-layout,
  .manager-kpis,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .management-tabs {
    width: 100%;
  }

  .table-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .table-heading input,
  .table-heading select {
    max-width: none;
  }

  .management-intro {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 16px;
  }

  .brand {
    min-width: 124px;
  }

  .brand-logo {
    width: 116px;
    height: 42px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-inner {
    padding: 58px 0 52px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(8, 20, 35, 0.9) 0%, rgba(8, 20, 35, 0.78) 62%, rgba(8, 20, 35, 0.45) 100%),
      linear-gradient(0deg, rgba(8, 20, 35, 0.3), rgba(8, 20, 35, 0.1));
  }

  h1 {
    font-size: 2.72rem;
  }

  .page-title {
    font-size: 2.08rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 1.02rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-facts,
  .service-grid,
  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .section-block,
  .network-band,
  .projects-band,
  .quote-section {
    padding-top: 62px;
    padding-bottom: 66px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
