﻿:root {
  --bg: #0b1020;
  --surface: #121a30;
  --surface-2: #18233f;
  --text: #e8ecf8;
  --muted: #a7b0cc;
  --primary: #6ea8fe;
  --primary-strong: #3d86ff;
  --accent: #9bdb4d;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% -10%, #1f3160 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.6;
  width: 100%;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, 92%);
  max-width: 100%;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11, 16, 32, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.brand-name {
  line-height: 1;
}

.brand-copy {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1;
  flex-wrap: wrap;
}

.brand-name {
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 0.4rem;
  margin-left: 0.5rem;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero,
.section-hero {
  padding: 4.5rem 0 3rem;
}

.hero-content {
  max-width: 760px;
}

@media (max-width: 640px) {
  .hero {
    padding-top: 1.25rem;
  }

  .hero-media {
    margin-top: 0;
  }

  .hero-media img {
    height: 300px;
  }

  .hero-overlay {
    position: static;
    background: linear-gradient(180deg, rgba(9, 14, 22, 0.72) 0%, rgba(9, 14, 22, 0.72) 100%);
    padding: 1.1rem 0 0.8rem;
  }

  .hero-overlay-inner {
    width: 100%;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(9, 14, 22, 0.8) 0%, rgba(9, 14, 22, 0.58) 30%, rgba(9, 14, 22, 0.2) 100%);
}

.hero-overlay-inner {
  width: min(1100px, 92%);
}

.badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  margin-bottom: 0.9rem;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
  color: #fff;
  max-width: 540px;
}

.lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 56ch;
  font-size: 1.02rem;
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.partner-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 52px;
  box-sizing: border-box;
}

.partner-banner .partner-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.partner-banner a {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.partner-banner a:hover {
  color: var(--primary);
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(160deg, var(--primary), var(--primary-strong));
  color: #fff;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.cta-row .btn {
  margin-top: 0.2rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.card,
.panel {
  background: linear-gradient(170deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.card h2,
.panel h3 {
  margin-bottom: 0.45rem;
}

.card p,
.panel p,
.card li {
  color: var(--muted);
}

.card ul {
  padding-left: 1.15rem;
  margin-top: 0.4rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 2rem;
}

.split-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-section {
  padding: 0.5rem 0 2.5rem;
}

.location-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  background: linear-gradient(170deg, rgba(18, 26, 48, 0.92), rgba(18, 26, 48, 0.72));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-copy h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.location-copy p {
  color: var(--muted);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.location-map {
  min-height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}

.karate {
  border-left: 4px solid #f97316;
}

.judo {
  border-left: 4px solid var(--accent);
}

.link {
  display: inline-block;
  margin-top: 0.8rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
}

.section-page {
  padding: 2rem 0 2.4rem;
}

.section-hero {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 1rem;
}

.section-links-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.section-links-row--under-image {
  margin-top: 1.1rem;
  margin-bottom: 1rem;
}

.ffk-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s, transform 0.2s;
  height: 52px;
  box-sizing: border-box;
}

.ffk-link:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-1px);
}

.ffk-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0.45rem;
}

.karate-bg {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(18, 26, 48, 0.7));
}

.judo-bg {
  background: linear-gradient(135deg, rgba(155, 219, 77, 0.2), rgba(18, 26, 48, 0.7));
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.agenda-section {
  margin-bottom: 1rem;
}

.agenda-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.agenda-header h2 {
  margin-bottom: 0;
}

.agenda-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.agenda-filter {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.agenda-filter.active,
.agenda-filter:hover {
  background: rgba(110, 168, 254, 0.15);
  color: var(--text);
  border-color: rgba(110, 168, 254, 0.45);
}

.agenda-list {
  display: grid;
  gap: 0.9rem;
}

.agenda-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.agenda-item.hidden {
  display: none;
}

.agenda-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
}

.agenda-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.agenda-date {
  font-weight: 700;
  color: var(--text);
}

.agenda-topline .agenda-tags {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.agenda-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.agenda-tag.kata {
  background: rgba(249, 115, 22, 0.18);
  color: #ffb27d;
}

.agenda-tag.kumite {
  background: rgba(155, 219, 77, 0.12);
  color: #c5f185;
}

.agenda-item h3 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
}

.agenda-meta {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 0.25rem;
}

.agenda-note {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.camilm-footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0 0 1.6rem;
  font-style: italic;
}

.footer-credit,
.camilm-footer-credit {
  display: inline-block;
  font-size: 0.72rem;
  opacity: 0.8;
  font-style: italic;
  letter-spacing: 0.02em;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
  }

  .split,
  .split-3,
  .grid-2,
  .location-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100%, calc(100% - 1rem));
  }

  .nav-wrap {
    align-items: center;
    min-height: 68px;
    position: relative;
    gap: 0.75rem;
  }

  .logo {
    flex: 1;
    min-width: 0;
    max-width: 100%;
  }

  .brand-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    min-width: 0;
    max-width: 100%;
  }

  .brand-subtitle {
    white-space: normal;
    line-height: 1.35;
    font-size: 0.58rem;
    max-width: 100%;
    word-break: break-word;
  }

  .burger {
    display: flex;
    flex-shrink: 0;
    z-index: 60;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(11, 16, 32, 0.96);
    box-shadow: var(--shadow);
    z-index: 50;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.7rem 0.75rem;
  }
}

body.nav-open {
  overflow: hidden;
}

.hero-media {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  border: 1px solid var(--border);
  border-left: none;
  border-right: none;
  box-shadow: none;
  object-fit: cover;
  height: 500px;
}

.section-image {
  margin-bottom: 1rem;
}

.section-image img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.body-karate {
  border-left: 4px solid #ff4fb3;
}

.body-bg {
  background: linear-gradient(135deg, rgba(255, 79, 179, 0.22), rgba(18, 26, 48, 0.7));
}

.administration {
  border-left: 4px solid #7c3aed;
}

.admin-bg {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(18, 26, 48, 0.7));
}
