/* ================================================================
   Masters Games Foundation — Global Stylesheet
   Framework: Tailwind CSS (CDN) + Custom Organic Design
   ================================================================ */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ────────────────────────────────────── */
:root {
  --navy:      #0b1f3a;
  --navy-mid:  #142d52;
  --navy-light:#1e4170;
  --gold:      #c9a84c;
  --gold-light:#f0d080;
  --gold-dark: #a07830;
  --cream:     #faf7f0;
  --cream-dark:#f0ebe0;
  --white:     #ffffff;
  --gray-100:  #f3f4f6;
  --gray-600:  #4b5563;
  --gray-800:  #1f2937;
  --accent:    #e85d26;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-organic: 60% 40% 30% 70% / 60% 30% 70% 40%;
  --shadow-card:    0 8px 32px rgba(11,31,58,.12);
  --shadow-hover:   0 20px 60px rgba(11,31,58,.22);
  --transition:     all .35s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* ── Typography ───────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-heading); line-height: 1.2; }

.display-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -.02em;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
}

.gold-text   { color: var(--gold); }
.navy-text   { color: var(--navy); }
.cream-bg    { background: var(--cream); }
.navy-bg     { background: var(--navy); }
.white-bg    { background: var(--white); }

/* ── Utility ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Sticky Header ────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

#site-header.transparent {
  background: transparent;
}

#site-header.scrolled {
  background: rgba(11,31,58,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  z-index: 10;
}

/* logo image replaces old text emblem */
.logo-img {
  width: 52px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--white);
  padding: 2px;
}

.logo-text {
  display: flex; flex-direction: column;
  line-height: 1.1;
}

.logo-text .name {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}

.logo-text .tagline {
  font-size: .65rem;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: .25rem; }

.nav-link {
  position: relative;
  padding: .5rem .9rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: .02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.nav-link:hover::after,
.nav-link.active::after {
  left: .9rem; right: .9rem;
}

.nav-cta {
  margin-left: .5rem;
  padding: .5rem 1.25rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy) !important;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(201,168,76,.35);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: var(--transition);
  z-index: 10;
}

.menu-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,31,58,.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 2rem;
}

.mobile-nav-overlay.open { display: flex; }

.mobile-nav-overlay .nav-link {
  font-size: 1.4rem;
  padding: .75rem 2rem;
  width: 100%;
  text-align: center;
  color: var(--white);
}

.mobile-nav-overlay .nav-cta {
  margin-top: 1rem;
  font-size: 1rem;
  padding: .75rem 2.5rem;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: .03em;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(201,168,76,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Section spacing ──────────────────────────────────────────── */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* ── Section divider label ────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ── Organic Shape Blobs ──────────────────────────────────────── */
.blob {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: .07;
  pointer-events: none;
  animation: morphBlob 12s ease-in-out infinite;
}

@keyframes morphBlob {
  0%,100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  33%      { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  66%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

.blob-gold  { background: var(--gold); }
.blob-navy  { background: var(--navy); }
.blob-white { background: var(--white); opacity: .05; }

/* Organic wave divider */
.wave-divider {
  position: relative;
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg { display: block; width: 100%; }

/* Diagonal section cut */
.diagonal-top    { clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%); }
.diagonal-bottom { clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); }
.diagonal-both   { clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #0f2744 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201,168,76,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(30,65,112,.6) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .accent-line {
  display: block;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.15);
  animation: pulseRing 4s ease-in-out infinite;
}

@keyframes pulseRing {
  0%,100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(1.05); opacity: 1; }
}

.hero-emblem {
  position: relative;
  z-index: 2;
  width: clamp(240px, 35vw, 420px);
  height: clamp(240px, 35vw, 420px);
  border-radius: var(--radius-organic);
  background: linear-gradient(135deg, rgba(201,168,76,.2), rgba(201,168,76,.05));
  border: 2px solid rgba(201,168,76,.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  animation: morphOrg 14s ease-in-out infinite;
  box-shadow: 0 0 80px rgba(201,168,76,.1), inset 0 0 40px rgba(201,168,76,.05);
}

@keyframes morphOrg {
  0%,100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  33%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  66%      { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
}

.hero-emblem-icon { font-size: clamp(3rem, 6vw, 5rem); filter: drop-shadow(0 0 20px rgba(201,168,76,.4)); }

.hero-emblem-title {
  font-family: var(--font-heading);
  font-size: clamp(.9rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .05em;
}

.hero-emblem-subtitle {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.45);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,.6), transparent);
  animation: scrollDrop 2.5s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.card-body { padding: 1.5rem; }

.card-tag {
  display: inline-block;
  padding: .2rem .75rem;
  background: var(--cream);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: .75rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.card-meta {
  font-size: .8rem;
  color: var(--gray-600);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: .75rem;
}

.card-meta span { display: flex; align-items: center; gap: .3rem; }

.card-desc {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ── Event Card special ───────────────────────────────────────── */
.event-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 16px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.event-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-hover);
}

.event-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border-radius: 12px;
  padding: .75rem .5rem;
  color: var(--white);
  min-width: 72px;
}

.event-date-box .day {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
}

.event-date-box .month {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: .2rem;
}

.event-date-box .year {
  font-size: .65rem;
  color: rgba(255,255,255,.5);
}

.event-info-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .4rem;
}

.event-status {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .7rem;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.status-upcoming  { background: rgba(201,168,76,.12); color: var(--gold-dark); }
.status-open      { background: rgba(34,197,94,.1);   color: #15803d; }
.status-past      { background: var(--gray-100);       color: var(--gray-600); }
.status-featured  { background: rgba(232,93,38,.1);    color: var(--accent); }

/* ── Profile / Person Card ────────────────────────────────────── */
.person-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.person-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.person-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.person-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(201,168,76,.25);
}

.person-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
}

.person-role {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .25rem;
}

.person-country {
  font-size: .8rem;
  color: var(--gray-600);
  margin-bottom: .85rem;
}

.person-bio {
  font-size: .825rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── Grid layouts ─────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

/* ── Asymmetric content sections ─────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.visual-block {
  aspect-ratio: 4/3;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.visual-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,.1) 0%, transparent 60%);
}

.floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: .75rem 1.25rem;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .825rem;
  color: var(--navy);
  white-space: nowrap;
  z-index: 3;
}

.floating-badge .badge-icon { font-size: 1.4rem; }
.floating-badge.bottom-left  { bottom: -1rem; left: -1rem; }
.floating-badge.top-right    { top: -1rem; right: -1rem; }

/* ── Timeline ─────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2.5rem; }

.timeline::before {
  content: '';
  position: absolute;
  left: .875rem; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.75rem; top: .4rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-year {
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .25rem;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.timeline-desc { font-size: .875rem; color: var(--gray-600); line-height: 1.6; }

/* ── Feature icons ────────────────────────────────────────────── */
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.icon-gold  { background: rgba(201,168,76,.12); color: var(--gold-dark); }
.icon-navy  { background: rgba(11,31,58,.08); color: var(--navy); }
.icon-green { background: rgba(34,197,94,.1); color: #15803d; }
.icon-red   { background: rgba(232,93,38,.1); color: var(--accent); }

/* ── Contact form ─────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
  margin-bottom: .4rem;
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--gray-800);
  background: var(--white);
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,.12);
}

.form-control::placeholder { color: #9ca3af; }

textarea.form-control { resize: vertical; min-height: 120px; }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ── Info box ─────────────────────────────────────────────────── */
.info-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.info-box.gold-box {
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.2);
}

.info-box.navy-box {
  background: rgba(11,31,58,.05);
  border: 1px solid rgba(11,31,58,.1);
}

.info-box-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .1rem; }
.info-box-title { font-weight: 700; font-size: .875rem; color: var(--navy); margin-bottom: .2rem; }
.info-box-text  { font-size: .825rem; color: var(--gray-600); line-height: 1.5; }

/* ── Breadcrumb ───────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: rgba(255,255,255,.8); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,.35); }

/* ── Page hero (inner pages) ──────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0f2744 100%);
  overflow: hidden;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: .75rem;
}

.page-hero-desc {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.7);
  max-width: 600px;
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand-desc {
  font-size: .875rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  color: rgba(255,255,255,.6);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }

.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
  display: flex; align-items: center; gap: .4rem;
}

.footer-links a:hover { color: var(--gold); }

.footer-social {
  display: flex; gap: .75rem; margin-top: 1rem;
}

.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
  cursor: pointer;
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
}

.footer-bottom-text {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

/* ── Tabs ─────────────────────────────────────────────────────── */
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
  padding-bottom: .25rem;
  border-bottom: 2px solid var(--cream-dark);
}

.tab-btn {
  padding: .6rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-600);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: var(--transition);
  position: relative;
  bottom: -2px;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--navy);
  background: var(--cream);
}

.tab-btn.active {
  border-bottom: 2px solid var(--gold);
}

.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeUp .3s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Filter pills ─────────────────────────────────────────────── */
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.filter-pill {
  padding: .4rem 1.1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  border: 2px solid #e5e7eb;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  color: var(--navy);
  border-color: var(--gold);
  background: rgba(201,168,76,.08);
}

/* ── Testimonial ──────────────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--gold);
  opacity: .2;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: .9rem;
  padding-top: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-author-info .name { font-weight: 700; font-size: .875rem; color: var(--navy); }
.testimonial-author-info .role { font-size: .75rem; color: var(--gray-600); }

/* ── Map/location box ─────────────────────────────────────────── */
.map-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--gray-600);
  font-size: .9rem;
  border: 2px dashed #cbd5e1;
  text-align: center;
  padding: 2rem;
}

/* ── Counters ─────────────────────────────────────────────────── */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: 20px;
  overflow: hidden;
}

.counter-cell {
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,.04);
  text-align: center;
}

.counter-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .4rem;
}

.counter-label {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* ── Accordion ────────────────────────────────────────────────── */
.accordion-item {
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  overflow: hidden;
  margin-bottom: .75rem;
  transition: var(--transition);
}

.accordion-item.open { border-color: var(--gold); }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}

.accordion-header:hover { background: var(--cream); }
.accordion-item.open .accordion-header { background: rgba(201,168,76,.06); }

.accordion-icon {
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform .3s;
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s;
  padding: 0 1.5rem;
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.accordion-item.open .accordion-body {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}

/* ── Medals / Achievement badges ─────────────────────────────── */
.medal-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
}

.medal-gold   { background: rgba(201,168,76,.15); color: var(--gold-dark); border: 1px solid rgba(201,168,76,.3); }
.medal-silver { background: rgba(148,163,184,.15); color: #64748b; border: 1px solid rgba(148,163,184,.3); }
.medal-bronze { background: rgba(180,120,80,.15); color: #a07040; border: 1px solid rgba(180,120,80,.3); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

  .split-section { grid-template-columns: 1fr; }
  .split-section.reverse { direction: ltr; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .event-card { grid-template-columns: 1fr; }
  .event-date-box { flex-direction: row; gap: .5rem; border-radius: 10px; }

  .tab-nav { gap: .25rem; }
  .tab-btn { padding: .5rem .85rem; font-size: .8rem; }
}

@media (max-width: 480px) {
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.5rem; }
  .btn { padding: .65rem 1.5rem; font-size: .875rem; }
}

/* ── Animations & helpers ─────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }

.text-center { text-align: center; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }

/* ── Highlight band ───────────────────────────────────────────── */
.highlight-band {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  padding: 1rem 2rem;
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .03em;
}

/* ── Print ────────────────────────────────────────────────────── */
@media print {
  #site-header, .scroll-indicator, .hero-visual { display: none; }
  body { padding-top: 0; }
}
