:root {
  --bg: #ffffff;
  --text: #171717;
  --muted: #68615f;
  --line: #eadfdb;
  --soft: #fff7f5;
  --red: #ce1126;
  --red-dark: #a80d1e;
  --gold: #c99a2e;
  --cream: #fffaf3;
  --shadow: 0 24px 80px rgba(77, 17, 21, 0.14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; }

.splash {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #ffffff;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.splash.hidden { opacity: 0; visibility: hidden; }
.splash-card {
  width: min(88vw, 420px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  text-align: center;
  background: linear-gradient(180deg, #ffffff, var(--cream));
}
.loader-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: #fff1f2;
  font-size: 42px;
  animation: float 1.5s ease-in-out infinite;
}
.splash h1 { margin: 0 0 6px; font-size: 1.8rem; }
.splash p { margin: 0 0 20px; color: var(--muted); }
.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f2dfdf;
}
.progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold));
  animation: progress 1.3s ease-in-out infinite;
}

.hero {
  min-height: 100vh;
  padding: 18px;
  background:
    radial-gradient(circle at 12% 10%, rgba(206, 17, 38, 0.13), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(201, 154, 46, 0.15), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #fff8f6 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -32% -12%;
  height: 48%;
  background: linear-gradient(135deg, transparent 0 44%, rgba(206,17,38,0.09) 44% 48%, transparent 48% 52%, rgba(201,154,46,0.12) 52% 56%, transparent 56%);
  pointer-events: none;
}
.topbar, .hero-content { position: relative; z-index: 1; }
.topbar {
  max-width: 1180px;
  margin: 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
}
.brand-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(206,17,38,0.11);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-link { text-decoration: none; font-weight: 800; color: var(--muted); }

.hero-content {
  width: min(1180px, 100%);
  margin: 7vh auto 0;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 34px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
  font-size: 0.76rem;
  color: var(--red);
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}
.intro {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.6;
}
.hero-buttons, .map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.button, .coffee {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.button:hover, .coffee:hover { transform: translateY(-2px); }
.primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
  box-shadow: 0 14px 32px rgba(206, 17, 38, 0.25);
}
.primary:hover { background: var(--red-dark); }
.secondary { background: #ffffff; border: 1px solid var(--line); color: var(--text); }
.coffee { background: #ffdd00; color: #111; border: 1px solid #111; box-shadow: 3px 3px 0 #111; }
.coffee.small { min-height: 42px; padding: 0 16px; }
.coffee.large { min-height: 58px; padding: 0 24px; font-size: 1.05rem; }
.coffee-cup { font-size: 1.2rem; }
.info-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.map-preview {
  height: 230px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, #ffffff 0 48%, #fff1f2 48% 52%, #ffffff 52%),
    radial-gradient(circle at 20% 80%, rgba(201,154,46,0.2), transparent 24%);
  border: 1px solid var(--line);
}
.track-line {
  position: absolute;
  inset: 42px 34px;
  border: 8px solid var(--red);
  border-left-color: var(--gold);
  border-radius: 48% 52% 46% 54%;
  transform: rotate(-13deg);
  opacity: .9;
}
.pin {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
  font-size: 1.35rem;
}
.pin-one { left: 20%; top: 27%; }
.pin-two { right: 16%; top: 33%; }
.pin-three { left: 47%; bottom: 13%; }
.info-card h2 { margin: 24px 0 8px; font-size: 1.8rem; }
.info-card p { margin: 0 0 22px; color: var(--muted); line-height: 1.55; }
.stat-row { display: flex; flex-wrap: wrap; gap: 10px; }
.stat-row span {
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: .92rem;
  font-weight: 800;
}

.quick-help {
  width: min(1180px, calc(100% - 36px));
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quick-help article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(77, 17, 21, 0.06);
}
.quick-help span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff1f2;
  color: var(--red);
  font-weight: 900;
}
.quick-help h3 { margin: 16px 0 7px; }
.quick-help p { margin: 0; color: var(--muted); line-height: 1.5; }

.map-section, .donation-section {
  width: min(1180px, calc(100% - 36px));
  margin: 74px auto 0;
}
.section-heading { max-width: 760px; }
.section-heading h2, .donation-section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; }
.section-heading p:not(.eyebrow), .donation-section p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.map-shell {
  margin-top: 24px;
  height: min(72vh, 720px);
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--soft);
}
.map-shell iframe { width: 100%; height: 100%; border: 0; display: block; }

.donation-section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #ffffff, #fff4f2);
  box-shadow: 0 20px 60px rgba(77, 17, 21, 0.09);
}
footer {
  width: min(1180px, calc(100% - 36px));
  margin: 54px auto 0;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes progress {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(250%); }
}

@media (max-width: 800px) {
  .hero { padding: 14px; min-height: auto; }
  .topbar { height: auto; padding: 10px 0; align-items: flex-start; }
  .brand span:last-child { max-width: 135px; line-height: 1.15; }
  .nav-actions { gap: 8px; }
  .nav-link { display: none; }
  .hero-content { margin-top: 34px; grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(3.3rem, 17vw, 5.2rem); }
  .quick-help { grid-template-columns: 1fr; }
  .map-shell { min-height: 470px; height: 68vh; border-radius: 20px; }
  .donation-section { flex-direction: column; align-items: flex-start; }
  .button, .coffee { width: 100%; }
}
