/* Design tokens, reset, layout helpers, buttons and shared components */

:root {
  --primary-blue: #0B4FA8;
  --primary-blue-dark: #073370;
  --accent: #EAB308;
  --sand-bg: #F8FAFC;
  --radius-lg: 16px;
  --radius-xl: 24px;
  color-scheme: light;
}

/* Reset (replaces the Tailwind preflight the original pulled from a CDN) */
*, *::before, *::after {
  box-sizing: border-box;
  border: 0 solid;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
  background-color: var(--sand-bg);
  color: #1E293B;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: inherit; }
img, svg { display: block; vertical-align: middle; }
svg { flex-shrink: 0; }
img { max-width: 100%; height: auto; }
button, input, select, textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}
button { cursor: pointer; background: none; padding: 0; }

/* Anchor offset for the sticky navigation */
section[id], header[id] {
  scroll-margin-top: 84px;
}

/* Hidden SVG sprite container */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mascot Pill & Tags */
.mascot-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 204, 21, 0.25);
  border: 1px solid #FACC15;
  color: #0F172A;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.btn-arena {
  background: linear-gradient(135deg, #FDE047, #EAB308);
  color: #0F172A;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  box-shadow: 0 4px 18px rgba(234, 179, 8, 0.45);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.btn-arena:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FEF08A, #F59E0B);
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.55);
}

.btn-arena-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
}

.btn-arena-ghost:hover {
  background: #FFFFFF;
  color: var(--primary-blue);
  border-color: #FFFFFF;
}

.btn-ocean {
  background: linear-gradient(135deg, #0B4FA8, #073370);
  color: #FFFFFF;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(11, 79, 168, 0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-ocean:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 79, 168, 0.5);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.38);
}

.btn-whatsapp:hover {
  background: #20BD5A;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #FFFFFF;
}

/* Section Styling */
.section-wrap {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.tag-sub {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: 1.5px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 900;
  color: #0F172A;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #15803D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* Modifiers */
.btn-block { width: 100%; justify-content: center; }
.btn-center { justify-content: center; }
.btn-sm { font-size: 0.88rem; padding: 10px 18px; }

.section-wrap--soft { background-color: var(--sand-bg); }
.section-wrap--bordered { border-top: 1px solid #E2E8F0; }
.section-wrap--warm { background-color: #FFFDF9; border-top: 1px solid #FED7AA; }
.section-head--tight { margin-bottom: 36px; }
.section-desc--spaced { margin-bottom: 20px; }

.tag-sub--on-dark { background: rgba(255, 255, 255, 0.2); color: #FEF08A; }
.tag-sub--flush { margin-bottom: 0; }
.mascot-badge-pill--sm { font-size: 0.75rem; }

/* Keyboard focus */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--primary-blue);
  outline-offset: 2px;
}

.hero-section :focus-visible,
.events-banner :focus-visible,
.contact-info :focus-visible,
.site-footer :focus-visible {
  outline-color: #FACC15;
}

.container--wide { max-width: 1400px; }
