/* ================================================
   KjG Bingen – Enhanced UI/UX
   ================================================ */

/* Nunito von Google Fonts (DSGVO-Hinweis in Datenschutz) */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ------------------------------------------------
   DESIGN TOKENS
   ------------------------------------------------ */
:root {
  --teal:        #2B99AD;
  --teal-dark:   #1d7a8c;
  --teal-light:  #45c1d8;
  --teal-pale:   rgba(43,153,173,.1);
  --green:       #37AB58;
  --green-dark:  #278042;
  --green-pale:  rgba(55,171,88,.1);

  --dark:        #0f172a;
  --dark-800:    #1e293b;
  --dark-700:    #334155;
  --white:       #ffffff;
  --bg:          #f0f6f8;
  --surface:     #ffffff;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #475569;
  --text:        #0f172a;
  --text-muted:  #64748b;

  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow:      0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
  --shadow-teal: 0 8px 30px rgba(43,153,173,.3);
  --trans:       .25s cubic-bezier(.4,0,.2,1);
  --trans-slow:  .5s cubic-bezier(.4,0,.2,1);

  --font:        'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:   'SF Mono', 'Fira Code', monospace;
}

/* ------------------------------------------------
   RESET & BASE
   ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); }

/* ------------------------------------------------
   HEADER / NAV  – transparent → solid on scroll
   ------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: transparent;
  transition: background var(--trans-slow), box-shadow var(--trans-slow),
              backdrop-filter var(--trans-slow);
}

.site-header.scrolled {
  background: var(--teal);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

/* Subpages always solid */
.site-header.solid {
  background: var(--teal);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.nav-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 46px; width: auto; }
.nav-logo-fallback {
  display: none;
  color: var(--white);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -.03em;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}

.nav-list > li { position: relative; }

.nav-list a,
.nav-list .nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--trans), color var(--trans);
  font-family: var(--font);
}

.nav-list a:hover,
.nav-list .nav-btn:hover {
  background: rgba(255,255,255,.18);
  color: var(--white);
}

.nav-list a.active {
  background: rgba(255,255,255,.22);
  color: var(--white);
}

.arrow {
  font-size: .6rem;
  transition: transform var(--trans);
  display: inline-block;
  opacity: .75;
}
.nav-list li.open .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 270px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 200;
  animation: dropFade .18s ease;
  border: 1px solid var(--gray-200);
}
.nav-list li.open .dropdown { display: block; }

@keyframes dropFade {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.dropdown a {
  display: block;
  padding: 11px 20px;
  color: var(--text);
  border-radius: 0;
  font-weight: 600;
  font-size: .88rem;
  border-bottom: 1px solid var(--gray-100);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover,
.dropdown a.active { background: var(--teal-pale); color: var(--teal); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
@media (max-width: 1040px) {
  .hamburger { display: flex; }

  .nav-list {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity .3s ease, transform .3s ease;
    z-index: 1000;
  }
  .nav-list.open {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
  }
  .nav-list > li { width: 280px; }
  .nav-list a, .nav-list .nav-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 1.05rem;
    border-radius: 10px;
    justify-content: space-between;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    border: none;
    animation: none;
    transform: none;
    left: auto;
  }
  .dropdown a {
    color: rgba(255,255,255,.8);
    border-bottom-color: rgba(255,255,255,.07);
    padding: 10px 28px;
  }
  .dropdown a:hover { background: rgba(255,255,255,.1); color: white; }
}

/* ------------------------------------------------
   HERO – full-screen, transparent nav
   ------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: .55;
  transform: scale(1.06);
  transition: transform 10s ease;
}
.hero:hover .hero-img { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15,23,42,.65) 0%,
    rgba(43,153,173,.35) 50%,
    rgba(15,23,42,.8) 100%
  );
}

.hero-body {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 860px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-body h1 {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.hero-body p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.82);
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: scrollBounce 2.4s ease-in-out infinite;
}
.scroll-hint svg { width: 20px; opacity: .6; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .5; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* Page hero (smaller) */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--dark);
  padding-top: 72px; /* nav height */
}

.page-hero .hero-img { opacity: .4; transform: scale(1); }

.page-hero .hero-overlay {
  background: linear-gradient(to top, rgba(15,23,42,.85) 0%, rgba(15,23,42,.3) 100%);
}

.page-hero .hero-body {
  text-align: left;
  padding: 0 0 40px;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.page-hero .hero-body h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: left;
  margin-bottom: 0;
}

.page-hero .hero-body p {
  text-align: left;
  margin: 10px 0 0;
  font-size: 1rem;
}

/* ------------------------------------------------
   COUNTDOWN
   ------------------------------------------------ */
.countdown-section {
  padding: 80px 24px;
  background: var(--white);
  text-align: center;
  position: relative;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--green), var(--teal));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer { to { background-position: -200% center; } }

.countdown-eyebrow {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal);
  margin-bottom: 8px;
}

.countdown-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 50px;
  letter-spacing: -.02em;
}

.countdown-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cd-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.cd-ring {
  position: relative;
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 6px 16px rgba(43,153,173,.25));
}
.cd-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.cd-ring svg circle { fill: none; stroke-width: 5; }
.cd-ring svg circle.track { stroke: var(--gray-200); }
.cd-ring svg circle.prog {
  stroke: var(--teal);
  stroke-dasharray: 330;
  stroke-dashoffset: 330;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1);
}

.cd-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -.03em;
}

.cd-label {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
}

/* ------------------------------------------------
   STATS STRIP
   ------------------------------------------------ */
.stats-section {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, #2ab5a0 100%);
  padding: 64px 24px;
}

.stats-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}
.stat-card::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.2);
}
.stat-card:last-child::after { display: none; }

.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.04em;
}

.stat-suffix {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: rgba(255,255,255,.75);
  margin-left: 2px;
}

.stat-label {
  margin-top: 8px;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ------------------------------------------------
   BENEFITS / WHY KJG
   ------------------------------------------------ */
.benefits-section {
  padding: 88px 24px;
  background: var(--bg);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.benefits-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  opacity: 0;
  transition: opacity var(--trans);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-pale);
}
.benefit-card:hover::before { opacity: 1; }

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 18px;
  display: block;
}

.benefit-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.benefit-text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ------------------------------------------------
   SECTION WRAPPER
   ------------------------------------------------ */
.section { padding: 88px 24px; }
.container { max-width: 1320px; margin: 0 auto; }

.bg-white  { background: var(--white); }
.bg-light  { background: var(--bg); }
.bg-dark   { background: var(--dark); color: var(--white); }
.bg-dark .section-title { color: var(--white); }

/* ------------------------------------------------
   GALLERY TEASER (homepage strip)
   ------------------------------------------------ */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-strip-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.gallery-strip-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-strip-item:hover img { transform: scale(1.08); }

/* ------------------------------------------------
   BUTTONS
   ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font);
  letter-spacing: -.01em;
  transition: all var(--trans);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--trans);
}
.btn:hover::after { background: rgba(255,255,255,.08); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(43,153,173,.35);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,153,173,.4);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(55,171,88,.35);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(55,171,88,.4);
}

.btn-white {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-white:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-800);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 18px; font-size: .82rem; border-radius: 8px; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: 12px; }

/* ------------------------------------------------
   CONTACT FORM
   ------------------------------------------------ */
.form-wrap {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -.03em;
}

.form-sub {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--dark);
  letter-spacing: .01em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: .95rem;
  font-family: var(--font);
  background: var(--gray-100);
  color: var(--text);
  transition: border-color var(--trans), background var(--trans), box-shadow var(--trans);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(43,153,173,.1);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--gray-400); }

.field textarea { resize: vertical; min-height: 130px; }

/* ------------------------------------------------
   TEAM CARDS
   ------------------------------------------------ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.team-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: transform var(--trans), box-shadow var(--trans);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
}

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
}

.team-card-body { padding: 14px 12px 18px; }
.team-card-name {
  font-weight: 800;
  font-size: .92rem;
  color: var(--dark);
  letter-spacing: -.01em;
}

.team-card-role {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 700;
}

/* ------------------------------------------------
   GALLERY – year cards
   ------------------------------------------------ */
.year-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.year-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow);
}

.year-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.year-card:hover img { transform: scale(1.07); }

.year-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(15,23,42,.85) 0%,
    rgba(15,23,42,.2) 60%,
    rgba(15,23,42,0) 100%);
}

.year-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.year-label {
  color: white;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -.04em;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.year-link-hint {
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2);
  transition: all var(--trans);
}
.year-card:hover .year-link-hint {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px;
}

.photo-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--gray-200);
}

.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.photo-item:hover img { transform: scale(1.07); }

.photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}

/* ------------------------------------------------
   EVENT CARDS
   ------------------------------------------------ */
.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform var(--trans), box-shadow var(--trans);
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.event-card-img-wrap {
  position: relative;
  overflow: hidden;
}

.event-card-img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .5s ease;
}
.event-card:hover .event-card-img-wrap img { transform: scale(1.06); }

.event-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green);
  color: white;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 100px;
}

.event-card-body { padding: 24px; flex: 1; }

.event-card-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -.02em;
}

.event-card-meta {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.event-card-action {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-100);
  color: var(--teal);
  font-weight: 800;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--trans), color var(--trans);
}
.event-card:hover .event-card-action {
  gap: 10px;
  color: var(--teal-dark);
}

/* ------------------------------------------------
   ROLE / INFO BLOCKS
   ------------------------------------------------ */
.role-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.role-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--teal);
  transition: transform var(--trans), box-shadow var(--trans);
}
.role-block:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.role-block h3 {
  color: var(--teal);
  margin-bottom: 8px;
  font-size: .95rem;
  font-weight: 800;
}
.role-block p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }

/* ------------------------------------------------
   INFO / CTA BANNER
   ------------------------------------------------ */
.info-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: white;
  padding: 44px 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-teal);
  position: relative;
  overflow: hidden;
}
.info-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; aspect-ratio: 1;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.info-banner h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 10px; letter-spacing: -.02em; }
.info-banner p { opacity: .88; margin-bottom: 24px; }

/* ------------------------------------------------
   NOTICE BOX
   ------------------------------------------------ */
.notice {
  background: var(--teal-pale);
  border: 2px solid rgba(43,153,173,.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  color: var(--dark);
}

/* ------------------------------------------------
   LIGHTBOX
   ------------------------------------------------ */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.97);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lb.on { opacity: 1; pointer-events: all; }

.lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 0 80px rgba(0,0,0,.6);
}

.lb-btn {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: white;
  cursor: pointer;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
  backdrop-filter: blur(8px);
  font-size: 1.4rem;
}
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 24px; right: 24px; font-size: 1.1rem; }
.lb-prev  { left: 24px;  top: 50%; transform: translateY(-50%); font-size: 1.8rem; }
.lb-next  { right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; }

/* ------------------------------------------------
   SCROLL REVEAL
   ------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .65s .1s cubic-bezier(.4,0,.2,1), transform .65s .1s cubic-bezier(.4,0,.2,1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .65s .1s cubic-bezier(.4,0,.2,1), transform .65s .1s cubic-bezier(.4,0,.2,1);
}
.reveal-scale {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.reveal.in, .reveal-left.in, .reveal-right.in, .reveal-scale.in {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }

/* ------------------------------------------------
   BACK TO TOP
   ------------------------------------------------ */
.btn-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--trans);
  z-index: 800;
  box-shadow: 0 4px 16px rgba(43,153,173,.4);
}
.btn-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.btn-top:hover { background: var(--teal-dark); transform: translateY(-3px); }
.btn-top svg { width: 20px; height: 20px; }

/* ------------------------------------------------
   404 PAGE
   ------------------------------------------------ */
.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}
.page-404 .num-404 {
  font-size: 10rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  letter-spacing: -.05em;
}
.page-404 h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
}
.page-404 p { color: var(--text-muted); margin-bottom: 32px; }

/* ------------------------------------------------
   FOOTER
   ------------------------------------------------ */
.site-footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 72px 24px 32px;
}

.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

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

.footer-col p {
  color: var(--gray-400);
  font-size: .88rem;
  line-height: 1.75;
  margin-bottom: 4px;
}

.footer-col a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  font-size: .88rem;
  line-height: 2;
  transition: color var(--trans);
}
.footer-col a:hover { color: var(--teal-light); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img { height: 36px; opacity: .8; }
.footer-brand span {
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
}

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans), transform var(--trans);
  text-decoration: none;
}
.social-btn:hover { background: var(--teal); transform: translateY(-2px); }
.social-btn svg { width: 17px; height: 17px; fill: white; }

.footer-bottom {
  max-width: 1320px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.25);
}
.footer-bottom a { color: rgba(255,255,255,.35); text-decoration: none; }
.footer-bottom a:hover { color: var(--teal-light); }
.footer-credit {
  max-width: 1320px;
  margin: 12px auto 0;
  font-size: .75rem;
  color: rgba(255,255,255,.18);
  text-align: center;
}
.footer-credit a { color: rgba(255,255,255,.28); text-decoration: none; }
.footer-credit a:hover { color: var(--teal-light); }

/* ------------------------------------------------
   UTILITY
   ------------------------------------------------ */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.gap-row { display: flex; gap: 12px; flex-wrap: wrap; }
.max-600 { max-width: 600px; margin: 0 auto; }
.max-780 { max-width: 780px; margin: 0 auto; }

.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;
}

/* ------------------------------------------------
   RESPONSIVE
   ------------------------------------------------ */
@media (max-width: 1100px) {
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 20px; }
  .hero-body { padding: 100px 20px 72px; }
  .page-hero { min-height: 260px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 20px; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-card::after { display: none; }
  .countdown-row { gap: 20px; }
  .cd-ring { width: 90px; height: 90px; }
  .cd-num { font-size: 1.7rem; }
}

@media (max-width: 500px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cd-ring { width: 74px; height: 74px; }
  .cd-num { font-size: 1.4rem; }
  .cd-label { font-size: .68rem; }
  .page-hero { min-height: 220px; }
  .btn-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* ------------------------------------------------
   ANIMATIONS
   ------------------------------------------------ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}
@keyframes glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(43,153,173,.3); }
  50%       { box-shadow: 0 4px 30px rgba(43,153,173,.6); }
}

.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-glow  { animation: glow 2.5s ease-in-out infinite; }
