:root {
  --blue: #0081c6;
  --blue-dark: #00639a;
  --green: #008756;
  --green-dark: #006b44;
  --ink: #2f2e2e;
  --muted: #5d5c53;
  --navy: #1c2754;
  --line: #d9e3ea;
  --bg: #f4f7fa;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(28, 39, 84, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
}
.logo img { width: 210px; height: auto; }
.google-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff !important;
  border-radius: 24px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.google-review:hover { background: var(--green-dark); color: #fff !important; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span:before,
.nav-toggle span:after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span:before { top: -6px; }
.nav-toggle span:after { top: 6px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav, .submenu, .nav li, .submenu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav > li { position: relative; }
.nav a, .nav-btn {
  display: block;
  padding: 12px 11px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.nav a:hover, .nav-btn:hover, .nav a.active { color: var(--blue); }
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue);
  z-index: 20;
  overflow: hidden;
}
.nav > li:hover .submenu,
.nav > li.open .submenu { display: block; }
.submenu a { padding: 11px 16px; font-weight: 600; font-size: 14px; }
.submenu a:hover { background: #eef7fc; }

/* Page hero */
.page-hero {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.97)),
    url("/assets/brand/hero.jpg") center/cover no-repeat;
  padding: 56px 0 48px;
  text-align: center;
  box-shadow: none;
}
.page-hero h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(32px, 4vw, 46px);
}
.page-hero p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 18px;
}

/* Home */
.home-hero {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.96) 100%),
    url("/assets/brand/hero.jpg") center 30%/cover no-repeat;
  padding: 42px 0 28px;
  box-shadow: none;
}
.patronage {
  text-align: center;
  color: var(--blue);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
  margin: 0 0 28px;
}
.hero-card {
  background: rgba(255,255,255,0.94);
  border-radius: 8px;
  padding: 32px 28px 36px;
  max-width: 860px;
  margin: 0 auto 28px;
}
.hero-card h1 {
  margin: 0;
  text-align: center;
  color: var(--blue);
  font-size: clamp(28px, 4vw, 42px);
}
.theme {
  margin: 14px 0 8px;
  text-align: center;
  color: var(--green);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.4;
}
.dates {
  text-align: center;
  color: var(--muted);
  font-size: 24px;
  font-weight: 700;
  margin: 8px 0 22px;
}
.hero-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}
.hero-card p { margin: 0 0 14px; text-align: justify; font-size: 17px; }
.signer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.signer img {
  width: 110px;
  height: 100px;
  object-fit: cover;
  object-position: top;
}
.signer strong { display: block; }
.signer span { color: var(--muted); font-size: 15px; }

.badge-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
}
.badge-row img { height: 92px; width: auto; }

.themes {
  background: var(--blue);
  color: #fff;
  padding: 28px;
  border-radius: 8px;
  margin-bottom: 28px;
}
.themes h2 { margin: 0 0 12px; font-size: 24px; color: #fff; }
.themes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.themes ul { margin: 0; padding-left: 20px; }
.themes li { margin: 7px 0; font-size: 17px; }

.practice-model {
  display: flex;
  justify-content: center;
  padding: 10px 0 36px;
}
.practice-model img { width: min(420px, 90%); }

/* Content */
.section { padding: 36px 0 56px; }
.panel {
  background: #fff;
  border-radius: 10px;
  padding: 28px;
}
.lead { font-size: 17px; }
.note {
  background: #eef7fc;
  border-left: 4px solid var(--blue);
  padding: 14px 16px;
  margin-top: 18px;
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 6px;
}
.btn:hover { background: var(--blue-dark); }
.btn-green { background: var(--green); }
.btn-green:hover { background: var(--green-dark); }

.price-box {
  text-align: center;
  padding: 24px 16px;
}
.price-box h2 {
  color: var(--blue);
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 8px;
}
.price { font-size: 42px; color: var(--green); font-weight: 800; margin: 8px 0 16px; }

/* People */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.person {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 16px;
}
.person img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
  background: #e8eef3;
}
.person h3 {
  margin: 12px 16px 4px;
  font-size: 16px;
  color: var(--navy);
}
.person .cred { color: var(--blue); font-size: 13px; margin: 0 16px 6px; }
.person .role { color: var(--muted); font-size: 13px; margin: 0 16px; }
.group-title {
  margin: 8px 0 18px;
  color: var(--blue);
  font-size: 22px;
}

/* Sponsors */
.sponsor-tier { text-align: center; margin: 28px 0; }
.sponsor-tier h2 {
  color: var(--blue);
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}
.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
.sponsor-logos img { max-height: 92px; width: auto; max-width: 260px; object-fit: contain; }

/* Gallery / posters / agenda */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.media-grid a {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
}
.media-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.agenda-stack img {
  width: 100%;
  height: 800px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  object-fit: contain;
}
.venue-photo {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 32px 0 18px;
  text-align: center;
}
.footer-note { max-width: 820px; margin: 0 auto 18px; color: var(--muted); }
.footer-title { color: var(--blue); margin: 18px 0 12px; font-size: 20px; }
.award-row, .footer-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 10px;
}
.award-row img { height: 78px; width: auto; }
.footer-partners img { height: 72px; width: auto; }
.footer-label { margin: 16px 0 6px; font-weight: 700; color: var(--ink); }
.contact { margin: 16px 0 4px; }
.copy { color: var(--navy); font-size: 13px; margin-top: 8px; }

@media (max-width: 980px) {
  .google-review { display: none; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 88px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .submenu {
    position: static;
    box-shadow: none;
    border-top: 0;
    display: none;
    background: #f7fbfe;
  }
  .nav > li.open .submenu { display: block; }
  .themes-grid { grid-template-columns: 1fr; }
  .signer { flex-direction: column; text-align: center; }
}
