/* Основы символизма — page-specific styles.
   lang-switch стили в /css/components/lang-switch.css. */

body { background: var(--bg); }

/* ─── HERO ─── */
.sym-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 32px;
  min-height: 100vh;
}

.sym-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sym-hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.85);
}

.sym-hero__video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.5) 60%, var(--bg) 100%);
}

.sym-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.sym-hero__eye {
  font-size: clamp(56px, 10vw, 90px);
  display: block;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 30px rgba(216, 201, 153, 0.25));
  animation: floatEye 6s ease-in-out infinite;
}

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

.sym-hero__label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.sym-hero__title {
  font-family: 'Cormorant Garamond', 'Forum', Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.sym-hero__sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: var(--gold-dim);
  font-style: italic;
  margin-bottom: 32px;
}

.sym-hero__divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: 0 auto 32px;
}

.sym-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, rgba(212,168,83,0.15), rgba(212,168,83,0.05));
  border: 1px solid rgba(212,168,83,0.3);
  border-radius: 60px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
}

.sym-hero__cta:hover {
  background: linear-gradient(135deg, rgba(212,168,83,0.25), rgba(212,168,83,0.1));
  border-color: rgba(212,168,83,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,168,83,0.15);
}

/* ─── ФИЛОСОФИЯ ─── */
.sym-philosophy {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.sym-philosophy::before {
  content: '☿';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(100px, 18vw, 240px);
  opacity: 0.03;
  pointer-events: none;
}

.sym-philosophy__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.sym-philosophy__icon {
  font-size: 36px;
  display: block;
  margin-bottom: 32px;
  opacity: 0.6;
}

.sym-philosophy__text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: var(--text-soft);
  line-height: 2;
  font-style: italic;
}

.sym-philosophy__text strong {
  color: var(--gold-dim);
  font-weight: 600;
}

.sym-philosophy__author {
  margin-top: 32px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── СТАТИСТИКА ─── */
.sym-stats {
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}

.sym-stats__grid {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.sym-stat { text-align: center; }

.sym-stat__number {
  display: block;
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sym-stat__label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

/* ─── ПРОГРАММА КУРСА ─── */
.sym-program { padding: 100px 0; }

.sym-program__header {
  text-align: center;
  margin-bottom: 60px;
}

.sym-program__label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.sym-program__title {
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--text);
}

.sym-program__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.sym-card {
  position: relative;
  padding: 32px 28px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
  cursor: default;
}

.sym-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sym-card:hover {
  border-color: rgba(212,168,83,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 20px rgba(212,168,83,0.05);
}

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

.sym-card__number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Forum', Georgia, serif;
  font-size: 2.4rem;
  color: rgba(212,168,83,0.08);
  line-height: 1;
  pointer-events: none;
}

.sym-card__icon {
  font-size: 36px;
  display: block;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 8px rgba(216,201,153,0.12));
}

.sym-card__title {
  font-family: 'Forum', Georgia, serif;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 8px;
}

.sym-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── ЛАТИНСКАЯ ЦИТАТА ─── */
.sym-quote {
  text-align: center;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sym-quote blockquote {
  font-family: 'Cormorant Garamond', 'Forum', Georgia, serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--gold-dim);
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.sym-quote__translation {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── CTA ─── */
.sym-cta {
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sym-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sym-cta__bg img,
.sym-cta__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(1);
}

.sym-cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(10,10,10,0.3) 20%, rgba(10,10,10,0.3) 80%, var(--bg) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(10,10,10,0.6) 100%);
}

.sym-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.sym-cta__symbol {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
}

.sym-cta__title {
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text);
  margin-bottom: 16px;
}

.sym-cta__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.sym-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: linear-gradient(135deg, rgba(212,168,83,0.2), rgba(212,168,83,0.08));
  border: 1px solid rgba(212,168,83,0.35);
  border-radius: 60px;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
}

.sym-cta__btn:hover {
  background: linear-gradient(135deg, rgba(212,168,83,0.3), rgba(212,168,83,0.12));
  border-color: rgba(212,168,83,0.55);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212,168,83,0.15);
}

/* ─── МОДАЛЬНОЕ ОКНО ─── */
.sym-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.sym-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sym-modal {
  position: relative;
  width: 90%;
  max-width: 520px;
  background: var(--bg-2);
  border: 1px solid rgba(212,168,83,0.2);
  border-radius: 16px;
  padding: 48px 40px;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.sym-modal-overlay.active .sym-modal {
  transform: translateY(0) scale(1);
}

.sym-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.sym-modal__close:hover {
  border-color: rgba(212,168,83,0.3);
  color: var(--gold);
}

.sym-modal__icon {
  font-size: 42px;
  display: block;
  margin-bottom: 16px;
  text-align: center;
}

.sym-modal__title {
  font-family: 'Forum', Georgia, serif;
  font-size: 1.6rem;
  color: var(--text);
  text-align: center;
  margin-bottom: 8px;
}

.sym-modal__subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}

.sym-modal__form { display: flex; flex-direction: column; gap: 16px; }

.sym-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sym-modal__field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sym-modal__field input,
.sym-modal__field textarea {
  padding: 14px 16px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s ease;
  outline: none;
}

.sym-modal__field input:focus,
.sym-modal__field textarea:focus {
  border-color: rgba(212,168,83,0.4);
}

.sym-modal__field textarea {
  resize: vertical;
  min-height: 80px;
}

.sym-modal__submit {
  margin-top: 8px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(212,168,83,0.2), rgba(212,168,83,0.08));
  border: 1px solid rgba(212,168,83,0.35);
  border-radius: 10px;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sym-modal__submit:hover {
  background: linear-gradient(135deg, rgba(212,168,83,0.3), rgba(212,168,83,0.12));
  border-color: rgba(212,168,83,0.55);
}

.sym-modal__success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.sym-modal__success.show {
  display: block;
}

.sym-modal__success-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.sym-modal__success-text {
  font-family: 'Forum', Georgia, serif;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 8px;
}

.sym-modal__success-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Адаптив ─── */
@media (max-width: 768px) {
  .sym-program__grid { grid-template-columns: 1fr; }
  .sym-stats__grid   { gap: 32px; }
  .sym-modal         { padding: 36px 24px; }
}

/* ─── Fade-in ─── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
