:root {
  --bg: #ffffff;
  --fg: #1c1917;
  --muted: #57534e;
  --link: #003478;
  --ford-blue: #003478;
  --kgm-black: #111111;
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 4vw, 3rem);
}

header { text-align: center; }

h1.logo {
  margin: 0 0 0.75rem 0;
  display: flex;
  justify-content: center;
}

h1.logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(420px, 80vw);
}

.tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

.brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.08);
}

.brand:hover, .brand:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1), 0 12px 24px rgba(0,0,0,0.14);
}

.brand:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.brand--ford { background: var(--ford-blue); }
.brand--kgm  { background: var(--kgm-black); }

.brand__plate {
  align-self: flex-start;
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  min-width: 180px;
}

.brand__plate img {
  display: block;
  height: auto;
  max-height: 56px;
  width: auto;
  max-width: 100%;
}

.brand__cta {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

footer address {
  font-style: normal;
}

footer address strong {
  color: var(--fg);
  font-weight: 600;
}

footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease;
}

footer a:hover {
  border-bottom-color: currentColor;
}
