

/* ============================================
   SSV Bad Laasphe — Community Hub Redesign
   ============================================ */

:root {
  --blue:        #004696;
  --blue-mid:    #1A5DAE;
  --blue-light:  #EBF2FB;
  --blue-dark:   #003571;
  --green:       #5AD25A;
  --green-dark:  #2E862E;
  --green-light: #EDFAED;
  --ink:         #1A1A2E;
  --ink-mid:     #4A4A6A;
  --ink-soft:    #696993;
  --border:      #DDE5F0;
  --surface:     #F5F8FF;
  --surface-2:   #EDF1F8;
  --white:       #ffffff;

  --r-sm:   4px;
  --r-md:   6px;
  --r-lg:   8px;
  --r-xl:   10px;
  --r-pill: 6px;

  --shadow-xs: 0 1px 3px rgba(0,40,120,0.06);
  --shadow-sm: 0 2px 8px rgba(0,40,120,0.08);
  --shadow-md: 0 6px 24px rgba(0,40,120,0.10);
  --shadow-lg: 0 16px 48px rgba(0,40,120,0.13);

  --container: 1240px;
  --ease: cubic-bezier(0.22, 0.68, 0, 1.2);
  --ease-plain: cubic-bezier(0.2, 0.7, 0.3, 1);

  --font-head: 'Barlow Condensed', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-script: 'Caveat', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 200ms; }
a:hover { color: var(--blue-dark); }
h1,h2,h3,h4 { margin: 0 0 0.4em; line-height: 1.05; color: var(--ink); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.02em; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-mid); }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 200ms var(--ease-plain);
  line-height: 1.2;
  white-space: nowrap;
  text-transform: uppercase;
}
.btn-primary   { background: var(--blue);  color: #fff; border-color: var(--blue); }
.btn-primary:hover  { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue-light); }
.btn-green     { background: var(--green); color: var(--ink); border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.btn-ghost     { background: transparent; color: var(--blue); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-light); }
.btn-sm { padding: 8px 18px; font-size: .9rem; }

/* ---- Tags & badges ---- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag-blue    { background: var(--blue-light);  color: var(--blue); }
.tag-green   { background: var(--green-light); color: #278127; }
.tag-neutral { background: var(--surface-2);   color: var(--ink-mid); }
.tag-ink     { background: rgba(26,26,46,0.08); color: var(--ink); }

/* ---- Eyebrow ---- */
.eyebrow {
  font-family: var(--font-script);
  font-size: 2.65rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

/* ---- Dot grid texture (SVG data URI, 24px grid, 1.5px dots) ---- */
:root {
  /* Ohne Muster: Die Flächen tragen sich über ihre Farbe, nicht über eine
     Textur. "none" statt Entfernen der Variablen, damit jede Regel, die sie
     benutzt, unverändert gültig bleibt. */
  --dot-texture: none;
}

/* ---- Section helpers ---- */
.section { padding: 96px 0; }
.section-surface {
  background-color: var(--surface);
  background-image: var(--dot-texture);
}
.section-surface-2 {
  background-color: var(--surface-2);
  background-image: var(--dot-texture);
}
.section-head { margin-bottom: 52px; }
.section-head.flex { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head h1,
.section-head h2 { font-size: clamp(1.75rem, 3vw, 3.5rem); font-weight: 800; margin-bottom: 8px; }
.section-head > p,
.section-head .head-sub { color: var(--ink-mid); font-size: 1rem; max-width: 600px; margin: 0; }

/* ---- Brand bar ---- */
.brand-bar {
  height: 4px;
  display: flex;
  width: 100%;
}
.brand-bar span { flex: 1; }
.brand-bar .bb-blue  { background: var(--blue); }
.brand-bar .bb-green { background: var(--green); }

/* ---- Mini brand pip above eyebrow ---- */
.pip {
  display: flex;
  margin: 20px auto;
}
.pip span {
  width: 38px; height: 4px;
}
.pip .p-blue  { background: var(--blue); }
.pip .p-green { background: var(--green); }

#contact .pip {
  margin: 20px 0;
}

/* Wavy flag pip — hero only */
.pip-flag {
  display: block;
  margin-bottom: 20px;
  width: 72px;
  height: 36px;
}

section#about .section-head,
section#clubs .section-head,
section#facilities .section-head,
section#association .section-head {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


section#about .section-head .head-sub,
section#clubs .section-head .head-sub,
section#facilities .section-head .head-sub,
section#association .section-head .head-sub {
    margin: 0 auto;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-wrap {
  display: flex;
  align-items: center;
  height: 76px;
  gap: 40px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 6px 14px;
  flex-shrink: 0;
}
.header-brand img { height: 64px; width: auto; position: relative; z-index: 1; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.header-nav a {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 500;
  color: #000;
  transition: all 180ms;
  font-family: 'Barlow Condensed';
  text-transform: uppercase;
}
.header-nav a:hover,
.header-nav a.active {
  background: var(--blue-light);
  color: var(--blue);
}
.header-cta { display: flex; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 200ms;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background-color: var(--white);
  background-image: var(--dot-texture);
  padding: 80px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
}
.hero-text { max-width: 540px; }
.hero-text .pip { margin-bottom: 14px; }
.hero-eyebrow {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--blue);
  margin-bottom: 8px;
  display: block;
}
.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6.5vw, 4rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-text h1 em {
  font-style: normal;
  color: var(--blue);
}
.hero-text p {
  font-size: 1.05rem;
  color: var(--ink-mid);
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero collage */
.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  height: 520px;
}
.collage-img {
  border-radius: 0;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.collage-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-plain);
}
.collage-img:hover img { transform: scale(1.04); }
.collage-img.tall { grid-row: 1 / 3; }
.collage-img.short { }

/* Stats banner */
.hero-stats {
  background: var(--blue);
  margin-top: 0;
}
.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-block {
  padding: 36px 40px;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  gap: 18px;
}
.stat-block:last-child { border-right: 0; }
.stat-icon {
  width: 64px; height: 64px;
  border-radius: 0;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}
.stat-block .num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-block .lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* ============================================
   ABOUT / VALUES
   ============================================ */
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  transition: all 250ms var(--ease-plain);
}
.about-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); border-left: 4px solid var(--blue); }
.about-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--surface-2);
}
.about-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-plain);
}
.about-card:hover .about-card-img img { transform: scale(1.05); }
.about-card-body {
  padding: 28px 28px 32px;
}
.about-card-body .tag { margin-bottom: 12px; }
.about-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.about-card-body p {
  font-size: 0.92rem;
  color: var(--ink-mid);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   NEWS & EVENTS
   ============================================ */
.news-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Featured event card */
.news-featured {
  border-radius: 0;
  overflow: hidden;
  background: var(--ink);
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 250ms var(--ease-plain);
}
.news-featured:hover { transform: translateY(-4px); }
.news-featured:hover .news-featured-img { transform: scale(1.04); }
.news-featured-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-plain);
}
.news-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,40,0.88) 0%, rgba(10,15,40,0.3) 55%, transparent 80%);
}
.news-featured-body {
  position: relative;
  z-index: 2;
  padding: 36px;
}
.news-featured-body .tag { margin-bottom: 14px; }
.news-featured-body h3 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.news-featured-body .meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}
.news-featured-body .meta a {
  color: var(--green);
  font-weight: 600;
  font-size: 0.82rem;
}
.news-featured-body .meta a:hover { color: #fff; }

/* Side update cards */
.news-side-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.news-update-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 0;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  transition: all 200ms;
  color: inherit;
  text-decoration: none;
}
.news-update-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); border-left: 4px solid var(--blue); }
.news-update-card .thumb {
  width: 80px; height: 80px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}
.news-update-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.news-update-card .info .tag { margin-bottom: 6px; }
.news-update-card .info h4 {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.3;
}
.news-update-card .info .excerpt {
  font-size: 0.8rem;
  color: var(--ink-mid);
  line-height: 1.5;
  margin: 4px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.news-update-card .info .date {
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.news-view-all {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  padding: 12px 0;
}
.news-view-all:hover { gap: 14px; }

/* ============================================
   CLUBS DIRECTORY
   ============================================ */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}
.search-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}
.search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 200ms, box-shadow 200ms;
}
.search-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,70,150,0.10);
}
.filter-select {
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  transition: border-color 200ms;
  min-width: 190px;
}
.filter-select:focus {
  outline: none;
  border-color: var(--blue);
}

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.club-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 0;
  padding: 28px 24px;
  transition: all 220ms var(--ease-plain);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.club-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue); border-left: 4px solid var(--blue); }
.club-card-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 999;
}
.club-card-header, .club-card-desc, .club-card-footer { position: relative; z-index: 2; }
.club-card-links a { position: relative; z-index: 3; }
.club-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.club-crest {
  width: 52px; height: 58px;
  flex-shrink: 0;
}
.club-crest svg { width: 100%; height: 100%; }
.club-card-titles { flex: 1; min-width: 0; }
.club-card-titles strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 4px;
}
.club-card-titles .sport-type {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.club-card-desc {
  font-size: 0.85rem;
  color: var(--ink-mid);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}
.club-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}
.club-card-footer .district {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--ink-mid);
  font-weight: 500;
}
.club-card-links {
  display: flex;
  gap: 6px;
}
.club-card-links a {
  width: 30px; height: 30px;
  border-radius: var(--r-sm);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mid);
  transition: all 180ms;
}
.club-card-links a:hover { background: var(--blue); color: #fff; }
.no-results {
  grid-column: 1 / -1;
  padding: 56px 24px;
  text-align: center;
  color: var(--ink-soft);
}

/* ============================================
   FACILITIES
   ============================================ */
.facilities-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;
}
.facility-list {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 0;
  overflow: hidden;
}
.facility-item {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 180ms;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.facility-item:last-child { border-bottom: 0; }
.facility-item:hover { background: var(--blue-light); }
.facility-item.active {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding-left: 18px;
}
.facility-item.active .fac-name { color: var(--blue); }
.fac-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}
.fac-loc {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.fac-arrow {
  color: var(--ink-soft);
  opacity: 0.4;
  transition: all 180ms;
  flex-shrink: 0;
}
.facility-item.active .fac-arrow,
.facility-item:hover .fac-arrow {
  opacity: 1;
  color: var(--blue);
}

.facility-panel {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-md);
}
.facility-panel-img {
  height: 220px;
  background: var(--surface-2);
  overflow: hidden;
  position: relative;
}
.facility-panel-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.facility-panel-img .fac-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(0,70,150,0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.facility-panel-body { padding: 32px; }
.facility-panel-body h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.facility-panel-body .fac-address {
  font-size: 0.88rem;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.facility-panel-body p {
  font-size: 0.92rem;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 24px;
}
.facility-clubs-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.facility-clubs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}
.facility-clubs-pills .pill {
  background: var(--blue-light);
  color: var(--blue);
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
}
.facility-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.facility-meta-item strong {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 3px;
}
.facility-meta-item span {
  font-size: 0.88rem;
  color: var(--ink);
}
.facility-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

/* ============================================
   ASSOCIATION
   ============================================ */
.assoc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.assoc-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 0;
  padding: 36px 32px;
  transition: all 250ms var(--ease-plain);
  position: relative;
  overflow: hidden;
}
.assoc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--blue), var(--green));
  opacity: 0;
  transition: opacity 250ms;
}
.assoc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.assoc-card:hover::before { opacity: 1; }
.assoc-icon {
  width: 60px; height: 60px;
  border-radius: var(--r-lg);
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.assoc-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.assoc-card p {
  font-size: 0.92rem;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}
.assoc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: gap 180ms;
}
.assoc-link:hover { gap: 12px; }

/* ============================================
   JOIN CTA
   ============================================ */
.cta-section {
  background-color: var(--surface);
  background-image: var(--dot-texture);
  padding: 32px 0 96px;
}
.cta-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.cta-body {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-body .pip { margin-bottom: 12px; }
.cta-body h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.15;
}
.cta-body p {
  font-size: 1rem;
  color: var(--ink-mid);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-email-form {
  display: flex;
  margin-top: 28px;
  max-width: 400px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  padding: 5px;
  gap: 0;
  align-items: center;
  transition: border-color 200ms, box-shadow 200ms;
}
.cta-email-form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,70,150,0.10);
}
.cta-email-form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
}
.cta-email-form input::placeholder { color: var(--ink-soft); }
.cta-email-form input:focus { outline: none; }
.cta-email-form button {
  background: var(--blue);
  color: #fff;
  border: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 200ms;
}
.cta-email-form button:hover { background: var(--blue-dark); }
.cta-email-label {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 10px;
}
.cta-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.cta-visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,70,150,0.15) 0%, rgba(90,210,90,0.1) 100%);
}
.cta-visual-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-radius: 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.cta-visual-badge .badge-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.cta-visual-badge strong {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  font-family: var(--font-head);
}
.cta-visual-badge span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #0F1221;
  color: #c8ccd8;
  padding: 72px 0 0;
}
.footer-brand-bar {
  height: 3px;
  display: flex;
  margin-bottom: 0;
}
.footer-brand-bar span { flex: 1; }
.footer-brand-bar .fb-blue  { background: var(--blue); }
.footer-brand-bar .fb-green { background: var(--green); }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-logo img {
  height: 56px;
  margin-bottom: 16px;
  opacity: 1;
  border-radius: 10px;
}
.footer-logo p {
  color: #8890a8;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 320px;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 9px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c8ccd8;
  transition: all 200ms;
}
.footer-socials a:hover { background: var(--green); color: var(--ink); }
.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col li { font-size: 0.9rem; color: #8890a8; }
.footer-col a { color: #aab0c4; font-size: 0.9rem; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #7D849D;
}
.footer-bottom a { color: #8890a8; }
.footer-bottom a:hover { color: var(--green); }
.footer-legal { display: flex; gap: 20px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-collage { height: 440px; }
  .facilities-layout { grid-template-columns: 320px 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-logo { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero { padding: 60px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-text { max-width: 100%; }
  .hero-collage { height: 360px; }
  .hero-stats .container { grid-template-columns: 1fr; }
  .stat-block { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 24px 28px; }
  .stat-block:last-child { border-bottom: 0; }
  .about-cards { grid-template-columns: 1fr 1fr; }
  .clubs-grid { grid-template-columns: 1fr 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .news-featured { min-height: 380px; }
  .facilities-layout { grid-template-columns: 1fr; }
  .facility-panel { position: static; }
  .assoc-cards { grid-template-columns: 1fr 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-body { padding: 56px 40px; }
  .cta-visual { min-height: 300px; }
  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 32px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 200;
  }
  .header-nav.open a {
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .header-nav.open a:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .hero-collage { height: 280px; }
  .collage-img.tall { grid-row: auto; }
  .hero-collage { grid-template-columns: 1fr 1fr; grid-template-rows: 140px 140px; }
  .about-cards { grid-template-columns: 1fr; }
  .clubs-grid { grid-template-columns: 1fr; }
  .assoc-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-body { padding: 40px 28px; }
  .section-head.flex { flex-direction: column; align-items: flex-start; }
}

  