:root {
  --navy: #0b2742;
  --navy-2: #153a5c;
  --red: #bd1f2d;
  --red-dark: #8f1722;
  --silver: #c8ced6;
  --gray-900: #182431;
  --gray-700: #50606f;
  --gray-500: #7a8793;
  --gray-200: #dfe4ea;
  --gray-100: #f5f7f9;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(11, 39, 66, 0.14);
  --shadow-soft: 0 10px 26px rgba(11, 39, 66, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(189, 31, 45, 0.28);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--navy);
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(200, 206, 214, 0.75);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.top-bar {
  color: var(--white);
  font-size: 0.94rem;
  background: var(--navy);
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.45rem;
}

.top-bar a {
  text-decoration: none;
  font-weight: 900;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.call-link {
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.35rem 0.65rem;
  font-weight: 900;
  text-decoration: none;
  background: var(--red);
}

.nav-wrap {
  display: flex;
  min-height: 110px;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: min(420px, 50vw);
  height: auto;
}

.brand-icon {
  display: none;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  background: var(--white);
  cursor: pointer;
}

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

.site-nav a {
  border-radius: var(--radius);
  padding: 0.65rem 0.72rem;
  color: var(--gray-700);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

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

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  margin-left: 0.35rem;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 22px rgba(189, 31, 45, 0.2);
}

.site-nav .nav-call {
  color: var(--white);
  border: 1px solid transparent;
  background: var(--navy);
  box-shadow: 0 10px 22px rgba(11, 39, 66, 0.14);
}

.site-nav .nav-call:hover,
.site-nav .nav-call.active {
  color: var(--white);
  background: var(--red);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
  color: var(--white);
  background: var(--red-dark);
}

.hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2.5rem, 4vw, 3.25rem);
  background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 76%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  min-height: 360px;
  max-height: 560px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: min(360px, calc(100% - 2rem));
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 4.15vw, 4.15rem);
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
}

.lead {
  margin-top: 1rem;
  max-width: 720px;
  color: var(--gray-700);
  font-size: 1.12rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button.call {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 28px rgba(189, 31, 45, 0.22);
}

.button.call:hover {
  background: var(--red-dark);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.78rem 1.05rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 28px rgba(189, 31, 45, 0.2);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--navy);
  border-color: var(--silver);
  background: var(--white);
}

.button.secondary:hover {
  background: var(--gray-100);
}

.section {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
}

.section.compact {
  padding-block: 2.5rem;
}

.section.gray {
  background: var(--gray-100);
}

.section.navy {
  color: var(--white);
  background: var(--navy);
}

.section.navy h2,
.section.navy h3,
.section.navy .eyebrow {
  color: var(--white);
}

.section.navy p,
.section.navy li {
  color: #dce4ec;
}

.section-header {
  display: flex;
  gap: 1.5rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-header p {
  max-width: 650px;
  color: var(--gray-700);
}

.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));
}

.card,
.feature-card,
.testimonial,
.faq-item,
.admin-panel {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11, 39, 66, 0.03);
}

.card,
.feature-card,
.testimonial,
.faq-item {
  padding: 1.25rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.feature-card:hover,
.testimonial:hover,
.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(189, 31, 45, 0.28);
  box-shadow: var(--shadow-soft);
}

.card h3,
.feature-card h3,
.testimonial h3,
.faq-item h3 {
  margin-bottom: 0.45rem;
}

.card p,
.card li,
.feature-card p,
.testimonial p,
.faq-item p {
  color: var(--gray-700);
}

.fleet-photo {
  display: grid;
  min-height: 150px;
  place-items: center;
  margin-bottom: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 900;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(189, 31, 45, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff, #eef2f6);
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 900;
  background: var(--red);
}

.service-areas {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.area-pill,
.status-pill {
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 0.58rem 0.75rem;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
  background: var(--white);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

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

.split.reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
}

.page-hero {
  padding: clamp(3rem, 6vw, 4.7rem) 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, #102f4e 58%, #071b2e 100%);
}

.page-hero h1,
.page-hero .eyebrow {
  color: var(--white);
}

.page-hero p {
  max-width: 780px;
  margin-top: 1rem;
  color: #dce4ec;
}

.logo-feature {
  display: grid;
  place-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  min-height: 260px;
  padding: 2rem;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.logo-feature img {
  max-width: 360px;
  width: 100%;
}

.check-list,
.process-list,
.future-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.future-list li {
  position: relative;
  padding-left: 1.6rem;
}

.check-list li::before,
.future-list li::before {
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--red);
  content: "+";
  font-weight: 900;
}

.process-list {
  counter-reset: process;
}

.process-list li {
  position: relative;
  border-left: 3px solid var(--red);
  padding: 0 0 0.9rem 1.2rem;
}

.process-list li::before {
  counter-increment: process;
  content: counter(process);
  position: absolute;
  left: -18px;
  top: -2px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  background: var(--red);
}

.form-shell {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 0.35rem;
}

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

label {
  color: var(--navy);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd3db;
  border-radius: var(--radius);
  padding: 0.82rem 0.88rem;
  color: var(--gray-900);
  font: inherit;
  background: var(--white);
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(189, 31, 45, 0.16);
  border-color: var(--red);
}

.form-note {
  margin-top: 1rem;
  color: var(--gray-700);
  font-size: 0.93rem;
}

.form-status {
  margin-top: 1rem;
  min-height: 1.6rem;
  font-weight: 900;
}

.form-status.success {
  color: var(--red-dark);
}

.form-status.error {
  color: #b42318;
}

.contact-box,
.service-map {
  display: grid;
  gap: 0.9rem;
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--gray-100);
}

.contact-box a {
  color: var(--navy);
  font-weight: 900;
}

.service-map {
  position: relative;
  min-height: 320px;
  place-items: end start;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(11, 39, 66, 0.12);
  border-left: 5px solid var(--red);
  background:
    radial-gradient(circle at 46% 38%, rgba(189, 31, 45, 0.16) 0 12%, transparent 13%),
    linear-gradient(135deg, #ffffff 0%, #eef2f6 100%);
}

.service-map::before {
  position: absolute;
  inset: 24px;
  content: "";
  background: url("/assets/ct-service-map.svg") center / contain no-repeat;
  opacity: 0.88;
}

.service-map > div {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

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

.admin-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 0.55rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--white);
}

.admin-sidebar img {
  margin-bottom: 0.5rem;
}

.admin-sidebar a {
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  color: var(--gray-700);
  font-weight: 900;
  text-decoration: none;
}

.admin-sidebar a:hover {
  color: var(--navy);
  background: var(--gray-100);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.summary-card {
  border-radius: var(--radius);
  padding: 1.1rem;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow-soft);
}

.summary-card.accent {
  background: var(--red);
}

.summary-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.admin-panel {
  margin-bottom: 1rem;
  overflow: hidden;
}

.admin-panel-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem;
  background: var(--white);
}

.admin-panel-body {
  padding: 1rem;
}

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

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  background: var(--gray-100);
}

.status-label {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  background: var(--red);
}

.footer {
  padding: 2.25rem 0;
  color: #dce4ec;
  background: #071b2e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-brand {
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--white);
  align-self: start;
}

.footer-brand p {
  color: var(--navy);
}

.footer-logo {
  width: min(100%, 320px);
  max-width: 320px;
  margin-bottom: 0.85rem;
}

.footer h3,
.footer strong {
  color: var(--white);
}

.footer a {
  display: block;
  margin-top: 0.35rem;
  color: #dce4ec;
  text-decoration: none;
}

.footer .call-link {
  display: inline-block;
  color: var(--white);
  margin-top: 0.45rem;
}

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

.fine-print {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .site-nav a {
    padding-inline: 0.52rem;
    font-size: 0.9rem;
  }

  .grid.four,
  .service-areas,
  .admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .brand-logo {
    display: none;
  }

  .brand-icon {
    display: block;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 144px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.5rem;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .grid.two,
  .grid.three,
  .footer-grid,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .section-header {
    display: block;
  }

  .section-header p,
  .section-actions {
    margin-top: 0.85rem;
  }
}

@media (max-width: 620px) {
  .container,
  .top-bar .container,
  .nav-wrap {
    width: min(100% - 24px, 1180px);
  }

  .hero-media img {
    min-height: 280px;
  }

  .hero-badge {
    position: static;
    max-width: none;
    margin-top: 0.75rem;
  }

  .top-actions {
    width: 100%;
    justify-content: space-between;
  }

  .form-grid,
  .grid.four,
  .service-areas,
  .admin-summary {
    grid-template-columns: 1fr;
  }
}
