/* =========================================
   BPORRA – Bruce Peninsula Off-Road Riders
   Global Stylesheet
   ========================================= */

:root {
  --orange:   #12B5C4;
  --orange-d: #0E96A4;
  --green:    #1A3D5C;
  --green-d:  #102840;
  --gold:     #C4A23D;
  --dark:     #1A1A1A;
  --mid:      #3A3A3A;
  --light:    #F5F4EF;
  --white:    #FFFFFF;
  --card-bg:  #FFFFFF;
  --shadow:   0 4px 24px rgba(0,0,0,.12);
  --radius:   10px;
  --nav-h:    68px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ── */
.container { width: min(1180px, 92%); margin-inline: auto; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: 580px;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary   { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); transform: translateY(-2px); }
.btn-outline   { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.btn-green     { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-d); transform: translateY(-2px); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(26,26,26,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-inline: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.nav-logo-mark {
  width: 61px; height: 61px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 2px;
}
.nav-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-logo-text { line-height: 1.1; }
.nav-logo-text strong { display: block; font-size: 1rem; font-weight: 800; }
.nav-logo-text span   { font-size: .72rem; opacity: .8; letter-spacing: .03em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; background: rgba(18,181,196,.25); }
.nav-links a.active { color: var(--orange); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(26,26,26,.97);
  backdrop-filter: blur(12px);
  padding: 16px 0 24px;
  z-index: 999;
  flex-direction: column;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--orange); background: rgba(18,181,196,.1); }

/* =========================================
   HERO  (used on home page)
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26,26,26,.82) 0%, rgba(26,61,92,.6) 100%),
    url('images/hero-placeholder.jpg') center/cover no-repeat;
}
.hero-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #1a2d3a 40%, #0d1f2d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.hero-img-placeholder::before {
  /* dark overlay to ensure hero text remains readable */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62));
  z-index: 1;
}
.hero-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(18,181,196,.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26,61,92,.3) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3; /* sit above image overlay and highlights */
  color: #fff;
  padding-top: var(--nav-h);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18,181,196,.2);
  border: 1px solid rgba(18,181,196,.5);
  color: var(--orange);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: .85;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  margin-top: 64px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.hero-stat span { font-size: .82rem; opacity: .7; letter-spacing: .04em; text-transform: uppercase; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* =========================================
   PAGE HERO  (inner pages)
   ========================================= */
.page-hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
  overflow: hidden;
  background: var(--dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #1a2d3a 50%, #0d1f2d 100%);
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,.8) 0%, transparent 60%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: var(--nav-h);
}
.page-hero-content .breadcrumb {
  font-size: .8rem;
  opacity: .6;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-hero-content .breadcrumb a { opacity: 1; }
.page-hero-content .breadcrumb a:hover { color: var(--orange); }
.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
}
.page-hero-content p {
  font-size: 1.05rem;
  opacity: .8;
  margin-top: 10px;
  max-width: 480px;
}

/* decorative orange accent line */
.page-hero-content h1::after {
  content: '';
  display: block;
  width: 56px; height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 14px;
}

/* =========================================
   CARDS
   ========================================= */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 40px rgba(0,0,0,.15); }

.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #e0ddd5, #c8c4b8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  position: relative;
  overflow: hidden;
}
.card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #d4cfc5 0%, #b8b2a5 100%);
}
.card-img span { position: relative; z-index: 1; opacity: .6; }

.card-body { padding: 24px; }
.card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.card-body p  { font-size: .92rem; color: #666; line-height: 1.6; }

/* =========================================
   PLACEHOLDERS (image areas)
   ========================================= */
.img-placeholder {
  width: 100%;
  background: linear-gradient(135deg, #d4d0c8 0%, #b8b4aa 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #888;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.img-placeholder::before {
  content: '';
  position: absolute;
  width: 60px; height: 60px;
  border: 3px solid rgba(0,0,0,.12);
  border-radius: 50%;
}
.img-placeholder::after {
  content: '';
  position: absolute;
  width: 28px; height: 22px;
  background: rgba(0,0,0,.12);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  transform: translateY(-4px);
}
.img-placeholder .ph-label {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  text-align: center;
  padding: 0 16px;
}

/* =========================================
   FEATURE GRID  (home)
   ========================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(18,181,196,.1);
}
.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-card-body { padding: 24px 28px 32px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: .9rem; color: #666; }

/* =========================================
   EVENTS PAGE
   ========================================= */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}
.event-card:hover { transform: translateY(-4px); }
.event-card-img {
  height: 160px;
  background: linear-gradient(135deg, #1a3d5c 0%, #0e96a4 100%);
  background-size: cover;
  background-position: center;
  position: relative;
}
.event-card-img::before {
  content: 'PHOTO PLACEHOLDER';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.35);
}
.event-card-img.has-image::before { display: none; }
.event-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px 0;
}
.event-date-badge {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  background: var(--orange);
  border-radius: 10px;
  padding: 8px 6px;
  color: #fff;
}
.event-date-badge .month {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .9;
}
.event-date-badge .day {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}
.event-meta h3  { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.event-meta p   { font-size: .82rem; color: #888; }
.event-card-body { padding: 16px 24px 24px; flex: 1; }
.event-card-body p { font-size: .9rem; color: #555; }
.event-tags { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.event-tag {
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(26,61,92,.1);
  color: var(--green);
}
.event-tag.orange { background: rgba(18,181,196,.1); color: var(--orange); }

/* Past events / faded */
.event-card.past { opacity: .55; }
.event-card.past:hover { opacity: .8; }

/* =========================================
   LOCATION PAGE
   ========================================= */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.map-placeholder {
  aspect-ratio: 176/96;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #c5d5b0 0%, #a8c080 50%, #7da85a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.map-placeholder.has-image::before {
  content: none;
}
.map-placeholder::before {
  content: 'MAP PLACEHOLDER';
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(0,0,0,.3);
  position: absolute;
  bottom: 16px;
}
/* fake road lines */
.map-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, transparent 48%, rgba(255,255,255,.4) 49%, rgba(255,255,255,.4) 51%, transparent 52%),
    linear-gradient(-20deg, transparent 40%, rgba(255,255,255,.3) 41%, rgba(255,255,255,.3) 43%, transparent 44%);
}

.highlights-list { display: flex; flex-direction: column; gap: 20px; }
.highlight-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: var(--transition);
}
.highlight-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.highlight-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(18,181,196,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.highlight-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.highlight-item p  { font-size: .88rem; color: #666; }

.trail-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.trail-stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  border-bottom: 4px solid var(--orange);
}
.trail-stat .number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}
.trail-stat .label { font-size: .85rem; color: #666; font-weight: 600; }

/* =========================================
   BOARD PAGE
   ========================================= */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.board-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition);
}
.board-card:hover { transform: translateY(-4px); }
.board-avatar {
  width: 100%;
  aspect-ratio: 1/1;
  max-height: 200px;
  background: linear-gradient(135deg, #d4d0c8, #b8b4aa);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.board-avatar.has-image {
  background-color: transparent;
}
.board-avatar.has-image .board-avatar-initials {
  display: none;
}
.board-avatar-initials {
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(255,255,255,.9);
  background: var(--green);
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.board-card-body { padding: 20px; }
.board-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.board-role {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(18,181,196,.1);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.board-card-body p { font-size: .88rem; color: #666; }
.board-card-body .years { font-size: .8rem; color: #aaa; margin-top: 6px; }

.sponsors-tier { margin-bottom: 60px; }
/* =========================================
  PARTNERS PAGE
  ========================================= */
.partners-tier { margin-bottom: 60px; }
.tier-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.tier-label {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
}
.tier-label.gold   { background: rgba(196,162,61,.2); color: #9a7c1e; }
.tier-label.silver { background: rgba(150,150,150,.2); color: #666; }
.tier-label.bronze { background: rgba(180,110,60,.2); color: #8a4a20; }
.tier-line { flex: 1; height: 1px; background: #e5e5e5; }

.sponsors-grid {
  display: grid;
  gap: 20px;
}
.sponsors-grid.gold-grid   { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.sponsors-grid.silver-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sponsors-grid.bronze-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.partners-grid {
  display: grid;
  gap: 20px;
}
.partners-grid.gold-grid   { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.partners-grid.silver-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.partners-grid.bronze-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.sponsor-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition);
  text-align: center;
}
.sponsor-card:hover { transform: translateY(-3px); }
.sponsor-logo-ph {
  border-radius: 8px;
  background: linear-gradient(135deg, #e8e5de, #d0ccc4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #aaa;
  text-transform: uppercase;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.gold-grid   .sponsor-logo-ph { width: 180px; height: 90px; }
.silver-grid .sponsor-logo-ph { width: 140px; height: 70px; }
.bronze-grid .sponsor-logo-ph { width: 110px; height: 55px; }

.sponsor-name { font-size: .95rem; font-weight: 700; }
.sponsor-desc { font-size: .82rem; color: #888; }
.sponsor-url  { font-size: .8rem; color: var(--orange); font-weight: 600; }

.sponsor-cta-box {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-d) 100%);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  color: #fff;
  margin-top: 40px;
}
.sponsor-cta-box h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.sponsor-cta-box p  { opacity: .85; margin-bottom: 28px; max-width: 480px; margin-inline: auto; margin-bottom: 28px; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #111;
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 260px; }
.footer-social {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: rgba(255,255,255,.7);
}
.footer-social a:hover { background: var(--orange); color: #fff; }

.footer-col h4 {
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a:hover { color: #fff; padding-left: 4px; }
.footer-col ul a::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  opacity: .5;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .location-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-stats { gap: 24px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .board-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .sponsor-cta-box { padding: 32px 24px; }
  .page-hero { height: 260px; }
}

@media (max-width: 480px) {
  .events-grid { grid-template-columns: 1fr; }
  .trail-info-grid { grid-template-columns: 1fr 1fr; }
}
