/* =========================================
   WELLNESS KARATE ACADEMY - MAIN STYLESHEET
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* CSS VARIABLES */
:root {
  --gold: #F2C94C;
  --gold-dark: #D4A017;
  --gold-light: #FFF0A0;
  --red: #8B0000;
  --red-bright: #C0392B;
  --blue-dark: #0D1B2A;
  --blue-mid: #1A2E45;
  --blue-accent: #1E4D8C;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --light-bg: #F8F5EF;
  --gray: #888;
  --border: rgba(242, 201, 76, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-gold: 0 0 30px rgba(242,201,76,0.3);
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light-bg);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* UTILITY CLASSES */
.section-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--blue-dark);
}

.section-title span { color: var(--red); }

.section-title.light { color: var(--white); }
.section-title.light span { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.4s ease;
}

.btn:hover::before { transform: translateX(120%) skewX(-15deg); }

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(242,201,76,0.4); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139,0,0,0.4); }

/* ==================
   NAVBAR
   ================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(242,201,76,0.4);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '空';
  font-family: serif;
  font-size: 1.3rem;
  color: var(--black);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
}

.logo-sub {
  font-family: 'Oswald', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 8px 14px;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-dark) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(242,201,76,0.4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--gold); }

/* ==================
   HERO SECTION
   ================== */
.hero {
  min-height: 100vh;
  background: var(--blue-dark);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(30,77,140,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 30% 80%, rgba(139,0,0,0.3) 0%, transparent 60%),
    linear-gradient(135deg, #0D1B2A 0%, #1A2E45 50%, #0D1B2A 100%);
}

/* Geometric pattern overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(242,201,76,0.03) 60px,
      rgba(242,201,76,0.03) 61px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(242,201,76,0.03) 60px,
      rgba(242,201,76,0.03) 61px
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-text { padding: 60px 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,201,76,0.1);
  border: 1px solid rgba(242,201,76,0.3);
  padding: 6px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-badge::before { content: '★'; }

.hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 8px;
}

.hero-title .accent { color: var(--gold); }
.hero-title .academy { color: var(--red-bright); display: block; }

.hero-subtitle {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}

.hero-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  margin-bottom: 28px;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 420px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat { text-align: center; }

.stat-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 100%; height: 100%;
  border: 2px solid var(--gold);
  opacity: 0.3;
  z-index: 0;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px;
  width: 60%; height: 60%;
  background: var(--red);
  opacity: 0.15;
  z-index: 0;
}

.hero-img-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #1A2E45, #0D1B2A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  overflow: hidden;
  border: 1px solid rgba(242,201,76,0.2);
}

.hero-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-placeholder .kanji-bg {
  position: absolute;
  font-family: serif;
  font-size: 18rem;
  color: rgba(242,201,76,0.04);
  user-select: none;
  line-height: 1;
}

/* Floating badges */
.floating-badge {
  position: absolute;
  background: var(--blue-dark);
  border: 1px solid var(--border);
  padding: 12px 18px;
  z-index: 3;
  backdrop-filter: blur(10px);
}

.floating-badge.top-right {
  top: 10%; right: -30px;
  border-left: 3px solid var(--gold);
}

.floating-badge.bottom-left {
  bottom: 15%; left: -30px;
  border-left: 3px solid var(--red);
}

.fb-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.fb-value {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(242,201,76,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ==================
   ABOUT SECTION
   ================== */
.about {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '武道';
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: serif;
  font-size: 20rem;
  color: rgba(242,201,76,0.04);
  user-select: none;
  line-height: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-block {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--blue-mid), var(--blue-dark));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-main .placeholder-icon {
  font-size: 6rem;
  color: rgba(255,255,255,0.1);
}

.about-img-accent {
  position: absolute;
  bottom: -30px; right: -30px;
  width: 50%; aspect-ratio: 1;
  background: var(--gold);
  z-index: -1;
}

.about-exp-badge {
  position: absolute;
  bottom: 30px; right: -20px;
  background: var(--red);
  color: var(--white);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-exp-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
}

.about-exp-text {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-content { padding-right: 20px; }

.about-content .section-title { margin-bottom: 24px; }

.about-content p {
  color: #555;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.85;
}

.philosophy-list {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.philosophy-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.philosophy-item::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--gold);
  flex-shrink: 0;
  transform: rotate(45deg);
}

/* ==================
   PROGRAMS SECTION
   ================== */
.programs {
  padding: 100px 0;
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
}

.programs::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    );
}

.programs-header {
  text-align: center;
  margin-bottom: 64px;
}

.programs-header .section-tag { display: block; text-align: center; border-left: none; border-bottom: 1px solid rgba(242,201,76,0.4); padding: 0 0 8px; margin-bottom: 16px; }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.program-card {
  background: var(--blue-mid);
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.program-card:hover {
  border-top-color: var(--gold);
  transform: translateY(-6px);
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.program-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(242,201,76,0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}

.program-card:hover::before { opacity: 1; }

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

.program-age {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.program-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 12px;
}

.program-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 24px;
}

.program-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}

.program-card:hover .program-arrow { opacity: 1; transform: translateY(0); }

/* ==================
   ACHIEVEMENTS SECTION
   ================== */
.achievements {
  padding: 100px 0;
  background: var(--red);
  position: relative;
  overflow: hidden;
}

.achievements::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red) 0%, #6B0000 100%);
}

.achievements::after {
  content: '勝';
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  font-family: serif;
  font-size: 30rem;
  color: rgba(255,255,255,0.03);
  user-select: none;
}

.achievements-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.achievements-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.achievement-item {
  background: rgba(255,255,255,0.05);
  padding: 36px 28px;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.achievement-item:hover {
  background: rgba(255,255,255,0.1);
  border-bottom-color: var(--gold);
}

.ach-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
}

.ach-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.achievements-text .section-tag { color: var(--gold-light); border-color: var(--gold-light); }

.achievements-text .section-title { color: var(--white); margin-bottom: 24px; }
.achievements-text .section-title span { color: var(--gold); }

.achievements-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ==================
   INSTRUCTOR SECTION
   ================== */
.instructor {
  padding: 100px 0;
  background: var(--light-bg);
}

.instructor-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: center;
}

.instructor-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  overflow: visible;
  position: relative;
  box-shadow: var(--shadow);
}

.instructor-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--blue-mid), var(--blue-dark));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instructor-photo img {
  width: 100%; height: 100%; object-fit: cover;
}

.instructor-photo .placeholder {
  font-size: 5rem;
  color: rgba(255,255,255,0.15);
}

.instructor-belt {
  position: absolute;
  top: 20px; left: -10px;
  background: var(--black);
  color: var(--white);
  padding: 6px 20px 6px 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.instructor-belt::after {
  content: '';
  position: absolute;
  right: -10px; top: 0; bottom: 0;
  width: 0;
  border-top: solid transparent;
  border-bottom: solid transparent;
  border-left: 10px solid var(--black);
  border-top-width: 50%;
  border-bottom-width: 50%;
}

.instructor-name-block {
  padding: 24px;
  background: var(--white);
}

.instructor-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--blue-dark);
}

.instructor-title-role {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.instructor-content .section-title { margin-bottom: 24px; }

.instructor-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-left: 3px solid var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cred-icon { font-size: 1.2rem; }

.cred-info-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.cred-info-desc {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 2px;
}

/* ==================
   EVENTS PREVIEW
   ================== */
.events-preview {
  padding: 100px 0;
  background: var(--blue-dark);
  position: relative;
}

.events-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-card {
  background: var(--blue-mid);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.event-img {
  width: 100%; height: 200px;
  background: linear-gradient(160deg, #1E4D8C, #0D1B2A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.event-img img { width: 100%; height: 100%; object-fit: cover; }

.event-date-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  padding: 8px 12px;
  text-align: center;
  min-width: 56px;
}

.event-date-day {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  color: var(--black);
  line-height: 1;
}

.event-date-month {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
}

.event-body {
  padding: 24px;
}

.event-type {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.event-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 10px;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.event-card .btn { width: 100%; justify-content: center; padding: 10px; }

/* ==================
   GALLERY PREVIEW
   ================== */
.gallery-preview {
  padding: 100px 0;
  background: var(--black);
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
  gap: 4px;
}

.gallery-grid .g-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.g-item {
  background: var(--blue-mid);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.g-item:hover img { transform: scale(1.08); }

.g-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  font-size: 1.5rem;
  color: var(--white);
}

.g-item:hover .g-overlay { opacity: 1; }

.g-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--blue-mid), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.08);
}

/* ==================
   FOOTER
   ================== */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo { margin-bottom: 20px; }

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  max-width: 260px;
  margin-bottom: 28px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  opacity: 0.85;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.footer-col-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '→';
  font-size: 0.7rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 32px; height: 32px;
  background: rgba(242,201,76,0.1);
  border: 1px solid rgba(242,201,76,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-item-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.05em;
}

/* ==================
   PAGE HERO (Inner pages)
   ================== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(30,77,140,0.6) 0%, transparent 60%),
    linear-gradient(135deg, #0D1B2A, #1A2E45);
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 50px,
    rgba(242,201,76,0.025) 50px,
    rgba(242,201,76,0.025) 51px
  );
}

.page-hero-content { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.breadcrumb span { color: var(--gold); }

.page-hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}

.page-hero-title span { color: var(--gold); }

.page-hero-sub {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
}

/* ==================
   EVENTS PAGE
   ================== */
.events-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.filter-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 48px;
  background: var(--white);
  padding: 6px;
  display: inline-flex;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.filter-btn {
  padding: 10px 28px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--gray);
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.events-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.event-full-card {
  background: var(--white);
  display: grid;
  grid-template-columns: 200px 1fr;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.event-full-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-left-color: var(--gold);
}

.event-full-img {
  width: 100%; height: 100%;
  min-height: 200px;
  background: linear-gradient(160deg, var(--blue-mid), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.event-full-img img { width: 100%; height: 100%; object-fit: cover; }

.event-full-body { padding: 28px; }

.event-badge {
  display: inline-block;
  padding: 4px 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.event-badge.upcoming { background: rgba(30,180,100,0.1); color: #1EB464; }
.event-badge.past { background: rgba(100,100,100,0.1); color: var(--gray); }

.event-full-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.event-full-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray);
}

.event-full-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ==================
   BLACK BELT PAGE
   ================== */
.blackbelt-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.journey-section {
  padding: 80px 0;
  background: var(--blue-dark);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.journey-step {
  background: rgba(255,255,255,0.04);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.journey-step:hover {
  background: rgba(255,255,255,0.08);
  border-top-color: var(--gold);
}

.journey-step-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 4rem;
  color: rgba(242,201,76,0.12);
  line-height: 1;
  position: absolute;
  top: 16px; right: 20px;
}

.journey-step-icon { font-size: 1.8rem; margin-bottom: 16px; }

.journey-step-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.journey-step-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

.bb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bb-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
  position: relative;
}

.bb-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.bb-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--blue-mid), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.bb-photo img { width: 100%; height: 100%; object-fit: cover; }

.bb-belt-tag {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px 16px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.belt-stripe {
  height: 6px;
  flex: 1;
  border-radius: 2px;
}

.belt-1st { background: var(--black); }
.belt-2nd { background: #222; }
.belt-3rd { background: #333; }

.bb-info { padding: 18px; }

.bb-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--blue-dark);
}

.bb-rank {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.bb-year {
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.bb-achievement {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 10px;
  font-style: italic;
}

/* ==================
   GALLERY PAGE
   ================== */
.gallery-section {
  padding: 80px 0;
  background: var(--black);
}

.gallery-filter {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--blue-mid);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-icon { font-size: 2rem; color: var(--white); }

.gallery-cat {
  position: absolute;
  bottom: 12px; left: 12px;
  background: var(--gold);
  padding: 4px 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  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 {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  background: none; border: none;
  transition: var(--transition);
  line-height: 1;
}

.lightbox-close:hover { color: var(--gold); transform: scale(1.2); }

.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.lightbox-nav:hover { background: var(--gold); color: var(--black); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.06);
}

/* ==================
   CONTACT PAGE
   ================== */
.contact-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--blue-dark);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-detail-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 0.9rem;
  color: var(--blue-dark);
  font-weight: 500;
  line-height: 1.5;
}

.social-block { margin-top: 32px; }

.social-block-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 14px;
}

.contact-form-block {
  background: var(--white);
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.form-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.form-sub {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { margin-bottom: 20px; }

.form-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-dark);
  font-weight: 600;
}

.form-input, .form-textarea, .form-select {
  padding: 14px 16px;
  border: 2px solid rgba(0,0,0,0.1);
  background: var(--light-bg);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--blue-dark);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold-dark);
  background: var(--white);
}

.form-input.error, .form-textarea.error { border-color: var(--red-bright); }
.error-msg { font-size: 0.75rem; color: var(--red-bright); margin-top: 4px; display: none; }
.error-msg.show { display: block; }

.form-textarea { resize: vertical; min-height: 120px; }

.map-section {
  padding: 0 0 80px;
  background: var(--light-bg);
}

.map-wrapper {
  width: 100%;
  height: 400px;
  background: var(--blue-mid);
  position: relative;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==================
   SCROLL REVEAL
   ================== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.animate-ready {
  opacity: 0;
  transform: translateY(40px);
}
.reveal.animate-ready.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .bb-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 20px; }
  .hero-text { padding: 40px 0; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-block { display: none; }

  .programs-grid { grid-template-columns: 1fr; }

  .achievements-inner { grid-template-columns: 1fr; gap: 40px; }

  .instructor-inner { grid-template-columns: 1fr; }
  .instructor-card { max-width: 280px; }

  .events-grid { grid-template-columns: 1fr; }
  .events-full-grid { grid-template-columns: 1fr; }
  .event-full-card { grid-template-columns: 1fr; }

  .bb-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery-full-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .g-item:first-child { grid-column: span 2; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-block { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .journey-steps { grid-template-columns: 1fr; }

  .events-header, .gallery-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 480px) {
  .bb-grid { grid-template-columns: 1fr; }
  .achievements-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
}

/* ================================================
   MOBILE FIXES — Complete touch & phone support
   ================================================ */

/* ── Touch targets — all buttons/links min 44px ── */
@media (max-width: 768px) {

  /* General */
  .container { padding: 0 16px; }

  .btn {
    padding: 13px 24px;
    font-size: 0.88rem;
    min-height: 44px;
    touch-action: manipulation;
  }

  /* ── Navbar ── */
  .navbar-inner { padding: 14px 16px; }
  .logo-name { font-size: 1.1rem; }
  .logo-sub  { font-size: 0.55rem; }
  .logo-img  { height: 44px !important; width: 44px !important; }

  /* ── Mobile menu links bigger for fingers ── */
  .mobile-menu a {
    font-size: 2rem;
    padding: 10px 0;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ── Hero ── */
  .hero { min-height: 100svh; }
  .hero-content { padding-top: 90px; padding-bottom: 40px; gap: 0; }
  .hero-text { padding: 0; }
  .hero-title { font-size: clamp(2.6rem, 12vw, 4rem); }
  .hero-desc  { font-size: 0.88rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 36px; padding-top: 24px; }
  .stat-num { font-size: 1.8rem; }
  .stat-label { font-size: 0.65rem; }

  /* ── About ── */
  .about { padding: 60px 0; }
  .about-content { padding-right: 0; }
  .about-content p { font-size: 0.88rem; }
  .philosophy-list { gap: 10px; }
  .philosophy-item { font-size: 0.82rem; }

  /* ── Programs ── */
  .programs { padding: 60px 0; }
  .programs-header { margin-bottom: 40px; }
  .program-card { padding: 28px 20px; }
  .program-name { font-size: 1.4rem; }
  .program-desc { font-size: 0.82rem; }

  /* ── Achievements ── */
  .achievements { padding: 60px 0; }
  .ach-num { font-size: 2.8rem; }
  .achievement-item { padding: 24px 18px; }
  .achievements-text p { font-size: 0.88rem; }

  /* ── Events preview ── */
  .events-preview { padding: 60px 0; }
  .event-card { touch-action: manipulation; }
  .event-body { padding: 18px; }
  .event-name { font-size: 1.25rem; }
  .event-meta { font-size: 0.75rem; flex-wrap: wrap; gap: 4px; }

  /* ── Events page ── */
  .events-section { padding: 50px 0; }
  .filter-bar { width: 100%; flex-wrap: wrap; }
  .filter-btn { flex: 1; min-width: 80px; padding: 10px 12px; font-size: 0.72rem; min-height: 44px; }
  .event-full-card { grid-template-columns: 1fr; }
  .event-full-img  { min-height: 180px; }
  .event-full-body { padding: 20px; }
  .event-full-title { font-size: 1.3rem; }

  /* ── Gallery preview ── */
  .gallery-preview { padding: 60px 0; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 3px;
  }
  .gallery-grid .g-item:first-child { grid-column: span 2; aspect-ratio: 16/9; }
  .g-item { aspect-ratio: 1; }

  /* ── Gallery page ── */
  .gallery-section { padding: 50px 0; }
  .gallery-full-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .gallery-item { aspect-ratio: 1; }
  .gallery-filter { gap: 4px; }
  .gallery-filter .filter-btn { padding: 9px 14px; font-size: 0.72rem; min-height: 44px; }

  /* Lightbox — full screen on mobile */
  .lightbox-img { max-width: 100vw; max-height: 80vh; }
  .lightbox-close { top: 16px; right: 16px; font-size: 1.8rem; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  /* ── Journey / Legacy page ── */
  .journey-section { padding: 50px 0; }
  .journey-step { padding: 24px 18px; }
  .journey-step-title { font-size: 0.85rem; }
  .journey-step-desc  { font-size: 0.8rem; }

  /* ── Contact page ── */
  .contact-section { padding: 50px 0; }
  .contact-form-block { padding: 24px 18px; }
  .contact-info-block { gap: 0; }
  .contact-detail { padding: 16px 0; gap: 12px; }
  .contact-detail-icon { width: 38px; height: 38px; font-size: 1rem; }
  .contact-detail-value { font-size: 0.85rem; }
  .form-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
  .form-input, .form-textarea, .form-select {
    padding: 13px 14px;
    font-size: 1rem;     /* prevents iOS auto-zoom on focus */
    min-height: 44px;
  }
  .form-textarea { min-height: 110px; }
  .map-wrapper { height: 280px; }
  .map-section { padding: 0 0 50px; }

  /* ── Page hero (inner pages) ── */
  .page-hero { padding: 120px 0 56px; }
  .page-hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .page-hero-sub { font-size: 0.78rem; letter-spacing: 0.14em; }

  /* ── Footer ── */
  footer { padding: 56px 0 0; }
  .footer-brand p { max-width: 100%; }

  /* ── Section spacing ── */
  .section-title { font-size: clamp(2rem, 8vw, 3.2rem); }
}

/* ── Extra small phones (≤ 400px) ── */
@media (max-width: 400px) {
  .hero-title { font-size: clamp(2.2rem, 14vw, 3rem); }
  .hero-stats { gap: 12px; }
  .stat-num { font-size: 1.6rem; }
  .contact-form-block { padding: 20px 14px; }
  .form-title { font-size: 1.6rem; }
  .achievement-item { padding: 18px 14px; }
  .ach-num { font-size: 2.4rem; }
  .gallery-full-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 4/3; }
  .filter-btn { padding: 9px 10px; font-size: 0.68rem; }
  .page-hero { padding: 100px 0 48px; }
}

/* ── Landscape phones ── */
@media (max-width: 768px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 90px 0 40px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stats { margin-top: 20px; padding-top: 16px; }
  .page-hero { padding: 90px 0 40px; }
}

/* ── Tap highlight removal & smooth scrolling ── */
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
a, button, .btn, .filter-btn, .gallery-item, .event-card, .program-card {
  touch-action: manipulation;
}
