/* ============================================================
   MEDARIA AID — MAIN STYLESHEET
   Deep Navy + Ukrainian Blue + Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0a0e1a;
  --navy-mid:   #111827;
  --navy-light: #1a2235;
  --blue:       #005bbb;
  --blue-light: #0077e6;
  --gold:       #f5c518;
  --gold-light: #ffd84d;
  --white:      #ffffff;
  --off-white:  #e8eaf0;
  --muted:      #9ba3b4;
  --danger:     #c0392b;

  --font-display: 'Cinzel', serif;
  --font-body:    'Inter', sans-serif;
  --font-quote:   'Playfair Display', serif;

  --max-width: 1200px;
  --section-pad: 100px 0;
  --border-radius: 12px;

  --transition: all 0.3s ease;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-blue: 0 8px 32px rgba(0,91,187,0.3);
  --shadow-gold: 0 8px 32px rgba(245,197,24,0.3);
}

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

body {
  background: var(--navy);
  color: var(--off-white);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--white); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--off-white); line-height: 1.8; }
a  { text-decoration: none; color: inherit; }

.text-gold  { color: var(--gold); }
.text-blue  { color: var(--blue-light); }
.text-muted { color: var(--muted); }

/* ── Layout ──*/
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
section { padding: var(--section-pad); }

/* ── Section Labels ── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(245,197,24,0.4);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 60px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245,197,24,0.15);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-text .name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}
.nav-logo-text .tagline {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--off-white);
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-donate {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  font-family: var(--font-display) !important;
  letter-spacing: 1px;
  padding: 10px 20px !important;
}
.nav-donate:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* ── Dropdown Submenus ── */
.nav-arrow {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.25s ease;
  display: inline-block;
  margin-left: 2px;
  vertical-align: middle;
}

.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: flex !important;
  align-items: center;
  gap: 4px;
}

.dropdown {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 190px;
  background: rgba(10, 14, 26, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245,197,24,0.18);
  border-radius: 10px;
  /* padding-top creates the visual gap without breaking the hover zone */
  padding: 12px 0 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  list-style: none;
  z-index: 200;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.has-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.dropdown li {
  list-style: none;
}

.dropdown li a {
  display: block;
  padding: 10px 20px !important;
  font-size: 0.82rem !important;
  font-weight: 500;
  color: var(--off-white) !important;
  white-space: nowrap;
  border-radius: 0 !important;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.dropdown li a:hover {
  color: var(--gold) !important;
  background: rgba(245,197,24,0.07);
  padding-left: 28px !important;
}

/* ── Mobile accordion groups ── */
.mobile-group {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  padding: 16px 0;
  text-align: left;
  transition: color 0.25s ease;
}
.mobile-group-toggle:hover { color: var(--gold); }
.mobile-group-toggle[aria-expanded="true"] { color: var(--gold); }

.mobile-arrow {
  font-size: 0.9rem;
  transition: transform 0.25s ease;
  display: inline-block;
}
.mobile-group-toggle[aria-expanded="true"] .mobile-arrow {
  transform: rotate(180deg);
}

.mobile-sub {
  display: none;
  flex-direction: column;
  padding: 0 0 8px 16px;
}
.mobile-sub.open { display: flex; }

.mobile-sub a {
  font-size: 1.05rem !important;
  padding: 10px 0 !important;
  color: var(--muted) !important;
  border-bottom: none !important;
}
.mobile-sub a:hover {
  color: var(--gold) !important;
  padding-left: 8px !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ── Mobile nav ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(10,14,26,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 40px 24px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--gold); padding-left: 12px; }
.mobile-menu .mobile-donate {
  margin-top: 24px;
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  font-weight: 700;
  border: none;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/medaria_heroes.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.30);
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,14,26,0.3) 0%,
    rgba(10,14,26,0.1) 40%,
    rgba(10,14,26,0.5) 70%,
    rgba(10,14,26,0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(245,197,24,0.5);
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.hero-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 24px;
  filter: drop-shadow(0 8px 24px rgba(0,91,187,0.6));
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 4px 32px rgba(0,0,0,0.5);
  margin-bottom: 12px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-tagline {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--gold);
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(232,234,240,0.85);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.5s both;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
  cursor: pointer;
  z-index: 2;
}
.hero-scroll svg { opacity: 0.6; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Ticker Banner ── */
.ticker {
  background: linear-gradient(90deg, var(--blue) 0%, #003b7a 100%);
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
}
.ticker-item .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Stats ── */
.stats-section {
  background: var(--navy-mid);
  padding: 80px 0;
  border-top: 1px solid rgba(245,197,24,0.1);
  border-bottom: 1px solid rgba(245,197,24,0.1);
}

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

.stat-card {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: rgba(255,255,255,0.03); }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── About / Story ── */
.story-section {
  background: var(--navy);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-image {
  position: relative;
}
.story-image img {
  width: 100%;
  border-radius: var(--border-radius);
  object-fit: cover;
  height: 500px;
}
.story-image::before {
  content: '';
  position: absolute;
  inset: -12px -12px auto auto;
  width: 60%;
  height: 60%;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-radius: 0 12px 0 0;
  z-index: 1;
  pointer-events: none;
}
.story-image::after {
  content: '';
  position: absolute;
  inset: auto auto -12px -12px;
  width: 60%;
  height: 60%;
  border-bottom: 3px solid var(--blue-light);
  border-left: 3px solid var(--blue-light);
  border-radius: 0 0 0 12px;
  pointer-events: none;
}

.charity-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,91,187,0.15);
  border: 1px solid rgba(0,91,187,0.4);
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--blue-light);
}
.charity-badge svg { flex-shrink: 0; }

/* ── Mission ── */
.mission-section {
  background: var(--navy-light);
  position: relative;
  overflow: hidden;
}
.mission-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/medaria_field4.jpg') center/cover no-repeat;
  opacity: 0.06;
}

.mission-content {
  position: relative;
  z-index: 1;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.mission-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--border-radius);
  padding: 36px;
  transition: var(--transition);
}
.mission-card:hover {
  border-color: rgba(245,197,24,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.mission-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.mission-blockquote {
  background: linear-gradient(135deg, rgba(0,91,187,0.15) 0%, rgba(245,197,24,0.08) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 32px 36px;
  margin: 60px 0 0;
}
.mission-blockquote p {
  font-family: var(--font-quote);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
}
.mission-blockquote cite {
  display: block;
  margin-top: 16px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ── Frontline / Orphans ── */
.frontline-section {
  background: var(--navy-mid);
}

.frontline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.frontline-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.frontline-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.frontline-image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--blue) 0%, #003b7a 50%, var(--navy) 100%);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

/* ── Full-width Photo Banner ── */
.photo-banner {
  position: relative;
  height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.photo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55);
}
.photo-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 48px;
  background: linear-gradient(0deg, rgba(10,14,26,0.95) 0%, transparent 100%);
}
.photo-banner-content h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 8px;
}
.photo-banner-content p {
  color: var(--off-white);
  font-size: 0.95rem;
  max-width: 600px;
}

/* ── Photo Grid Gallery ── */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.photo-gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.85);
}
.photo-gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}
.photo-gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

/* ── Bear Story Card ── */
.bear-story {
  background: linear-gradient(135deg, rgba(0,91,187,0.12) 0%, rgba(245,197,24,0.06) 100%);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: 16px;
  padding: 48px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}
.bear-emoji {
  font-size: 4rem;
  text-align: center;
  line-height: 1;
  padding-top: 8px;
}


/* ── Fundraiser / Progress ── */
.fundraiser-section {
  background: var(--navy);
}

.fundraiser-card {
  background: var(--navy-light);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
}

.target-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  margin: 8px 0;
}

.progress-bar-wrap {
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  height: 16px;
  margin: 32px 0 16px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--gold) 100%);
  transition: width 2s ease;
  position: relative;
}
.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 4px;
  background: white;
  border-radius: 100px;
  box-shadow: 0 0 12px rgba(255,255,255,0.8);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

.fundraiser-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.fundraiser-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 24px;
  text-align: left;
}
.fundraiser-item .item-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
}
.fundraiser-item .item-name {
  font-weight: 600;
  margin: 4px 0;
}
.fundraiser-item .item-qty {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── Donate Page — Tiers ── */
.donate-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 60px 0;
}

.tier-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.tier-card:hover,
.tier-card.featured {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}
.tier-card.featured {
  position: relative;
}
.tier-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.tier-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
}
.tier-label {
  font-weight: 600;
  color: var(--white);
  margin: 8px 0;
}
.tier-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ── Store / Shop ── */
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.store-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}
.store-card:hover {
  border-color: rgba(245,197,24,0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.store-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.store-card-body {
  padding: 24px;
}

.store-card-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 8px;
}

.store-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 8px;
}

.store-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.store-card-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
}

/* ── FAQ Accordion ── */
.faq-list {
  max-width: 800px;
  margin: 60px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
}
.faq-question:hover { color: var(--gold); }

.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(245,197,24,0.15); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 0 28px;
  color: var(--muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(0,91,187,0.2);
  border: 1px solid rgba(0,91,187,0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text strong {
  display: block;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.contact-info-text span {
  color: var(--muted);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--off-white);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* ── Contact Form ── */
.contact-form {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--border-radius);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-light);
  background: rgba(0,119,230,0.08);
  box-shadow: 0 0 0 3px rgba(0,119,230,0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--navy-mid); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  height: 40vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,14,26,0.92) 0%, rgba(26,34,53,0.88) 50%, rgba(0,26,61,0.92) 100%),
    url('img/medaria_heroes.jpg') center 30% / cover no-repeat;
}
.page-hero-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,91,187,0.25) 0%, transparent 70%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

/* ── Bank Transfer Box ── */
.bank-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius);
  padding: 32px;
}

.bank-box h4 {
  font-family: var(--font-display);
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bank-detail {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
}
.bank-detail:last-child { border-bottom: none; }
.bank-detail .label { color: var(--muted); }
.bank-detail .value { color: var(--white); font-weight: 600; }

/* ── Projects ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.project-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}
.project-card:hover {
  border-color: rgba(245,197,24,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-card-header {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.project-card-body {
  padding: 24px;
}

.project-year {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ── Sponsors ── */
.sponsor-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.sponsor-tier {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--border-radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}
.sponsor-tier:hover {
  border-color: rgba(245,197,24,0.3);
  transform: translateY(-4px);
}

.sponsor-crown {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

/* ── Footer ── */
.footer {
  background: #060910;
  border-top: 1px solid rgba(245,197,24,0.15);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand img { height: 48px; width: 48px; object-fit: contain; }
.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-reg {
  font-size: 0.75rem;
  color: rgba(155,163,180,0.7);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
}
.footer-reg strong { color: var(--blue-light); }

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

.slava {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}

/* ── Utility ── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 2px;
  margin: 20px 0 32px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .story-grid       { grid-template-columns: 1fr; gap: 40px; }
  .mission-grid     { grid-template-columns: 1fr; gap: 24px; }
  .frontline-grid   { grid-template-columns: 1fr; gap: 40px; }
  .donate-tiers     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 32px; }
  .store-grid       { grid-template-columns: repeat(2, 1fr); }
  .projects-grid    { grid-template-columns: repeat(2, 1fr); }
  .sponsor-tiers    { grid-template-columns: 1fr; }
  .fundraiser-items { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Tablet / Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  :root { --section-pad: 56px 0; }

  /* Navigation */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Nav bar height on mobile — keep logo smaller */
  .nav-inner { height: 64px; }
  .nav-logo img { height: 40px; width: 40px; }

  /* Mobile menu — full-screen overlay starts below the 64px bar */
  .mobile-menu { top: 64px; padding: 28px 20px; }

  /* ── Page Hero (inner pages like convoy) ── */
  /* Give enough top padding so hero content never sits behind the fixed nav */
  .page-hero {
    height: auto;
    min-height: unset;
    padding: 96px 20px 60px;   /* top = navbar height + breathing room */
    align-items: flex-start;
    text-align: left;
  }
  .page-hero-content {
    width: 100%;
    max-width: 100%;
  }
  .page-hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    line-height: 1.2;
  }

  /* ── Main Hero (homepage) ── */
  .hero { min-height: 100svh; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-tagline { font-size: 1rem; }
  .hero-sub { font-size: 0.92rem; }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-logo { width: 72px; height: 72px; }

  /* Sections */
  section { padding: 56px 0; }
  .container { padding: 0 16px; }

  /* Typography */
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  h3 { font-size: clamp(1.1rem, 4vw, 1.4rem); }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 28px 16px; }

  /* Story */
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-image { display: none; }

  /* Mission */
  .mission-grid { grid-template-columns: 1fr; gap: 20px; }
  .mission-blockquote { padding: 24px 20px; margin-top: 40px; }

  /* Frontline */
  .frontline-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Photo banner */
  .photo-banner { height: auto; min-height: 320px; }
  .photo-banner-content { padding: 32px 20px; }

  /* Bear story */
  .bear-story {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 20px;
  }
  .bear-emoji { text-align: left; padding-top: 0; }

  /* Fundraiser */
  .fundraiser-card { padding: 28px 20px; }
  .fundraiser-items { grid-template-columns: 1fr; }

  /* Donate tiers */
  .donate-tiers { grid-template-columns: 1fr 1fr; gap: 14px; }

  /* Store */
  .store-grid { grid-template-columns: 1fr; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }

  /* Sponsors */
  .sponsor-tiers { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px 20px; }

  /* FAQ */
  .faq-question { font-size: 0.95rem; }

  /* Footer */
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer { padding: 56px 0 0; }

  /* Buttons */
  .btn { padding: 13px 22px; font-size: 0.8rem; }

  /* Section labels & subtitles */
  .section-subtitle { margin-bottom: 40px; }
}

/* ── Small Mobile (≤ 480px) ── */
@media (max-width: 480px) {
  :root { --section-pad: 48px 0; }

  .container { padding: 0 14px; }

  /* Hero */
  .hero h1  { font-size: 1.9rem; }
  .hero-badge { font-size: 0.65rem; padding: 5px 14px; }
  .hero-logo { width: 60px; height: 60px; }

  /* Page hero */
  .page-hero { padding: 90px 14px 48px; }
  .page-hero h1 { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2rem; }

  /* Donate tiers — single column on very small screens */
  .donate-tiers { grid-template-columns: 1fr; }

  /* Fundraiser items */
  .target-amount { font-size: 2.2rem; }

  /* Bear story */
  .bear-story { padding: 20px 14px; }

  /* Footer */
  .footer-grid  { grid-template-columns: 1fr; }

  /* Buttons — full-width stacking on CTA sections */
  .hero-buttons .btn,
  .page-hero-content .btn { width: 100%; text-align: center; justify-content: center; }

  /* Mission blockquote */
  .mission-blockquote p { font-size: 1rem; }

  /* Photo banner */
  .photo-banner-content { padding: 24px 14px; }
}
