/* ============================================
   Aikidoka Dojo — Main Stylesheet
   Minimalist, Japanese-inspired, RTL-first
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Colors — parchment, navy, red */
  --color-bg: #e8e1d4;
  --color-bg-alt: #ddd5c6;
  --color-bg-dark: #1e2d4a;
  --color-text: #1e2a3a;
  --color-text-light: #4a5568;
  --color-text-on-dark: #ffffff;
  --color-accent: #f26b5f;
  --color-accent-hover: #e05a4e;
  --color-border: #c4b9a8;
  --color-overlay: rgba(30, 45, 74, 0.65);

  /* Typography */
  --font-body: 'Heebo', sans-serif;
  --font-display: 'Heebo', sans-serif;
  --font-display-en: 'Heebo', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-width: 1100px;
  --nav-height: 64px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

a:hover {
  color: var(--color-accent-hover);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: var(--space-sm);
}

p:last-child {
  margin-bottom: 0;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
  transition: background var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 48px;
  width: auto;
}

/* Phone in header */
.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  direction: ltr;
}

.header-phone:hover {
  color: var(--color-accent-hover);
}

/* Desktop nav */
.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
  z-index: 110;
}

.nav-item:hover .nav-dropdown,
.nav-item.dropdown-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.6rem var(--space-sm);
  font-size: 0.88rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown a:last-child {
  border-bottom: none;
}

.nav-dropdown a:hover {
  background: var(--color-bg-alt);
  color: var(--color-accent);
}

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-base);
  border-radius: 1px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  z-index: 99;
  padding: var(--space-md);
}

[dir="rtl"] .mobile-nav {
  transform: translateX(-100%);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-group {
  margin-bottom: var(--space-md);
}

.mobile-nav-group-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-accent);
  margin-bottom: var(--space-xs);
}

.mobile-nav-group a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.mobile-nav-group a:hover,
.mobile-nav-group a.active {
  color: var(--color-accent);
}

.mobile-nav-phone {
  display: block;
  text-align: center;
  padding: var(--space-sm);
  margin-top: var(--space-md);
  background: var(--color-accent);
  color: #fff !important;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  direction: ltr;
}

.mobile-nav-phone:hover {
  background: var(--color-accent-hover);
  color: #fff !important;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--nav-height);
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
}

.hero--short {
  min-height: 50vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__bg[style*="background-image"] {
  filter: brightness(0.5);
}

/* Dark overlay on hero for text readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  color: var(--color-text-on-dark);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  max-width: 760px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Sections --- */
.section {
  padding: var(--space-lg) 0;
}

.section:has(.video-figure) {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-text-on-dark);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

/* --- Page Image --- */
.page-image {
  max-width: 780px;
  margin: var(--space-md) auto;
  border-radius: 10px;
  overflow: hidden;
}

.page-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-image--hero {
  max-width: none;
  margin: 0 0 var(--space-md);
  border-radius: 0;
  max-height: 400px;
}

.page-image--hero img {
  max-height: 400px;
  object-fit: cover;
  width: 100%;
}

/* --- Video Container (for embedded videos) --- */
.video-container {
  margin: var(--space-lg) 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-bg-dark);
  padding: var(--space-md);
}

.video-container h3 {
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
}

.video-container iframe {
  display: block;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .video-container {
    padding: var(--space-sm);
  }

  .video-container iframe {
    height: auto;
    min-height: 250px;
  }
}

/* --- Video Figure (inline video with caption) --- */
.video-figure {
  max-width: 780px;
  margin: 0 auto;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

figcaption {
  margin-top: var(--space-xs);
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-align: center;
}

.video-figure figcaption {
  margin-top: var(--space-xs);
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-align: center;
}

/* --- Schedule Grid --- */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

.schedule-location {
  background: var(--color-bg);
  padding: var(--space-sm);
  border-radius: 10px;
  border-right: 4px solid var(--color-accent);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

a.schedule-location:hover {
  border-right-color: var(--color-bg-dark);
  transform: translateY(-3px);
}

.schedule-venue,
.schedule-location__note {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-bottom: var(--space-sm);
}

.schedule-location h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
}

.schedule-venue {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: var(--space-sm);
}

.schedule-location ul {
  list-style: none;
  padding: 0;
}

.schedule-location li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

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

.schedule-note {
  text-align: center;
  margin-top: var(--space-lg);
  opacity: 0.8;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .schedule-location {
    padding: var(--space-sm);
  }
}

.section__header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin: 1.2rem auto 0;
}

/* Eyebrow label above section headings */
.section__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

/* --- Split Section (text + image side by side) --- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.split-section__text {
  font-size: 1.05rem;
  line-height: 1.9;
}

.split-section__text p {
  margin-bottom: var(--space-sm);
}

.split-section__text p:last-child {
  margin-bottom: 0;
}

.split-section__image {
  border-radius: 10px;
  overflow: hidden;
}

.split-section--reverse .split-section__text {
  order: 2;
}
.split-section--reverse .split-section__image {
  order: 1;
}

.split-section__image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

@media (max-width: 767px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .split-section__image {
    order: -1;
  }

  .split-section--reverse .split-section__text {
    order: initial;
  }
  .split-section--reverse .split-section__image {
    order: -1;
  }
}

/* --- Content Block --- */
.content-block {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
}

.content-block--centered {
  text-align: center;
  max-width: 680px;
}

.content-block h3 {
  margin-top: var(--space-md);
}

.video-container h3,
.video-figure h3 {
  margin-top: 0;
}

.content-block ul,
.content-block ol {
  margin-bottom: var(--space-sm);
  padding-right: var(--space-md);
}

[dir="ltr"] .content-block ul,
[dir="ltr"] .content-block ol {
  padding-right: 0;
  padding-left: var(--space-md);
}

.content-block li {
  margin-bottom: var(--space-xs);
  position: relative;
}

.content-block ul li::before {
  content: '·';
  font-weight: 700;
  font-size: 1.4em;
  color: var(--color-accent);
  position: absolute;
  right: calc(var(--space-md) * -0.75);
}

[dir="ltr"] .content-block ul li::before {
  right: auto;
  left: calc(var(--space-md) * -0.75);
}

/* --- Sensei Profile --- */
.sensei-profile {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.sensei-profile:last-child {
  border-bottom: none;
}

.sensei-profile__portrait {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.sensei-profile__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(30%);
}

.sensei-profile__text h3 {
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .sensei-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* --- Member Cards --- */
.member-card {
  display: grid;
  grid-template-columns: 1fr 110px;
  grid-template-rows: auto auto;
  column-gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border, #e8e4de);
}

.member-card:last-child {
  border-bottom: none;
}

.member-card img {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  align-self: start;
}

.member-card h3 {
  grid-column: 1;
  grid-row: 1;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.member-card p {
  grid-column: 1;
  grid-row: 2;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.card {
  background: var(--color-bg);
  border: none;
  border-top: 3px solid var(--color-border);
  border-radius: 0;
  padding: var(--space-md) var(--space-sm);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.card:hover {
  border-top-color: var(--color-accent);
  transform: translateY(-4px);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

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

.card__venue {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

/* --- Schedule Table --- */
.schedule-table {
  width: auto;
  min-width: 280px;
  max-width: 420px;
  border-collapse: collapse;
  margin: var(--space-md) auto;
  font-size: 0.95rem;
}

.schedule-table th,
.schedule-table td {
  padding: 0.75rem var(--space-sm);
  border-bottom: 1px solid var(--color-border);
  text-align: right;
  white-space: nowrap;
}

[dir="ltr"] .schedule-table th,
[dir="ltr"] .schedule-table td {
  text-align: left;
}

.schedule-table th {
  font-weight: 700;
  background: var(--color-bg-alt);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.schedule-table thead tr th:first-child {
  border-radius: 0 10px 0 0;
}

.schedule-table thead tr th:last-child {
  border-radius: 10px 0 0 0;
}

.card .card__text:last-child {
  text-align: center;
  margin-top: var(--space-sm);
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

/* --- Testimonials Slider (Swiper) --- */
.testimonials-section {
  padding: var(--space-lg) 0;
  background: var(--color-bg-alt);
}

.testimonials-section .section__header h2::after {
  background: var(--color-accent);
}

.testimonials-swiper {
  width: 100%;
  padding: var(--space-sm) 0 var(--space-lg);
  overflow: hidden;
}

.testimonial-slide {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition-base);
}

.testimonial-slide:hover {
  transform: scale(1.02);
}

.testimonial-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 25%, transparent 60%);
}

.testimonial-slide__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 3rem;
  color: #fff;
  opacity: 0.9;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.testimonial-slide:hover .testimonial-slide__play {
  opacity: 1;
  transform: translate(-50%, -55%) scale(1.1);
}

.testimonial-slide__info {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-md);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.testimonial-slide__info strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.testimonial-slide__info span {
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Swiper nav overrides */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  color: #fff;
  background: var(--color-accent);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  /* Align arrows to center of the 16:9 slide image, not the whole swiper
     The swiper-wrapper height = slide height. Pagination adds ~40px below.
     top 50% already works with swiper default; adjust if pagination pushes it. */
  top: calc(50% - 20px);
}

.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
  font-size: 13px;
  font-weight: 800;
}

.testimonials-swiper .swiper-pagination-bullet {
  background: var(--color-border);
  opacity: 1;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: var(--color-accent);
}

/* --- Video Modal --- */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.video-modal.is-open {
  display: flex;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

.video-modal__content {
  position: relative;
  width: min(900px, 92vw);
  z-index: 1;
}

.video-modal__close {
  position: absolute;
  top: -44px;
  left: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.video-modal__close:hover {
  opacity: 1;
}

.video-modal__embed {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal__embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- FAQ Questions List --- */
.faq-questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}

.faq-question {
  display: block;
  padding: var(--space-md) var(--space-md);
  border-bottom: 1px solid var(--color-border);
  border-right: 3px solid transparent;
  color: var(--color-text);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color var(--transition-fast), color var(--transition-fast), padding var(--transition-fast);
}

.faq-question:hover {
  border-right-color: var(--color-accent);
  color: var(--color-accent);
  padding-right: calc(var(--space-md) + 4px);
}

@media (max-width: 640px) {
  .faq-questions {
    grid-template-columns: 1fr;
  }
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.cta-section h2 {
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-sm);
}

.cta-section p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-text-on-dark);
  border: 2px solid var(--color-text-on-dark);
}

.btn--outline:hover {
  background: var(--color-text-on-dark);
  color: var(--color-bg-dark);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-text);
}

.btn--outline-dark:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-group {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

/* Constrain sibling paragraphs to match the form width */
.container:has(.contact-form) > p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem var(--space-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

/* --- FAQ / Accordion --- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-sm) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
}

[dir="ltr"] .faq-question {
  text-align: left;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-right: var(--space-sm);
}

[dir="rtl"] .faq-question::after {
  margin-right: 0;
  margin-left: var(--space-sm);
}

.faq-item.open .faq-question::after {
  content: '−';
}

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

.faq-answer__inner {
  padding-bottom: var(--space-sm);
  color: var(--color-text-light);
  line-height: 1.8;
}

/* --- Footer --- */
.site-footer {
  background: #2d2d2d;
  color: var(--color-text-on-dark);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
}

.footer-col a {
  display: block;
  color: rgba(240, 236, 230, 0.7);
  font-size: 0.9rem;
  padding: 0.25rem 0;
}

.footer-col a:hover {
  color: var(--color-text-on-dark);
}

.footer-phone {
  font-size: 1.3rem;
  font-weight: 700;
  display: block;
  text-align: right;
  color: var(--color-text-on-dark) !important;
  direction: ltr;
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(240, 236, 230, 0.5);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  color: rgba(240, 236, 230, 0.6);
  font-size: 0.9rem;
}

.footer-social a:hover {
  color: var(--color-text-on-dark);
}

.footer-social__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(240, 236, 230, 0.8);
  transition: background 0.2s, color 0.2s;
}

.footer-social__icon:hover {
  background: #1877f2;
  color: #fff;
}

/* --- Scroll 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);
}

/* --- Utility --- */
.text-center {
  text-align: center;
}

.phone-link {
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 600;
  color: var(--color-accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Responsive --- */
@media (min-width: 768px) {
  .main-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .header-inner {
    gap: var(--space-sm);
  }
}

@media (max-width: 767px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 5rem;
  }

  /* Hide header phone on mobile — phone is visible in mobile nav */
  .header-phone {
    display: none;
  }

  .hero {
    min-height: 50vh;
  }

  .hero--short {
    min-height: 30vh;
  }

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

  .schedule-table {
    font-size: 0.85rem;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 0.5rem;
  }

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

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

/* --- English page overrides --- */
[dir="ltr"] {
  font-family: 'Heebo', sans-serif;
}

[dir="ltr"] h1,
[dir="ltr"] h2,
[dir="ltr"] h3,
[dir="ltr"] h4 {
  font-family: var(--font-display-en);
}

/* --- YouTube thumbnail embed --- */
.yt-embed {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.yt-embed img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.yt-embed:hover img {
  opacity: 0.85;
}

.yt-embed button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: rgba(180, 0, 0, 0.88);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  pointer-events: none;
}

.yt-embed:hover button {
  background: #c00;
  transform: translate(-50%, -50%) scale(1.08);
}

.yt-embed button::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 9px 0 9px 18px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  top: 50%; left: 55%;
  transform: translate(-50%, -50%);
}

/* --- YouTube modal --- */
#yt-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

#yt-modal.is-open {
  display: flex;
}

#yt-modal-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
}

#yt-modal-close {
  position: absolute;
  top: -2.5rem;
  left: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.15s;
}

#yt-modal-close:hover {
  opacity: 1;
}

#yt-modal-frame-wrap {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

#yt-modal-frame-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* --- Floating Contact Buttons --- */
.floating-contact {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 900;
}

.floating-contact__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  text-decoration: none;
  transition: width var(--transition-base), opacity var(--transition-fast);
  opacity: 0.85;
}

.floating-contact__btn:hover {
  opacity: 1;
  filter: brightness(1.12);
  color: #fff;
}

.floating-contact__btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.floating-contact__btn--wa {
  background-color: #25D366;
  border-radius: 0 10px 0 0;
}

.floating-contact__btn--phone {
  background-color: #1a73e8;
  border-radius: 0 0 10px 0;
}

.floating-contact__btn--fb {
  background-color: #e8f0fe;
}

.floating-contact__btn--fb svg {
  color: #1877F2;
}

@media (max-width: 600px) {
  .floating-contact__btn {
    width: 44px;
    height: 44px;
  }
}

@media print {
  .floating-contact { display: none; }
}

/* --- Print --- */
@media print {
  .site-header,
  .mobile-nav,
  .menu-toggle {
    display: none;
  }

  .hero {
    min-height: auto;
    margin-top: 0;
  }

  .section {
    padding: var(--space-md) 0;
  }
}
