:root {
  --navy: #0b1f3a;
  --navy-2: #12365c;
  --gold: #d4a63d;
  --gold-dark: #b98b25;
  --bg: #f8f9fb;
  --white: #ffffff;
  --muted: #5f6c7d;
  --line: #dde4ec;
  --shadow: 0 24px 70px rgba(11, 31, 58, 0.12);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(221, 228, 236, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

body.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 900;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  display: none;
}

.menu-list,
.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.header-phone {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 0 16px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-left: 1px solid var(--line);
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.language-switch a {
  padding: 4px 2px;
}

.language-switch a.active {
  color: var(--navy);
}

.nav-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2px 0;
  border-radius: 99px;
  background: currentColor;
}

.primary-nav.is-open {
  display: block;
  position: absolute;
  top: 78px;
  left: 16px;
  right: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.primary-nav.is-open .menu-list a {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.primary-nav.is-open .menu-list li:last-child a {
  border-bottom: 0;
}

.hero-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 10%, rgba(212, 166, 61, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  padding: 56px 0 34px;
}

.hero-grid,
.why-grid,
.lead-grid {
  display: grid;
  gap: 28px;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(212, 166, 61, 0.35);
  border-radius: 999px;
  background: rgba(212, 166, 61, 0.09);
  padding: 0 12px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 20px 0 18px;
  color: var(--navy);
  font-size: clamp(42px, 10vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-copy p,
.section-heading p,
.why-section p,
.lead-section p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(212, 166, 61, 0.28);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
}

.button svg {
  width: 20px;
  height: 20px;
}

.hero-media,
.fleet-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-media img,
.fleet-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.advantage-section {
  padding: 26px 0;
}

.advantage-grid,
.service-grid,
.timeline-grid,
.client-grid,
.footer-grid {
  display: grid;
  gap: 16px;
}

.advantage-card,
.service-card,
.timeline-card,
.lead-form,
.client-logo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(11, 31, 58, 0.06);
}

.advantage-card,
.service-card,
.timeline-card {
  padding: 22px;
}

.icon-badge {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--navy);
  color: var(--gold);
}

.icon-light {
  background: #f3f6fa;
  color: var(--navy);
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

.advantage-card h2,
.service-card h3,
.timeline-card h3 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

.advantage-card p,
.service-card p,
.timeline-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 54px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading.compact {
  max-width: 520px;
}

.section-heading h2,
.why-section h2,
.lead-section h2 {
  margin: 16px 0 12px;
  color: var(--navy);
  font-size: clamp(32px, 7vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.025em;
}

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

.service-card {
  min-height: 230px;
}

.why-section {
  background: linear-gradient(180deg, #f8f9fb, #ffffff);
}

.benefit-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 850;
}

.benefit-list svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--gold-dark);
  stroke-width: 3;
}

.timeline-card {
  position: relative;
}

.timeline-card > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}

.clients-section {
  padding-top: 12px;
}

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

.client-logo {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 16px;
  color: #7a8491;
  font-weight: 900;
  filter: grayscale(1);
}

.client-logo img {
  max-width: 150px;
  max-height: 48px;
  object-fit: contain;
}

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

.lead-section .eyebrow {
  border-color: rgba(212, 166, 61, 0.55);
  background: rgba(212, 166, 61, 0.14);
  color: var(--gold);
}

.lead-section h2 {
  color: var(--white);
}

.lead-section p {
  color: rgba(255, 255, 255, 0.72);
}

.lead-form {
  padding: 22px;
}

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

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

.lead-form input,
.lead-form textarea,
.lead-form select,
.wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  padding: 13px 14px;
  color: var(--navy);
}

.lead-form textarea {
  resize: vertical;
}

.lead-form button,
.lead-form .wpcf7-submit {
  margin-top: 16px;
  border: 0;
  cursor: pointer;
}

/* Lead form refinement for Contact Form 7. */
.lead-grid {
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
}

.lead-form {
  max-width: 640px;
  justify-self: end;
  padding: clamp(22px, 3vw, 34px);
}

.lead-form .wpcf7-form {
  display: grid;
  gap: 0;
}

.lead-form .wpcf7-form p {
  margin: 0 0 14px;
}

.lead-form .wpcf7-form br {
  display: none;
}

.lead-form form,
.lead-form .wpcf7-form {
  color: var(--navy);
}

.lead-form .form-grid,
.lead-form .wpcf7-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-form .wpcf7-form p:nth-of-type(7),
.lead-form .wpcf7-form p:has(textarea),
.lead-form .form-grid .full {
  grid-column: 1 / -1;
}

.lead-form label {
  font-size: 12px;
  line-height: 1.25;
}

.lead-form input,
.lead-form textarea,
.lead-form select,
.wpcf7-form-control:not(.wpcf7-submit) {
  min-height: 48px;
  font-size: 15px;
}

.lead-form textarea {
  min-height: 118px;
}

.lead-form button,
.lead-form .wpcf7-submit {
  width: auto;
  min-width: 190px;
  min-height: 52px;
  justify-self: start;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  padding: 0 24px;
}

.lead-section .container > div:first-child {
  align-self: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 42px 0 22px;
}

.footer-grid {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-grid strong,
.footer-brand {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.footer-grid address {
  font-style: normal;
}

.footer-grid a {
  display: block;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--gold-dark);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}

.footer-bottom {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.page-content {
  padding: 56px 0;
}

.page-content h1 {
  font-size: clamp(36px, 8vw, 56px);
}

.archive-grid {
  display: grid;
  gap: 16px;
}

.archive-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 720px) {
  .container {
    width: min(100% - 48px, 1180px);
  }

  .hero-grid,
  .why-grid,
  .lead-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
    align-items: center;
  }

  .advantage-grid,
  .service-grid,
  .timeline-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 1040px) {
  .header-inner {
    min-height: 86px;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    display: block;
    margin-left: auto;
  }

  .menu-list {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .header-phone {
    margin-left: 0;
  }

  .hero-section {
    padding: 84px 0 54px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
    gap: 56px;
  }

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

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

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

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

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 0.8fr 0.9fr;
  }
}

@media (max-width: 480px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .header-inner {
    min-height: 72px;
    gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 10px;
  }

  .brand-logo,
  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .header-phone {
    order: 4;
    width: auto;
    margin-left: 0;
  }

  .language-switch {
    order: 5;
    margin-left: auto;
    border-left: 0;
    padding-left: 0;
  }

  .primary-nav.is-open {
    top: 122px;
  }

  .button {
    width: 100%;
  }

  .hero-media img,
  .fleet-media img {
    min-height: 260px;
  }
}

/* Final footer and homepage cleanup. */
.clients-section,
.client-grid,
.client-logo,
.social-links,
.footer-menu,
.footer-brand {
  display: none !important;
}

.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 32px !important;
}

.footer-company,
.footer-contact {
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
  padding: 22px;
}

.footer-company span,
.footer-contact a {
  display: block;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1040px) {
  .lead-grid {
    grid-template-columns: 1fr;
  }

  .lead-form {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .lead-form .form-grid,
  .lead-form .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .lead-form button,
  .lead-form .wpcf7-submit {
    width: 100%;
  }
}

/* Compact lead form layout. */
@media (min-width: 1041px) {
  .lead-section {
    padding: 42px 0 !important;
  }

  .lead-grid {
    grid-template-columns: minmax(300px, 0.66fr) minmax(560px, 1fr) !important;
    gap: 54px !important;
  }

  .lead-form {
    max-width: 760px !important;
    padding: 20px !important;
  }

  .lead-form .form-grid,
  .lead-form .wpcf7-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 12px !important;
  }

  .lead-form .wpcf7-form p {
    margin-bottom: 0 !important;
  }

  .lead-form .wpcf7-form p:nth-of-type(7),
  .lead-form .wpcf7-form p:has(textarea),
  .lead-form .form-grid .full {
    grid-column: 1 / -1 !important;
  }

  .lead-form label {
    gap: 5px !important;
    font-size: 11px !important;
  }

  .lead-form input,
  .lead-form textarea,
  .lead-form select,
  .wpcf7-form-control:not(.wpcf7-submit) {
    min-height: 38px !important;
    border-radius: 9px !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
  }

  .lead-form textarea {
    min-height: 74px !important;
  }

  .lead-form button,
  .lead-form .wpcf7-submit {
    min-height: 42px !important;
    margin-top: 12px !important;
    padding: 0 20px !important;
  }
}

/* Mobile header stability: prevent menu/logo overlap. */
@media (max-width: 1039px) {
  .site-header {
    overflow: visible !important;
  }

  .header-inner {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px 12px !important;
    min-height: auto !important;
    padding: 12px 0 !important;
  }

  .brand {
    grid-column: 1 !important;
    min-width: 0 !important;
  }

  .brand > span:last-child {
    min-width: 0 !important;
  }

  .brand strong,
  .brand small {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .nav-toggle {
    grid-column: 2 !important;
    justify-self: end !important;
    z-index: 3 !important;
  }

  .header-phone {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: max-content !important;
    max-width: 100% !important;
    min-height: 38px !important;
    margin-left: 0 !important;
    padding: 0 13px !important;
    font-size: 13px !important;
  }

  .language-switch {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    margin-left: 0 !important;
    border-left: 0 !important;
    padding-left: 0 !important;
  }

  .primary-nav,
  .primary-nav.is-open {
    grid-column: 1 / -1 !important;
  }

  .primary-nav.is-open {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin-top: 6px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 480px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) 42px !important;
  }

  .brand-logo,
  .brand-mark {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
  }

  .brand strong {
    font-size: 14px !important;
  }

  .brand small {
    font-size: 9px !important;
    letter-spacing: 0.05em !important;
  }

  .header-phone {
    font-size: 12px !important;
  }
}
