/* Mercedes-AMG landing only. Shared header, menu, footer and typefaces remain global. */
body.amg-page { background: #000; }
.amg-landing { --amg-gutter: 7vw; --amg-red: #b71920; background: #000; color: #fff; }
.amg-landing :is(h1,h2,h3) { font-family: "MBCorpoSTitle", "MBCorpoSText", Arial, sans-serif; font-weight: 700; letter-spacing: 0; }
.amg-landing :is(a,button):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.amg-container { width: min(100% - 2 * var(--amg-gutter), 1280px); margin: 0 auto; }
.amg-section { padding: 48px 0 64px; }
.amg-section h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.14; margin: 0 0 48px; }
.amg-section p { font-size: 16px; line-height: 1.5; }
.amg-dark { background: #000; color: #fff; }
.amg-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 24px; border-radius: 999px; font-size: 16px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; transition: background .2s ease, color .2s ease; }
.amg-button-outline { border: 1px solid #9c9c9c; background: transparent; color: #fff; }
.amg-button-outline:hover { background: #fff; color: #111; }
.amg-button-red { border: 1px solid var(--amg-red); background: var(--amg-red); color: #fff; }
.amg-button-red:hover { background: #8d1219; }
.amg-button-light { border: 1px solid #aaa; color: #292929; background: #fff; }
.amg-button-light:hover { background: #eee; }
.amg-text-link { display: inline-block; color: #fff; text-decoration: underline; text-underline-offset: 8px; text-decoration-color: #999; font-size: 16px; font-weight: 700; }
.amg-text-link:hover { text-decoration-color: #fff; }
.amg-price { font-weight: 700; }

.amg-hero { position: relative; min-height: min(41vw, 720px); background: #000; }
.amg-hero-media { position: absolute; inset: 0; overflow: hidden; }
.amg-hero-media video, .amg-hero-media picture, .amg-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.amg-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.56),rgba(0,0,0,.06) 72%),linear-gradient(0deg,#000,transparent 45%); pointer-events: none; }
.amg-video-toggle { position: absolute; z-index: 2; left: var(--amg-gutter); top: 24px; width: 42px; height: 42px; border: 1px solid #777; background: #000; color: #fff; border-radius: 50%; cursor: pointer; }
.amg-hero-copy { position: relative; z-index: 1; width: min(100% - 2 * var(--amg-gutter), 1280px); margin: 0 auto; padding: clamp(60px, 7vw, 130px) 0 80px; }
.amg-hero h1 { max-width: 36vw; margin: 0 0 24px; font-size: clamp(48px, 5.6vw, 80px); line-height: 1.12; }
.amg-hero p { max-width: 570px; margin: 0 0 36px; font-size: 22px; line-height: 1.35; }
.amg-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.amg-landing .mb-brand-switch { position: relative; z-index: 7; margin: -28px auto -28px; border-color: #6b6b6b; box-shadow: none; overflow: visible; }
.amg-landing .mb-brand-switch::before { content: none; }
.amg-hero::before { content: ""; position: absolute; z-index: 3; left: 50%; bottom: 0; width: min(calc(100vw - 2 * var(--amg-gutter)),1280px); height: 1px; transform: translateX(-50%); background: #6b6b6b; pointer-events: none; }
.amg-landing .mb-brand-switch::after { content: ""; position: absolute; z-index: 1; inset: 1px; border-radius: inherit; background: #070707; pointer-events: none; }
.amg-landing .mb-brand-switch .mb-brand-tab { position: relative; z-index: 2; }
.amg-landing .mb-brand-tab.active { background: #fff; color: #000; }
.amg-landing .mb-brand-tab.active img { filter: brightness(0); }

.amg-slider-wrap { position: relative; }
.amg-slider { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.amg-slider::-webkit-scrollbar { display: none; }
.amg-slider-next { position: absolute; top: 50%; right: -20px; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid #777; background: #222; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.amg-slider-dots { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 24px 0 0; }
.amg-slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #b7b7b7; cursor: pointer; }
.amg-slider-dots button.is-active { width: 12px; height: 12px; background: #fff; }
.amg-discover-cards { align-items: stretch; justify-content: flex-start; padding-inline-end: 0; scroll-padding-inline-end: 0; overscroll-behavior-inline: contain; }
.amg-discover-card { position: relative; display: flex; flex-direction: column; align-self: stretch; flex: 0 0 calc((100% - 32px)/3); min-width: 0; background: #000; border: 0; border-radius: 12px; box-shadow: none; outline: 0; overflow: hidden; scroll-snap-align: start; }
.amg-discover-image { height: auto; aspect-ratio: 1; position: relative; flex: 0 0 auto; width: 100%; border-radius: 12px 12px 0 0; overflow: hidden; }
.amg-discover-image::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, transparent 38%, rgba(0,0,0,.12) 50%, rgba(0,0,0,.66) 69%, #000 86%, #000 100%); }
.amg-discover-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.amg-discover-copy { position: relative; z-index: 2; flex: 1 1 auto; width: 100%; box-sizing: border-box; margin-top: -70px; padding: 16px 24px 32px; display: flex; flex-direction: column; align-items: flex-start; min-height: 290px; background: linear-gradient(to bottom, transparent 0, #000 70px); border: 0; border-radius: 0 0 12px 12px; box-shadow: none; outline: 0; }
.amg-discover-copy h3 { font-size: 30px; line-height: 1.13; margin: 0 0 16px; }
.amg-discover-copy p { margin: 0 0 24px; }
.amg-discover-copy .amg-button { margin-top: auto; }
.amg-discover-copy .amg-text-link { margin-top: 26px; }
.amg-discover .amg-slider-wrap { overflow: visible; }
.amg-discover .amg-slider-next { z-index: 10; right: 24px; box-sizing: border-box; min-width: 0; width: 48px; height: 48px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.55); transition: background .2s ease, border-color .2s ease; }
.amg-discover .amg-slider-next:hover, .amg-discover .amg-slider-next:focus-visible { background: rgba(0,0,0,.75); border-color: rgba(255,255,255,.5); }
.amg-vehicle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.amg-vehicle-card { border: 1px solid #444; border-radius: 12px; overflow: hidden; }
.amg-vehicle-card img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.amg-vehicle-card > div { padding: 20px; }
.amg-vehicle-card h3 { font-size: 24px; margin: 0 0 8px; }
.amg-vehicle-card p { margin: 0 0 16px; }
.amg-explore { background: #fff; color: #333; }
.amg-explore h2 { max-width: 760px; font-family: var(--mb-font-title); font-size: clamp(32px,4.6vw,56px); font-weight: 400; line-height: 1.25; }
.amg-explore-links { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.amg-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.amg-category { position: relative; display: flex; align-items: center; min-height: 116px; padding: 20px; background: #eef2f3; border-radius: 12px; text-decoration: none; overflow: visible; font-family: var(--mb-font-title); font-size: 24px; }
.amg-category img { position: absolute; right: 0; width: 58%; object-fit: contain; }
.amg-service-card { flex: 0 0 calc((100% - 32px)/3); min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; }
.amg-service-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 24px; }
.amg-service-card h3 { font-size: 24px; line-height: 1.2; margin: 0 0 14px; }
.amg-service-card p { margin: 0 0 24px; }
.amg-service-card { overflow: visible; }
.amg-service-card .amg-button { box-sizing: border-box; max-width: 100%; margin-top: auto; white-space: normal; text-align: center; }
.amg-service-card:nth-child(2) { align-self: flex-start; }
.amg-service-card:is(:nth-child(2),:nth-child(3)) p { margin-bottom: 16px; color: #e8e8e8; line-height: 23px; }
.amg-services :is(.amg-slider-prev,.amg-slider-next) { position: absolute; top: var(--amg-slider-control-y,50%); z-index: 10; box-sizing: border-box; min-width: 0; width: 48px; height: 48px; padding: 0; transform: translateY(-50%); display: grid; place-items: center; border: 1px solid #696969; border-radius: 50%; background: #1a1a1a; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.amg-services .amg-slider-prev { left: 16px; }
.amg-services .amg-slider-next { right: 16px; }
.amg-services :is(.amg-slider-prev,.amg-slider-next)[hidden] { display: none; }
@media (min-width: 1024px) {
  .amg-service-card { flex-basis: 68%; }
}
.amg-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.amg-feature-grid > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.amg-feature h2 { margin-bottom: 24px; }
.amg-feature p { margin: 0 0 28px; }
.amg-feature small { display: block; margin-bottom: 24px; }
.amg-feature-world .amg-feature-copy { order: 2; }
.amg-feature-world .amg-feature-grid > img { order: 1; }
.amg-feature-world { position: relative; padding-top: 64px; }
.amg-feature-world::before { content: ""; position: absolute; top: 0; left: 50%; width: min(100% - 2 * var(--amg-gutter), 1280px); height: 1px; transform: translateX(-50%); background: rgba(255,255,255,.22); pointer-events: none; }
.amg-quick-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.amg-quick-card { min-height: 220px; padding: 24px; border-radius: 12px; background: #303030; color: #fff; text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.amg-quick-card:hover { background: #414141; }
.amg-quick-icon { display: block; width: 42px; height: 42px; }
.amg-quick-icon svg { display: block; width: 100%; height: 100%; }
.amg-quick-card strong { font-size: 20px; }
.amg-quick-card > span:not(.amg-quick-icon,.amg-quick-arrow) { font-size: 15px; line-height: 1.5; }
.amg-quick-arrow { margin-top: auto; align-self: flex-end; font-size: 24px; }

@media (max-width: 1023px) {
  body.amg-page .mb-header, body.amg-page .mbvns-header { position: static; }
  .amg-landing { --amg-gutter: 7vw; }
  .amg-section { padding: 32px 0 48px; }
  .amg-section h2 { font-size: 28px; line-height: 32px; margin-bottom: 48px; }
  .amg-hero { min-height: 0; }
  .amg-hero::before { bottom: -33px; }
  .amg-hero-media { position: relative; height: 100vw; }
  .amg-hero-copy { width: auto; padding: 16px var(--amg-gutter) 31px; text-align: center; }
  .amg-hero h1 { max-width: none; font-size: 32px; line-height: 36px; margin: 0 0 20px; }
  .amg-hero p { max-width: none; font-size: 16px; line-height: 24px; margin-bottom: 28px; }
  .amg-actions { flex-direction: column; gap: 12px; }
  .amg-actions .amg-button { width: 100%; min-height: 55px; }
  .amg-landing .mb-brand-switch { position: sticky; top: 28px; width: min(423px,90vw); padding: 3px; gap: 4px; margin: 5px auto -29px; background: #070707; border: 1px solid #777; }
  .amg-landing .mb-brand-tab { width: 100%; min-width: 0; height: 48px; padding: 0; }
  .amg-landing .mb-brand-tab .mb-bt-text { display: none; }
  .amg-landing .mb-brand-tab img { display: block; height: auto; filter: brightness(0) invert(1); }
  .amg-landing .mb-brand-tab.active img { filter: brightness(0); }
  .amg-landing .mb-brand-tab:nth-child(1) img { width: 88px; height: 10px; }
  .amg-landing .mb-brand-tab:nth-child(2) img { width: 86px; height: 9px; }
  .amg-landing .mb-brand-tab:nth-child(3) img { width: 81px; height: 9px; }
  .amg-slider { overflow-x: auto; gap: 16px; }
  .amg-slider-wrap { margin-right: calc(-1 * var(--amg-gutter)); }
  .amg-discover-card { flex-basis: min(350px,82vw); }
  .amg-discover-copy { min-height: 235px; }
  .amg-discover-copy { margin-top: -92px; }
  .amg-discover { padding-bottom: 16px; }
  .amg-discover-copy h3 { font-size: 24px; line-height: 28px; }
  .amg-vehicle-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .amg-explore h2 { font-size: 32px; line-height: 40px; }
  .amg-explore { padding-bottom: 86px; }
  .amg-explore-links { flex-direction: column; }
  .amg-categories { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .amg-service-card { flex-basis: 86%; }
  .amg-services { padding-bottom: 27px; }
  .amg-services .amg-slider-next { right: calc(var(--amg-gutter) + 16px); }
  .amg-feature-grid { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .amg-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .amg-feature-grid > img { order: 1; }
  .amg-feature-copy { order: 0; }
  .amg-feature-world { padding-top: 64px; }
  .amg-feature-world .amg-feature-grid { gap: 0; }
  .amg-feature-world .amg-feature-copy { display: contents; }
  .amg-feature-world .amg-feature-copy > h2 { order: 0; margin: 0 0 16px; }
  .amg-feature-world .amg-feature-copy > p { order: 0; margin: 0 0 32px; }
  .amg-feature-world .amg-feature-copy > .amg-button { order: 2; align-self: flex-start; margin-top: 32px; }
}
@media (min-width: 1024px) and (max-width: 1024px) {
  .amg-feature-world { padding-top: 64px; }
  .amg-feature-world .amg-feature-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .amg-feature-world .amg-feature-copy { display: contents; }
  .amg-feature-world .amg-feature-copy > h2 { order: 0; margin: 0 0 16px; }
  .amg-feature-world .amg-feature-copy > p { order: 0; margin: 0 0 32px; }
  .amg-feature-world .amg-feature-grid > img { order: 1; }
  .amg-feature-world .amg-feature-copy > .amg-button { order: 2; align-self: flex-start; margin-top: 32px; }
}
@media (min-width: 601px) and (max-width: 1023px) {
  .amg-explore-links { margin-bottom: 50.6px; }
  .amg-categories { column-gap: 16px; row-gap: 0; }
  .amg-category { display: block; height: 178px; min-height: 178px; padding: 0; background: transparent; border-radius: 0; }
  .amg-category::before { content: ""; position: absolute; z-index: 0; inset: 0 0 auto; height: 80px; border-radius: 12px; background: linear-gradient(110deg,#e4eaeb 0%,#e4eaeb 10%,#f8fbfc 100%); }
  .amg-category span { position: absolute; z-index: 1; left: 16px; top: 32px; line-height: 32px; }
  .amg-category img { display: block; right: 0; top: auto; bottom: 123px; width: 62%; height: auto; }
}
@media (min-width: 601px) and (max-width: 800px) {
  .amg-explore-links { margin-bottom: 45.6px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .amg-explore-links { margin-bottom: 128.94px; }
  .amg-categories { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 16px; row-gap: 0; }
  .amg-category { display: block; height: 186px; min-height: 186px; padding: 0; background: transparent; border-radius: 0; }
  .amg-category::before { content: ""; position: absolute; z-index: 0; inset: 0 0 auto; height: 116px; border-radius: 12px; background: linear-gradient(110deg,#e4eaeb 0%,#e4eaeb 10%,#f8fbfc 100%); }
  .amg-category span { position: absolute; z-index: 1; left: 24px; top: 48px; font-size: 32px; line-height: 44px; }
  .amg-category img { display: block; right: 0; top: auto; bottom: 105px; width: 62%; height: auto; }
}
@media (max-width: 600px) {
  .amg-landing { --amg-gutter: 5vw; }
  .amg-hero-copy { padding-top: 16px; padding-bottom: 31px; }
  .amg-hero h1 { margin-bottom: 20px; }
  .amg-hero p { margin-bottom: 28px; }
  .amg-hero::before { bottom: -21px; }
  .amg-landing .mb-brand-switch { top: 24px; width: 90vw; margin-top: -3px; margin-bottom: -13px; }
  .amg-landing .mb-brand-tab { height: 40px; }
  .amg-landing .mb-brand-tab:nth-child(1) img { width: 78px; height: 9px; }
  .amg-landing .mb-brand-tab:nth-child(2) img { width: 70px; height: 7px; }
  .amg-landing .mb-brand-tab:nth-child(3) img { width: 66px; height: 7px; }
  .amg-section { padding: 32px 0 48px; }
  .amg-feature-world { padding-top: 64px; }
  .amg-section h2 { margin-bottom: 32px; }
  .amg-discover-card { flex-basis: 82vw; }
  .amg-discover .amg-slider-wrap { margin-inline-start: calc(-1 * var(--amg-gutter)); }
  .amg-discover-cards { padding-inline-start: var(--amg-gutter); padding-inline-end: 0; scroll-padding-inline-start: calc(var(--amg-gutter) + 8px); scroll-padding-inline-end: 0; }
  .amg-discover-copy { min-height: 248px; }
  .amg-discover-copy { margin-top: -70px; }
  .amg-discover { padding-bottom: 0; }
  .amg-vehicle-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .amg-vehicle-card { flex: 0 0 82vw; scroll-snap-align: start; }
  .amg-categories { grid-template-columns: 1fr; gap: 64px; padding-top: 32px; }
  .amg-explore { padding-bottom: 128px; }
  .amg-services { padding-bottom: 69px; }
  .amg-category { min-height: 80px; }
  .amg-category img { width: 60%; right: 0; bottom: 8px; }
  .amg-feature h2 { margin-bottom: 20px; }
  .amg-feature-grid > img { aspect-ratio: 4/3; }
  .amg-quick-grid { grid-template-columns: 1fr; }
  .amg-quick-card { min-height: 156px; text-align: center; align-items: center; }
  .amg-slider-next { right: 12px; }
}
@media (max-width: 767px) {
  .amg-discover .amg-slider-next { right: max(12px, var(--amg-gutter)); width: 40px; height: 40px; font-size: 28px; }
}
