/* ============================================
   Дом Ангелов — основные стили
   Эстетика: ренессанс, барокко, классицизм
   Палитра: уголь + слоновая кость + золото
   ============================================ */

:root {
  /* Цвета */
  --bg: #fbf8f3;
  --bg-soft: #f5efe3;
  --bg-dark: #1c1814;
  --bg-dark-2: #2d251c;
  --paper: #ffffff;
  --ink: #2a241d;
  --ink-soft: #4a3f33;
  --ink-light: #7a6a55;
  --gold: #c9a76b;
  --gold-deep: #a8804a;
  --gold-light: #d4b277;
  --gold-soft: #faf0d8;
  --line: #e8dcc4;
  --line-soft: #f0e6d2;

  /* Тени */
  --shadow-xs: 0 1px 2px rgba(58, 46, 31, 0.05);
  --shadow-sm: 0 2px 12px rgba(58, 46, 31, 0.06);
  --shadow-md: 0 8px 32px rgba(58, 46, 31, 0.10);
  --shadow-lg: 0 16px 48px rgba(58, 46, 31, 0.16);

  /* Радиусы */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Шрифты — современный sans-serif сетап (Geist для заголовков, Manrope для текста) */
  --font-display: 'Geist', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Manrope', 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* Legacy alias */
  --font-serif: 'Geist', 'Manrope', sans-serif;

  /* Анимации */
  --ease: cubic-bezier(0.2, 0.8, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============== RESET ============== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--gold-deep); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--ink); }

button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: white;
  padding: 8px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============== TYPOGRAPHY ============== */

.serif { font-family: var(--font-display); }
.display { font-family: var(--font-display); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}

h1 { font-size: clamp(40px, 5.5vw, 80px); font-weight: 600; letter-spacing: -0.045em; }
h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 600; letter-spacing: -0.04em; }
h3 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 600; letter-spacing: -0.025em; }
h4 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
h5 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
h6 { font-size: 15px; font-weight: 600; }

/* «em» больше не курсив — теперь это золотой акцент того же sans-серифа */
h1 em, h2 em, h3 em {
  font-style: normal;
  color: var(--gold-deep);
  font-weight: 600;
}

body {
  font-feature-settings: 'ss01' on, 'cv11' on, 'cv02' on; /* Manrope alternate forms */
}

p { margin-bottom: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.lead {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.5;
  font-style: normal;
  color: var(--ink-soft);
  max-width: 720px;
}

/* ============== HEADER ============== */

.site-header {
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.logo .logo-text em {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-deep);
}
.logo:hover { color: var(--ink); }
.logo .logo-mark {
  width: 42px;
  height: 42px;
  color: var(--gold-deep);
  transition: transform 0.7s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(180deg); }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease, left 0.3s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; left: 0; }
.main-nav a.active { color: var(--gold-deep); }
.main-nav a.active::after { width: 100%; left: 0; }

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: white !important;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.header-cta-btn:hover {
  background: var(--gold-deep);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 128, 74, 0.3);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease;
}

/* ============== HERO ============== */

.hero {
  position: relative;
  padding: 80px 0 100px;
  background: var(--bg);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -150px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid var(--line);
  opacity: 0.6;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50px; right: -80px;
  width: 450px; height: 450px;
  border-radius: 50%;
  border: 1px solid var(--line);
  opacity: 0.4;
  z-index: 0;
}

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

.hero-title {
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 28px;
  white-space: pre-line;
  font-weight: 600;
  font-family: var(--font-display);
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-title em {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: -0.05em;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 520px;
  margin-bottom: 36px;
  letter-spacing: -0.005em;
  animation: fadeUp 0.8s var(--ease) 0.15s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease) 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 32px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: white !important;
}
.btn-primary:hover {
  background: var(--gold-deep);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 128, 74, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: white !important;
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold-deep);
  color: white !important;
}
.btn-gold:hover {
  background: var(--ink);
  color: white !important;
  transform: translateY(-2px);
}
.btn svg { transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(4px); }

.hero-visual {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1.2s var(--ease) 0.4s both;
}

.hero-illustration {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 40px rgba(168, 128, 74, 0.15));
}

.hero-meta-row {
  margin-top: 48px;
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease) 0.5s both;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta-item .num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1;
}
.hero-meta-item .lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-light);
  font-weight: 600;
}

/* ============== SECTIONS ============== */

section.section {
  padding: 80px 0;
}
section.section-dark {
  background: var(--bg-dark);
  color: #e8dcc4;
}
section.section-dark h2,
section.section-dark h3 { color: #f5ece0; }
section.section-soft {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.section-head h2 { margin-bottom: 16px; }
.section-head p {
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============== CARDS GRID ============== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.event-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}
.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.event-card.featured {
  border-color: var(--gold);
  border-width: 1.5px;
}
.event-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold-deep), var(--gold), var(--gold-deep));
  z-index: 3;
}

.card-media {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #d4b277 0%, #a8804a 100%);
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.event-card:hover .card-media img { transform: scale(1.06); }

.card-media-placeholder {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-serif);
  font-size: 80px;
  font-style: normal;
}

.card-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}
.card-tag.gold {
  background: rgba(212, 178, 119, 0.95);
  color: #4a3f33;
}

.card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-subtitle {
  font-size: 12px;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--ink);
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--gold-deep); }

.card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 20px;
  flex: 1;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  gap: 12px;
}
.card-price {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.card-price small {
  font-size: 12px;
  color: var(--ink-light);
  font-weight: 400;
}
.card-link {
  background: var(--bg-soft);
  color: var(--ink);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.card-link:hover {
  background: var(--gold);
  color: white;
}
.card-link svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.card-link:hover svg { transform: translateX(3px); }

/* ============== ABOUT / FOUNDERS ============== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-text h2 { margin-bottom: 24px; }
.about-text .quote {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 24px;
  line-height: 1.4;
  color: var(--gold-deep);
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 32px 0;
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.founder-card {
  background: var(--paper);
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  text-align: center;
  transition: all 0.4s var(--ease);
}
.founder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.founder-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-serif);
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
}
.founder-card h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 6px;
}
.founder-card .role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.founder-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============== REVIEWS ============== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.review-card {
  background: var(--paper);
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
  position: relative;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-family: var(--font-serif);
  font-size: 80px;
  color: var(--gold);
  line-height: 0.7;
  font-style: normal;
  opacity: 0.3;
}

.review-stars {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--gold);
}
.review-stars svg { width: 16px; height: 16px; }

.review-text {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-style: normal;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.review-author-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.review-author-date {
  font-size: 12px;
  color: var(--ink-light);
}

/* ============== CTA SECTION ============== */

.cta-block {
  background: linear-gradient(135deg, #1c1814 0%, #2d251c 50%, #3a2e1f 100%);
  color: #f5ece0;
  border-radius: var(--r-xl);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  border: 1px solid rgba(212, 178, 119, 0.1);
  border-radius: 50%;
}
.cta-block::after {
  content: '';
  position: absolute;
  top: -50px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  border: 1px solid rgba(212, 178, 119, 0.15);
  border-radius: 50%;
}
.cta-block h2 {
  color: #f5ece0;
  font-size: clamp(36px, 4.5vw, 56px);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.cta-block h2 em { color: var(--gold-light); }
.cta-block p {
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: normal;
  color: #c9b896;
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}
.cta-block .btn-gold {
  position: relative;
  z-index: 1;
}

/* ============== PAGE HEADER (для внутренних страниц) ============== */

.page-header {
  padding: 64px 0 48px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50px; right: -100px;
  width: 400px; height: 400px;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.5;
}
.page-header-inner {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 24px;
}
.breadcrumbs a { color: var(--ink-light); }
.breadcrumbs a:hover { color: var(--gold-deep); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumbs span:last-child { color: var(--ink-soft); }

.page-title {
  font-size: clamp(40px, 5.5vw, 64px);
  margin-bottom: 20px;
  max-width: 900px;
}
.page-subtitle {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 700px;
}

/* ============== EVENT DETAIL ============== */

.event-detail {
  padding: 64px 0;
}
.event-detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}

.event-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  position: relative;
  margin-bottom: 32px;
}

.event-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.event-content p { margin-bottom: 1.2em; }
.event-content h2, .event-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  color: var(--ink);
}
.event-content ul, .event-content ol {
  margin: 1em 0 1.2em 1.4em;
}
.event-content li { margin-bottom: 0.5em; }
.event-content strong { color: var(--ink); font-weight: 600; }

.event-aside {
  position: sticky;
  top: 100px;
}

.event-info-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.event-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.event-info-item:last-of-type { border-bottom: none; }
.event-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.event-info-icon svg { width: 16px; height: 16px; }
.event-info-text { flex: 1; }
.event-info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-light);
  font-weight: 600;
  margin-bottom: 2px;
}
.event-info-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

.event-info-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}

/* ============== FORMS ============== */

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.form-input,
.form-textarea,
.form-select {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(168, 128, 74, 0.1);
}
.form-textarea { min-height: 120px; resize: vertical; }

/* ============== FOOTER ============== */

.site-footer {
  background: var(--bg-dark);
  color: #c9b896;
  padding: 72px 0 28px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-light { color: white; margin-bottom: 18px; }
.footer-brand .logo-light .logo-text { color: white; }
.footer-brand .logo-light .logo-mark { color: var(--gold); }
.footer-tagline {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 15px;
  line-height: 1.6;
  color: #c9b896;
  max-width: 360px;
}

.footer-col h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: white;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: #c9b896;
  font-size: 14px;
}
.footer-col a:hover { color: var(--gold); }

.contact-list { list-style: none; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #c9b896;
  margin-bottom: 12px;
  line-height: 1.5;
}
.contact-list li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--gold);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 178, 119, 0.1);
  color: var(--gold);
  padding: 12px 18px;
  border-radius: var(--r-md);
  font-size: 13px;
  transition: all 0.3s ease;
}
.social-link:hover {
  background: rgba(212, 178, 119, 0.2);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(201, 184, 150, 0.15);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #8a7a60;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-credits {
  font-family: var(--font-serif);
  font-style: normal;
}

/* ============== ANIMATIONS ============== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-aos].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============== FLASH MESSAGES ============== */

.flash {
  padding: 14px 20px;
  border-radius: var(--r-md);
  margin-bottom: 20px;
  font-size: 14px;
}
.flash-success {
  background: #e8f5e9;
  color: #2e7d32;
  border-left: 3px solid #4caf50;
}
.flash-error {
  background: #ffebee;
  color: #c62828;
  border-left: 3px solid #f44336;
}
.flash-info {
  background: var(--gold-soft);
  color: var(--gold-deep);
  border-left: 3px solid var(--gold);
}

/* ============== EMPTY STATE ============== */

.empty-state {
  text-align: center;
  padding: 80px 32px;
  color: var(--ink-light);
}
.empty-state h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.empty-state svg {
  width: 64px;
  height: 64px;
  color: var(--gold);
  margin: 0 auto 24px;
}

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

@media (max-width: 1024px) {
  .hero-inner,
  .about-grid,
  .event-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { height: 340px; max-width: 480px; margin: 0 auto; }
  .event-aside { position: static; }
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 24px 32px;
    gap: 16px;
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease);
    z-index: 99;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { font-size: 16px; padding: 8px 0; }
  .nav-toggle { display: inline-flex; }
  .header-cta-btn span { display: none; }
  .header-cta-btn { padding: 10px 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section.section { padding: 56px 0; }
  .hero { padding: 48px 0 64px; }
  .cta-block { padding: 56px 28px; }
  .founders-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .hero-meta-row { gap: 24px; }
  .hero-meta-item .num { font-size: 26px; }
  .event-info-card { padding: 24px; }
  h1 { font-size: clamp(36px, 9vw, 48px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
