/* ==========================================================
   HASIČI SENOHRABY — VOLBY 2026
   Design system + layout + animace
   ========================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans/PlusJakartaSans-VariableFont_wght.woff2') format('woff2');
  font-weight: 200 800;
  font-display: optional;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope/Manrope-VariableFont_wght.woff2') format('woff2');
  font-weight: 200 800;
  font-display: optional;
}
@font-face {
  font-family: 'Quicksand';
  src: url('../fonts/Quicksand/Quicksand-VariableFont_wght.woff2') format('woff2');
  font-weight: 300 700;
  font-display: optional;
}
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/Caveat/Caveat-VariableFont_wght.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #0b2038;
  --ink-2: #142e4d;
  --ink-soft: #3a5170;
  --muted: #64758a;
  --red: #d21f1f;
  --red-dark: #8f1414;
  --red-light: #ff5a3c;
  --amber: #de9f2e;
  --cream: #f7f4ee;
  --paper: #ffffff;
  --line: #e7e1d6;
  --shadow: 0 20px 45px -20px rgba(11, 32, 56, .35);
  --shadow-sm: 0 8px 20px -10px rgba(11, 32, 56, .25);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-accent: 'Quicksand', sans-serif;
  --ease: cubic-bezier(.19,1,.22,1);
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons & tags ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-accent); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; border: none;
  cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red-light), var(--red) 55%, var(--red-dark));
  color: #fff; box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(210,31,31,.55); }
.btn-ghost {
  background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.5);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.btn-outline-ink {
  background: transparent; color: var(--ink); border: 1.5px solid var(--line);
}
.btn-outline-ink:hover { border-color: var(--ink); transform: translateY(-3px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-accent); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  background: rgba(210,31,31,.08); padding: 8px 16px; border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 4px rgba(210,31,31,.18);
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(46px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: transform, opacity;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-56px) translateY(0); }
.reveal-left.is-visible { transform: translateX(0); }
.reveal-right { transform: translateX(56px) translateY(0); }
.reveal-right.is-visible { transform: translateX(0); }
.reveal-scale { transform: scale(.88); }
.reveal-scale.is-visible { transform: scale(1); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(11,32,56,0);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(11,32,56,.92); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
  height: 68px;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand picture { display: block; line-height: 0; }
.brand img { height: 42px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand img { height: 34px; }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.brand-text small { display: block; font-family: var(--font-accent); font-weight: 600; font-size: 11px; letter-spacing: .1em; color: var(--amber); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: rgba(255,255,255,.85); font-weight: 600; font-size: 14.5px;
  padding: 10px 16px; border-radius: 999px; position: relative;
  transition: color .3s, background .3s;
}
.main-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.main-nav a.active { color: #fff; background: rgba(255,255,255,.14); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: none;
  background: rgba(255,255,255,.12); position: relative; cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ''; position: absolute; left: 11px; right: 11px; height: 2px; background: #fff;
  transition: transform .35s var(--ease), opacity .3s;
}
.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 27px; }
.nav-toggle.open::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle.open span { opacity: 0; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 100px;
  background: radial-gradient(120% 100% at 80% 0%, #16324f 0%, var(--ink) 46%, #071527 100%);
  overflow: hidden; color: #fff;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(4px);
  background: radial-gradient(circle at 30% 30%, rgba(210,31,31,.55), rgba(210,31,31,0) 70%);
  animation: floaty 14s ease-in-out infinite;
}
.hero::before { width: 620px; height: 620px; top: -220px; right: -160px; }
.hero::after {
  width: 460px; height: 460px; left: -180px; bottom: -180px;
  background: radial-gradient(circle at 40% 40%, rgba(222,159,46,.35), rgba(222,159,46,0) 70%);
  animation-duration: 18s; animation-delay: -4s;
}
@keyframes floaty {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.08); }
}
.hero-grid {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-accent); font-weight: 700; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 22px; opacity: 0; animation: fadeUp .9s var(--ease) .15s forwards;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(210,31,31,.28); }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem); color: #fff; margin-bottom: .4em;
  opacity: 0; animation: fadeUp .9s var(--ease) .3s forwards;
}
.hero h1 .accent { color: var(--red-light); background: linear-gradient(90deg, var(--red-light), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead {
  font-size: 1.15rem; color: rgba(255,255,255,.78); max-width: 540px;
  opacity: 0; animation: fadeUp .9s var(--ease) .45s forwards;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; opacity: 0; animation: fadeUp .9s var(--ease) .6s forwards; }
.hero-stats {
  display: flex; gap: 34px; margin-top: 54px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .9s var(--ease) .75s forwards;
}
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 2rem; color: #fff; }
.hero-stats div span { font-size: 13px; color: rgba(255,255,255,.6); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

.hero-visual {
  position: relative; opacity: 0; animation: fadeUp 1.1s var(--ease) .35s forwards;
}
.hero-visual .frame {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.65);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-visual picture { display: block; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-visual .badge-float {
  position: absolute; bottom: -26px; left: -26px;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  color: #fff; padding: 18px 24px; border-radius: 20px; box-shadow: var(--shadow);
  font-family: var(--font-accent); font-weight: 700; font-size: 14px;
  animation: bob 5s ease-in-out infinite;
  max-width: 230px;
}
.hero-visual .badge-float b { display: block; font-family: var(--font-display); font-size: 1.5rem; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(1deg); } }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  z-index: 2;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; } }

/* ============ SECTION HEADERS ============ */
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-pad { padding: 120px 0; }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-ink { background: linear-gradient(160deg, var(--ink) 0%, #071527 100%); color: #fff; }

/* ============ ABOUT / PILLARS STRIP ============ */
.pillars-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 760px; margin: 60px auto 0;
}
.pillar-chip {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pillar-chip:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow); }

/* full-bleed photo, hidden until hover. The source image is a circle
   inscribed in its own square canvas, so it has to be scaled well past
   100% (~1.55x — a square's diagonal is 1.41x its side) for the circle to
   swallow the card's corners instead of leaving them transparent. */
.pillar-chip .chip-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 1; opacity: 0; transform: scale(1.85);
  transition: opacity .6s var(--ease), transform .9s var(--ease);
}
.pillar-chip:hover .chip-bg { opacity: 1; transform: scale(1.55); }

/* only the bottom fifth darkens, to hold the white title */
.pillar-chip .chip-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; height: 20%; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(7,21,39,.82) 55%, rgba(7,21,39,.9));
  opacity: 0; transition: opacity .5s var(--ease);
}
.pillar-chip:hover .chip-overlay { opacity: 1; }

.pillar-chip .ic {
  position: relative; z-index: 3;
  display: block; width: 72px; height: 72px;
  transition: opacity .4s var(--ease), transform .4s var(--ease), filter .35s var(--ease);
  filter: drop-shadow(0 6px 10px rgba(11,32,56,.18));
}
.pillar-chip .ic img { width: 100%; height: 100%; display: block; object-fit: contain; }
.pillar-chip:hover .ic { opacity: 0; transform: scale(.6); }

.pillar-chip strong {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: block; padding: 10px 10px; font-family: var(--font-display); font-size: 13px; color: var(--ink);
  transition: color .4s var(--ease);
}
.pillar-chip:hover strong { color: #fff; }

/* ---------- Pillar preview modal (heslo + shrnutí, before jumping to Program) ---------- */
.pillar-modal {
  position: relative; background: var(--paper); border-radius: 28px;
  max-width: 540px; width: 100%; max-height: 86vh; overflow-y: auto;
  padding: 44px 40px 40px; text-align: center;
  transform: translateY(40px) scale(.96); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.5);
}
.modal-overlay.open .pillar-modal { transform: translateY(0) scale(1); opacity: 1; }
.pm-body > * { animation: mFadeUp .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 60ms); }
.pm-picto { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 14px; filter: drop-shadow(0 8px 14px rgba(11,32,56,.18)); }
.pm-num {
  font-family: var(--font-display); font-size: 12.5px; color: var(--red); font-weight: 800;
  letter-spacing: .1em; margin-bottom: 8px;
}
.pillar-modal h3 { font-size: 1.7rem; margin-bottom: 16px; }
.pm-quote {
  position: relative; overflow: hidden; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 18px 22px 16px; margin: 0 0 18px; text-align: left;
  font-style: italic; font-weight: 600; color: var(--ink-2); background: var(--cream); font-size: .98rem;
}
.pm-quote::before {
  content: '\201C'; position: absolute; top: -.28em; left: 10px; z-index: -1;
  font-family: var(--font-display); font-style: normal; font-size: 4.6rem; line-height: 1;
  color: rgba(210,31,31,.12); pointer-events: none;
}
.pm-summary { color: var(--muted); font-size: .98rem; margin-bottom: 22px; text-align: left; }
.pm-more {
  justify-content: center; margin: 0 auto; padding: 10px 22px;
  font-size: 13.5px; box-shadow: none;
}
.pm-more:hover { box-shadow: 0 10px 20px -10px rgba(210,31,31,.5); }
.pm-more svg { width: 16px; height: 16px; }

/* ============ CANDIDATES ============ */
.cand-toolbar { display: flex; justify-content: center; margin-bottom: 44px; }
.cand-grid {
  /* extra row-gap (vs. column-gap) leaves headroom above each card for the
     hover pop-out photo to grow into without overlapping the row above */
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 96px 26px;
}
.cand-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: pointer; position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  transform-style: preserve-3d;
}
.cand-card:hover {
  transform: translateY(-10px); box-shadow: var(--shadow); z-index: 5;
  overflow: visible; clip-path: inset(-24% 0 0 0 round var(--radius));
}
.cand-card .order-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(11,32,56,.75); backdrop-filter: blur(6px); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
}
.cand-card .photo-wrap { position: relative; aspect-ratio: 4/4.6; overflow: hidden; }
.cand-card:hover .photo-wrap { overflow: visible; clip-path: inset(-24% 0 0 0); }
.cand-card .photo-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cand-card .photo-bg { transition: opacity .6s var(--ease), filter .6s var(--ease); }
.cand-card:hover .photo-bg { opacity: .5; filter: saturate(.7) brightness(.8) blur(1.5px); }
.cand-card .photo-cutout {
  transform-origin: 50% 100%;
  transition: transform .6s var(--ease), filter .6s var(--ease);
  filter: drop-shadow(0 16px 18px rgba(11,32,56,.35));
}
.cand-card:hover .photo-cutout { transform: scale(1.16) translateY(-0.3%); filter: drop-shadow(0 22px 24px rgba(11,32,56,.45)); }
.cand-card .photo-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,32,56,.92) 0%, rgba(11,32,56,.15) 55%, rgba(11,32,56,0) 75%);
}
.cand-card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; color: #fff; z-index: 2; }
.cand-card .info .role-pill {
  display: inline-block; background: rgba(255,255,255,.16); backdrop-filter: blur(4px);
  font-family: var(--font-accent); font-weight: 700; font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: #fff; padding: 5px 13px; border-radius: 999px; margin-bottom: 10px;
}
.cand-card .info h3 { margin-bottom: 6px; line-height: 1.1; }
.cand-card .info h3 .fn {
  display: block; font-size: .95rem; font-weight: 700; color: var(--amber);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 5px;
}
.cand-card .info h3 .sn { display: block; font-size: 1.95rem; font-weight: 800; color: #fff; text-transform: uppercase; }
.cand-card .info .tagline { font-size: 13.5px; color: rgba(255,255,255,.82); line-height: 1.45; }
.cand-card .expand-hint {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  color: #fff; z-index: 3; transition: background .35s, transform .5s var(--ease);
}
.cand-card:hover .expand-hint { background: var(--red); }

/* ---------- Candidate modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500; background: rgba(7,21,39,.72);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  padding: 28px; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.cand-modal {
  --bottom-bar-h: 108px;
  position: relative; background: var(--paper); border-radius: 28px; max-width: 1100px; width: 100%;
  height: 82vh; overflow: hidden; display: grid; grid-template-columns: 1fr 1.15fr;
  transform: translateY(40px) scale(.96); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.5);
}
.modal-overlay.open .cand-modal { transform: translateY(0) scale(1); opacity: 1; }
.cand-modal .m-photo { position: relative; background: var(--ink); overflow: hidden; height: 100%; }
.cand-modal .m-photo > img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  animation: mPhotoZoom 1s var(--ease) both;
  transition: transform .6s var(--ease);
}
.cand-modal .m-photo:hover > img { transform: scale(1.08); }
@keyframes mPhotoZoom { from { transform: scale(1.14); opacity: .55; } to { transform: scale(1); opacity: 1; } }
.cand-modal .m-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(7,21,39,.88) 0%, rgba(7,21,39,.3) 42%, transparent 68%);
}
.cand-modal .m-photo-quote-row {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: var(--bottom-bar-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 22px; background: rgba(255,255,255,.82); backdrop-filter: blur(10px);
}
.cand-modal .m-photo-logo { flex: 0 0 auto; width: 60px; height: auto; display: block; }
.cand-modal .m-photo-quote {
  position: relative; flex: 1 1 auto; min-width: 0; padding-left: 20px;
  color: var(--ink); font-style: italic; font-weight: 600; font-size: .92rem; line-height: 1.4;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.cand-modal .m-photo-quote::before {
  content: '\201C'; position: absolute; top: -.4em; left: -4px; z-index: -1;
  font-family: var(--font-display); font-style: normal; font-size: 3.6rem; line-height: 1;
  color: rgba(11,32,56,.14); pointer-events: none;
}

/* photo (+ close button) stay put. Within the info column, .m-body scrolls
   while .m-focus and .m-badge-ribbon are pinned to the bottom of the modal
   window at all times — the ribbon fixed at --bottom-bar-h so it lines up
   with the quote bar on the photo side (same height, both flush to the
   bottom edge, forming one continuous band across the modal on desktop). */
.cand-modal .m-body-col { height: 100%; display: flex; flex-direction: column; min-height: 0; }
.cand-modal .m-body { padding: 28px 32px 16px; position: relative; flex: 1 1 auto; overflow-y: auto; min-height: 0; }
.cand-modal .m-focus {
  flex: 0 0 auto; position: relative; z-index: 2;
  margin: 0 32px 14px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(210,31,31,.08), rgba(222,159,46,.08));
  font-size: 12px;
  animation: mFadeUp .5s var(--ease) .4s both;
}
.cand-modal .m-focus b { display: block; color: var(--red); font-family: var(--font-display); font-size: 13px; margin-bottom: 1px; }
.cand-modal .m-badge-ribbon {
  flex: 0 0 auto; position: relative; z-index: 2; overflow: hidden;
  height: var(--bottom-bar-h); width: 100%;
  padding: 0 32px; display: flex; align-items: center; justify-content: flex-end; gap: 20px;
  background: linear-gradient(135deg, var(--red-light), var(--red) 55%, var(--red-dark));
  color: #fff; box-shadow: var(--shadow-sm);
  animation: mFadeUp .5s var(--ease) .48s both;
}
.cand-modal .m-badge-ribbon::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); animation: mShine 1.3s ease-out .9s 1;
}
@keyframes mShine { from { left: -60%; } to { left: 140%; } }
.cand-modal .m-badge-words {
  display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px;
  font-family: var(--font-accent); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: .04em;
}
.cand-modal .m-badge-dot { opacity: .55; font-size: 8px; }
.cand-modal .m-badge-final {
  flex: 0 0 auto;
  font-family: 'Caveat', cursive; font-weight: 700; font-size: 2.1rem; line-height: 1;
  transform: rotate(-4deg); transform-origin: 50% 50%;
}

/* every direct block in the modal body fades/slides in with a short stagger
   each time it's freshly cloned into the DOM (see app.js) */
.m-body > * { animation: mFadeUp .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms + 60ms); }
@keyframes mFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.m-role-pill {
  display: inline-block; background: var(--ink); color: #fff;
  font-family: var(--font-accent); font-weight: 700; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 10px;
}
.m-name { font-size: 1.1rem; line-height: 1.1; margin: 0 0 6px; }
.m-name .fn {
  display: block; font-size: .86rem; font-weight: 700; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px;
}
.m-name .sn { display: block; font-size: 1.9rem; font-weight: 800; color: var(--red); text-transform: uppercase; }
.m-tagline { color: var(--ink-2); font-weight: 700; font-size: .95rem; margin-bottom: 0; }

.m-facts {
  display: grid; grid-template-columns: 1fr; gap: 10px; margin: 12px 0;
  padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.m-fact { display: flex; align-items: center; gap: 10px; }
.m-fact .ic {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(210,31,31,.1); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.m-fact:hover .ic { background: var(--red); color: #fff; transform: scale(1.12); }
.m-fact .ic svg { width: 15px; height: 15px; }
.m-fact strong { display: block; font-size: 13px; color: var(--ink); line-height: 1.25; }
.m-fact span { font-size: 11px; color: var(--muted); }

.m-section-label {
  font-family: var(--font-accent); font-weight: 700; font-size: 11px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--red); margin: 12px 0 6px;
}
.m-skill-row { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.m-skill {
  flex: 1 1 0; min-width: 64px; display: flex; flex-direction: column; align-items: center;
  gap: 5px; text-align: center; padding: 9px 6px 3px; border-right: 1px solid var(--line);
  transition: transform .3s var(--ease);
}
.m-skill:last-child { border-right: none; }
.m-skill:hover { transform: translateY(-3px); }
.m-skill .ic { width: 22px; height: 22px; color: var(--red); transition: transform .3s var(--ease); }
.m-skill:hover .ic { transform: scale(1.18); }
.m-skill-row.interests .m-skill .ic { color: var(--amber); }
.m-skill span:last-child { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: var(--ink-2); line-height: 1.2; }

/* direct child of .cand-modal (a sibling of .m-photo/.m-body, see index.php) —
   pinned to the modal box itself so it never scrolls away with the content */
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(11,32,56,.85); backdrop-filter: blur(4px); border: none; cursor: pointer; z-index: 10; color: #fff;
  display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease), background .3s, color .3s;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.4);
}
.modal-close svg { width: 17px; height: 17px; }
.modal-close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }


/* ============ PROGRAM ============ */
.program-shell { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.program-nav {
  position: sticky; top: calc(var(--header-h) + 24px);
  display: flex; flex-direction: column; gap: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px; box-shadow: var(--shadow-sm);
}
.program-nav button {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  padding: 13px 14px; border-radius: 14px; border: none; background: transparent;
  cursor: pointer; font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--ink-soft);
  transition: background .3s, color .3s;
  position: relative;
}
.program-nav button .num {
  position: relative; width: 38px; height: 38px; border-radius: 11px; background: var(--cream);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .3s, color .3s;
}
.program-nav button .num img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.program-nav button .num em {
  position: absolute; right: -5px; bottom: -5px; font-style: normal;
  width: 17px; height: 17px; border-radius: 50%; background: var(--ink); color: #fff;
  font-size: 9.5px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--paper); transition: background .3s;
}
.program-nav button:hover { background: rgba(210,31,31,.06); color: var(--ink); }
.program-nav button.active { background: var(--ink); color: #fff; }
.program-nav button.active .num { background: rgba(255,255,255,.12); }
.program-nav button.active .num em { background: var(--red); }

.program-panels { position: relative; min-height: 640px; }
.program-panel {
  display: none; background: var(--paper); border-radius: var(--radius);
  padding: 44px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.program-dots { display: none; }
.program-panel.active {
  display: block; animation: panelIn .55s var(--ease);
}
@keyframes panelIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: translateX(0); } }
.p-head { display: flex; align-items: center; gap: 20px; margin-bottom: 6px; }
.p-picto {
  flex: 0 0 auto; width: 76px; height: 76px; object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(11,32,56,.16));
}
.program-panel .p-num {
  font-family: var(--font-display); font-size: 13px; color: var(--red); font-weight: 800;
  letter-spacing: .1em; margin-bottom: 6px;
}
.program-panel h3 { font-size: 1.9rem; margin-bottom: 0; }
.program-panel .p-quote {
  font-family: var(--font-accent); font-weight: 600; font-style: italic; color: var(--ink-2);
  font-size: 1.15rem; margin-bottom: 18px;
}
.program-panel .p-summary { color: var(--muted); font-size: 1.02rem; max-width: 760px; }

.measures { display: grid; gap: 10px; margin: 30px 0; }
.measure {
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer;
  transition: border-color .3s, background .3s;
}
.measure:hover { border-color: var(--red); background: rgba(210,31,31,.03); }
.measure .m-head {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: center;
}
.measure .m-ico {
  width: 30px; height: 30px; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center; color: var(--red); font-weight: 800; font-size: 13px;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.measure.open .m-ico { background: var(--red); color: #fff; transform: rotate(45deg); }
.measure .m-title { font-weight: 700; font-size: 15px; }
.measure .m-detail {
  padding-left: 44px; max-height: 0; overflow: hidden; opacity: 0; cursor: default;
  transition: max-height .45s var(--ease), opacity .35s var(--ease), margin .45s var(--ease);
  display: flex; flex-direction: column; gap: 10px;
}
.measure.open .m-detail { max-height: 280px; opacity: 1; margin-top: 12px; }
.m-detail-label {
  display: block; font-family: var(--font-accent); font-weight: 600; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .09em; color: var(--red); margin-bottom: 2px;
}
.m-detail-value { margin: 0; font-weight: 700; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.tl-item {
  background: var(--cream); border-radius: 16px; padding: 20px; position: relative; overflow: hidden;
}
.tl-item .tl-label { font-family: var(--font-accent); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: 8px; display: block; }
.tl-item p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.tl-bar { height: 5px; border-radius: 4px; background: var(--line); margin-bottom: 14px; overflow: hidden; }
.tl-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red-light), var(--red)); transition: width 1.1s var(--ease); border-radius: 4px; }
.tl-item.in-view .tl-bar span.w1 { width: 33%; }
.tl-item.in-view .tl-bar span.w2 { width: 66%; }
.tl-item.in-view .tl-bar span.w3 { width: 100%; }

/* ============ CTA / CONTACT ============ */
.cta-band {
  background: linear-gradient(120deg, var(--red-dark), var(--red) 60%, var(--red-light));
  border-radius: 32px; padding: 64px; color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: -40%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 60%);
  animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band h2 { position: relative; color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.cta-band p { position: relative; color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-actions { position: relative; justify-content: center; }

.contact-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px; margin-top: 28px; }
.contact-single {
  display: flex; align-items: center; gap: 18px; justify-content: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px 32px; margin: 0; max-width: 460px;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease);
}
.contact-single:hover { transform: translateY(-6px); }
.contact-single .ic { flex: 0 0 auto; width: 42px; height: 42px; color: var(--red); }
.contact-single strong { display: block; font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.contact-single a { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ink); transition: color .3s; }
.contact-single a:hover { color: var(--red); }
.contact-single .qr-code { flex: 0 0 auto; width: 88px; height: 88px; border-radius: 8px; border: 1px solid var(--line); padding: 4px; background: #fff; }
.contact-transparency a { font-size: .95rem; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px 0 28px; }
.site-footer .foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.site-footer .brand-text { color: #fff; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { font-size: 14px; transition: color .3s; }
.foot-links a:hover { color: var(--amber); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: 12.5px; color: rgba(255,255,255,.45); text-align: center; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .cand-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-strip { grid-template-columns: repeat(2, 1fr); }
  .program-shell { grid-template-columns: 1fr; }
  .program-nav { position: static; flex-direction: row; overflow-x: auto; }
}
@media (max-width: 760px) {
  /* Na mobilu nepoužívat backdrop-filter na rodiči navigace.
     V některých mobilních prohlížečích z něj vznikne containing block
     pro position:fixed a tmavý overlay menu pak při scrollu zmizí. */
  .site-header.scrolled,
  .site-header.menu-open {
    background: #0b2038;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
    height: 68px;
  }
  .site-header.menu-open .brand img { height: 34px; }
  .main-nav { position: fixed; top: 68px; left: 0; right: 0;
    height: calc(100dvh - 68px); min-height: calc(100vh - 68px);
    background: #071527; backdrop-filter: none; -webkit-backdrop-filter: none;
    flex-direction: column; align-items: stretch; padding: 24px;
    transform: translateX(100%); transition: transform .45s var(--ease);
    z-index: 199;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 20px; padding: 16px; text-align: center; }
  .nav-toggle { display: block; }

  /* candidates: back to a plain stacked list (no carousel). There's no
     :hover on touch, so instead the card that's currently fully visible
     on screen gets the same pop-out treatment hover gives it on desktop
     (.cand-card.cand-full below, toggled by app.js via
     IntersectionObserver) while every other card shrinks slightly to set
     it apart (.cand-shrink). Named cand-full/cand-shrink — not is-visible —
     so this never collides with the unrelated .reveal.is-visible scroll-in
     system that the same .cand-card elements also use. Extra gap between
     cards leaves room for the pop-out photo to grow upward without
     overlapping the card above it. */
  .cand-grid { grid-template-columns: 1fr; gap: 64px; }
  .cand-card.cand-full {
    overflow: visible; clip-path: inset(-24% 0 0 0 round var(--radius));
  }
  .cand-card.cand-full .photo-wrap { overflow: visible; clip-path: inset(-24% 0 0 0); }
  .cand-card.cand-full .photo-bg { opacity: .5; filter: saturate(.7) brightness(.8) blur(1.5px); }
  .cand-card.cand-full .photo-cutout {
    transform: scale(1.16) translateY(-0.3%);
    filter: drop-shadow(0 22px 24px rgba(11,32,56,.45));
  }
  .cand-card.cand-full .expand-hint { background: var(--red); }
  .cand-card.cand-shrink { transform: scale(.9); }

  /* pillars: simple tappable list instead of the hover-morph photo cards
     (hover doesn't exist on touch, so keep it lightweight — icon + title,
     tap jumps straight to that pillar in the Program section) */
  .pillars-strip { grid-template-columns: 1fr; gap: 10px; max-width: none; margin-top: 36px; }
  .pillar-chip {
    aspect-ratio: unset; flex-direction: row; justify-content: flex-start;
    text-align: left; padding: 14px 16px; gap: 14px;
  }
  .pillar-chip .chip-bg, .pillar-chip .chip-overlay { display: none; }
  .pillar-chip .ic { width: 42px; height: 42px; opacity: 1; transform: none; }
  .pillar-chip strong {
    position: static; padding: 0; flex: 1; color: var(--ink); font-size: 14.5px;
  }
  .pillar-chip:hover { transform: none; box-shadow: var(--shadow-sm); }
  .pillar-chip:hover .ic { opacity: 1; transform: none; }
  .pillar-chip:hover strong { color: var(--ink); }
  /* stacked layout: only the photo (+ close button) is fixed. Everything
     below it — including "Priorita v programu" / volební heslo — scrolls
     together as one unit, since on small screens a permanently pinned
     footer bar eats too much vertical space. */
  .cand-modal { --bottom-bar-h: 84px; display: flex; flex-direction: column; height: 88vh; }
  .cand-modal .m-photo { flex: 0 0 auto; height: 38vh; }
  .cand-modal .m-photo-quote-row { padding: 0 16px; gap: 12px; }
  .cand-modal .m-photo-quote { font-size: .82rem; padding-left: 14px; -webkit-line-clamp: 2; }
  .cand-modal .m-photo-quote::before { font-size: 2.8rem; }
  .cand-modal .m-photo-logo { width: 40px; }
  .cand-modal .m-body-col {
    flex: 1 1 auto; display: block; height: auto; min-height: 0; overflow-y: auto;
  }
  .cand-modal .m-body { padding: 20px 20px 4px; overflow: visible; flex: none; }
  .cand-modal .m-focus { margin: 0 20px 12px; animation: none; }
  .cand-modal .m-badge-ribbon { padding: 0 20px; box-shadow: none; animation: none; }
  .cand-modal .m-badge-final { font-size: 1.6rem; }

  /* Klíčové vlastnosti / Zájmy: one skill per row instead of a wrapped
     icon-tile grid, easier to scan and tap on a narrow screen. */
  .m-skill-row { flex-direction: column; border-top: none; }
  .m-skill {
    flex-direction: row; justify-content: flex-start; text-align: left;
    padding: 10px 2px; gap: 12px; border-right: none; border-bottom: 1px solid var(--line);
  }
  .m-skill:last-child { border-bottom: none; }
  .cta-band { padding: 40px 24px; }
  .section-pad { padding: 80px 0; }

  .hero-stats { gap: 22px; margin-top: 36px; }

  /* program: nav list is hidden, pillars become a native swipe carousel.
     Cards are narrower than the viewport and snap centered, with the side
     gutters (padding) letting the first/last card center too. */
  .program-nav { display: none; }
  .program-panels {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 14px;
    margin: 0 -24px; padding: 0 7vw; scroll-padding-inline: 7vw; min-height: 0;
  }
  .program-panels::-webkit-scrollbar { display: none; }
  .program-panel {
    display: block !important; flex: 0 0 86%; width: 86%; scroll-snap-align: center;
    margin-right: 0; animation: none !important;
  }
  .program-panel { padding: 26px 20px; }
  .program-panel h3 { font-size: 1.5rem; }
  .program-panel .p-quote { font-size: 1.02rem; }
  .p-head { gap: 14px; }
  .p-picto { width: 52px; height: 52px; }

  .program-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .program-dots .dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--line);
    transition: background .3s, transform .3s; cursor: pointer;
  }
  .program-dots .dot.active { background: var(--red); transform: scale(1.35); }

  .measure .m-head { grid-template-columns: 26px 1fr; }
  .measure .m-detail { padding-left: 40px; }

  /* short/mid/long-term goals stack instead of a 3-column row */
  .timeline { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 16px 26px; }
  .m-facts { grid-template-columns: 1fr; }
}

/* ---------- Akce: pozvánka na sousedské setkání (banner pod hero) ---------- */
.event-band {
  position: relative; z-index: 2;
  padding: 64px 0 0;
  background: var(--paper);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.event-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr 240px; align-items: center; gap: 40px;
  padding: 40px 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 45%, var(--red-dark) 100%);
  color: #fff;
  box-shadow: 0 30px 60px -25px rgba(143, 20, 20, .65);
}
.event-card::before {
  content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.event-date {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 150px; padding: 18px 12px 16px;
  background: #fff; color: var(--ink); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); transform: rotate(-4deg);
  font-family: var(--font-display); text-transform: uppercase; line-height: 1;
}
.event-date-day { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--red); }
.event-date strong { font-size: 76px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 4px; }
.event-date-month { font-size: 20px; font-weight: 800; letter-spacing: .08em; }
.event-body { position: relative; min-width: 0; }
.event-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-accent); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .14em;
  padding: 6px 14px; border-radius: 999px; background: rgba(0,0,0,.18);
}
.event-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: eventPulse 1.8s ease-out infinite; }
@keyframes eventPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  100% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}
.event-body h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 10px; text-transform: uppercase; letter-spacing: .01em; }
.event-lead { font-size: 1.1rem; font-weight: 600; max-width: 560px; color: rgba(255,255,255,.95); }
.event-meta { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.event-meta li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-weight: 700; }
.event-meta li svg { width: 20px; height: 20px; flex: 0 0 20px; align-self: center; }
.event-meta small { font-weight: 500; font-size: 14px; color: rgba(255,255,255,.8); }
.btn-event { background: #fff; color: var(--red-dark); box-shadow: var(--shadow-sm); }
.btn-event:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.45); }
.event-flyer {
  position: relative; display: block;
  border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 40px -18px rgba(0,0,0,.55);
  transform: rotate(3deg); transition: transform .45s var(--ease);
}
.event-flyer:hover { transform: rotate(0deg) scale(1.04); }
.event-flyer img { width: 100%; height: auto; }
.main-nav a.nav-event { background: var(--red); color: #fff; }
.main-nav a.nav-event:hover { background: var(--red-light); }

@media (max-width: 980px) {
  .event-card { grid-template-columns: auto 1fr; padding: 36px; gap: 28px 32px; }
  .event-flyer { display: none; }
}
@media (max-width: 760px) {
  .event-band { padding-top: 40px; }
  .event-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 22px; text-align: left; }
  .event-date { flex-direction: row; gap: 10px; width: auto; justify-self: start; padding: 10px 18px; transform: rotate(-2deg); }
  .event-date strong { font-size: 40px; margin: 0; }
  .event-date-month { font-size: 16px; }
  .btn-event { width: 100%; justify-content: center; white-space: normal; }
  .event-meta li { display: grid; grid-template-columns: 20px 1fr; column-gap: 10px; align-items: start; }
  .event-meta li svg { align-self: start; margin-top: 3px; }
  .event-meta small { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .event-tag .dot { animation: none; }
}
.hero-event {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 22px; padding: 6px 16px 6px 6px; border-radius: 999px;
  background: rgba(210,31,31,.18); border: 1.5px solid rgba(255,90,60,.6);
  color: #fff; font-family: var(--font-accent); font-weight: 700; font-size: 15px;
  opacity: 0; animation: fadeUp .9s var(--ease) .1s forwards;
  transition: background .3s, transform .35s var(--ease);
}
.hero-event:hover { background: rgba(210,31,31,.35); transform: translateY(-2px); }
.hero-event-date {
  padding: 5px 12px; border-radius: 999px; background: var(--red); text-transform: uppercase;
  font-size: 13px; letter-spacing: .06em;
}
.hero-event svg { width: 18px; height: 18px; }
