:root {
  --navy: #0f336b;
  --blue: #1457a8;
  --muted: #636b75;
  --border: #dee0e5;
  --orange: #ff7d00;
  --page: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: #fff; color: #0d0d0d; font-family: Inter, Arial, sans-serif; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
.page-shell { width: min(var(--page), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.hero { position: relative; height: 284px; overflow: hidden; color: #fff; background: linear-gradient(90deg, #0f294d 0%, #2b578a 53%, #0f2647 100%); }
.ambient { position: absolute; top: -126px; border-radius: 50%; background: rgba(103, 153, 207, .27); pointer-events: none; }
.ambient--one { left: 21%; width: 270px; height: 500px; }
.ambient--two { left: 46%; width: 360px; height: 560px; }
.ambient--three { left: 74%; width: 260px; height: 500px; }
.nav { position: relative; z-index: 2; height: 80px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: block; width: 182px; height: 42px; }
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: auto; }
.hero-copy { position: relative; z-index: 1; padding-top: 105px; }
.hero-copy h1 { margin: 0 0 8px; font-size: 40px; line-height: 1.2; }
.hero-copy p { margin: 0; color: #d6e5f5; font-size: 18px; }

.breadcrumb-wrap { height: 74px; background: #fff; }
.breadcrumb { height: 100%; display: flex; align-items: center; gap: 9px; color: var(--blue); font-size: 16px; }
.directory { padding-top: 0; }
.section-heading { text-align: center; }
.eyebrow { margin: 0 0 6px; color: var(--blue); font-size: 13px; font-weight: 700; }
.section-heading h2 { margin: 0 0 5px; font-size: 30px; line-height: 1.3; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 16px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 108px; margin-top: 48px; }
.distributor-card { min-height: 248px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 16px 20px 18px 46px; border: 1px solid var(--border); overflow: hidden; }
.card-copy { min-width: 0; flex: 1; }
.region { margin: 0 0 3px; color: var(--navy); font-size: 20px; font-weight: 700; line-height: 1.25; }
.distributor-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 21px; line-height: 1.3; }
.label { margin: 0 0 18px; color: var(--blue); font-size: 11px; font-weight: 700; }
dl, dd { margin: 0; }
dl { display: grid; gap: 7px; color: var(--muted); font-size: 13px; line-height: 1.25; }
dl div { display: grid; grid-template-columns: max-content 1fr; gap: 9px; }
dt { white-space: nowrap; }
dd a:hover, dd a:focus-visible { color: var(--blue); text-decoration: underline; }
.partner-logo { flex: 0 0 auto; align-self: center; object-fit: contain; }
.maschine-logo { width: 159px; height: 150px; }
.dovac-logo { width: 211px; height: 116px; }
.support { min-height: 160px; margin-top: 320px; padding: 38px 44px; display: flex; align-items: center; justify-content: space-between; color: var(--navy); }
.support h2 { margin: 0 0 12px; font-size: 24px; }
.support p { margin: 0; font-size: 15px; }
.cta { min-width: 190px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: var(--orange); color: #fff; font-size: 15px; font-weight: 700; transition: background .2s, transform .2s; }
.cta:hover, .cta:focus-visible { background: #e66f00; transform: translateY(-1px); }

@media (max-width: 1000px) {
  .cards { gap: 28px; }
  .distributor-card { padding: 28px 26px 28px 32px; }
  .partner-logo { width: 130px; height: 110px; }
  .support { margin-top: 180px; }
}

@media (max-width: 900px) {
  .cards {
    width: min(100%, 680px);
    margin-inline: auto;
    grid-template-columns: 1fr;
  }
  .distributor-card { padding-inline: 40px; }
  .maschine-logo { width: 159px; height: 150px; }
  .dovac-logo { width: 211px; height: 116px; }
  .support { margin-top: 120px; }
}

@media (max-width: 640px) {
  .page-shell { width: min(100% - 32px, var(--page)); }
  .hero { height: 300px; }
  .nav { height: 72px; }
  .brand { width: 148px; height: 35px; }
  .ambient { top: -160px; opacity: .85; }
  .ambient--one { left: -48%; width: 250px; }
  .ambient--two { left: 26%; width: 300px; }
  .ambient--three { left: 86%; width: 230px; }
  .hero-copy { padding-top: 91px; }
  .hero-copy h1 { margin-bottom: 10px; font-size: clamp(31px, 9vw, 38px); }
  .hero-copy p { max-width: 330px; font-size: 15px; line-height: 1.55; }
  .breadcrumb-wrap { height: 58px; }
  .breadcrumb { gap: 8px; font-size: 14px; }
  .breadcrumb a { display: inline-flex; min-width: 28px; min-height: 44px; align-items: center; }
  .directory { padding-top: 15px; }
  .eyebrow { margin-bottom: 8px; font-size: 11px; letter-spacing: .04em; }
  .section-heading h2 { margin-bottom: 10px; font-size: 26px; }
  .section-heading > p:last-child { max-width: 430px; margin-inline: auto; font-size: 14px; line-height: 1.6; }
  .cards { gap: 18px; margin-top: 32px; }
  .distributor-card {
    min-height: 0;
    padding: 28px 24px 30px;
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
  }
  .card-copy { width: 100%; }
  .partner-logo { order: -1; align-self: center; }
  .maschine-logo { width: 132px; height: 125px; }
  .dovac-logo { width: 172px; height: 96px; margin-block: 12px; }
  .distributor-card h3 { margin-bottom: 9px; font-size: 20px; }
  .region { font-size: 18px; }
  .label { margin-bottom: 22px; }
  dl { gap: 12px; line-height: 1.45; }
  dl div { grid-template-columns: minmax(92px, max-content) 1fr; }
  dd { min-width: 0; overflow-wrap: anywhere; }
  .support {
    min-height: 0;
    margin-top: 72px;
    padding: 32px 0 48px;
    align-items: stretch;
    flex-direction: column;
    gap: 26px;
  }
  .support h2 { font-size: 22px; line-height: 1.3; }
  .support p { font-size: 14px; line-height: 1.55; }
  .cta { width: 100%; min-height: 48px; }
}

@media (max-width: 390px) {
  .page-shell { width: calc(100% - 24px); }
  .brand { width: 138px; height: 32px; }
  .hero-copy h1 { font-size: 30px; }
  .distributor-card { padding-inline: 20px; }
  dl div { grid-template-columns: 1fr; gap: 2px; }
  dt { font-weight: 600; }
}

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