:root {
  --ink: #101820;
  --muted: #5f6973;
  --paper: #f6f4ef;
  --surface: #ffffff;
  --line: #d9d5ce;
  --red: #d9232e;
  --red-dark: #a9141e;
  --steel: #243848;
  --blue: #174b73;
  --yellow: #f6c400;
  --shadow: 0 24px 80px rgba(16, 24, 32, 0.16);
  font-family: Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

body.chart-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(246, 244, 239, 0.9);
  box-shadow: 0 12px 38px rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-wrap {
  display: grid;
  place-items: center;
  width: 92px;
  height: 42px;
  padding: 5px 7px;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(16, 24, 32, 0.08);
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--steel), var(--red));
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
  background: #ebe7df;
}

.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.lang-switch a {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.lang-switch a[aria-current="page"] {
  color: #fff;
  background: var(--steel);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 0.2s ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 58px auto 0;
  padding: 18px 0 32px;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  aspect-ratio: 1.18;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-media::before,
.hero-media::after {
  position: absolute;
  content: "";
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(16, 24, 32, 0.08));
  pointer-events: none;
}

.hero-media::after {
  inset: 26px auto auto 26px;
  width: 86px;
  height: 8px;
  background: var(--red);
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.96) contrast(1.05);
}

.hero-content {
  padding: 12px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 4.05vw, 3.9rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
}

.btn.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 34px rgba(217, 35, 46, 0.25);
}

.btn.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.quick-facts div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.request-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 10px auto 42px;
  padding: 18px 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--steel);
}

.request-strip p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.request-strip a {
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 760px;
}

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

.service-grid article {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-grid span {
  color: var(--red);
  font-weight: 800;
  font-size: 0.84rem;
}

.service-grid p,
.process span,
.machine span,
.contact-panel p,
address span {
  color: var(--muted);
}

.local-search {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  padding-top: 30px;
}

.local-search h2 {
  font-size: clamp(1.85rem, 3.2vw, 3rem);
}

.local-search-copy {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.local-search-copy p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 2px solid var(--red);
  color: var(--ink);
  font-weight: 800;
}

.process {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: #fff;
}

.process .eyebrow {
  color: var(--yellow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
}

.steps li {
  min-height: 164px;
  padding: 24px;
  background: var(--ink);
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.steps span {
  color: rgba(255, 255, 255, 0.72);
}

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

.machine {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.machine-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(180px, 18vw, 230px);
  background: #f4f1ea;
  overflow: hidden;
}

.machine .machine-media > img {
  position: absolute;
  inset: 16px;
  display: block;
  width: calc(100% - 32px) !important;
  height: calc(100% - 32px) !important;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.machine-media.photo-media {
  background: #d8d3ca;
}

.machine-media.photo-media > img {
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.machine-media.focus-ad20 > img {
  object-position: 50% 42%;
}

.machine-media.focus-hr > img {
  object-position: 55% 48%;
}

.machine-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.machine p {
  margin-bottom: 7px;
  color: var(--red);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.machine h3 {
  margin-bottom: 6px;
}

.chart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.chart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(217, 35, 46, 0.24);
  border-radius: 6px;
  color: var(--red);
  background: rgba(217, 35, 46, 0.07);
  font-size: 0.86rem;
  font-weight: 800;
}

.chart-link:hover,
.chart-link:focus-visible {
  color: #fff;
  background: var(--red);
}

.contact {
  padding-bottom: 48px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 42px;
  padding: 42px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.92), rgba(16, 24, 32, 0.72)),
    url("assets/fleet-yard-real.jpeg") center / cover;
}

.contact-panel .eyebrow {
  color: var(--yellow);
}

.contact-panel p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel .btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-top: 2px;
  color: #fff;
  font-weight: 800;
}

.social-link svg,
.footer-social svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

address {
  display: grid;
  gap: 8px;
  align-self: stretch;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

address strong {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

address span {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 38px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  font-weight: 800;
}

.footer-links,
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.footer-social {
  gap: 8px;
}

.chart-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  padding: 28px;
}

.chart-modal.is-open {
  display: grid;
  place-items: center;
}

.chart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 32, 0.76);
}

.chart-modal__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1100px, 100%);
  max-height: calc(100vh - 56px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.chart-modal__header h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

.chart-modal__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chart-modal__tools a,
.chart-modal__tools button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.chart-modal__tools button {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.chart-modal__body {
  min-height: 0;
  overflow: auto;
  padding: 18px;
  background: #ece8df;
}

.chart-modal__body img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 24, 32, 0.16);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .main-nav {
    position: fixed;
    inset: 82px 16px auto;
    display: none;
    flex-direction: column;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .header-cta {
    justify-self: end;
  }

  .nav-toggle {
    display: inline-block;
  }

  body.nav-open .nav-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr;
    margin-top: 36px;
    padding-top: 10px;
  }

  .hero-media {
    aspect-ratio: 1.5;
  }

  .section-heading,
  .local-search,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    width: calc(100% - 20px);
    margin-top: 10px;
    gap: 8px;
    padding: 10px;
  }

  .brand-text,
  .brand small {
    display: none;
  }

  .brand-logo-wrap {
    width: 76px;
    height: 36px;
    padding: 4px 6px;
  }

  .header-cta {
    display: inline-flex;
    min-height: 38px;
    justify-self: end;
    padding: 0 11px;
    border-radius: 6px;
    font-size: 0.86rem;
    line-height: 1;
    grid-column: 3;
    grid-row: 1;
  }

  .nav-toggle {
    width: 38px;
    grid-column: 4;
    grid-row: 1;
  }

  .lang-switch {
    justify-self: end;
  }

  .lang-switch a {
    min-width: 27px;
    height: 30px;
    font-size: 0.72rem;
  }

  .hero,
  .section,
  .request-strip,
  .site-footer {
    width: calc(100% - 24px);
  }

  .hero {
    gap: 20px;
    margin-top: 24px;
    padding-top: 0;
    padding-bottom: 20px;
  }

  .hero-media {
    aspect-ratio: 1.24;
  }

  h1 {
    font-size: 2.08rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    margin: 20px 0;
  }

  .hero-actions,
  .contact-actions,
  .request-strip,
  .site-footer,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .request-strip a {
    width: 100%;
  }

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

  .quick-facts {
    display: none;
  }

  .section {
    padding: 52px 0;
  }

  .local-search {
    gap: 18px;
    padding-top: 18px;
  }

  .local-search-copy {
    padding: 20px;
  }

  .social-link,
  .footer-social {
    justify-content: center;
  }

  .machine-media {
    height: 210px;
  }

  .machine .machine-media > img {
    inset: 14px;
    width: calc(100% - 28px) !important;
    height: calc(100% - 28px) !important;
  }

  .machine .machine-media.photo-media > img {
    inset: 0;
    width: 100% !important;
    height: 100% !important;
  }

  .process {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  .contact-panel {
    padding: 26px;
  }

  .chart-modal {
    padding: 12px;
  }

  .chart-modal__panel {
    max-height: calc(100vh - 24px);
  }

  .chart-modal__header {
    align-items: stretch;
    flex-direction: column;
  }

  .chart-modal__tools a,
  .chart-modal__tools button {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .site-header {
    gap: 4px;
    padding: 8px;
  }

  .brand-logo-wrap {
    width: 62px;
    height: 34px;
  }

  .lang-switch {
    padding: 2px;
  }

  .lang-switch a {
    min-width: 23px;
  }

  .header-cta {
    padding: 0 7px;
    font-size: 0.75rem;
  }

  .nav-toggle {
    width: 34px;
  }
}
