/* ==========================================================================
   KSFF 2025 — Design System
   Modern, gen-z, responsive. Zero build step. Vanilla CSS.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — deep violet / electric pink / cyan */
  --brand-950: #0B0618;
  --brand-900: #15092E;
  --brand-800: #221047;
  --brand-700: #33186B;
  --brand-600: #4C1D95;
  --brand-500: #6D28D9;
  --brand-400: #8B5CF6;
  --brand-300: #A78BFA;
  --brand-200: #C4B5FD;
  --brand-100: #EDE9FE;
  --brand-50:  #F5F3FF;

  --pink-500: #FF5A8C;
  --pink-400: #FB7185;
  --rose-500:  #F43F5E;
  --cyan-500:  #22D3EE;
  --cyan-300:  #67E8F9;

  --grad-brand: linear-gradient(135deg, #FF5A8C 0%, #7C3AED 55%, #22D3EE 120%);
  --grad-soft: linear-gradient(135deg, #EDE9FE 0%, #FCE7F3 55%, #E0F2FE 120%);

  --ink:        #0F0A1E;
  --ink-soft:   #3B3550;
  --muted:      #6B7280;
  --line:       #E9E5F4;
  --bg:         #FAF8FF;
  --surface:    #FFFFFF;

  --success:    #10B981;
  --success-50: #ECFDF5;
  --warning:    #F59E0B;
  --warning-50: #FFFBEB;
  --danger:     #EF4444;
  --danger-50:  #FEF2F2;

  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-pill: 999px;

  --shadow-sm:  0 1px 3px rgba(15,10,30,.08);
  --shadow:     0 10px 30px -12px rgba(76,29,149,.22);
  --shadow-lg:  0 24px 60px -20px rgba(76,29,149,.35);
  --shadow-pink: 0 14px 40px -14px rgba(255,90,140,.55);

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1180px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

::selection { background: var(--brand-400); color: #fff; }

:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 2px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; }
.text-gradient { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .75rem; }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container { width: min(var(--container), 92%); margin-inline: auto; }
.container-wide { width: min(1360px, 94%); margin-inline: auto; }

section { position: relative; }
.pt-8 { padding-top: 2rem; } .pb-8 { padding-bottom: 2rem; }
.py-6 { padding: 3rem 0; } .py-8 { padding: 4rem 0; } .py-10 { padding: 5rem 0; } .py-12 { padding: 6rem 0; }
.mt-1 { margin-top:.5rem} .mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mt-6{margin-top:3rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}.mb-6{margin-bottom:3rem}
.mx-auto{margin-inline:auto}

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.gallery-item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--brand-950);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in;
  transition: transform .6s var(--ease), filter .4s;
}
.gallery-item:hover img { transform: scale(1.06); filter: brightness(.9); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .9rem 1rem .75rem;
  font-size: .82rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(11,6,24,.85));
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .35s var(--ease);
}
.gallery-item:hover figcaption, .gallery-item:focus-within figcaption { opacity: 1; transform: none; }

@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .gallery-item--wide { grid-column: span 2; }
}
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1{gap:.5rem}.gap-2{gap:1rem}.gap-3{gap:1.5rem}.gap-4{gap:2rem}
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.hide { display: none !important; }
.show { display: block !important; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-500); margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .75rem; }
.section-sub { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.5rem; border-radius: var(--radius-pill);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; position: relative; border: 2px solid transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { flex-shrink: 0; }

.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-pink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -12px rgba(255,90,140,.65); }
.btn-primary:focus-visible { outline-color: var(--pink-500); }

.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }

.btn-outline { border-color: var(--brand-300); color: var(--brand-600); background: #fff; }
.btn-outline:hover { border-color: var(--brand-500); background: var(--brand-50); transform: translateY(-2px); }

.btn-dark { background: var(--brand-950); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--brand-800); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { transform: translateY(-2px); }

.btn-soft { background: var(--brand-100); color: var(--brand-600); }
.btn-soft:hover { background: var(--brand-200); transform: translateY(-2px); }

.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem .95rem; font-size: .85rem; }
.btn-block { width: 100%; }

.btn[disabled] { opacity: .55; pointer-events: none; }

.btn .spinner {
  width: 1em; height: 1em; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .7s linear infinite;
}

/* --------------------------------------------------------------------------
   Badges / pills
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .28rem .8rem; border-radius: var(--radius-pill);
  font-size: .78rem; font-weight: 600; font-family: var(--font-display);
}
.pill-brand { background: var(--brand-100); color: var(--brand-600); }
.pill-pink { background: #FFE4EC; color: #BE1749; }
.pill-cyan { background: #CFFAFE; color: #0E7490; }
.pill-success { background: var(--success-50); color: #047857; }
.pill-warning { background: var(--warning-50); color: #B45309; }
.pill-danger { background: var(--danger-50); color: #B91C1C; }
.pill-ghost { background: rgba(255,255,255,.15); color: #fff; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card.hoverable:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.card.glass { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.card.glass h3, .card.glass p { color: #fff; }
.card.plain { box-shadow: var(--shadow-sm); }

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; }
.brand-logo { height: 48px; width: auto; filter: drop-shadow(0 2px 6px rgba(11,6,24,.55)); }
.site-footer .brand-logo { height: 44px; filter: none; }
.brand-name { font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-family: var(--font-mono); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  padding: .5rem .8rem; border-radius: var(--radius-pill); font-weight: 500; font-size: .92rem;
  color: var(--ink-soft); transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--brand-500); background: var(--brand-50); }
.nav-links a.active { color: var(--brand-600); background: var(--brand-100); font-weight: 600; }
.nav-cta { margin-left: .5rem; }

.nav-burger { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-burger svg { width: 24px; height: 24px; }
.nav-burger.open svg:first-child { display: none; }
.nav-burger svg:last-child { display: none; }
.nav-burger.open svg:last-child { display: block; }

.mobile-menu {
  display: none; flex-direction: column; gap: .15rem;
  padding: .5rem .25rem 1rem; border-top: 1px solid var(--line);
}
.mobile-menu.show { display: flex; }
.mobile-menu a { padding: .75rem .8rem; border-radius: 12px; font-weight: 500; }
.mobile-menu a:hover { background: var(--brand-50); color: var(--brand-600); }
.mobile-menu .btn { margin-top: .75rem; }

/* Dark hero navbar variant */
.nav-dark { background: rgba(11,6,24,.7); border-color: rgba(255,255,255,.08); }
.nav-dark .brand-sub { color: rgba(255,255,255,.55); }
.nav-dark .nav-links a { color: rgba(255,255,255,.8); }
.nav-dark .nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-dark .nav-links a.active { color: #fff; background: rgba(255,255,255,.16); }
.nav-dark .nav-burger { color: #fff; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: radial-gradient(1200px 600px at 80% -10%, #4C1D95 0%, transparent 60%),
              radial-gradient(900px 500px at 0% 110%, #BE1749 0%, transparent 55%),
              linear-gradient(180deg, var(--brand-950) 0%, var(--brand-900) 100%);
  color: #fff;
}
.hero--home {
  min-height: calc(100vh - 215px);
  padding: 2rem 0 2.5rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.hero-orb.a { width: 420px; height: 420px; background: #7C3AED; top: -120px; right: -80px; }
.hero-orb.b { width: 340px; height: 340px; background: #FF5A8C; bottom: -120px; left: -60px; animation: float 9s ease-in-out infinite; }

.hero-slider { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-slider .slide {
  position: absolute; inset: 0; background-size: cover; background-position: center top;
  opacity: 0; transition: opacity 1s var(--ease);
}
.hero-slider .slide.active { opacity: 1; z-index: 1; }
.hero-slider::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(11,6,24,.72) 0%, rgba(11,6,24,.45) 40%, rgba(11,6,24,.85) 100%);
}
.hero-slide-controls { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer;
  pointer-events: auto; backdrop-filter: blur(6px); transition: background .2s, transform .2s var(--ease);
}
.hero-slide-arrow:hover { background: rgba(255,255,255,.28); transform: translateY(-50%) scale(1.08); }
.hero-slide-arrow.prev { left: 1rem; }
.hero-slide-arrow.next { right: 1rem; }
.hero-slide-dots { position: absolute; bottom: .8rem; left: 0; right: 0; display: flex; gap: .5rem; justify-content: center; pointer-events: auto; }
.hero-slide-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.45); transition: all .25s var(--ease);
}
.hero-slide-dots button.active { width: 26px; border-radius: 999px; background: #fff; }

.hero-logo {
  display: block; width: min(34vh, 480px); height: auto; margin: 0 auto .7rem;
  filter: drop-shadow(0 6px 22px rgba(11,6,24,.6));
}

.hero--home .hero-content { padding: 0 0 8px; }
.hero-content { position: relative; z-index: 2; width: 100%; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .3rem .9rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; margin-bottom: .5rem;
}
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 1.1rem; }
.hero-sub { font-size: clamp(.95rem, 1.8vw, 1.15rem); color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto .5rem; }

.hero-stats { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin: .4rem 0 .7rem; }
.hero-stat {
  min-width: 132px; padding: .55rem 1rem; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px);
}
.hero-stat .num { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--cyan-300); }
.hero-stat .lbl { font-size: .7rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-mono); }

.hero-cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn-lg { padding: 1.05rem 2.3rem; font-size: 1.08rem; }

.announce {
  position: relative; z-index: 2; margin-top: -1rem;
  background: linear-gradient(90deg, #F43F5E, #FF5A8C);
  color: #fff; border-radius: var(--radius);
  padding: .7rem 1.2rem; font-weight: 500; display: flex; gap: .8rem; align-items: center;
  box-shadow: var(--shadow-pink);
}
.announce svg { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; background: var(--brand-950); color: #fff; padding: .65rem 0; position: relative; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 28s linear infinite; white-space: nowrap; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.9); }
.marquee-track span em { color: var(--pink-500); font-style: normal; margin-right: 3rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   Feature tiles
   -------------------------------------------------------------------------- */
.feature-icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: #fff;
}
.feature-icon.pink { background: linear-gradient(135deg,#FF5A8C,#BE1749); }
.feature-icon.violet { background: linear-gradient(135deg,#8B5CF6,#4C1D95); }
.feature-icon.cyan { background: linear-gradient(135deg,#22D3EE,#0E7490); }
.feature-icon.green { background: linear-gradient(135deg,#34D399,#059669); }
.feature-icon.amber { background: linear-gradient(135deg,#FBBF24,#D97706); }

/* --------------------------------------------------------------------------
   Gallery / image cards
   -------------------------------------------------------------------------- */
.img-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4/3; }
.img-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.img-card:hover img { transform: scale(1.07); }
.img-card .overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  background: linear-gradient(180deg, transparent 40%, rgba(11,6,24,.85));
  padding: 1.2rem; color: #fff;
}
.img-card .overlay h3 { font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Testimonials carousel (home)
   -------------------------------------------------------------------------- */
.section-dark .section-eyebrow { color: var(--cyan-300); }
.section-dark .section-sub { color: rgba(255,255,255,.72); }

.testimonials { max-width: 780px; margin: 0 auto; }
.testimonial-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.testimonial-track { display: flex; transition: transform .55s var(--ease); }
.testimonial-slide { flex: 0 0 100%; min-width: 0; padding: .35rem; }
.testimonial-card {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2.4rem 2rem; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.testimonial-avatar {
  width: 104px; height: 104px; border-radius: 50%; padding: 3px; flex-shrink: 0;
  background: var(--grad-brand); margin-bottom: 1.2rem;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--brand-800); }
.testimonial-avatar.no-img::after {
  content: attr(data-initials); display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; border-radius: 50%; background: var(--brand-800);
  font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: #fff;
}
.quote-mark {
  font-family: var(--font-display); font-size: 3.4rem; line-height: .55; margin-bottom: .9rem;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.testimonial-card blockquote {
  font-size: clamp(1.02rem, 2vw, 1.22rem); line-height: 1.7; color: rgba(255,255,255,.9);
  max-width: 620px; margin-bottom: 1.4rem;
}
.testimonial-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; }
.testimonial-film {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan-300); margin-top: .3rem;
}

.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.6rem; }
.testimonial-arrow {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .2s, transform .2s var(--ease);
}
.testimonial-arrow:hover { background: rgba(255,255,255,.26); transform: scale(1.08); }
.testimonial-dots { display: flex; gap: .5rem; }
.testimonial-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.45); transition: all .25s var(--ease);
}
.testimonial-dots button.active { width: 26px; border-radius: 999px; background: #fff; }

@media (max-width: 768px) {
  .testimonial-card { padding: 1.8rem 1.2rem; }
  .testimonial-slide { padding: .25rem; }
  .testimonial-controls { margin-top: 1.2rem; }
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.field label .req { color: var(--danger); }
.field .hint { font-size: .78rem; color: var(--muted); }

.input, .select, .textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-100);
}
.textarea { min-height: 120px; resize: vertical; }
.input.error, .textarea.error { border-color: var(--danger); }
.input.error:focus { box-shadow: 0 0 0 4px var(--danger-50); }
.input.valid { border-color: var(--success); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

.char-count { font-size: .72rem; color: var(--muted); text-align: right; font-family: var(--font-mono); }
.char-count.over { color: var(--danger); }

/* File dropzone */
.dropzone {
  border: 2px dashed var(--brand-300); border-radius: var(--radius-lg);
  background: var(--brand-50); padding: 1.6rem 1rem; text-align: center;
  cursor: pointer; transition: border-color .2s, background .2s, transform .2s;
}
.dropzone:hover { border-color: var(--brand-500); background: var(--brand-100); transform: scale(1.01); }
.dropzone.has-file { border-style: solid; border-color: var(--success); background: var(--success-50); }
.dropzone .dz-title { font-weight: 600; color: var(--brand-600); margin-top: .5rem; }
.dropzone .dz-sub { font-size: .78rem; color: var(--muted); }
.dropzone input[type=file] { display: none; }
.preview-wrap { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .9rem; }
.preview-box { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.preview-box img { width: 120px; height: 150px; object-fit: cover; }
.preview-box .remove {
  position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,0,0,.65); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .85rem;
}

/* Wizard steps */
.steps { display: flex; justify-content: space-between; margin-bottom: 2rem; position: relative; gap: .5rem; }
.steps::before { content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px; background: var(--line); }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; width: 25%; }
.step .dot {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700;
  transition: all .3s var(--ease);
}
.step .lbl { font-size: .74rem; font-weight: 600; color: var(--muted); text-align: center; }
.step.active .dot { background: var(--brand-500); border-color: var(--brand-500); color: #fff; box-shadow: 0 0 0 5px var(--brand-100); }
.step.active .lbl { color: var(--brand-600); }
.step.done .dot { background: var(--success); border-color: var(--success); color: #fff; }
.step.done .lbl { color: var(--success); }

/* Checkbox / radio */
.check { display: flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .92rem; }
.check input { width: 18px; height: 18px; accent-color: var(--brand-500); }

/* Search box */
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.search input { padding-left: 42px; }

/* --------------------------------------------------------------------------
   Tables (admin)
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 760px; }
.tbl thead th {
  text-align: left; padding: .8rem 1rem; font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  background: var(--bg); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.tbl tbody td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr { transition: background .12s; }
.tbl tbody tr:hover { background: var(--brand-50); }
.tbl .thumb { width: 42px; height: 52px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.tbl .cell-title { font-weight: 600; max-width: 220px; }
.tbl .cell-sub { font-size: .78rem; color: var(--muted); }

/* Tabs */
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.tab-btn {
  padding: .55rem 1.1rem; border-radius: var(--radius-pill); font-weight: 600; font-size: .88rem;
  color: var(--ink-soft); background: #fff; border: 1.5px solid var(--line); transition: all .15s;
}
.tab-btn:hover { border-color: var(--brand-300); }
.tab-btn.active { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }

/* Filter chips */
.chip {
  padding: .45rem 1rem; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 600;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); transition: all .15s;
}
.chip:hover { border-color: var(--brand-300); }
.chip.active { background: var(--brand-950); border-color: var(--brand-950); color: #fff; }

/* Stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat-card { padding: 1.3rem 1.4rem; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; display: flex; align-items: center; gap: 1rem; }
.stat-card .ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.stat-card .val { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.stat-card .lbl { font-size: .75rem; color: var(--muted); }

/* Analytics */
.an-bar-row { display: grid; grid-template-columns: minmax(90px, 1.1fr) 1.6fr 64px; align-items: center; gap: .6rem; padding: .34rem 0; }
.an-bar-label { font-size: .8rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-bar-track { height: 9px; border-radius: 999px; background: var(--brand-50); overflow: hidden; }
.an-bar-fill { height: 100%; border-radius: 999px; transition: width .6s var(--ease); }
.an-bar-val { font-size: .78rem; font-family: var(--font-mono); text-align: right; white-space: nowrap; }
.an-vchart { display: flex; align-items: flex-end; gap: .5rem; min-height: 180px; overflow-x: auto; padding-top: .4rem; }
.an-vcol { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; flex: 1 0 30px; gap: .25rem; }
.an-vcol-bar { width: 22px; border-radius: 6px 6px 0 0; background: var(--brand-100); display: flex; align-items: flex-end; height: 140px; overflow: hidden; }
.an-vcol-fill { width: 100%; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--brand-400), var(--brand-600)); min-height: 2px; }
.an-vcol-val { font-size: .7rem; font-family: var(--font-mono); color: var(--muted); }
.an-vcol-lbl { font-size: .65rem; color: var(--muted); white-space: nowrap; }

@media (max-width: 768px) {
  .an-bar-row { grid-template-columns: 84px 1fr 44px; }
  .an-bar-val span { display: none; }
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 1rem;
  background: rgba(11,6,24,.6); backdrop-filter: blur(6px);
}
.modal.open { display: flex; }
.modal-box {
  background: #fff; border-radius: var(--radius-lg); width: min(560px, 100%);
  max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: pop .25s var(--ease);
}
.modal-box.wide { width: min(860px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.modal-head h3 { font-size: 1.15rem; }
.modal-close { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.modal-close:hover { background: var(--bg); color: var(--ink); }
.modal-body { padding: 1.5rem; }
.modal-foot { padding: 1rem 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: .7rem; }

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toasts { position: fixed; top: 82px; right: 1rem; z-index: 300; display: flex; flex-direction: column; gap: .6rem; max-width: min(380px, 92vw); }
.toast {
  display: flex; align-items: flex-start; gap: .7rem; padding: .9rem 1rem; border-radius: 14px;
  background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); animation: slideIn .3s var(--ease);
}
.toast .t-ico { flex-shrink: 0; margin-top: 2px; }
.toast .t-title { font-weight: 600; font-size: .92rem; }
.toast .t-msg { font-size: .82rem; color: var(--muted); }
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--brand-400); }

/* --------------------------------------------------------------------------
   Progress
   -------------------------------------------------------------------------- */
.progress { height: 8px; border-radius: var(--radius-pill); background: var(--line); overflow: hidden; }
.progress-fill { height: 100%; background: var(--grad-brand); border-radius: inherit; transition: width .3s var(--ease); width: 0; }

.loader { width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--brand-100); border-top-color: var(--brand-500); animation: spin .8s linear infinite; margin: 2rem auto; }
.skeleton { background: linear-gradient(90deg, var(--line) 25%, #F3F1FA 50%, var(--line) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 10px; }

/* --------------------------------------------------------------------------
   Timeline / schedule
   -------------------------------------------------------------------------- */
.timeline { position: relative; padding-left: 1.6rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand-400), var(--pink-500)); }
.timeline-item { position: relative; padding-bottom: 1.6rem; }
.timeline-item::before { content: ""; position: absolute; left: -1.6rem; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-500); }
.timeline-item .time { font-family: var(--font-mono); font-size: .78rem; color: var(--brand-500); font-weight: 600; }

/* --------------------------------------------------------------------------
   Accordion
   -------------------------------------------------------------------------- */
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; overflow: hidden; background: #fff; }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font-weight: 600; text-align: left; }
.acc-head svg { transition: transform .25s var(--ease); flex-shrink: 0; color: var(--brand-500); }
.acc-item.open .acc-head svg { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 1.2rem 1.2rem; color: var(--ink-soft); }
.acc-item.open .acc-body { display: block; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--brand-950); color: #fff; padding: 4rem 0 2rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 100% 0%, rgba(124,58,237,.35), transparent 60%); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; position: relative; z-index: 1; }
.footer-title { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 1rem; }
.footer-links a { display: block; padding: .3rem 0; color: rgba(255,255,255,.75); font-size: .92rem; transition: color .15s, transform .15s; }
.footer-links a:hover { color: var(--cyan-300); transform: translateX(3px); }
.socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: all .2s;
}
.socials a:hover { background: var(--grad-brand); transform: translateY(-3px); border-color: transparent; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: rgba(255,255,255,.55); position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes fadeUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 0 0 rgba(255,90,140,.5);} 50% { box-shadow: 0 0 0 14px rgba(255,90,140,0);} }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }

.pulse-glow { animation: pulse-glow 2.4s infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Misc components
   -------------------------------------------------------------------------- */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state svg { width: 56px; height: 56px; margin: 0 auto 1rem; color: var(--brand-200); }
.empty-state h3 { color: var(--ink); margin-bottom: .4rem; }

.divider { height: 1px; background: var(--line); margin: 2.5rem 0; border: 0; }

.avatar-circle { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: #fff; }

.notice { display: flex; gap: .8rem; padding: 1rem 1.2rem; border-radius: var(--radius); font-size: .92rem; align-items: flex-start; }
.notice.info { background: var(--brand-50); border: 1px solid var(--brand-200); color: var(--brand-700); }
.notice.warn { background: var(--warning-50); border: 1px solid #FDE68A; color: #92400E; }
.notice.danger { background: var(--danger-50); border: 1px solid #FECACA; color: #B91C1C; }
.notice.success { background: var(--success-50); border: 1px solid #A7F3D0; color: #047857; }
.notice svg { flex-shrink: 0; margin-top: 2px; }

/* Admin sidebar layout */
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: var(--brand-950); color: #fff; padding: 1.4rem 1rem; display: flex; flex-direction: column; gap: .3rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { gap: .5rem; }
.admin-side .brand-logo { height: 34px; }
.admin-side .brand-name { font-size: 1rem; }
.admin-side .side-title { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); padding: 1.2rem .7rem .4rem; }
.admin-side a.side-link { display: flex; align-items: center; gap: .7rem; padding: .65rem .7rem; border-radius: 12px; color: rgba(255,255,255,.78); font-weight: 500; font-size: .92rem; transition: all .15s; }
.admin-side a.side-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-side a.side-link.active { background: var(--grad-brand); color: #fff; }
.admin-side a.side-link svg { flex-shrink: 0; }
.admin-main { padding: 1.6rem; background: var(--bg); }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }

.badge-dot { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .65rem; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 700; }
.badge-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* --------------------------------------------------------------------------
   Admin tabs (tabbed admin panel)
   -------------------------------------------------------------------------- */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .25s var(--ease); }

/* --------------------------------------------------------------------------
   Festival brochure (A5 sheets)
   -------------------------------------------------------------------------- */
.brochure-preview {
  background: #eef0f5; border-radius: 14px; padding: 1.4rem;
  max-height: 760px; overflow: auto;
  display: flex; flex-direction: column; gap: 1.2rem; align-items: center;
}
.brochure-sheet {
  width: 148mm; min-height: 210mm; box-sizing: border-box;
  background: #fff; color: #1a1a2e; border-radius: 8px;
  box-shadow: 0 10px 30px rgba(20, 10, 40, .18);
  padding: 11mm; position: relative; overflow: hidden;
  display: flex; flex-direction: column; flex: 0 0 auto;
  font-family: Georgia, 'Times New Roman', serif;
}

/* --- cover page --- */
.brochure-cover {
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(255, 90, 140, .4) 0%, rgba(255, 90, 140, 0) 55%),
    radial-gradient(120% 100% at 92% 92%, rgba(34, 211, 238, .38) 0%, rgba(34, 211, 238, 0) 55%),
    linear-gradient(150deg, #2b0a4d 0%, #6a11cb 48%, #2575fc 100%);
  color: #fff; text-align: center; padding: 0;
}
.cover-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 11mm; position: relative; }
.cover-orbs i { position: absolute; border-radius: 50%; opacity: .28; }
.cover-orbs i:nth-child(1) { width: 58mm; height: 58mm; background: radial-gradient(circle, #FF5A8C, transparent 70%); top: -14mm; left: -20mm; }
.cover-orbs i:nth-child(2) { width: 70mm; height: 70mm; background: radial-gradient(circle, #22D3EE, transparent 70%); bottom: -22mm; right: -28mm; }
.cover-orbs i:nth-child(3) { width: 42mm; height: 42mm; background: radial-gradient(circle, #FBBF24, transparent 70%); top: 52%; left: 64%; opacity: .18; }
.cover-logo { width: 62mm; height: auto; margin-bottom: 6mm; object-fit: contain; }
.cover-kicker { font-family: var(--font-mono); letter-spacing: .3em; text-transform: uppercase; font-size: 2.6mm; color: #ffe3ee; margin-bottom: 6mm; }
.cover-title { font-size: 9.5mm; font-weight: 800; line-height: 1.18; margin: 0 0 6mm; text-shadow: 0 2px 14px rgba(0, 0, 0, .28); }
.cover-rule { width: 36mm; height: 1.2mm; border-radius: 2mm; background: linear-gradient(90deg, #FF5A8C, #FBBF24, #22D3EE); margin-bottom: 6mm; }
.cover-subtitle { font-family: var(--font-mono); font-size: 3.1mm; letter-spacing: .06em; color: #eaf0ff; line-height: 1.7; max-width: 122mm; }
.cover-foot { position: absolute; bottom: 0; left: 0; right: 0; padding: 5.5mm 11mm 7.5mm; border-top: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .14); font-family: var(--font-mono); font-size: 2.4mm; letter-spacing: .08em; color: rgba(255, 255, 255, .85); text-align: center; }

/* --- director's message page --- */
.brochure-director { text-align: center; padding: 0; }
.director-band { background: linear-gradient(90deg, #FF5A8C, #7C3AED, #22D3EE); color: #fff; font-family: var(--font-mono); font-size: 2.8mm; letter-spacing: .3em; text-transform: uppercase; text-align: center; padding: 3.5mm 0; }
.director-kicker { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .28em; font-size: 2.8mm; color: #C2185B; margin: 7mm 0 3mm; }
.director-heading { font-size: 6.5mm; line-height: 1.25; margin: 0 11mm 6mm; color: #1a1a2e; }
.director-photo-wrap { display: table; width: auto; height: 64mm; margin: 0 auto 7mm; background: linear-gradient(135deg, #FF5A8C, #7C3AED, #22D3EE); border-radius: 4mm; padding: 1.5mm; box-sizing: border-box; box-shadow: 0 6px 18px rgba(20, 10, 40, .25); }
.director-photo { height: 100%; border-radius: 3mm; overflow: hidden; background: #fff; line-height: 0; }
.director-photo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }
.director-body { text-align: justify; font-size: 3.5mm; line-height: 1.78; color: #333; margin: 0 11mm 6mm; flex: 1; }
.director-body p { margin: 0 0 4mm; }
.director-sign { margin: 0 11mm 8mm; text-align: center; border-top: 1px solid #f0d9ff; padding-top: 4mm; }
.director-sign-name { font-size: 4.5mm; font-weight: 700; color: #6a11cb; }
.director-sign-role { font-family: var(--font-mono); font-size: 2.6mm; letter-spacing: .18em; text-transform: uppercase; color: #888; margin-top: .8mm; }

/* --- film pages (two films per A5 sheet) --- */
.brochure-films { justify-content: space-between; }
.brochure-film { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.film-sep { border: 0; height: 1px; background: linear-gradient(90deg, transparent, #c4b5fd, transparent); margin: 3mm 0; flex: 0 0 auto; }
.film-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5mm; }
.film-idx { font-family: var(--font-mono); font-size: 2.4mm; letter-spacing: .16em; font-weight: 700; background: linear-gradient(135deg, #FF5A8C, #7C3AED); color: #fff; padding: .7mm 2.8mm; border-radius: 5mm; }
.film-premiere { background: #FFE4EC; color: #C2185B; font-size: 2.2mm; font-weight: 700; padding: .8mm 2.6mm; border-radius: 6mm; letter-spacing: .06em; text-transform: uppercase; }
.film-title { font-size: 4.6mm; font-weight: 700; line-height: 1.2; margin: 0 0 1mm; border-left: 1.2mm solid #7C3AED; padding-left: 2.5mm; }
.film-media { display: flex; gap: 4mm; align-items: flex-start; margin-bottom: 2.5mm; flex: 0 0 auto; }
.film-producer { display: flex; flex-direction: row; align-items: center; gap: 3mm; flex: 0 0 auto; }
.producer-photo { min-width: 18mm; height: 34mm; border-radius: 1.5mm; overflow: hidden; background: linear-gradient(135deg, #FF5A8C, #7C3AED); color: #fff; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 8mm; font-weight: 700; }
.producer-photo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }
.producer-name { max-width: 36mm; }
.producer-name span { display: block; font-family: var(--font-mono); font-size: 2.2mm; letter-spacing: .16em; text-transform: uppercase; color: #C2185B; margin-bottom: .4mm; }
.producer-name b { font-size: 3.2mm; line-height: 1.3; }
.film-still { flex: 0 1 auto; min-width: 0; height: 34mm; border-radius: 2.5mm; overflow: hidden; background: linear-gradient(135deg, #fce7f3, #ede9fe, #e0f2fe); position: relative; display: flex; align-items: center; justify-content: center; }
.film-still img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }
.film-still-ph { display: flex; align-items: center; justify-content: center; height: 100%; min-width: 55mm; }
.film-still-ph span { font-size: 13mm; font-weight: 700; color: #c4b5fd; }
.film-synopsis { font-size: 2.8mm; line-height: 1.6; color: #333; margin: 0 0 2mm; text-align: justify; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.film-meta { font-size: 2.5mm; color: #556; text-align: left; font-family: var(--font-mono); letter-spacing: .04em; margin: 0 0 2.5mm; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Diagnostics (admin Test tab)
   -------------------------------------------------------------------------- */
.test-step { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .7rem; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.test-step .ico { font-size: .9rem; line-height: 1.5; }
.test-step .t-label { font-weight: 600; font-size: .86rem; }
.test-step .t-detail { font-size: .78rem; color: var(--muted); margin-top: .1rem; }
.test-ok { color: #047857; } .test-fail { color: #B91C1C; } .test-warn { color: #B45309; }

/* --------------------------------------------------------------------------
   Print — only the active brochure prints (A5 sheets)
   -------------------------------------------------------------------------- */
@media print {
  @page { size: A5 portrait; margin: 0; }
  body.printing .admin-side, body.printing #admin-tabs, body.printing .admin-topbar, body.printing .no-print { display: none !important; }
  body.printing .tab-panel { display: none !important; }
  body.printing #tab-brochure { display: block !important; }
  body.printing #tab-brochure .grid { display: block; }
  body.printing .admin-shell { display: block; }
  body.printing .admin-main { padding: 0; background: #fff; }
  body.printing .brochure-preview { background: #fff; padding: 0; max-height: none; overflow: visible; gap: 0; display: block; }
  body.printing .brochure-sheet { width: 148mm; min-height: 210mm; box-shadow: none; border: 0; border-radius: 0; margin: 0; page-break-after: always; page-break-inside: avoid; }
  body.printing .brochure-sheet:last-child { page-break-after: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin-side .side-title { display: none; }
  .admin-side .brand { margin-right: auto; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: none; }
  .mobile-menu.show { display: flex; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .hero--home .hero-content { padding: 0 0 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .steps::before { left: 4%; right: 4%; }
  .step .lbl { font-size: .62rem; }
  .toasts { top: 74px; right: .5rem; left: .5rem; max-width: none; }
}
