:root {
  --red: #c62828;
  --dark-red: #8e0000;
  --black: #0a0a0a;
  --off-white: #f5f0eb;
  --gold: #d4a853;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--black);
  color: var(--off-white);
  overflow-x: hidden;
}
#bg-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 1rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(198,40,40,0.3);
  transition: all 0.3s ease;
}
nav.scrolled { padding: 0.6rem 2rem; background: rgba(10,10,10,0.95); }
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem; letter-spacing: 3px;
  color: var(--off-white); text-decoration: none;
}
.nav-logo span { color: var(--red); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--off-white); text-decoration: none;
  font-weight: 600; font-size: 0.95rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--red); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex;
  align-items: flex-end; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-bg-img { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 45%; display: block;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, var(--black) 0%, rgba(10,10,10,0.6) 35%, rgba(10,10,10,0.25) 55%, rgba(10,10,10,0.4) 100%),
    linear-gradient(to right, rgba(10,10,10,0.7) 0%, transparent 50%);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 2;
  box-shadow: inset 0 0 150px 60px rgba(10,10,10,0.7); pointer-events: none;
}
.hero-red-glow {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  z-index: 4; opacity: 0; animation: glowIn 1.2s ease forwards 1.2s;
}
.hero-content {
  position: relative; z-index: 3; max-width: 1200px; width: 100%; padding: 0 3rem 5rem;
}
.hero-text .subtitle {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem;
  letter-spacing: 8px; color: var(--red); margin-bottom: 0.8rem;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.4s;
  text-shadow: 0 2px 20px rgba(198,40,40,0.4);
}
.hero-text h1 {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95; letter-spacing: 3px; margin-bottom: 1.2rem;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.6s;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
.hero-text h1 span { color: var(--red); }
.hero-text p {
  font-size: 1.15rem; line-height: 1.7; color: rgba(245,240,235,0.8);
  max-width: 500px; margin-bottom: 2.2rem;
  opacity: 0; animation: fadeUp 0.8s ease forwards 0.8s;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-btn {
  display: inline-block; padding: 16px 48px; background: var(--red);
  color: var(--off-white); text-decoration: none; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; font-size: 0.95rem;
  transition: all 0.3s; border: 2px solid var(--red);
  opacity: 0; animation: fadeUp 0.8s ease forwards 1s;
}
.hero-btn:hover { background: transparent; color: var(--off-white); box-shadow: 0 0 30px rgba(198,40,40,0.4); }

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
  display: block; margin-top: clamp(1.8rem, 4vw, 2.8rem);
  text-decoration: none; color: rgba(245,240,235,0.35);
  opacity: 0; animation: fadeUp 0.8s ease forwards 1.3s;
  transition: color 0.3s;
}
.scroll-indicator svg {
  width: clamp(28px, 4vw, 38px);
  height: clamp(28px, 4vw, 38px);
  display: block;
  animation: arrowBounce 1.8s ease-in-out infinite;
}
.scroll-indicator:hover { color: rgba(245,240,235,0.7); }
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ── SECTIONS ── */
section { padding: 6rem 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: 3px; margin-bottom: 0.5rem;
}
.section-header h2 span { color: var(--red); }
.section-header .line { width: 60px; height: 3px; background: var(--red); margin: 0 auto; }

/* ── ABOUT ── */
#about { background: linear-gradient(180deg, var(--black) 0%, #111 50%, var(--black) 100%); }

.about-intro { max-width: 900px; margin: 0 auto 4rem; text-align: center; }
.about-intro p { color: rgba(245,240,235,0.7); line-height: 1.8; font-size: 1.1rem; margin-bottom: 1rem; }
.about-intro .highlight { color: var(--red); font-weight: 700; }
.about-intro .gold { color: var(--gold); font-weight: 700; }

.about-stats {
  max-width: 950px; margin: 0 auto 4rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(198,40,40,0.15);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.stat-item {
  text-align: center; padding: 2.5rem 1rem;
  border-right: 1px solid rgba(198,40,40,0.1);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.stat-item .stat-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 3.8rem;
  color: var(--red); line-height: 1; display: block; margin-bottom: 0.4rem;
}
.stat-item .stat-label {
  font-size: 0.8rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(245,240,235,0.45);
}

.about-grid {
  max-width: 1000px; margin: 0 auto 4rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem;
}
.about-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(198,40,40,0.15);
  padding: 2.5rem 2rem; transition: all 0.4s ease;
  position: relative; overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.about-card:hover::before { opacity: 1; }
.about-card:hover {
  border-color: var(--red); transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(198,40,40,0.1);
}
.card-num {
  position: absolute; top: 1.2rem; right: 1.4rem;
  font-family: 'Bebas Neue', sans-serif; font-size: 3rem; line-height: 1;
  color: rgba(198,40,40,0.1); letter-spacing: 1px; pointer-events: none;
  transition: color 0.4s;
}
.about-card:hover .card-num { color: rgba(198,40,40,0.2); }
.card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(198,40,40,0.1); border: 1px solid rgba(198,40,40,0.25);
  color: var(--red); margin-bottom: 1.5rem;
  transition: background 0.3s, border-color 0.3s;
}
.about-card:hover .card-icon {
  background: rgba(198,40,40,0.18); border-color: rgba(198,40,40,0.5);
}
.about-card h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem;
  letter-spacing: 2px; margin-bottom: 0.8rem; color: var(--red);
}
.about-card p { color: rgba(245,240,235,0.65); line-height: 1.7; font-size: 0.95rem; }

.about-kyokushin {
  max-width: 1050px; margin: 0 auto;
  display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start;
}
.oyama-photo-wrap {
  position: relative; overflow: hidden;
  border: 1px solid rgba(198,40,40,0.25);
}
.oyama-photo-wrap img {
  width: 100%; display: block;
  filter: grayscale(0.25) contrast(1.05);
  transition: filter 0.5s;
}
.oyama-photo-wrap:hover img { filter: grayscale(0) contrast(1); }
.oyama-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.2rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, transparent 100%);
  display: flex; flex-direction: column; gap: 0.15rem;
}
.oyama-name {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem;
  letter-spacing: 2px; color: var(--off-white);
}
.oyama-dates {
  font-size: 0.78rem; color: rgba(245,240,235,0.45); letter-spacing: 1.5px;
}
.oyama-text-col {
  position: relative; padding: 2.5rem;
  background: rgba(198,40,40,0.04); border-left: 4px solid var(--red);
}
.oyama-text-col .kanji-bg {
  position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%);
  font-family: 'Noto Sans JP', sans-serif; font-size: 8rem; font-weight: 900;
  color: rgba(198,40,40,0.07); pointer-events: none; line-height: 1;
}
.oyama-text-col h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem;
  letter-spacing: 2px; margin-bottom: 1.2rem; position: relative;
}
.oyama-text-col h3 span { color: var(--red); }
.oyama-quote {
  font-style: italic; color: var(--gold);
  font-size: 0.95rem; line-height: 1.7;
  border-left: 2px solid var(--gold); padding-left: 1rem;
  margin-bottom: 1.4rem; position: relative;
}
.oyama-text-col p {
  color: rgba(245,240,235,0.7); line-height: 1.8;
  font-size: 1rem; margin-bottom: 1rem; position: relative;
}

/* ── ASSOCIATION ── */
#association {
  background: radial-gradient(circle at top right, rgba(198,40,40,0.12), transparent 35%), var(--black);
}
.association-wrapper {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center;
  position: relative;
}
.association-wrapper::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 100% 20%, rgba(255,255,255,0.07), transparent 24%),
              radial-gradient(circle at 10% 80%, rgba(198,40,40,0.06), transparent 18%);
}
.association-text,
.association-values {
  position: relative;
  z-index: 1;
}
.association-text {
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
}
.association-text p {
  color: rgba(245,240,235,0.78);
  line-height: 1.85;
  font-size: 1.04rem;
  margin-bottom: 1.25rem;
}
.association-text p:last-child { margin-bottom: 0; }
.assoc-highlight {
  color: var(--gold);
  font-weight: 700;
}
.association-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.value-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 140px;
  padding: 1.8rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  border-radius: 22px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.value-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(198,40,40,0.45), transparent);
  opacity: 0.75;
}
.value-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 22px 50px rgba(0,0,0,0.14);
}
.value-tile .kanji {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  margin-bottom: 0.55rem;
  line-height: 1;
  text-shadow: 0 0 14px rgba(198,40,40,0.08);
}
.value-tile .label {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,235,0.75);
  font-weight: 600;
}

/* ── SCHEDULE ── */
#schedule { background: linear-gradient(180deg, #0d0d0d 0%, var(--black) 100%); }
.schedule-wrapper {
  max-width: 1100px; margin: 0 auto;
  border: 1px solid rgba(198,40,40,0.2);
  overflow: hidden;
}
/* Grid: label col + 5 day cols */
.schedule-days-axis,
.schedule-row {
  display: grid;
  grid-template-columns: 200px repeat(4, 1fr);
}
.schedule-days-axis {
  background: rgba(198,40,40,0.06);
  border-bottom: 1px solid rgba(198,40,40,0.2);
}
.axis-day {
  padding: 1.1rem 0;
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  color: rgba(245,240,235,0.45);
  border-right: 1px solid rgba(198,40,40,0.1);
}
.axis-day:last-child { border-right: none; }
.axis-empty { background: rgba(0,0,0,0.2); border-right: 1px solid rgba(198,40,40,0.15); }
.axis-day--active { color: var(--off-white); }
.schedule-row { border-top: 1px solid rgba(198,40,40,0.1); }
.schedule-row:first-of-type { border-top: none; }
.schedule-row-label {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.6rem; padding: 2rem 1rem;
  background: rgba(0,0,0,0.15);
  border-right: 1px solid rgba(198,40,40,0.15);
}
.row-label-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(198,40,40,0.1); border: 1px solid rgba(198,40,40,0.25);
  color: var(--red);
}
.schedule-row-label span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; letter-spacing: 2px;
  color: rgba(245,240,235,0.6);
}
.schedule-cell {
  border-right: 1px solid rgba(198,40,40,0.08);
  min-height: 110px;
  display: flex; align-items: center; justify-content: center;
}
.schedule-cell:last-child { border-right: none; }
.schedule-cell--empty { background: rgba(255,255,255,0.01); }
.schedule-cell--active {
  background: rgba(198,40,40,0.08);
  border-right: 1px solid rgba(198,40,40,0.15);
  flex-direction: column; gap: 0.3rem;
  position: relative;
}
.schedule-cell--active::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--red);
}
.cell-time {
  font-size: 0.95rem; font-weight: 700;
  color: var(--gold); letter-spacing: 1px;
}

/* ── GALLERY SLIDER ── */
#gallery { background: var(--black); padding: 6rem 2rem; }
.slider-wrapper {
  position: relative; max-width: 1100px; margin: 0 auto; overflow: hidden;
  border: 1px solid rgba(198,40,40,0.2);
}
.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}
.slide {
  min-width: 100%; position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
}
.slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  filter: brightness(0.88);
  transition: filter 0.4s;
}
.slide img:hover { filter: brightness(1); }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(10,10,10,0.7); border: 1px solid rgba(198,40,40,0.35);
  color: var(--off-white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; z-index: 10;
  backdrop-filter: blur(6px);
}
.slider-btn:hover { background: var(--red); border-color: var(--red); }
.slider-btn.prev { left: 1.5rem; }
.slider-btn.next { right: 1.5rem; }
.slider-dots {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem; z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  background: rgba(245,240,235,0.3); border: 1px solid rgba(245,240,235,0.2);
  cursor: pointer; transition: all 0.3s;
}
.slider-dot.active {
  background: var(--red); border-color: var(--red);
  width: 24px;
}

/* ── TRAINERS ── */
#trainers { background: linear-gradient(180deg, var(--black) 0%, #0d0d0d 100%); }

.trainers-carousel-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.trainers-founder {
  display: contents;
}
.trainer-card--founder {
  width: auto; position: relative;
}
.founder-badge {
  position: absolute; top: 1rem; left: 50%; transform: translateX(-50%);
  background: var(--red); color: var(--off-white);
  font-family: 'Bebas Neue', sans-serif; font-size: 0.8rem;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 0.3rem 1rem; z-index: 2; white-space: nowrap;
}
.trainers-row {
  display: contents;
}
.trainer-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(198,40,40,0.15);
  overflow: hidden; transition: all 0.4s ease;
}
.trainer-card:hover { border-color: var(--red); transform: translateY(-6px); box-shadow: 0 15px 50px rgba(198,40,40,0.15); }
.trainer-photo { width: 100%; aspect-ratio: 3/4; overflow: hidden; }
.trainer-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
  filter: grayscale(20%) contrast(1.05); transition: filter 0.4s ease;
}
.trainer-card:hover .trainer-photo img { filter: grayscale(0%) contrast(1); }
.trainer-photo--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.02);
}
.trainer-photo--placeholder span {
  font-family: 'Bebas Neue', sans-serif; font-size: 1rem;
  letter-spacing: 3px; color: rgba(245,240,235,0.15);
}
.belt-display {
  height: 36px; display: flex; align-items: center; justify-content: center;
  background: #1a1a1a; position: relative;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.belt-stripe { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; }
.belt-stripe .belt-black { flex: 1; height: 100%; background: #111; }
.belt-stripe .belt-gold {
  width: 6px; height: 100%; background: linear-gradient(180deg, #e6c36a, var(--gold), #b8912e);
  box-shadow: 0 0 10px rgba(212,168,83,0.6), 0 0 3px rgba(212,168,83,0.9);
  border-radius: 1px;
}
.trainer-info { padding: 1.2rem 1.5rem 1.5rem; text-align: center; }
.trainer-info h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 2px; margin-bottom: 0.3rem; }
.trainer-info .rank { color: var(--gold); font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 0.3rem; }
.trainer-info .role { color: rgba(245,240,235,0.5); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; }
.trainer-info .trainer-achievements { color: rgba(245,240,235,0.4); font-size: 0.8rem; margin-top: 0.4rem; }

/* ── CONTACT ── */
#contact {
  background: radial-gradient(ellipse at 50% 0%, rgba(198,40,40,0.08) 0%, transparent 60%), var(--black);
  padding-bottom: 4rem;
}
.contact-wrapper {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.1fr);
  gap: 2.5rem; align-items: start;
}
.contact-left {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.contact-info-box {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
  border-radius: 28px;
  overflow: hidden;
  height: 100%; display: flex; flex-direction: column;
}
.contact-card {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.8rem 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.3s ease, background 0.3s ease;
}
.contact-card:last-child { border-bottom: none; }
.contact-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}
.contact-icon-wrap {
  width: 56px; height: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--gold);
  transition: background 0.3s, border-color 0.3s;
}
.contact-card:hover .contact-icon-wrap {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.26);
}
.contact-card-body {
  display: grid;
  gap: 0.3rem;
}
.contact-card-body h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--off-white); margin-bottom: 0;
}
.contact-card-body p,
.contact-card-body a {
  color: rgba(245,240,235,0.88); font-size: 1rem;
  line-height: 1.6; text-decoration: none;
}
.contact-card-body a {
  font-weight: 700;
}
.contact-card-body a:hover { color: var(--gold); }
.contact-map {
  display: flex; flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 90px rgba(0,0,0,0.18);
}
.contact-map iframe {
  flex: 1; width: 100%; min-height: 380px; border: 0; display: block;
  filter: grayscale(0.45) contrast(1.05) brightness(0.88);
  transition: filter 0.4s;
}
.contact-map:hover iframe {
  filter: grayscale(0.05) contrast(1) brightness(0.96);
}
.map-ext-link {
  display: block; padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.05);
  color: rgba(245,240,235,0.75);
  font-size: 0.82rem; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; text-align: right;
  transition: color 0.3s, background 0.3s, transform 0.3s;
}
.map-ext-link:hover {
  color: var(--off-white);
  background: rgba(255,255,255,0.12);
  transform: translateX(2px);
}

/* ── FOOTER ── */
footer { padding: 2rem; text-align: center; border-top: 1px solid rgba(198,40,40,0.15); color: rgba(245,240,235,0.35); font-size: 0.85rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes glowIn { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  section { padding: 4rem 1.2rem; }

  /* Kompaktní mobilní navbar */
  nav {
    top: 0; left: 0; right: 0; width: 100%;
    padding: 0.45rem 1.4rem;
    justify-content: center;
    background: rgba(10,10,10,0.75);
    border-bottom: 2px solid var(--red);
    border-bottom-color: rgba(198,40,40,0.6);
  }
  nav.scrolled { padding: 0.35rem 1.4rem; background: rgba(10,10,10,0.95); }
  .nav-logo {
    font-size: 0.95rem;
    letter-spacing: 3px;
  }

  /* Hero — foto viditelné, text čitelný díky stínům a spodnímu gradientu */
  .hero { min-height: 100dvh; align-items: flex-end; }
  .hero-overlay {
    background:
      linear-gradient(to top, rgba(10,10,10,0.98) 0%, rgba(10,10,10,0.85) 18%, rgba(10,10,10,0.3) 38%, transparent 58%);
  }
  .hero-vignette { box-shadow: none; }
  .hero-content { padding: 0 1.4rem 4.5rem; }
  .hero-text {
    text-align: center;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 0;
  }
  .hero-text .subtitle {
    font-size: 1rem; letter-spacing: 5px; margin-bottom: 0.5rem;
    color: var(--off-white);
    text-shadow: 0 1px 6px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
  }
  .hero-text h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
    margin-bottom: 0.7rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.9), 0 0 40px rgba(0,0,0,0.8);
  }
  .hero-text p {
    font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.4rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.95), 0 2px 16px rgba(0,0,0,0.8);
    margin-left: auto; margin-right: auto;
  }
  .hero-btn { display: block; text-align: center; padding: 13px 28px; }
  /* Trenéři — carousel */
  .trainers-carousel-wrap { position: relative; margin: 0 -1.2rem; }
  .trainers-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 1rem;
    padding: 0 1.2rem 0.5rem;
  }
  .trainers-carousel-track::-webkit-scrollbar { display: none; }
  .trainers-founder,
  .trainers-row { display: contents; }
  .trainer-card {
    flex: 0 0 78vw;
    max-width: 300px;
    scroll-snap-align: center;
  }
  .trainer-card--founder { width: auto; }
  .trainers-dots {
    display: flex; justify-content: center; gap: 0.5rem;
    margin-top: 1.2rem;
  }
  .trainers-dot {
    width: 8px; height: 8px;
    background: rgba(245,240,235,0.25); border: 1px solid rgba(245,240,235,0.15);
    cursor: pointer; transition: all 0.3s;
  }
  .trainers-dot.active { background: var(--red); border-color: var(--red); width: 22px; }
  .schedule-days-axis { display: none; }
  .schedule-row { grid-template-columns: 1fr; }
  .schedule-row-label {
    flex-direction: row; justify-content: flex-start;
    gap: 0.8rem; padding: 1rem 1.2rem;
    border-right: none; border-bottom: 1px solid rgba(198,40,40,0.15);
  }
  .schedule-cell--empty { display: none; }
  .schedule-cell--active {
    border-right: none; border-bottom: 1px solid rgba(198,40,40,0.1);
    min-height: 0; padding: 0.9rem 1.2rem;
    justify-content: flex-start; gap: 1rem;
    flex-direction: row;
  }
  .schedule-cell--active::after {
    content: attr(data-day);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem; letter-spacing: 2px;
    color: rgba(245,240,235,0.5);
    order: -1;
  }
  .cell-time {
    font-size: 1rem; font-weight: 700;
    color: rgba(20,20,20,0.95);
    white-space: nowrap;
  }
  .trainer-card--founder { width: 100%; }
  .slide, .slide img { max-height: 280px; }
  .slider-btn { width: 40px; height: 40px; }
  .slider-btn.prev { left: 0.8rem; }
  .slider-btn.next { right: 0.8rem; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-stats .stat-item:nth-child(2) { border-right: none; }
  .about-stats .stat-item:nth-child(3),
  .about-stats .stat-item:nth-child(4) { border-top: 1px solid rgba(198,40,40,0.1); }
  .association-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .association-values { grid-template-columns: repeat(2, 1fr); }
  .about-kyokushin {
    grid-template-columns: 1fr; gap: 0;
    border: 1px solid rgba(198,40,40,0.25);
    overflow: hidden;
  }
  .oyama-photo-col { position: relative; }
  .oyama-photo-wrap {
    border: none;
  }
  .oyama-photo-wrap img {
    width: 100%; height: auto;
    object-fit: unset;
  }
  .oyama-photo-col::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 100%);
    pointer-events: none;
  }
  .oyama-text-col {
    border-left: none;
    border-top: 3px solid var(--red);
  }
  .contact-wrapper { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-info-box { height: auto; }
  .contact-card { padding: 1.5rem; }
  .contact-map iframe { min-height: 280px; }
}

/* Malá výška viewportu — zmenšit hero text aby byla více vidět fotka */
@media (max-height: 680px) and (max-width: 768px) {
  .hero-content { padding: 0 1.4rem 5rem; }
  .hero-text .subtitle { font-size: 0.75rem; letter-spacing: 4px; margin-bottom: 0.3rem; }
  .hero-text h1 { font-size: clamp(2rem, 10vw, 2.8rem); margin-bottom: 0.4rem; }
  .hero-text p { font-size: 0.82rem; line-height: 1.5; margin-bottom: 1rem; }
  .hero-btn { padding: 9px 22px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  section { padding: 3rem 1rem; }
  nav { padding: 0.45rem 1.2rem; }
  .nav-logo { font-size: 0.9rem; letter-spacing: 2.5px; }
  .hero-content { padding: 0 1rem 2.5rem; }
  .section-header { margin-bottom: 2.5rem; }
  .stat-item { padding: 1.5rem 0.5rem; }
  .stat-item .stat-num { font-size: 2.8rem; }
  .stat-item .stat-label { font-size: 0.72rem; letter-spacing: 1.5px; }
  .about-grid { gap: 1.5rem; }
  .about-card { padding: 1.8rem 1.2rem; }
  .trainers-row { max-width: 100%; }
  .trainer-card--founder { width: 100%; }
  .contact-card { padding: 1.2rem; gap: 1rem; }
  .contact-map iframe { min-height: 220px; }
  .schedule-wrapper { font-size: 0.9rem; }
  .cell-time { font-size: 0.85rem; }
  .schedule-row-label span { font-size: 0.88rem; }
  .oyama-text-col { padding: 1.5rem 1.2rem; }
  .value-tile { padding: 1.4rem 0.8rem; }
  .value-tile .kanji { font-size: 2.2rem; }
}

/* ══════════════════════════════════════
   HAMBURGER MENU & MOBILE NAV OVERLAY
══════════════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  z-index: 110;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--off-white);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.97);
  z-index: 98;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(12px);
}
.nav-mobile-overlay.open { opacity: 1; pointer-events: all; }
.nav-mobile-overlay a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem; letter-spacing: 5px;
  color: var(--off-white); text-decoration: none;
  opacity: 0; transform: translateY(20px);
  transition: color 0.3s, opacity 0.4s ease, transform 0.4s ease;
}
.nav-mobile-overlay.open a { opacity: 1; transform: translateY(0); }
.nav-mobile-overlay.open a:nth-child(1) { transition-delay: 0.05s; }
.nav-mobile-overlay.open a:nth-child(2) { transition-delay: 0.10s; }
.nav-mobile-overlay.open a:nth-child(3) { transition-delay: 0.15s; }
.nav-mobile-overlay.open a:nth-child(4) { transition-delay: 0.20s; }
.nav-mobile-overlay.open a:nth-child(5) { transition-delay: 0.25s; }
.nav-mobile-overlay a:hover { color: var(--red); }

/* ══════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img-wrap {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
}
.lightbox-img-wrap img {
  max-width: 100%; max-height: 88vh;
  object-fit: contain; display: block;
  border: 1px solid rgba(198,40,40,0.25);
}
.lightbox-close {
  position: fixed; top: 1.2rem; right: 1.5rem;
  background: rgba(10,10,10,0.8); border: 1px solid rgba(198,40,40,0.35);
  color: var(--off-white); width: 44px; height: 44px;
  font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; z-index: 2001;
}
.lightbox-close:hover { background: var(--red); border-color: var(--red); }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(10,10,10,0.8); border: 1px solid rgba(198,40,40,0.3);
  color: var(--off-white); width: 52px; height: 52px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; transition: all 0.3s; z-index: 2001;
}
.lightbox-prev:hover, .lightbox-next:hover { background: var(--red); border-color: var(--red); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  font-family: 'Bebas Neue', sans-serif; letter-spacing: 3px;
  color: rgba(245,240,235,0.4); font-size: 0.9rem; z-index: 2001;
}
.slide { cursor: pointer; }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
#faq { background: linear-gradient(180deg, #0d0d0d 0%, var(--black) 100%); }
.faq-list {
  max-width: 820px; margin: 0 auto;
  border: 1px solid rgba(198,40,40,0.15);
  background: rgba(255,255,255,0.015);
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.18);
}
.faq-item { border-bottom: 1px solid rgba(198,40,40,0.12); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 1.5rem 1.8rem;
  background: none; border: none;
  color: var(--off-white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.05rem; font-weight: 600;
  text-align: left; cursor: pointer;
  transition: color 0.3s, background 0.3s, transform 0.3s;
}
.faq-q:hover { color: var(--red); background: rgba(198,40,40,0.04); transform: translateX(1px); }
.faq-q.open { color: var(--red); background: rgba(198,40,40,0.08); }
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(198,40,40,0.45);
  border-radius: 50%;
  color: var(--red); font-size: 1.2rem; line-height: 1;
  transition: transform 0.35s, background 0.35s, border-color 0.35s;
}
.faq-q.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(198,40,40,0.08);
  border-color: rgba(198,40,40,0.7);
}
.faq-a {
  max-height: 0; overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.45s ease, opacity 0.35s ease 0.05s, transform 0.35s ease;
}
.faq-a.open {
  opacity: 1;
  transform: translateY(0);
}
.faq-a p {
  padding: 0 1.8rem 1.6rem;
  color: rgba(245,240,235,0.78);
  line-height: 1.85; font-size: 0.98rem;
}
.faq-item:last-child .faq-a p { padding-bottom: 2rem; }

/* ══════════════════════════════════════
   AKTUALITY
══════════════════════════════════════ */
#aktuality { background: var(--black); }
.events-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.event-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(198,40,40,0.15);
  padding: 2rem 1.8rem;
  position: relative; overflow: hidden;
  transition: all 0.35s ease;
}
.event-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0; transition: opacity 0.35s;
}
.event-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 10px 40px rgba(198,40,40,0.1); }
.event-card:hover::before { opacity: 1; }
.event-date {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem; letter-spacing: 3px;
  color: var(--red); margin-bottom: 0.9rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.event-date::before { content: ''; display: block; width: 18px; height: 2px; background: var(--red); }
.event-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem; letter-spacing: 2px; margin-bottom: 0.6rem;
}
.event-card p { color: rgba(245,240,235,0.6); font-size: 0.92rem; line-height: 1.7; }
.event-tag {
  display: inline-block; margin-top: 1.2rem;
  padding: 0.3rem 0.9rem;
  background: rgba(198,40,40,0.1);
  border: 1px solid rgba(198,40,40,0.25);
  color: var(--red);
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
}

/* ══════════════════════════════════════
   FOOTER SOCIAL
══════════════════════════════════════ */
footer {
  display: flex !important; flex-direction: column !important;
  align-items: center !important; gap: 1rem;
}
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(198,40,40,0.2);
  color: rgba(245,240,235,0.35);
  text-decoration: none;
  transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--red); color: var(--red); background: rgba(198,40,40,0.06); }
.footer-text { color: rgba(245,240,235,0.35); font-size: 0.85rem; }

/* ══════════════════════════════════════
   CONTACT FORM (pridte_trenovat)
══════════════════════════════════════ */
.contact-form-wrap { max-width: 720px; margin: 0 auto; }
.contact-form {
  display: flex; flex-direction: column; gap: 1.2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,183,197,0.15);
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group label {
  font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(245,240,235,0.45);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,183,197,0.2);
  color: var(--off-white);
  padding: 0.9rem 1rem;
  font-family: 'Source Sans 3', sans-serif; font-size: 1rem;
  transition: border-color 0.3s, background 0.3s;
  resize: vertical; outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(245,240,235,0.2); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sakura, #ffb7c5);
  background: rgba(255,183,197,0.03);
}
.form-group textarea { min-height: 150px; }
.form-group select option { background: #1a1a1a; }
.form-submit {
  padding: 15px 44px; align-self: flex-start;
  background: var(--sakura, #ffb7c5);
  color: #0a0a0a;
  border: 2px solid var(--sakura, #ffb7c5);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700; font-size: 0.9rem;
  letter-spacing: 3px; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s;
}
.form-submit:hover {
  background: transparent;
  color: var(--sakura, #ffb7c5);
  box-shadow: 0 0 30px rgba(255,183,197,0.3);
}
.flash-success {
  max-width: 720px; margin: 0 auto 1.5rem;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--sakura, #ffb7c5);
  background: rgba(255,183,197,0.06);
  color: var(--off-white); font-size: 0.95rem;
}
.flash-error {
  max-width: 720px; margin: 0 auto 1.5rem;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--red);
  background: rgba(198,40,40,0.06);
  color: var(--off-white); font-size: 0.95rem;
}

/* ══════════════════════════════════════
   MOBILE — nové prvky
══════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex; }
  nav { justify-content: space-between !important; padding: 0.5rem 1.4rem !important; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .events-grid { grid-template-columns: 1fr; }
  .lightbox-prev { left: 0.3rem; }
  .lightbox-next { right: 0.3rem; }
}
