/* ============================================================
   ЙОГА КЛУБ АРХАТ — Landing Page Styles
   Мистическая тёмная палитра по флаеру
   ============================================================ */

:root {
  /* Основные цвета */
  --bg-deep: #0a0e1a;
  --bg-dark: #0d1321;
  --bg-card: #12182a;
  --bg-card-hover: #1a2238;
  
  /* Акценты */
  --accent-gold: #d4a84b;
  --accent-gold-light: #e8c87a;
  --accent-emerald: #2d9b7a;
  --accent-emerald-light: #3db896;
  --accent-sky: #6b9ec2;
  --accent-purple: #7b5ea7;
  --accent-orange: #e07a3d;
  --accent-pink: #c45c8a;
  
  /* Текст */
  --text-white: #f5f5f7;
  --text-light: #c8cdd8;
  --text-muted: #8a93a8;
  
  /* Градиенты */
  --gradient-hero: linear-gradient(180deg, rgba(10,14,26,0.3) 0%, rgba(10,14,26,0.85) 60%, rgba(10,14,26,1) 100%);
  --gradient-card: linear-gradient(145deg, rgba(26,34,56,0.9), rgba(13,19,33,0.95));
  
  /* Шрифты */
  --font-display: 'Cinzel', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Размеры */
  --container: 1180px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  background: var(--bg-deep);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all var(--transition);
}
.btn-cta {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  color: var(--bg-deep);
  box-shadow: 0 4px 24px rgba(212, 168, 75, 0.35);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 168, 75, 0.5);
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
}
.btn-outline {
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(212, 168, 75, 0.12);
  transform: translateY(-2px);
}
.btn-large { padding: 18px 42px; font-size: 15px; }
.btn-block { width: 100%; }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), padding var(--transition);
  box-sizing: border-box;
}
.site-header.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(212, 168, 75, 0.15);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
  line-height: 0;
  border-radius: 50%;
  transition: transform var(--transition), opacity var(--transition);
}
.logo:hover {
  opacity: 0.92;
  transform: scale(1.04);
}
.logo-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 0 1px rgba(212, 168, 75, 0.35), 0 4px 16px rgba(0, 0, 0, 0.35);
}
/* text logo still used in footer */
.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-white);
  line-height: 1;
}
.logo-sub {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: 2px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 20px;
  justify-self: center;
}
.main-nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 4px 2px;
}
.main-nav a:hover { color: var(--accent-gold); }
.header-cta {
  padding: 10px 22px;
  font-size: 12px;
  justify-self: end;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta { display: none; }
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  justify-self: end;
  z-index: 2;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #0a0e1a;
  /* Desktop: landscape image (JPEG fallback) */
  background-image: url('../images/hero-desktop.webp');
}
/* WebP for modern browsers (desktop) */
@supports (background-image: url('x.webp')) {
  .hero-bg {
    background-image: url('../images/hero-desktop.webp');
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 60px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--accent-gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 120px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 28px;
  text-shadow: 0 0 60px rgba(107, 158, 194, 0.4);
}
.hero-quote {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2.5vw, 22px);
  font-style: italic;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
  opacity: 0.9;
}
.hero-address {
  margin-top: 32px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===================== SECTIONS COMMON ===================== */
.section {
  padding: 100px 0;
  position: relative;
}
.section-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================== ABOUT ===================== */
.about {
  background: var(--bg-dark);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,155,122,0.15), rgba(123,94,167,0.15));
}
.about-lead {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.5;
}
.about-content p {
  margin-bottom: 16px;
  color: var(--text-light);
}
.about-values {
  margin: 28px 0;
}
.about-values li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-light);
}
.value-icon {
  color: var(--accent-emerald);
  font-size: 14px;
}
.about-motto {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent-gold);
  border-left: 2px solid var(--accent-gold);
  padding-left: 16px;
  margin-top: 24px;
}

.about-cta {
  margin-top: 28px;
}


/* ===================== PRACTICES ===================== */

/* Founder block under About */
.founder-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid rgba(212, 168, 75, 0.15);
}
.founder-lead {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--accent-gold);
  margin-bottom: 16px;
}
.founder-content p {
  margin-bottom: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.founder-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.founder-photo {
  aspect-ratio: 3/4;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: rgba(26, 34, 56, 0.8);
  border: 1px solid rgba(212, 168, 75, 0.15);
  min-height: 180px;
}
@media (max-width: 768px) {
  .founder-block {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 48px;
    padding-top: 40px;
  }
  .founder-photos {
    grid-template-columns: 1fr 1fr;
  }
}

.practices {
  background: var(--bg-deep);
}
.practices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.practice-card {
  background: var(--gradient-card);
  border: 1px solid rgba(212, 168, 75, 0.12);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.practice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.practice-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 168, 75, 0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.practice-card:hover::before { opacity: 1; }
.practice-icon {
  font-size: 28px;
  color: var(--accent-emerald);
  margin-bottom: 16px;
  opacity: 0.9;
}
.practice-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.practice-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================== TOURS ===================== */
.tours {
  background: var(--bg-dark);
}
.tours-geo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.geo-tag {
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent-sky);
  border: 1px solid rgba(107, 158, 194, 0.3);
  border-radius: 50px;
  background: rgba(107, 158, 194, 0.08);
}
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tour-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}
.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border-color: rgba(212, 168, 75, 0.25);
}
.tour-image {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: #1a2238;
  position: relative;
}
.tour-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,19,33,0.7), transparent 50%);
}
.tour-body {
  padding: 24px;
}
.tour-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-white);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.tour-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ===================== TRAINING ===================== */
.training {
  background: var(--bg-deep);
}
.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.training-lead {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text-white);
  margin-bottom: 24px;
  line-height: 1.5;
}
.training-list {
  margin-bottom: 24px;
}
.training-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
  color: var(--text-light);
}
.training-list li::before {
  content: '✧';
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-size: 12px;
}
.training-format {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.training-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ===================== EVENTS ===================== */
.events {
  background: var(--bg-dark);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.event-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}
.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 94, 167, 0.3);
}
.event-image {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: #1a2238;
}
.event-body {
  padding: 20px;
}
.event-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-white);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.event-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.events-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===================== SCHEDULE ===================== */
.schedule {
  background: var(--bg-deep);
}
.schedule-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 168, 75, 0.15);
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.schedule-table th {
  background: rgba(212, 168, 75, 0.12);
  color: var(--accent-gold);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 16px 24px;
  text-align: left;
}
.schedule-table td {
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-light);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table .day-off td {
  color: var(--text-muted);
  font-style: italic;
}
.schedule-table tbody tr:hover td {
  background: rgba(255,255,255,0.02);
}
.schedule-cta {
  text-align: center;
  margin-top: 40px;
}

/* ===================== PRICING ===================== */
.pricing {
  background: var(--bg-dark);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--gradient-card);
  border: 1px solid rgba(212, 168, 75, 0.12);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 168, 75, 0.35);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.price-card.featured {
  border-color: var(--accent-gold);
  background: linear-gradient(145deg, rgba(212,168,75,0.12), rgba(13,19,33,0.95));
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  color: var(--bg-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50px;
}
.price-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 12px;
}
.price-options {
  margin-bottom: 12px;
}
.price-option {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
  color: var(--text-light);
}
.price-option strong { color: var(--accent-gold); }
.price-note {
  font-size: 13px;
  color: var(--accent-emerald);
  margin-bottom: 8px;
}
.price-card > p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ===================== COMMUNITY / GALLERY ===================== */
.community {
  background: var(--bg-deep);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card);
  transition: transform var(--transition);
  cursor: pointer;
}
.gallery-item:hover {
  transform: scale(1.03);
}

/* ===================== CONTACTS ===================== */
.contacts {
  background: var(--bg-dark);
}
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-item {
  margin-bottom: 28px;
}
.contact-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}
.contact-item p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
}
.contact-item a {
  color: var(--text-light);
}
.contact-item a:hover { color: var(--accent-gold); }
.social-links {
  display: flex;
  gap: 16px;
}
.social-link {
  padding: 8px 20px;
  border: 1px solid rgba(212, 168, 75, 0.3);
  border-radius: 50px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
  transition: all var(--transition);
}
.social-link:hover {
  background: rgba(212, 168, 75, 0.12);
}

.contacts-map {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 75, 0.2);
  background: rgba(26, 34, 56, 0.6);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.map-frame-wrap {
  position: relative;
  flex: 1;
  min-height: 300px;
}
.map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-photo {
  flex: 1;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-color: rgba(26, 34, 56, 0.8);
}
.map-photo[hidden] { display: none !important; }
.map-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(10, 14, 26, 0.92);
  border-top: 1px solid rgba(212, 168, 75, 0.15);
  font-size: 13px;
  color: var(--text-muted);
}
.map-route {
  color: var(--accent-gold);
  white-space: nowrap;
}
.map-route:hover { text-decoration: underline; }
.map-placeholder {

  aspect-ratio: 4/3;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand .logo-text {
  font-size: 20px;
  display: block;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.5;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.footer-links a:hover { color: var(--accent-gold); }
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-social a:hover { color: var(--accent-gold); }
.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 24px;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--bg-card);
  border: 1px solid rgba(212, 168, 75, 0.2);
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.modal-overlay.active .modal {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  color: var(--text-muted);
  line-height: 1;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--text-white); }
.modal h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text-white);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-align: center;
}
.modal-sub {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.5;
}
.field-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--text-white);
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid rgba(212, 168, 75, 0.25);
  border-radius: 10px;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input::placeholder {
  color: var(--text-muted);
}
.form-group input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.15);
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
  cursor: pointer;
  line-height: 1.4;
}
.checkbox-label input {
  margin-top: 3px;
  accent-color: var(--accent-gold);
  flex-shrink: 0;
}
.form-success {
  text-align: center;
  padding: 20px 0;
}
.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(45, 155, 122, 0.2);
  color: var(--accent-emerald);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.form-success p {
  font-size: 16px;
  color: var(--text-white);
}



/* ===== New pricing tables ===== */
.pricing-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 2vw, 18px);
  max-width: 640px;
  margin: 0 auto 8px;
  opacity: 0.9;
  line-height: 1.55;
}
.pricing-block {
  margin-bottom: 48px;
}
.pricing-subtitle {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-align: center;
}
.pricing-single {
  text-align: center;
  margin-bottom: 24px;
  color: var(--text-light);
  font-size: 16px;
}
.pricing-single strong {
  color: var(--text-white);
  font-size: 20px;
}
.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 168, 75, 0.2);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.pricing-table th,
.pricing-table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pricing-table th {
  background: rgba(26, 34, 56, 0.9);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
  text-transform: uppercase;
}
.pricing-table th .th-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-muted);
  text-transform: none;
  margin-top: 4px;
}
.pricing-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-white);
  white-space: nowrap;
}
.pricing-table tbody tr:hover {
  background: rgba(212, 168, 75, 0.06);
}
.pricing-table .save {
  display: block;
  font-size: 12px;
  color: var(--accent-gold);
  opacity: 0.85;
  margin-top: 4px;
}
.pricing-note-small {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}
.pricing-cta {
  text-align: center;
  margin-top: 16px;
}

/* Hero mobile: portrait image */
@media (max-width: 768px) {
  .hero-bg {
    background-image: url('../images/hero-mobile.webp');
    background-position: center center;
  }
  @supports (background-image: url('x.webp')) {
    .hero-bg {
      background-image: url('../images/hero-mobile.webp');
    }
  }
}

/* ===================== RESPONSIVE ===================== */

/* Планшет широкий */
@media (max-width: 1024px) {
  .practices-grid { grid-template-columns: repeat(2, 1fr); }
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Узкий десктоп / большой планшет: бургер раньше, чтобы меню не «сползало» */
@media (max-width: 960px) {
  .logo-img {
    width: 42px;
    height: 42px;
  }
  .header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    transform: none;
    margin: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 16px 12px 20px;
    gap: 2px;
    border: 1px solid rgba(212, 168, 75, 0.2);
    border-radius: 12px;
    align-items: stretch;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open a {
    display: block;
    width: 100%;
    font-size: 15px;
    letter-spacing: 0.06em;
    padding: 14px 12px;
    color: var(--text-muted);
    border-radius: 8px;
  }
  .main-nav.open a:hover,
  .main-nav.open a:active {
    color: var(--accent-gold);
    background: rgba(212, 168, 75, 0.08);
  }
  .main-nav.open .nav-cta {
    display: inline-flex;
    align-self: center;
    margin-top: 12px;
    padding: 12px 28px;
    font-size: 13px;
  }
  .burger {
    display: flex;
    order: 3;
  }
  .header-cta {
    display: none;
  }
  .logo-text { font-size: 20px; }
  .site-header {
    padding: 12px 0;
  }
  .site-header.scrolled {
    padding: 8px 0;
  }
  .header-inner {
    position: relative;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: clamp(24px, 7vw, 34px);
  }

  .section-desc {
    font-size: 15px;
  }

  .hero {
    min-height: 100svh;
    min-height: 100vh;
  }

  .hero-content {
    padding-top: 88px;
    padding-bottom: 48px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .hero-title {
    letter-spacing: 0.06em;
    font-size: clamp(42px, 14vw, 72px);
  }

  .hero-quote {
    font-size: clamp(15px, 3.8vw, 18px);
    margin-bottom: 28px;
  }

  .hero-scroll {
    display: none;
  }

  .about-grid,
  .training-grid,
  .contacts-grid,
  .founder-block {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-image,
  .training-image {
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }

  .founder-photos {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .practices-grid,
  .tours-grid,
  .events-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .practice-card {
    padding: 24px 20px;
  }

  .tours-geo {
    justify-content: center;
    gap: 8px;
  }

  .geo-tag {
    font-size: 11px;
    padding: 6px 10px;
  }

  .schedule-table-wrap,
  .pricing-table-wrap {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .schedule-table,
  .pricing-table {
    min-width: 480px;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-link {
    font-size: 12px;
    padding: 8px 12px;
  }

  .map-frame-wrap,
  .contacts-map {
    min-height: 260px;
  }

  .map-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .footer-brand p {
    max-width: none;
    margin: 0 auto;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
  }

  .footer-social {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 14px;
  }

  .section-cta {
    margin-top: 28px;
  }

  .modal {
    margin: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .logo-img {
    width: 38px;
    height: 38px;
  }

  .logo-text {
    font-size: 18px;
    letter-spacing: 0.12em;
  }

  .logo-sub {
    font-size: 9px;
  }

  .hero-title {
    font-size: clamp(36px, 13vw, 52px);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .founder-photos {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    aspect-ratio: 4 / 3;
    min-height: 160px;
  }

  .modal {
    padding: 28px 18px;
  }

  .pricing-table,
  .schedule-table {
    font-size: 13px;
  }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  margin: 16px 0 8px;
  grid-column: 1 / -1;
}
.footer-legal a {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-legal a:hover { color: var(--accent-gold); }
.checkbox-label a {
  color: var(--accent-gold);
  text-decoration: underline;
}

/* Multi-photo card badge */
.media-gallery {
  cursor: pointer;
  position: relative;
}
.gallery-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 16px;
  background: rgba(10, 14, 26, 0.75);
  border: 1px solid rgba(212, 168, 75, 0.55);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}
.media-gallery:hover .gallery-badge {
  background: rgba(212, 168, 75, 0.25);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 8, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 56px;
}
.lightbox[hidden] { display: none !important; }
.lightbox-img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close { top: 16px; right: 16px; font-size: 32px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(212, 168, 75, 0.25);
  border-color: var(--accent-gold);
}
.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 640px) {
  .lightbox { padding: 56px 12px 40px; }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 22px; }
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}
