/* ============================================
   Ki-Aikido Israel Federation - Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #2d1b69;
  --primary-light: #4a3a8a;
  --primary-dark: #1a0f40;
  --accent: #c9a84c;
  --accent-light: #dfc176;
  --accent-dark: #a8872e;
  --bg: #fafaf8;
  --bg-alt: #f0efe8;
  --bg-dark: #1a1a2e;
  --text: #2c2c2c;
  --text-light: #666;
  --text-on-dark: #f0efe8;
  --text-on-primary: #fff;
  --white: #fff;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.3s ease;
  --font-he: 'Heebo', 'Assistant', sans-serif;
  --font-en: 'Inter', 'Segoe UI', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --max-width: 1200px;
  --header-h: 72px;
}

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

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

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

[lang="en"] body,
body.lang-en {
  font-family: var(--font-en);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.bg-primary { background: var(--primary); color: var(--text-on-primary); }
.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--bg-dark); color: var(--text-on-dark); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(45, 27, 105, 0.95);
  backdrop-filter: blur(10px);
  height: var(--header-h);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  background: rgba(26, 15, 64, 0.98);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 10000;
  white-space: nowrap;
}

.logo-icon {
  width: 44px;
  height: 44px;
}

.logo-text {
  font-size: 1.1rem;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 1px;
}

/* --- Navigation --- */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav a {
  color: rgba(255,255,255,0.85);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
}

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

.lang-switch {
  margin-inline-start: 6px;
  padding: 4px 10px !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 50px !important;
  font-size: 0.8rem !important;
}

.lang-switch:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: transparent !important;
}

/* --- Mobile Menu --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 10000;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  position: absolute;
  transition: all var(--transition);
  border-radius: 2px;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-toggle.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
  background-image: linear-gradient(135deg, rgba(26,15,64,0.82), rgba(45,27,105,0.78), rgba(74,58,138,0.75)), url('../images/japan/japan-group-1.jpg');
  background-size: cover;
  background-position: center 30%;
  padding-top: var(--header-h);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(201,168,76,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,0.5) 49px, rgba(255,255,255,0.5) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255,255,255,0.5) 49px, rgba(255,255,255,0.5) 50px);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 2rem;
}

.hero-kanji {
  font-family: var(--font-jp);
  font-size: clamp(3rem, 8vw, 5rem);
  opacity: 0.15;
  margin-bottom: -1rem;
  letter-spacing: 0.3em;
}

.hero h1 {
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  opacity: 0.9;
  margin-bottom: 2rem;
  font-weight: 300;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.5);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* --- Sections --- */
section {
  padding: 5rem 0;
}

/* --- Philosophy Section --- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.philosophy-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.philosophy-card .card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.philosophy-card .card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.philosophy-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.philosophy-card .jp-text {
  font-family: var(--font-jp);
  font-size: 0.85rem;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

.philosophy-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- About Section --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.about-image-kanji {
  font-family: var(--font-jp);
  font-size: 8rem;
  color: rgba(255,255,255,0.08);
  position: absolute;
  z-index: 1;
}

.about-image-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-image-circle::before {
  content: '合';
  font-family: var(--font-jp);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.6;
}

.about-text h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.about-text .founder-quote {
  border-inline-start: 3px solid var(--accent);
  padding-inline-start: 1.5rem;
  font-style: italic;
  color: var(--primary);
  margin: 1.5rem 0;
}

.about-text .founder-name {
  font-weight: 600;
  color: var(--text);
}

/* --- Benefits Section --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border-inline-start: 4px solid var(--accent);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.benefit-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-card h3 svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- Instructor Section --- */
.instructor-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}

.instructor-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.instructor-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

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

.instructor-photo svg {
  width: 80px;
  height: 80px;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}

.instructor-info h2 {
  margin-bottom: 0.25rem;
}

.instructor-info .rank {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.instructor-info p {
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.instructor-milestones {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.milestone {
  background: rgba(255,255,255,0.1);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 120px;
}

.milestone .year {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.milestone .label {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* --- Schedule Section --- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.location-card:hover {
  box-shadow: var(--shadow-lg);
}

.location-header {
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.location-header svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.location-header h3 {
  font-size: 1.3rem;
}

.location-header .status {
  margin-inline-start: auto;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 500;
}

.status-active {
  background: rgba(37,211,102,0.2);
  color: #25d366;
}

.status-soon {
  background: rgba(201,168,76,0.2);
  color: var(--accent);
}

.location-body {
  padding: 2rem;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row .day {
  font-weight: 600;
  color: var(--primary);
}

.schedule-row .time {
  color: var(--text-light);
  font-size: 0.95rem;
}

.location-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.location-details p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.location-details svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --- Pricing Section --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  border: 2px solid transparent;
}

.price-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured {
  border-color: var(--accent);
}

.price-card.featured::before {
  content: attr(data-label);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary-dark);
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.price-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.price-period {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.price-features {
  text-align: start;
  margin-bottom: 1.5rem;
}

.price-features li {
  padding: 0.4rem 0;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.price-features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  text-align: start;
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(45, 27, 105, 0.03);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--accent);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.contact-method:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-lg);
}

[dir="ltr"] .contact-method:hover {
  transform: translateX(4px);
}

.contact-method .method-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method .method-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-method .method-text {
  font-weight: 600;
  color: var(--primary);
}

.contact-method .method-detail {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 27, 105, 0.1);
}

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

.form-group input[type="tel"],
.form-group input[type="email"] {
  direction: ltr;
  text-align: start;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about .logo {
  margin-bottom: 1rem;
}

.footer-about p {
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-links h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  padding: 0.3rem 0;
  opacity: 0.7;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-bottom a {
  opacity: 0.8;
}

.footer-bottom a:hover {
  opacity: 1;
  color: var(--accent);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  animation: pulse-wa 2s infinite;
}

[dir="ltr"] .whatsapp-float {
  left: auto;
  right: 24px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* --- Gallery Section --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

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

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

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--transition);
}

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

/* --- Location Card Image --- */
.location-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 1;
  }

  .instructor-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .instructor-photo {
    margin: 0 auto;
  }

  .instructor-milestones {
    justify-content: center;
  }

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

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

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  section {
    padding: 3.5rem 0;
  }

  .header {
    background: #2d1b69;
  }

  .header.scrolled {
    background: #1a0f40;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 15, 64, 0.85);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
  }

  .nav.open,
  .nav.active {
    visibility: visible;
    opacity: 1;
  }

  .nav {
    overflow-y: auto;
    padding: 80px 20px 40px;
  }

  .nav a {
    font-size: 0.95rem;
    padding: 8px 20px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  }

  .lang-switch {
    margin-inline-start: 0;
    margin-top: 0.5rem;
    border: 2px solid var(--accent) !important;
    color: var(--accent) !important;
    font-size: 0.85rem !important;
    padding: 6px 16px !important;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-kanji {
    font-size: 2.5rem;
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .instructor-photo {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 92%;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .price-card {
    padding: 2rem 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .milestone {
    min-width: 100px;
    padding: 0.5rem 0.75rem;
  }
}

/* --- Print --- */
@media print {
  .header, .whatsapp-float, .hero-scroll, .menu-toggle {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  section {
    padding: 2rem 0;
    break-inside: avoid;
  }
}
