/* ─── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; font-family: 'Hanken Grotesk', sans-serif; -webkit-font-smoothing: antialiased; color: #002030; }
::selection { background: #30C0E0; color: #002030; }
a { text-decoration: none; color: inherit; }

/* ─── CTA buttons ───────────────────────────────────────────────────────────── */
.sm-cta { transition: transform .15s ease; }
.sm-cta:hover { transform: translateY(-3px) !important; }

/* ─── Card hovers (programmes, locations) ───────────────────────────────────── */
.sm-prog { transition: transform .25s ease, box-shadow .25s ease; }
.sm-prog:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(0,32,48,.18) !important; }

/* ─── NAV ───────────────────────────────────────────────────────────────────── */
.sm-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(16px,2.2vw,22px) clamp(24px,6vw,72px);
  background: rgba(0,32,48,0.55);
  backdrop-filter: blur(10px);
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
  font-family: 'Hanken Grotesk', sans-serif;
}
.sm-nav.scrolled {
  padding: clamp(10px,1.3vw,13px) clamp(24px,6vw,72px);
  background: rgba(0,23,34,0.97);
  box-shadow: 0 8px 30px rgba(0,0,0,.28);
}
.sm-nav__brand { display: flex; align-items: center; }
.sm-nav__logo { height: 50px; width: auto; display: block; transition: height .3s ease; }
.sm-nav.scrolled .sm-nav__logo { height: 40px; }

.sm-nav__links { display: flex; align-items: center; gap: clamp(16px,2vw,32px); }
.sm-nav__link {
  font-family: 'Saira Condensed', sans-serif; font-weight: 600; font-size: 15px;
  letter-spacing: .13em; color: rgba(255,255,255,.85); text-transform: uppercase;
  position: relative; padding: 6px 0;
  transition: color .2s ease;
}
.sm-nav__link:hover { color: #30C0E0; }
.sm-nav__link.active { color: #30C0E0; }
.sm-nav__link.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: #30C0E0; border-radius: 2px;
}
.sm-nav__cta {
  cursor: pointer; border: none; background: #F01030; color: #fff;
  font-family: 'Saira Condensed', sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 11px 22px; border-radius: 40px;
  box-shadow: 0 6px 18px rgba(240,16,48,.32);
  transition: transform .15s ease;
}
.sm-nav__cta:hover { transform: translateY(-2px); }

/* Burger button */
.sm-nav__burger {
  display: none; cursor: pointer; border: none; background: transparent;
  flex-direction: column; gap: 5px; padding: 8px;
}
.sm-burger__bar {
  display: block; width: 26px; height: 3px;
  background: #fff; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.sm-nav__burger.open .sm-burger__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.sm-nav__burger.open .sm-burger__bar:nth-child(2) { opacity: 0; }
.sm-nav__burger.open .sm-burger__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu overlay */
.sm-mmenu {
  display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 190;
  background: #001722; padding: 96px clamp(24px,6vw,40px) 36px;
  flex-direction: column; gap: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  font-family: 'Saira Condensed', sans-serif;
}
.sm-mmenu.open { display: flex; }
.sm-mmenu__link {
  font-weight: 700; font-size: 26px; letter-spacing: .06em;
  color: rgba(255,255,255,.85); text-transform: uppercase;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s ease;
}
.sm-mmenu__link:hover,
.sm-mmenu__link.active { color: #30C0E0; }
.sm-mmenu__cta {
  margin-top: 20px; cursor: pointer; border: none; background: #F01030; color: #fff;
  font-family: 'Saira Condensed', sans-serif; font-weight: 700; font-size: 18px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 16px; border-radius: 40px;
}

@media (max-width: 860px) {
  .sm-nav__links { display: none; }
  .sm-nav__burger { display: flex; }
}

/* ─── FOOTER ────────────────────────────────────────────────────────────────── */
.smft-a { transition: color .2s ease; }
.smft-a:hover { color: #30C0E0 !important; }
.smft-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(32px,4vw,56px);
}
@media (max-width: 768px) { .smft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .smft-grid { grid-template-columns: 1fr; } }

/* ─── HOME hero ─────────────────────────────────────────────────────────────── */
.sm-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px,5vw,70px); align-items: center; }
@media (max-width: 880px) {
  .sm-hero-grid { grid-template-columns: 1fr !important; }
  .sm-hero-img { display: none !important; }
}

/* ─── Image placeholders ────────────────────────────────────────────────────── */
.img-slot {
  background: linear-gradient(135deg, #EAF7FB 0%, #CDEBF5 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.img-slot span {
  font-family: 'Saira Condensed', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: #30C0E0; opacity: .7; text-align: center; padding: 12px;
}

/* ─── CLASSES page ──────────────────────────────────────────────────────────── */
.sm-class { transition: transform .2s ease, box-shadow .2s ease; }
.sm-class:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(0,32,48,.15) !important; }
.sm-search::placeholder { color: #8aa0ab; }
.sm-search:focus { outline: none; border-color: #30C0E0 !important; box-shadow: 0 0 0 4px rgba(48,192,224,.16); }
.sm-chip { transition: background .15s ease, color .15s ease, border-color .15s ease; cursor: pointer; border: none; }
.sm-chip--cat        { background: #fff;    color: #41555F; border: 2px solid #E3ECF0; }
.sm-chip--cat.active { background: #002030; color: #fff;    border-color: #002030; }
.sm-chip--loc        { background: #fff;    color: #41555F; border: 1px solid #E3ECF0; }
.sm-chip--loc.active { background: #30C0E0; color: #002030; border-color: #30C0E0; }
.sm-class[hidden] { display: none !important; }

/* ─── GALLERY ───────────────────────────────────────────────────────────────── */
.sm-masonry { column-count: 3; column-gap: 16px; }
@media (max-width: 900px) { .sm-masonry { column-count: 2; } }
@media (max-width: 560px) { .sm-masonry { column-count: 1; } }
.sm-mitem { break-inside: avoid; margin: 0 0 16px; display: block; }

/* ─── NEWS ──────────────────────────────────────────────────────────────────── */
.sm-news { transition: transform .2s ease, box-shadow .2s ease; }
.sm-news:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(0,32,48,.14) !important; }
.sm-newsgrid { display: grid; grid-template-columns: 1.55fr .85fr; gap: clamp(32px,4vw,52px); align-items: start; }
@media (max-width: 920px) { .sm-newsgrid { grid-template-columns: 1fr; } }
.sm-fb-aside { position: sticky; top: 100px; }
@media (max-width: 920px) { .sm-fb-aside { position: static; } }

/* ─── CONTACT ───────────────────────────────────────────────────────────────── */
.sm-act { transition: transform .2s ease, box-shadow .2s ease; }
.sm-act:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,32,48,.14) !important; }
.sm-loc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 820px) {
  .sm-loc { grid-template-columns: 1fr; }
  .sm-loc--flip > :first-child { order: 2; }
  .sm-loc--flip > :last-child  { order: 1; }
}
