:root {
  --bg: #0d0f14;
  --surface: #171a21;
  --surface-2: #20242d;
  --text: #ffffff;
  --muted: #aab2c0;
  --primary: #e10600;
  --primary-hover: #ff1f18;
  --border: rgba(255,255,255,.10);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13,15,20,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo span { color: var(--text); }
.logo strong { color: var(--primary); }

.desktop-nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover { color: var(--text); }

.menu-button {
  display: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 20px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 75% 35%, rgba(225,6,0,.28), transparent 34%),
    linear-gradient(135deg, #11151f 0%, #07080c 62%);
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(52px, 8vw, 118px);
  line-height: .88;
  letter-spacing: -5px;
}

.hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }

  .site-header .container { height: 64px; }
  .logo { font-size: 24px; }

  .hero {
    min-height: calc(100vh - 64px);
    padding: 56px 0;
  }

  .hero h1 {
    letter-spacing: -3px;
  }
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo img {
  height: 56px;
  width: auto;
  display: block;
}

@media (max-width: 820px) {
  .brand-logo img {
    height: 46px;
  }
}


/* =========================
   AMG.AL Home v1
   ========================= */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100vh - 72px);
  padding: 84px 0 68px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 78% 34%, rgba(225,6,0,.34), transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(255,255,255,.08), transparent 28%),
    linear-gradient(135deg, #121722 0%, #07080c 66%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,8,12,.92), rgba(7,8,12,.48), rgba(7,8,12,.88));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.045);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(54px, 8.5vw, 122px);
  line-height: .88;
  letter-spacing: -5px;
}

.hero p {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: -.2px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

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

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.055);
  color: #fff;
}

.hero-panel {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  box-shadow: 0 34px 90px rgba(0,0,0,.42);
}

.panel-label {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(225,6,0,.14);
  color: #ffb0ad;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-panel h2 {
  margin: 18px 0 10px;
  font-size: 38px;
  letter-spacing: -1.5px;
}

.hero-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.quick-access {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding-bottom: 64px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-card {
  min-height: 104px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(23,26,33,.92);
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 28px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.quick-card span {
  font-size: 18px;
  font-weight: 900;
}

.quick-card:hover {
  transform: translateY(-3px);
  border-color: rgba(225,6,0,.42);
  background: rgba(32,36,45,.95);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-panel {
    max-width: 520px;
  }

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

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding: 58px 0 78px;
  }

  .hero h1 {
    letter-spacing: -3px;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .quick-card {
    min-height: 82px;
  }
}

/* =========================
   AMG.AL Header Polish v1
   ========================= */

.site-header {
  background: rgba(10, 12, 17, .92);
}

.site-header .container {
  height: 82px;
}

.brand-logo img {
  height: 68px;
  max-width: 260px;
  object-fit: contain;
}

.desktop-nav {
  gap: 30px;
  font-size: 14px;
  letter-spacing: -.1px;
}

.desktop-nav a {
  opacity: .9;
}

.desktop-nav a:hover {
  opacity: 1;
  color: #ffffff;
}

@media (max-width: 820px) {
  .site-header .container {
    height: 72px;
  }

  .brand-logo img {
    height: 54px;
    max-width: 210px;
  }
}
