:root {
  --red: #e4002b;
  --red-dark: #b90023;
  --ink: #111319;
  --muted: #5f6570;
  --line: #dfe3e8;
  --soft: #f4f6f8;
  --white: #fff;
  --max: 1180px;
  --shadow: 0 22px 60px rgb(0 0 0 / 18%);
  font-family: "MAN Europe", Arial, Helvetica, sans-serif;
}

@font-face {
  font-family: "MAN Europe";
  src: url("fonts/fonts/ManEurope_Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MAN Europe";
  src: url("fonts/fonts/ManEurope_Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "MAN Europe Condensed";
  src: url("fonts/fonts/ManEuropeCondensed_Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "MAN Europe Condensed";
  src: url("fonts/fonts/ManEuropeCondensed_Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
}

body.menu-locked {
  overflow: hidden;
}

.page-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-grid {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  grid-template-rows: 34px 58px;
  min-height: 92px;
  align-items: center;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  background: #fff;
}

.brand {
  display: inline-flex;
  justify-content: center;
  grid-row: 1 / 3;
  gap: 0;
  align-items: center;
  height: 100%;
  min-width: 0;
  padding: 0 18px;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo.man {
  height: 64px;
}

.brand-logo.man-wordmark {
  width: 104px;
  height: auto;
}

.ag-logo-white {
  filter: none;
}

.product-title {
  align-self: end;
  display: flex;
  gap: 16px;
  align-items: center;
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  height: auto;
  padding: 0 28px 0 32px;
  color: #303c49;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.product-title span {
  color: #5b6f85;
}

.hero-buttons,
.contact-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: stretch;
  justify-content: flex-start;
  color: #303c49;
  font-family: "MAN Europe Condensed", "MAN Europe", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  height: 58px;
  padding: 0 0 0 32px;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--red);
}

.lang-toggle {
  min-width: 42px;
  height: 42px;
  color: var(--ink);
  font-family: "MAN Europe", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px 9px;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 4px 0;
  background: #303c49;
  transition: transform .18s ease, opacity .18s ease;
}

.header-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  height: 100%;
  padding: 0 24px 0 18px;
}

.header-action-link {
  color: #303c49;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta {
  min-height: 40px;
  padding: 0 20px;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-family: "MAN Europe Condensed", "MAN Europe", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-red {
  color: var(--white);
  background: var(--red);
}

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

.btn-light {
  color: var(--ink);
  background: var(--white);
}

.btn-outline {
  justify-self: start;
  color: var(--ink);
  border: 1px solid #5f6570;
  background: transparent;
}

.btn-outline:hover {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.btn-dark {
  color: var(--white);
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(620px, 86vh, 820px);
  overflow: hidden;
  color: var(--white);
}

.hero::after {
  content: none;
}

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

.hero-img {
  object-fit: cover;
  height: 112%;
  max-width: none;
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.03);
}

.hero-overlay {
  background: linear-gradient(90deg, rgb(0 0 0 / 82%) 0%, rgb(0 0 0 / 56%) 42%, rgb(0 0 0 / 8%) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(720px, calc(100% - 36px));
  min-height: clamp(620px, 86vh, 820px);
  margin-left: clamp(18px, 7vw, 96px);
  padding: 84px 0 120px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.red {
  color: var(--red);
}

h1,
h2,
h3 {
  font-family: "MAN Europe Condensed", "MAN Europe", Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
}

p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: var(--max);
  margin: -74px auto 0;
  position: relative;
  z-index: 2;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-facts div {
  min-height: 148px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.quick-facts div:last-child {
  border-right: 0;
}

.quick-facts strong {
  display: block;
  margin-bottom: 16px;
  font-size: 28px;
  letter-spacing: 0;
}

.quick-facts span {
  color: var(--muted);
  line-height: 1.45;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 0;
}

.section[id],
.contacts[id],
.lead-form[id] {
  scroll-margin-top: 112px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.section-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.service-grid span {
  padding: 16px;
  font-weight: 800;
  background: var(--soft);
  border-left: 4px solid var(--red);
}

.media-panel {
  background: var(--soft);
  border: 1px solid var(--line);
}

.media-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #d7dde4;
}

.media-panel div {
  padding: 26px;
}

.media-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.media-panel a:not(.btn) {
  color: var(--red);
  font-weight: 800;
}

.media-panel.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
}

.media-panel.wide img {
  height: 100%;
  aspect-ratio: auto;
}

.parts-section {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.parts-seo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.parts-seo p {
  margin: 0;
}

.promotions-section {
  padding-top: clamp(48px, 7vw, 88px);
}

.promotion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
}

.promotion-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 22px;
  align-content: start;
}

.promotion-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #d7dde4;
}

.promotion-card h3 {
  margin: 0;
  color: #2c3440;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.04;
}

.promotion-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  list-style: none;
}

.promotion-card li {
  position: relative;
  padding-left: 18px;
}

.promotion-card li::before {
  content: "";
  position: absolute;
  top: .25em;
  bottom: .25em;
  left: 0;
  width: 4px;
  background: var(--red);
}

.dark-band {
  max-width: none;
  padding-right: clamp(18px, 5vw, 64px);
  padding-left: clamp(18px, 5vw, 64px);
  color: var(--white);
  background: #171b22;
}

.dark-band .section-heading,
.dark-band .form-layout {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

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

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  color: var(--ink);
  background: var(--white);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  border: 1px solid #cfd6de;
  border-radius: 0;
  background: var(--white);
}

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

input:focus,
textarea:focus {
  outline: 2px solid rgb(228 0 43 / 25%);
  border-color: var(--red);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.cards-section {
  padding-bottom: 64px;
}

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

.cards article {
  min-height: 220px;
  padding: 28px;
  background: var(--soft);
  border-top: 4px solid var(--red);
}

.cards p,
.faq p,
.contacts p {
  color: var(--muted);
  line-height: 1.55;
}

.bots-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-top: 54px;
  padding-bottom: 72px;
  border-top: 1px solid var(--line);
}

.bots-copy p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.bots-actions {
  display: grid;
  gap: 14px;
}

.bot-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: var(--soft);
  border-left: 4px solid var(--red);
}

.bot-card:hover {
  background: #e9edf2;
}

.bot-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bot-card strong {
  font-family: "MAN Europe Condensed", "MAN Europe", Arial, Helvetica, sans-serif;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.bot-card small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.faq {
  padding-top: 30px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 22px 0;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  max-width: 780px;
  margin-bottom: 24px;
}

.contacts {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 56px clamp(18px, 7vw, 96px);
  color: var(--white);
  background: var(--red);
}

.contacts p {
  color: rgb(255 255 255 / 86%);
}

.footer {
  padding: 48px clamp(18px, 7vw, 96px);
  background: #303c49;
  color: var(--white);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 32px 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: 13px;
}

.footer-logo {
  width: 58px;
  height: auto;
  flex: 0 0 auto;
}

.footer-ag-logo {
  width: 96px;
  height: auto;
  margin-left: auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 36px;
  color: #fff;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.footer-columns div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-columns h3 {
  margin-bottom: 2px;
  color: #fff;
  font-size: 18px;
}

.footer-columns a {
  color: rgb(255 255 255 / 78%);
  font-size: 14px;
}

.footer-columns a:hover,
.footer-legal a:hover {
  color: #fff;
}

.footer-note {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: 13px;
  line-height: 1.55;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
  color: rgb(255 255 255 / 72%);
  font-size: 13px;
}

@media (max-width: 1060px) {
  .header-grid {
    grid-template-columns: 104px minmax(0, 1fr) auto;
    width: 100%;
  }

  .main-nav {
    gap: 22px;
    overflow-x: auto;
    font-size: 14px;
  }

  .quick-facts {
    margin: 0;
    max-width: none;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: none;
    border-bottom: 1px solid var(--line);
  }

  .quick-facts div {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .split,
  .form-layout,
  .media-panel.wide,
  .parts-seo,
  .promotion-grid,
  .bots-section,
  .contacts,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .topbar {
    padding: 0;
  }

  .header-grid {
    grid-template-columns: 84px 1fr auto;
    grid-template-rows: 64px auto;
    min-height: 64px;
  }

  .brand-logo.man-wordmark {
    width: 66px;
    height: auto;
  }

  .product-title {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    align-self: center;
    padding: 0 12px;
    font-size: 14px;
  }

  .header-actions {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    gap: 6px;
    padding: 10px 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .header-action-link {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    z-index: 30;
    height: auto;
    width: min(72vw, 360px);
    gap: 0;
    padding: 0;
    font-size: 16px;
    background: #fff;
    border-top: 0;
    box-shadow: -100vw 0 0 rgb(0 0 0 / 58%);
    transform: translateX(100%);
    transition: transform .22s ease;
  }

  .main-nav a {
    justify-content: space-between;
    min-height: 48px;
    padding: 0 18px;
    color: #5b6570;
    font-family: "MAN Europe", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::before {
    content: "";
  }

  .main-nav a::after {
    position: static;
    width: auto;
    height: auto;
    color: #303c49;
    background: transparent;
    content: ">";
    transform: none;
  }

  .main-nav a.active {
    color: #5b6570;
  }

  .topbar.menu-open .main-nav {
    display: flex;
    flex-direction: column;
    transform: translateX(0);
  }

  .topbar.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .topbar.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .btn {
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero,
  .hero-content {
    min-height: calc(100svh - 64px);
  }

  .hero-overlay {
    display: none;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgb(0 0 0 / 10%) 0%, rgb(0 0 0 / 30%) 45%, rgb(0 0 0 / 84%) 100%);
  }

  .hero-content {
    justify-content: flex-end;
    margin: 0 18px;
    padding: 84px 0 56px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-buttons,
  .form-row,
  .cards,
  .contact-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

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

  .footer-brand {
    flex-wrap: wrap;
  }

  .footer-ag-logo {
    margin-left: 0;
  }

  .quick-facts div {
    min-height: auto;
    padding: 16px;
    border-right: 0;
  }

  .quick-facts strong {
    margin-bottom: 8px;
    font-size: 22px;
  }

  .quick-facts span {
    font-size: 14px;
    line-height: 1.35;
  }

  .footer {
    padding: 0;
    color: #303c49;
    background: #eef1f4;
  }

  .footer-inner {
    max-width: none;
  }

  .footer-columns {
    gap: 0;
    padding: 24px 28px;
    color: #303c49;
    border-bottom: 1px solid #d7dde4;
  }

  .footer-columns div {
    gap: 6px;
    padding: 15px 0;
    border-top: 1px solid #d7dde4;
  }

  .footer-columns h3 {
    position: relative;
    margin: 0;
    color: #303c49;
    font-family: "MAN Europe", Arial, Helvetica, sans-serif;
    font-size: 14px;
    letter-spacing: 0;
  }

  .footer-columns h3::before {
    content: "+";
    display: inline-block;
    width: 22px;
    color: var(--red);
    font-size: 20px;
    line-height: 1;
  }

  .footer-columns a {
    padding-left: 22px;
    color: #5f6570;
  }

  .footer-brand,
  .footer-legal,
  .footer-note {
    padding-right: 28px;
    padding-left: 28px;
    color: #5f6570;
  }

  .footer-brand {
    padding-top: 24px;
  }

  .footer-logo,
  .footer-ag-logo {
    filter: invert(1);
  }

  .footer-legal {
    padding-top: 18px;
  }

  .footer-note {
    padding-bottom: 28px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-img {
    transform: none;
  }
}
