/* ==========================================================================
   ACSC TENERIFE — MASTER STYLESHEET
   Сочетание аутентичной айдентики (Soft Atlantic, Deep Ocean, Sun Gold)
   и редакционной европейской типографики с интерактивной динамикой
   ========================================================================== */

:root {
  /* Палитра айдентики ACSC */
  --blue: #58B6D8;               /* Мягкая атлантическая лазурь */
  --navy: #3C9FBE;               /* Насыщенный морской */
  --deep: #2F89A9;               /* Глубокий океанский синий */
  --ocean-dark: #1b4d61;         /* Фоновый плотный синий для контраста */
  --gold: #F6CF00;               /* Солнечное золото эмблемы ACSC */
  --gold-hover: #ffd91a;         /* Акцентный яркий свет */
  --gold-glow: rgba(246, 207, 0, 0.45);
  
  --paper: #FBFEFF;              /* Белоснежный фон Тейде */
  --sky: #FFFFFF;                /* Воздушный небесный */
  --sand: #F4FBFD;               /* Легкая песчано-морская подложка */
  --ink: #245066;                /* Основной текст высокой читаемости */
  --muted: #66808C;              /* Второстепенный текст */
  --line: rgba(45, 112, 136, 0.16);
  --line-light: rgba(255, 255, 255, 0.28);

  /* Типографика */
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Геометрия и динамика */
  --radius: 28px;
  --radius-sm: 14px;
  --shadow-main: 0 24px 80px rgba(50, 125, 150, 0.16);
  --shadow-hover: 0 16px 36px rgba(47, 137, 169, 0.28);
  --transition-fast: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .serif-quote {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   ДИНАМИКА КНОПОК И ССЫЛОК
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), 
              box-shadow var(--transition-fast), 
              background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast);
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.button:active {
  transform: scale(0.97) !important;
}

.button .btn-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.button:hover .btn-arrow {
  transform: translateX(4px);
}

/* Золотая солнечная кнопка */
.button-gold {
  background: var(--gold);
  color: #12374a;
  box-shadow: 0 6px 20px rgba(246, 207, 0, 0.35);
}

.button-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--gold-glow);
}

/* Контурная светлая кнопка */
.button-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* Стеклянная кнопка */
.button-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.button-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.text-link {
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  transition: opacity var(--transition-fast);
}

.text-link span {
  color: var(--gold);
}

.text-link:hover {
  opacity: 0.85;
}

.text-link:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   ШАПКА (HEADER)
   ========================================================================== */
.site-header {
  height: 82px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(251, 254, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(45, 112, 136, 0.12);
  transition: height var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.site-header.scrolled {
  height: 70px;
  background: rgba(251, 254, 255, 0.98);
  box-shadow: 0 8px 30px rgba(36, 80, 102, 0.08);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-logo {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: grid;
  place-items: center;
  transition: transform var(--transition-fast);
  padding: 2px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand:hover .brand-logo {
  transform: scale(1.06);
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.05;
  color: var(--ink);
}

.brand small {
  display: block;
  font-size: 15px;
  line-height: 1.1;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.main-nav a {
  color: var(--ink);
  transition: color var(--transition-fast);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--transition-fast);
}

.main-nav a:hover {
  color: var(--blue);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  min-height: 36px;
  border-radius: 999px;
  transition: var(--transition-fast);
}

.header-cta.button-gold {
  color: #12374a;
  box-shadow: 0 6px 20px rgba(246, 207, 0, 0.35);
}

.header-cta.button-gold:hover {
  color: #12374a;
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--gold-glow);
}

.header-cta .arrow-icon {
  color: #ffffff;
  transition: transform var(--transition-fast);
}

.header-cta:hover .arrow-icon {
  color: #ffffff;
  transform: translateX(4px);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* ==========================================================================
   СЕКЦИИ
   ========================================================================== */
.section-dark {
  background: linear-gradient(150deg, #4FAFCF 0%, #66BEDB 48%, #3D9FBE 100%);
  color: #ffffff;
}

.section-light {
  background: var(--paper);
}

.section-sand {
  background: var(--sand);
}

/* ==========================================================================
   ЭКРАН 1: HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding: 140px 6vw 70px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 6vw;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-noise, .final-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.5;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow, .section-label, .event-type {
  font-size: 18px;
  letter-spacing: 0.10em;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--gold);
  margin: 0 0 24px;
}

.hero h1 {
  font: 600 clamp(44px, 5.8vw, 92px)/0.96 var(--serif);
  letter-spacing: -0.04em;
  margin: 0;
}

.hero h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

.hero-lead {
  font-size: 18px;
  max-width: 540px;
  color: #FFFFFF;
  margin: 32px 0;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-visual {
  height: min(70vh, 680px);
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #72C4E0;
  box-shadow: var(--shadow-main);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-visual img {
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-visual:hover img {
  transform: scale(1.04);
}



.bounce {
  display: inline-block;
  animation: bounce 2s infinite;
  color: var(--gold);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* ==========================================================================
   ЭКРАН 2: О ЦЕНТРЕ (МАНИФЕСТ И ФАКТЫ)
   ========================================================================== */
.manifesto, .history, .people, .dialogue, .today, .events {
  padding: 120px 8vw;
}

.section-label {
  color: var(--navy);
  margin-bottom: 30px;
}

.section-dark .section-label {
  color: #FFF7C2;
}

.manifesto-grid, .people-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: start;
}

.manifesto h2, .section-heading h2, .people h2, .children h2, .final-cta h2 {
  font: 600 clamp(40px, 5vw, 72px)/1.02 var(--serif);
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--ink);
}

.manifesto-text {
  max-width: 600px;
}

.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 20px;
}

.manifesto-text p:not(.lead) {
  color: var(--muted);
  margin-bottom: 16px;
}

.manifesto-sub {
  color: var(--deep) !important;
  font-weight: 600;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding-top: 40px;
}

.stat-item strong {
  font: 600 clamp(44px, 5vw, 64px) var(--serif);
  display: block;
  color: var(--deep);
  line-height: 1;
}

.stat-item span {
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
  display: block;
}

/* ==========================================================================
   СПЛИТ-ФОТО: ТОГДА / СЕГОДНЯ
   ========================================================================== */
.split-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 600px;
  position: relative;
  overflow: hidden;
}

.split-frame {
  position: relative;
  height: 100%;
}

.split-badge {
  position: absolute;
  top: 24px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(18, 55, 74, 0.8);
  color: #fff;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.split-archive .split-badge { left: 24px; }
.split-today .split-badge { right: 24px; }

.split-archive img {
  filter: grayscale(100%) contrast(1.05);
  transition: filter 0.5s ease;
}

.split-archive:hover img {
  filter: grayscale(30%);
}

.split-photo-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 16px;
  align-items: center;
  background: #ffffff;
  color: var(--ink);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  z-index: 5;
  border: 1px solid var(--line);
}

.split-arrow {
  color: var(--blue);
  font-size: 16px;
}

/* ==========================================================================
   ЭКРАН 3: ТАЙМЛАЙН
   ========================================================================== */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 60px;
}

.section-heading p {
  max-width: 360px;
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 2px solid var(--line);
}

.timeline-card {
  padding: 30px 24px 20px 0;
  position: relative;
  border-right: 1px solid var(--line);
  min-height: 250px;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.timeline-card:not(:first-child) {
  padding-left: 24px;
}

.timeline-card:last-child {
  border-right: 0;
}

.timeline-dot {
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #B5DDEB;
  transition: var(--transition-fast);
}

.timeline-card.active .timeline-dot,
.timeline-card:hover .timeline-dot {
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(88, 182, 216, 0.25);
  transform: scale(1.15);
}

.timeline-card:hover {
  background: rgba(234, 247, 251, 0.3);
}

.year {
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline-card h3 {
  font: 600 24px var(--serif);
  margin: 45px 0 10px;
  color: var(--ink);
}

.timeline-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   ЭКРАН 4: НАПРАВЛЕНИЯ
   ========================================================================== */
.directions {
  padding: 120px 8vw;
  background: linear-gradient(145deg, #3C9FBE, #55B8D8);
}

.directions .section-heading h2 {
  color: #ffffff;
}

.directions .section-heading p {
  color: #FFFFFF;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  margin-top: 40px;
}

.direction-card {
  padding: 36px 24px 36px 0;
  border-right: 1px solid var(--line-light);
  min-height: 330px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast);
}

.direction-card:not(:first-child) {
  padding-left: 24px;
}

.direction-card:last-child {
  border-right: 0;
}

.direction-card:hover {
  transform: translateY(-6px);
}

.card-num {
  color: #FFF7C2;
  font-size: 16px;
  font-weight: 700;
}

.direction-card h3 {
  font: 500 32px/1.05 var(--serif);
  margin: 40px 0 14px;
  color: #ffffff;
}

.direction-card p {
  color: #FFF;
  font-size: 15px;
  line-height: 1.6;
}

.card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.card-action .btn-arrow {
  transition: transform var(--transition-fast);
}

.card-action:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   ЭКРАН 5: ЛЮДИ ЦЕНТРА
   ========================================================================== */
.portrait {
  height: 640px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #DDF2F8;
  box-shadow: var(--shadow-main);
  border: 3px solid rgba(88, 182, 216, 0.2);
}

.portrait-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  background: rgba(18, 55, 74, 0.85);
  backdrop-filter: blur(12px);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  color: #fff;
}

.portrait-caption strong {
  display: block;
  font: 600 24px var(--serif);
}

.portrait-caption span {
  font-size: 11px;
  color: #B5DDEB;
  display: block;
  margin-top: 4px;
}

.people-quote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  color: var(--deep);
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 36px 0 0;
}

/* ==========================================================================
   СПЕЦ-БЛОК: АРТИСТЫ
   ========================================================================== */
.artists {
  padding: 110px 8vw;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.artist-card {
  min-height: 310px;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2F89A9 0%, #206782 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-main);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.artist-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.artist-number {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: auto;
}

.artist-card h3 {
  font: 500 32px var(--serif);
  margin: 0;
}

.artist-card span {
  font-size: 11px;
  color: #D7EEF4;
  margin-top: 8px;
}

.archive-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
}

/* ==========================================================================
   ЭКРАН 6: АФИША (РОЖДЕСТВЕНСКАЯ ЁЛКА)
   ========================================================================== */
.event-card {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-main);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

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

.event-date {
  border-right: 1px solid var(--line);
  padding-right: 36px;
  text-align: center;
}

.event-date strong {
  font: 600 clamp(48px, 5vw, 68px) var(--serif);
  display: block;
  color: var(--deep);
  line-height: 1;
}

.event-date span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}

.event-body h3 {
  font: 600 34px var(--serif);
  margin: 8px 0;
  color: var(--ink);
}

.event-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--deep);
  margin-bottom: 12px;
}

.event-body p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
  max-width: 580px;
}

/* ==========================================================================
   ЭКРАН 7: ФИНАЛЬНЫЙ CTA И КОНТАКТЫ
   ========================================================================== */
.final-cta {
  min-height: 750px;
  padding: 120px 8vw 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.final-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.final-content h2 {
  font-size: clamp(65px, 9vw, 130px);
  color: #fff;
  line-height: 0.92;
}

.final-desc {
  font-size: 18px;
  color: #FFFFFF;
  max-width: 600px;
  margin: 30px 0 35px;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: var(--transition-fast);
}

.contact-pill:hover {
  background: #ffffff;
  color: var(--deep);
  transform: translateY(-2px);
}

.final-btns {
  margin-top: 10px;
}

.footer-meta {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-light);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
}

.footer-meta strong, .footer-meta span {
  display: block;
}

.footer-meta span {
  color: #D9F0F6;
  margin-top: 4px;
}

.socials {
  display: flex;
  gap: 20px;
  font-weight: 600;
}

.socials a {
  color: #ffffff;
  transition: opacity var(--transition-fast);
}

.socials a:hover {
  opacity: 0.75;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 8vw;
  background: #20627a;
  color: #BEE3ED;
  font-size: 10px;
}

/* ==========================================================================
   ПЛАВАЮЩИЕ КНОПКИ (ПЕРЕМОТКА НАВЕРХ И WHATSAPP)
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--deep);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity var(--transition-smooth), 
              transform var(--transition-smooth), 
              background-color var(--transition-fast), 
              color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  background: var(--deep);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(47, 137, 169, 0.35);
  transform: translateY(-3px) scale(1.05);
}

.scroll-top-btn:active {
  transform: scale(0.95);
}

/* Плавающая кнопка быстрого обращения в WhatsApp */
.floating-wa-btn {
  position: fixed;
  bottom: 88px;
  right: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   ИНТЕРАКТИВНЫЕ АНИМАЦИИ ПО СКРОЛЛУ (REVEAL)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.14s; }
.delay-2 { transition-delay: 0.28s; }
.delay-3 { transition-delay: 0.42s; }

/* ==========================================================================
   АДАПТИВНОСТЬ (RESPONSIVE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }
  .hero-visual {
    height: 50vh;
  }
  .hero-scroll {
    display: none;
  }
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .direction-grid {
    grid-template-columns: 1fr 1fr;
  }
  .direction-grid article:nth-child(2) {
    border-right: 0;
  }
  .artist-grid {
    grid-template-columns: 1fr;
  }
  .event-card {
    grid-template-columns: 120px 1fr;
    gap: 30px;
  }
  .event-action {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 24px 6vw;
    background: rgba(251, 254, 255, 0.98);
    flex-direction: column;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  }

  .main-nav.mobile-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .manifesto-grid, .people-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .split-photo {
    height: 440px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 70px;
    padding: 0 5vw;
  }
  .brand-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
  .brand strong,
  .brand small {
    font-size: 15px;
  }
  .hero {
    padding: 110px 5vw 50px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .button {
    justify-content: center;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .timeline, .direction-grid {
    grid-template-columns: 1fr;
  }
  .timeline-card, .timeline-card:not(:first-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }
  .direction-card, .direction-card:not(:first-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
    padding: 24px 0;
  }
  .portrait {
    height: 520px;
  }
  .event-card {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
  .event-date {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 20px;
    text-align: left;
  }
  .event-action {
    grid-column: 1;
  }
  .footer-meta, .footer {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .socials {
    justify-content: center;
  }
  .scroll-top-btn, .floating-wa-btn {
    right: 18px;
  }
}

/* Фирменный акцент для e-mail */
.contact-pill[href^="mailto:"] {
  background: #f0d146;
  color: #12374a;
  border-color: #f0d146;
}
.contact-pill[href^="mailto:"]:hover {
  background: #f0d146;
  border-color: #f0d146;
  transform: translateY(-2px);
}

/* Пять направлений */
@media (max-width: 1180px) {
  .direction-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .direction-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   ФИНАЛЬНАЯ ТИПОГРАФИКА И КОНТАКТ
   ========================================================================== */
.contact-pill[href^="mailto:irynacsc@gmail.com"] {
  background: #f0d146;
  border-color: #f0d146;
  color: #12374a;
}

.contact-pill[href^="mailto:irynacsc@gmail.com"]:hover {
  background: #f0d146;
  border-color: #f0d146;
  color: #12374a;
}


/* ==========================================================================
   MEDIA PLACEHOLDERS — подсказки для подбора фотографий
   ========================================================================== */
.media-frame {
  position: relative;
}

.media-spec {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: min(82%, 420px);
  padding: 24px 28px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  background: rgba(15, 74, 96, 0.68);
  color: #fff;
  backdrop-filter: blur(7px);
  pointer-events: none;
}

.media-spec strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.10em;
  margin-bottom: 8px;
}

.media-spec span {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.media-spec small {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.45;
  color: #fff;
}

.portrait-frame .media-spec {
  width: min(82%, 360px);
}

@media (max-width: 720px) {
  .media-spec {
    width: 78%;
    padding: 18px 20px;
  }

  .media-spec span {
    font-size: 16px;
  }

  .media-spec small {
    font-size: 14px;
  }
}
