/* ==========================================================================
   IARS — Institute of Loss Adjusters and Risk Surveyors
   Design tokens + base styles
   Brand colors sampled from the IARS logo mark (blue) and conference
   collateral (gold/amber accent). Fonts: Libre Franklin (headings),
   Inter (body) — both Google Fonts.
   ========================================================================== */

:root {
  /* Brand palette */
  --navy: #0b2a4a;
  --navy-deep: #071c33;
  --blue: #1c74b8;
  --blue-bright: #2490dd;
  --blue-pale: #eaf3fa;
  --gold: #d99e2b;
  --gold-dark: #b9821c;
  --slate: #4a5568;
  --slate-light: #7a8699;
  --ink: #13202f;
  --off-white: #f7f8fa;
  --white: #ffffff;
  --line: #e3e8ee;

  /* Type */
  --font-head: "Libre Franklin", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(11, 42, 74, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 42, 74, 0.12);
  --shadow-lg: 0 20px 48px rgba(11, 42, 74, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--gold-dark);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 16px; }

ul, ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

.section-tight { padding: 48px 0; }

/* -------------------------------------------------------------------- */
/* Eyebrow / kicker labels                                              */
/* -------------------------------------------------------------------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-head {
  max-width: 720px;
  margin: 0 0 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  color: var(--slate);
  font-size: 1.05rem;
}

/* -------------------------------------------------------------------- */
/* Buttons                                                              */
/* -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* -------------------------------------------------------------------- */
/* Header / Navigation                                                  */
/* -------------------------------------------------------------------- */
.top-bar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #0b1440 0%, #2f3aa8 50%, #6a5cf5 100%);
  background-size: 200% 100%;
  animation: topBarShift 12s ease-in-out infinite;
  color: #eaf6ff;
  font-size: 0.82rem;
}

@keyframes topBarShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.top-bar-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  line-height: 0;
  pointer-events: none;
}

.top-bar-wave svg {
  width: 100%;
  height: 10px;
  display: block;
}

.top-bar-wave path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.4;
}

.top-bar-wave path.wave-glow {
  stroke: rgba(154, 143, 255, 0.6);
  stroke-width: 2;
  transform: translateY(2px);
}

.top-bar .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.top-bar a { color: #cfe0ef; }
.top-bar a:hover { color: var(--gold); }

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #b3aefc;
}

.top-bar-social {
  display: inline-flex;
  gap: 8px;
}

.top-bar-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.top-bar-social a svg {
  width: 13px;
  height: 13px;
}

.top-bar-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  color: var(--navy-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 56px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: inline-block;
  padding: 12px 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  border-radius: var(--radius);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
  background: var(--blue-pale);
}

.nav-item {
  position: relative;
}

.nav-item .caret {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  margin-bottom: 1px;
  transition: transform 0.15s ease;
}

.nav-item:hover .caret,
.nav-item:focus-within .caret {
  transform: rotate(225deg);
  margin-bottom: -2px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 50;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 2px;
}

/* -------------------------------------------------------------------- */
/* Hero                                                                 */
/* -------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue) 130%);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 110px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 158, 43, 0.28) 0%, rgba(217, 158, 43, 0) 70%);
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

/* Hero "video" slideshow — a crossfading, slowly panning set of photos
   standing in for a hero video, since no source footage is available. */
.hero-video {
  padding: 72px 0 52px;
  min-height: 360px;
  display: flex;
  align-items: center;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide.kb {
  animation: heroKenBurns 7s ease-in-out forwards;
}

@keyframes heroKenBurns {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-1.5%, -1.5%, 0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(7, 28, 51, 0.74) 0%, rgba(11, 42, 74, 0.62) 45%, rgba(28, 116, 184, 0.4) 100%);
}

.hero-copy-wide {
  flex: 1 1 640px;
  max-width: 680px;
}

@media (max-width: 900px) {
  .hero-video { padding: 60px 0 44px; min-height: auto; }
}

.hero-copy {
  flex: 1 1 520px;
}

.hero-copy .kicker {
  color: var(--gold);
  font-size: 0.72rem;
  margin-bottom: 10px;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin-bottom: 12px;
}

.hero-copy p.lead {
  font-size: 0.98rem;
  color: #d7e3ee;
  max-width: 540px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* Page header (interior pages) */
.page-hero {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 70%);
  color: var(--white);
  padding: 64px 0 56px;
}

.page-hero .kicker { color: var(--gold); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: #d7e3ee; max-width: 640px; font-size: 1.05rem; margin: 0; }

.breadcrumb {
  font-size: 0.85rem;
  color: #b6c8da;
  margin-bottom: 18px;
}

.breadcrumb a { color: #b6c8da; }
.breadcrumb a:hover { color: var(--gold); }

/* -------------------------------------------------------------------- */
/* Cards / grids (flex based — Elementor friendly)                      */
/* -------------------------------------------------------------------- */
.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.flex-row.gap-sm { gap: 16px; }
.flex-row.gap-lg { gap: 40px; }
.flex-row.center { align-items: center; }
.flex-row.middle { align-items: center; }
.flex-row.reverse { flex-direction: row-reverse; }

.col-3 { flex: 1 1 calc(33.333% - 19px); min-width: 260px; }
.col-4 { flex: 1 1 calc(25% - 21px); min-width: 220px; }
.col-2 { flex: 1 1 calc(50% - 14px); min-width: 280px; }
.col-6 { flex: 1 1 calc(50% - 28px); min-width: 320px; }
.col-5 { flex: 1 1 calc(41.6% - 24px); min-width: 300px; }
.col-7 { flex: 1 1 calc(58.3% - 24px); min-width: 320px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.icon-box svg { width: 26px; height: 26px; }

.icon-box.gold { background: #fbf1de; color: var(--gold-dark); }
.icon-box.navy { background: var(--navy); color: var(--white); }

.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p { color: var(--slate); margin-bottom: 14px; font-size: 0.96rem; }
.card .card-link { font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; }

/* Specialism cards */
.specialism-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.specialism-card .tag {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  display: inline-block;
  border-radius: 999px;
  margin-bottom: 14px;
}

.specialism-card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.specialism-card h3 { margin-bottom: 8px; }
.specialism-card p { color: var(--slate); font-size: 0.94rem; flex: 1; }

/* -------------------------------------------------------------------- */
/* Stat cards — alternating light/dark/accent cards with count-up       */
/* numbers (see .count-num handling in main.js).                       */
/* -------------------------------------------------------------------- */
.stat-cards-section {
  padding: 64px 0;
}

.stat-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-card {
  position: relative;
  overflow: hidden;
  flex: 1 1 200px;
  min-height: 260px;
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card.light {
  background: #e9ecf0;
  border: 1px solid #dde1e6;
}

.stat-card.dark {
  background: var(--navy-deep);
}

.stat-card.accent {
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-bright) 100%);
}

.stat-card .card-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  line-height: 0;
  pointer-events: none;
  z-index: 0;
}

.stat-card .card-wave svg {
  width: 100%;
  height: 84px;
  display: block;
}

.stat-card.light .card-wave path { fill: #dbe0e6; }
.stat-card.light .card-wave path.wave-2 { fill: #d0d6dd; opacity: 0.7; }

.stat-card.dark .card-wave path { fill: #0f2a4a; }
.stat-card.dark .card-wave path.wave-2 { fill: var(--blue); opacity: 0.25; }

.stat-card.accent .card-wave path { fill: rgba(255, 255, 255, 0.16); }
.stat-card.accent .card-wave path.wave-2 { fill: rgba(255, 255, 255, 0.1); }

.stat-card .stat-icon,
.stat-card .num,
.stat-card .label {
  position: relative;
  z-index: 1;
}

.stat-card .stat-icon {
  width: 30px;
  height: 30px;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.stat-card.dark .stat-icon,
.stat-card.accent .stat-icon {
  color: var(--gold);
}

.stat-card .num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--navy);
}

.stat-card.dark .num,
.stat-card.accent .num {
  color: var(--white);
}

.stat-card .label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--slate);
  margin-top: 24px;
}

.stat-card.dark .label,
.stat-card.accent .label {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
  .stat-card { flex: 1 1 calc(50% - 10px); }
}

@media (max-width: 560px) {
  .stat-card { flex: 1 1 100%; min-height: 200px; }
}

/* -------------------------------------------------------------------- */
/* Team / leadership cards                                              */
/* -------------------------------------------------------------------- */
.team-section {
  position: relative;
  padding: 88px 0 72px;
  background: linear-gradient(150deg, #464de6 0%, #3a40c4 100%);
}

.team-section .kicker { color: var(--gold); }
.team-section .section-head h2 { color: var(--white); }
.team-section .section-head p { color: #dbdefb; }
.team-section .small-note { color: #c2c6f5; }

.section-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: translateY(-100%);
}

.section-wave svg {
  width: 100%;
  height: 56px;
  display: block;
  margin-bottom: -2px;
}

.team-section .section-wave path {
  fill: #464de6;
}

.specialism-section {
  position: relative;
  background: #d5e8f7;
}

.specialism-section .section-wave path {
  fill: #d5e8f7;
}

.conference-section {
  position: relative;
  background: #d5e8f7;
}

.conference-section .section-wave path {
  fill: #d5e8f7;
}

.team-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.team-card {
  flex: 1 1 200px;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-media {
  position: relative;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.team-media.variant-1 { background: linear-gradient(160deg, #e7d9b8 0%, #d9c79a 100%); }
.team-media.variant-2 { background: linear-gradient(160deg, var(--blue-pale) 0%, #cfe2f2 100%); }
.team-media.variant-3 { background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%); }
.team-media.variant-4 { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-bright) 100%); }
.team-media.variant-5 { background: linear-gradient(160deg, var(--gold) 0%, var(--gold-dark) 100%); }

.team-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  border-radius: 999px;
}

.team-tag .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-dark);
  display: inline-block;
}

.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  overflow: hidden;
}

.team-avatar svg {
  width: 40px;
  height: 40px;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-media.variant-3 .team-avatar,
.team-media.variant-4 .team-avatar {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.team-body {
  padding: 20px 20px 22px;
}

.team-body h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.team-body p {
  color: var(--slate);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.team-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.team-footer span {
  font-size: 0.78rem;
  color: var(--slate-light);
}

.team-arrow {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.team-arrow svg {
  width: 16px;
  height: 16px;
}

.team-arrow:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

@media (max-width: 900px) {
  .team-card { flex: 1 1 calc(50% - 11px); }
}

@media (max-width: 560px) {
  .team-card { flex: 1 1 100%; }
}

/* -------------------------------------------------------------------- */
/* Testimonials                                                         */
/* -------------------------------------------------------------------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.stars {
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 14px;
  font-size: 1rem;
}

.testimonial-card p.quote {
  font-style: italic;
  color: var(--ink);
  margin-bottom: 18px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-person strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--navy);
}

.testimonial-person span {
  font-size: 0.82rem;
  color: var(--slate);
}

/* -------------------------------------------------------------------- */
/* Accordion                                                            */
/* -------------------------------------------------------------------- */
.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--white);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border: none;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.accordion-trigger .plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.accordion-item.open .accordion-trigger .plus {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--navy-deep);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-panel-inner {
  padding: 0 24px 24px;
  color: var(--slate);
}

.accordion-panel-inner ul { margin: 12px 0 0; }
.accordion-panel-inner li { margin-bottom: 6px; }

/* -------------------------------------------------------------------- */
/* Timeline                                                             */
/* -------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 34px;
  border-left: 3px solid var(--line);
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-item .year {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

/* -------------------------------------------------------------------- */
/* Forms                                                                */
/* -------------------------------------------------------------------- */
.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--white);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-pale);
}

.form-note {
  font-size: 0.82rem;
  color: var(--slate-light);
  margin-top: -8px;
}

/* -------------------------------------------------------------------- */
/* CTA band                                                             */
/* -------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-deep), var(--blue));
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #d7e3ee; margin: 0; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------------------------------------------------------- */
/* Gallery                                                              */
/* -------------------------------------------------------------------- */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-item {
  flex: 1 1 calc(25% - 12px);
  min-width: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

/* -------------------------------------------------------------------- */
/* Event card                                                           */
/* -------------------------------------------------------------------- */
.event-card {
  display: flex;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
  flex-wrap: wrap;
}

.event-date {
  flex: 0 0 92px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
  padding: 14px 8px;
  font-family: var(--font-head);
}

.event-date .day { font-size: 1.7rem; font-weight: 800; line-height: 1; display: block; }
.event-date .month { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }

.event-body { flex: 1 1 320px; }
.event-body h3 { margin-bottom: 8px; }
.event-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 12px;
}

.event-meta span { display: inline-flex; align-items: center; gap: 6px; }

.badge {
  display: inline-block;
  background: #fbf1de;
  color: var(--gold-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* -------------------------------------------------------------------- */
/* Footer                                                               */
/* -------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: #b6c8da;
  padding-top: 64px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col { flex: 1 1 220px; }
.footer-col.brand-col { flex: 1 1 300px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #b6c8da; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }

.footer-logo { height: 50px; margin-bottom: 16px; background: var(--white); padding: 8px 12px; border-radius: var(--radius); display: inline-block; }
.footer-logo img { height: 34px; }

.footer-col.brand-col p { font-size: 0.9rem; color: #9fb4c8; max-width: 300px; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  align-items: flex-start;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #8ba2b8;
}

.footer-bottom a { color: #8ba2b8; }
.footer-bottom a:hover { color: var(--gold); }

/* -------------------------------------------------------------------- */
/* Utilities                                                            */
/* -------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.bg-off { background: var(--off-white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.rounded-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }

.rounded-img.flyer-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  max-height: 480px;
}

.rounded-img.flyer-frame img {
  max-height: 480px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.small-note { font-size: 0.85rem; color: var(--slate-light); }
.divider { height: 1px; background: var(--line); margin: 48px 0; border: none; }

/* -------------------------------------------------------------------- */
/* Responsive                                                           */
/* -------------------------------------------------------------------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn-navy { display: none; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-md);
    gap: 0;
  }

  .site-header.nav-open .main-nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); }

  .site-header.nav-open .nav-item { width: 100%; }

  .site-header.nav-open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
  }

  .site-header.nav-open .dropdown-menu a { border-bottom: none; padding: 12px 8px; color: var(--slate); }

  .cta-band { padding: 36px 28px; flex-direction: column; text-align: center; }
  .cta-band .actions { justify-content: center; }
  .top-bar-left { display: none; }
}

@media (max-width: 600px) {
  section { padding: 52px 0; }
  .hero { padding: 64px 0 80px; }
  .gallery-item { flex: 1 1 100%; }
  .col-3, .col-4, .col-6, .col-5, .col-7, .col-2 { flex: 1 1 100%; }
}
