:root {
  --maroon: #7b0f18;
  --maroon-dark: #4f0910;
  --gold: #f4a51c;
  --ink: #16171a;
  --muted: #6a6f7a;
  --paper: #fffaf2;
  --surface: #ffffff;
  --line: rgba(22, 23, 26, .1);
  --shadow: 0 22px 60px rgba(62, 18, 22, .16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fbf7ef;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

.topbar {
  background: var(--maroon-dark);
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  padding: 9px 7%;
}

.topbar-inner {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

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

.nav-wrap {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 16px 7%;
}

.brand {
  align-items: center;
  display: flex;
  gap: 14px;
  min-width: 230px;
}

.brand-logo {
  background: #fff;
  border: 1px solid rgba(123, 15, 24, .16);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(123, 15, 24, .16);
  height: 58px;
  object-fit: contain;
  padding: 5px;
  width: 58px;
}

.brand h1 {
  color: var(--maroon);
  font-size: 20px;
  line-height: 1.1;
}

.brand span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-top: 2px;
}

nav {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

nav a {
  border-radius: var(--radius);
  color: #333741;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 11px;
}

nav a:hover,
nav a.active {
  background: rgba(123, 15, 24, .08);
  color: var(--maroon);
}

.nav-cta,
.btn,
button {
  align-items: center;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
}

.nav-cta {
  background: var(--maroon);
  color: #fff;
  margin-left: 6px;
}

.btn,
button {
  background: var(--gold);
  color: var(--maroon-dark);
  box-shadow: 0 14px 24px rgba(244, 165, 28, .22);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(79, 9, 16, .96) 0%, rgba(123, 15, 24, .86) 54%, rgba(123, 15, 24, .55) 100%),
    url("evcc-campus-hero.png") center right / cover no-repeat;
  color: #fff;
  padding: 82px 7%;
}

.page-hero-inner,
.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.page-logo {
  background: rgba(255, 255, 255, .95);
  border-radius: var(--radius);
  height: 94px;
  margin-bottom: 22px;
  object-fit: contain;
  padding: 8px;
  width: 94px;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.page-hero h2 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  max-width: 780px;
}

.page-hero p {
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
  margin-top: 16px;
  max-width: 650px;
}

section {
  padding: 72px 7%;
}

.white {
  background: #fff;
}

.section-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-head h2,
.title {
  color: var(--maroon);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.section-head p,
.subtitle {
  color: var(--muted);
  max-width: 560px;
}

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.two-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(22, 23, 26, .07);
  padding: 28px;
}

.card h3,
.contact-card h3 {
  color: var(--maroon);
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.card p,
.contact-card p,
.contact-card label {
  color: var(--muted);
}

.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(22, 23, 26, .07);
  overflow: hidden;
}

.map-card iframe {
  border: 0;
  display: block;
  min-height: 360px;
  width: 100%;
}

.map-info {
  padding: 20px 24px 24px;
}

.map-info h3 {
  color: var(--maroon);
  margin-bottom: 8px;
}

.map-info p {
  color: var(--muted);
}

.qr-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(22, 23, 26, .07);
  display: grid;
  gap: 28px;
  grid-template-columns: 220px 1fr;
  padding: 28px;
}

.qr-card img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  width: 220px;
}

.qr-card h3 {
  color: var(--maroon);
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.qr-card p {
  color: var(--muted);
}

.card-icon {
  align-items: center;
  background: rgba(244, 165, 28, .18);
  border-radius: var(--radius);
  color: var(--maroon);
  display: grid;
  font-size: 22px;
  font-weight: 900;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  width: 48px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(22, 23, 26, .06);
  display: grid;
  gap: 18px;
  grid-template-columns: 48px 1fr;
  padding: 24px;
}

.step:before {
  align-items: center;
  background: var(--gold);
  border-radius: var(--radius);
  color: var(--maroon-dark);
  content: counter(step);
  counter-increment: step;
  display: grid;
  font-weight: 900;
  height: 42px;
  place-items: center;
  width: 42px;
}

.event {
  display: grid;
  gap: 18px;
  grid-template-columns: 86px 1fr;
}

.date {
  background: var(--paper);
  border-radius: var(--radius);
  color: var(--maroon);
  display: grid;
  font-weight: 900;
  min-height: 78px;
  place-items: center;
  text-align: center;
}

.date span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
}

.date strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.form {
  display: grid;
  gap: 14px;
}

input,
textarea {
  border: 1px solid rgba(22, 23, 26, .18);
  border-radius: var(--radius);
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}

footer {
  background: #171a21;
  color: rgba(255, 255, 255, .76);
  padding: 44px 7%;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 1fr 1fr;
  margin: 0 auto;
  max-width: 1180px;
}

footer h3 {
  color: var(--gold);
  margin-bottom: 10px;
}

footer a {
  color: #fff;
}

.copy {
  background: #11141a;
  color: rgba(255, 255, 255, .72);
  padding: 16px 7%;
  text-align: center;
}

@media (max-width: 980px) {
  .topbar-inner,
  .nav-wrap,
  .section-head {
    display: block;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 16px;
  }

  .grid,
  .two-grid,
  .qr-card,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    display: none;
  }

  .nav-wrap,
  section,
  .page-hero,
  footer,
  .copy {
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    height: 50px;
    width: 50px;
  }

  .brand h1 {
    font-size: 17px;
  }

  nav a,
  .nav-cta {
    font-size: 13px;
    padding: 9px 10px;
  }

  .grid,
  .two-grid,
  .qr-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .event {
    grid-template-columns: 72px 1fr;
  }
}
