:root {
  /* DOP brand — grafický manuál */
  --navy: #0D2A49;
  --navy-deep: #081B2E;
  --navy-mid: #002F69;
  --sky: #0369A1;
  --action: #2563EB;
  --bright: #3B82F6;
  --ink: #1E293B;
  --muted: #64748B;
  --line: #CBD5E1;
  --ice: #F1F5F9;
  --ice-soft: #F8FAFC;
  --white: #FFFFFF;
  --alert: #EF4444;
  --ok: #10B981;
  --warn: #F59E0B;
  --blue-soft: #EFF6FF;
  --sky-soft: #E0F2FE;
  --shadow: 0 24px 64px rgba(13, 42, 73, .12);
  --shadow-soft: 0 12px 34px rgba(13, 42, 73, .08);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --max: 1240px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Outfit", "Inter", system-ui, sans-serif;
}

.svg-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Aplikace ve storech: html.app-live (zapíná js/site.js → DOP_APP_LIVE) */
html:not(.app-live) [data-app-live] { display: none !important; }
html.app-live [data-app-soon] { display: none !important; }
.page-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body::selection { background: var(--blue-soft) }
a { color: inherit; text-decoration: none }
button { font: inherit }
img { display: block; max-width: 100% }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto }
.section { padding: 104px 0 }
.section-tight { padding: 80px 0 }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sky);
}
.kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 42px;
}
.section-head h2 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--navy);
  font-weight: 800;
}
.section-head p { max-width: 540px; margin: 0; color: var(--muted); font-size: 16px }

/* Utility */
.utility {
  position: relative; z-index: 100;
  background: var(--navy-deep); color: rgba(255,255,255,.72); font-size: 12px;
}
.utility-inner {
  min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.utility-left, .utility-right { display: flex; align-items: center; gap: 22px }
.status-dot { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700 }
.status-dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 0 5px rgba(16,185,129,.16);
}

/* Header */
header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid rgba(13,42,73,.08);
}
.nav {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: flex; align-items: center; flex-shrink: 0 }
.brand-logo {
  height: 46px; width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  font-size: 13px; font-weight: 700; color: var(--navy);
}
.nav-links a { position: relative; padding: 28px 0 }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px;
  background: var(--action); transition: .2s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0 }
.nav-actions { display: flex; align-items: center; gap: 10px }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 800; font-size: 13px; letter-spacing: .01em; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px) }
.btn:focus-visible { outline: 2px solid var(--action); outline-offset: 3px }
.btn svg { width: 17px; height: 17px }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 12px 26px rgba(13,42,73,.18) }
.btn-action { background: var(--action); color: var(--white); box-shadow: 0 12px 28px rgba(37,99,235,.28) }
.btn-light { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.2) }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--line) }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 720px; color: var(--white);
  background: linear-gradient(128deg, var(--navy-deep) 0%, var(--navy) 52%, var(--navy-mid) 100%);
}
.hero-aurora {
  position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(37,99,235,.42), transparent 34%),
    radial-gradient(circle at 68% 84%, rgba(3,105,161,.32), transparent 30%),
    radial-gradient(circle at 18% 42%, rgba(59,130,246,.16), transparent 28%);
  animation: hero-aurora 16s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.hero::before {
  content: ""; position: absolute; inset: -56px; opacity: .14; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, transparent, black 28%, black);
  animation: hero-grid 28s linear infinite;
}
.hero::after {
  content: ""; position: absolute; width: 560px; height: 560px; z-index: 1;
  border: 1px solid rgba(255,255,255,.1); border-radius: 50%;
  right: -120px; top: 70px;
  box-shadow: 0 0 0 80px rgba(255,255,255,.016), 0 0 0 160px rgba(255,255,255,.01);
  animation: hero-rings 12s ease-in-out infinite;
  transform-origin: center;
}
.route-line {
  position: absolute; height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--bright), var(--sky), transparent);
  background-size: 200% 100%;
  opacity: .85; transform: rotate(-18deg); right: -130px; top: 360px; width: 790px;
  animation: hero-route 5.5s linear infinite;
  pointer-events: none;
}
.route-line::before, .route-line::after {
  content: ""; position: absolute; top: 50%; width: 13px; height: 13px;
  border: 3px solid var(--white); border-radius: 50%; background: var(--action);
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(37,99,235,.45);
  animation: hero-node 2.8s ease-out infinite;
}
.route-line::before { left: 38% }
.route-line::after {
  left: 66%; background: var(--sky);
  animation-delay: 1.4s;
  box-shadow: 0 0 0 0 rgba(3,105,161,.45);
}
@media (max-width: 1100px) {
  .route-line { display: none !important; }
  .hero::after { display: none !important; }
}
.hero-inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
  min-height: 720px; padding: 72px 0;
}
.hero-logo {
  height: 64px; width: auto; margin-bottom: 28px;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.78); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.hero-eyebrow .hero-dot {
  width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--bright);
  box-shadow: 0 0 0 0 rgba(59,130,246,.55);
  animation: hero-node 2.2s ease-out infinite;
}
@keyframes hero-aurora {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: .85 }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.06); opacity: 1 }
  100% { transform: translate3d(2%, -2%, 0) scale(1.03); opacity: .9 }
}
@keyframes hero-grid {
  from { transform: translate3d(0,0,0) }
  to   { transform: translate3d(-56px, -56px, 0) }
}
@keyframes hero-rings {
  0%, 100% { transform: scale(1); opacity: .7 }
  50%      { transform: scale(1.06); opacity: 1 }
}
@keyframes hero-route {
  from { background-position: 0% 0 }
  to   { background-position: 200% 0 }
}
@keyframes hero-node {
  0%   { box-shadow: 0 0 0 0 rgba(59,130,246,.5) }
  70%  { box-shadow: 0 0 0 14px rgba(59,130,246,0) }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0) }
}
@media (prefers-reduced-motion: reduce) {
  .hero-aurora, .hero::before, .hero::after, .route-line,
  .route-line::before, .route-line::after, .hero-eyebrow .hero-dot {
    animation: none !important;
  }
}
h1 {
  margin: 18px 0 20px;
  font-family: var(--display);
  font-size: clamp(48px, 6.2vw, 84px);
  line-height: .96; letter-spacing: -.05em; font-weight: 800;
  max-width: 760px;
}
h1 em {
  font-family: var(--display);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -.01em;
}
/* Obrys přes SVG: uvnitř průhledno (pozadí), vnější silueta bez vnitřních spojů stroke. */
.hollow-text {
  display: inline-block;
  line-height: inherit;
  font: inherit;
  letter-spacing: inherit;
  font-weight: inherit;
  font-family: inherit;
  color: #fff;
  -webkit-text-stroke: 0;
  -webkit-text-fill-color: #fff;
  filter: url(#hero-text-outline);
  isolation: isolate;
}
.hollow-text--navy {
  color: var(--navy);
  -webkit-text-fill-color: var(--navy);
  filter: url(#hero-text-outline-navy);
}
.hollow-text--light {
  color: #fff;
  -webkit-text-fill-color: #fff;
  filter: url(#hero-text-outline);
}
@supports not (filter: url(#hero-text-outline)) {
  .hollow-text {
    color: transparent;
    -webkit-text-stroke: max(2px, 0.034em) var(--hollow-stroke, #fff);
  }
  .hollow-text--navy { --hollow-stroke: var(--navy); }
  .hollow-text--light { --hollow-stroke: rgba(255, 255, 255, .85); }
}
.hero-lead {
  max-width: 620px; margin: 0;
  color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px }
.hero-meta {
  display: flex; align-items: center; gap: 28px; margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12); max-width: 680px;
}
.hero-meta-item strong { display: block; color: var(--white); font-size: 17px; font-family: var(--display) }
.hero-meta-item span {
  color: rgba(255,255,255,.48); font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
}

.hero-board {
  position: relative; border-radius: 28px; padding: 18px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px); box-shadow: 0 36px 90px rgba(0,0,0,.28);
}
.board-top {
  display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 16px;
}
.board-top span:first-child {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(255,255,255,.62);
}
.live-chip {
  padding: 7px 10px; border-radius: 999px;
  background: rgba(37,99,235,.2); color: #93C5FD;
  font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase;
}
.board-main { padding: 28px; border-radius: 22px; background: var(--white); color: var(--ink) }
.board-main .mini {
  font-size: 10px; text-transform: uppercase; letter-spacing: .13em;
  color: var(--sky); font-weight: 850;
}
.board-main h2 {
  font-family: var(--display); font-size: 30px; letter-spacing: -.04em;
  line-height: 1.08; margin: 10px 0 12px; color: var(--navy); font-weight: 800;
}
.board-main p { margin: 0; color: var(--muted); font-size: 14px }
.board-list { display: grid; gap: 10px; margin-top: 22px }
.board-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 15px; border-radius: 14px; background: var(--ice-soft); border: 1px solid #E2E8F0;
}
.board-row strong { font-size: 13px; color: var(--navy) }
.board-row span {
  font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: var(--action);
}
a.board-row {
  text-decoration: none; color: inherit;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
a.board-row:hover {
  background: #EEF4FF; border-color: rgba(37,99,235,.28);
  transform: translateY(-1px);
}
.board-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px }
.metric {
  padding: 18px; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
}
a.metric {
  text-decoration: none; color: inherit;
  transition: background .18s ease, border-color .18s ease;
}
a.metric:hover {
  background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22);
}
.metric strong {
  display: block; font-size: 28px; letter-spacing: -.04em; font-family: var(--display);
}
.metric span {
  font-size: 10px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em;
}

/* Quickbar */
.quickbar { position: relative; z-index: 10; margin-top: -48px }
.quickgrid {
  display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 24px;
  background: var(--white); box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid rgba(13,42,73,.08);
}
.quickitem {
  min-height: 120px; padding: 24px; display: flex; align-items: flex-start; gap: 16px;
  border-right: 1px solid var(--line); transition: .2s ease;
}
.quickitem:last-child { border-right: 0 }
.quickitem:hover { background: var(--ice-soft) }
.quick-icon {
  width: 43px; height: 43px; border-radius: 13px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--action); flex: 0 0 auto;
}
.quickitem:nth-child(2) .quick-icon { background: var(--sky-soft); color: var(--sky) }
.quickitem:nth-child(3) .quick-icon { background: #EDF2F7; color: var(--navy) }
.quickitem:nth-child(4) .quick-icon { background: var(--navy); color: var(--white) }
.quick-icon svg { width: 21px; height: 21px }
.quickitem strong { display: block; font-size: 14px; color: var(--navy); margin-top: 2px }
.quickitem span span { display: block; color: var(--muted); font-size: 12px; margin-top: 5px }

/* Events */
.events { background: var(--ice) }
.events-shell {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: transparent; color: inherit; box-shadow: none;
}
.events-shell::before { display: none }
.events-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: .72fr 1.28fr; min-height: 400px;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy); color: var(--white); box-shadow: var(--shadow);
}
.event-date-panel {
  padding: 48px; border-right: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(150deg, rgba(37,99,235,.2), transparent 64%);
}
.calendar-mark {
  width: 72px; height: 72px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center;
  background: rgba(255,255,255,.08);
}
.calendar-mark svg { width: 32px; height: 32px }
.event-date-panel small {
  display: block; color: rgba(255,255,255,.5); font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px;
}
.event-date-panel strong {
  font-family: var(--display); font-size: 36px; line-height: 1.05; letter-spacing: -.04em;
}
.event-content { padding: 52px 56px; display: flex; flex-direction: column; justify-content: center }
.event-status {
  display: inline-flex; width: max-content; align-items: center; gap: 8px;
  padding: 8px 11px; border-radius: 999px;
  background: rgba(37,99,235,.12); color: var(--action);
  font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em;
}
.events-grid .event-status {
  background: rgba(37,99,235,.18); color: #93C5FD;
}
.event-content h3 {
  font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05;
  letter-spacing: -.04em; margin: 18px 0 16px; max-width: 720px; font-weight: 800;
}
.event-content p { margin: 0; color: rgba(255,255,255,.63); max-width: 680px; font-size: 16px }
.event-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap }

.event-empty {
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white);
  box-shadow: var(--shadow-soft); padding: 40px 36px; max-width: 720px;
}
.event-empty h3 {
  font-family: var(--display); font-size: 28px; margin: 14px 0 10px; color: var(--navy); letter-spacing: -.03em;
}
.event-empty p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55 }

.event-feature {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--white);
  box-shadow: var(--shadow);
}
.event-feature-media {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #0B1C2E;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-feature-media-bg {
  position: absolute;
  inset: -32px;
  width: calc(100% + 64px);
  height: calc(100% + 64px);
  object-fit: cover;
  filter: blur(28px) saturate(1.05);
  transform: scale(1.06);
  opacity: .5;
  pointer-events: none;
  user-select: none;
}
.event-feature-media-fg {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}
.event-feature-main {
  display: grid; grid-template-columns: 120px 1fr; gap: 28px;
  padding: 32px 36px 36px;
}
.event-feature-date {
  text-align: center; padding: 16px 10px; border-radius: 18px;
  background: var(--navy); color: var(--white);
  height: max-content;
}
.event-feature-date strong {
  display: block; font-family: var(--display); font-size: 42px; line-height: 1; letter-spacing: -.04em;
}
.event-feature-date span {
  display: block; margin-top: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.event-feature-copy h2 {
  font-family: var(--display); font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08; letter-spacing: -.035em; color: var(--navy);
  margin: 12px 0 18px; font-weight: 800;
}
.event-meta {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px;
}
.event-meta li {
  border: 1px solid var(--line); border-radius: 14px; background: var(--ice-soft);
  padding: 12px 14px;
}
.event-meta span {
  display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.event-meta strong { color: var(--navy); font-size: 14px }
.event-lead {
  margin: 0 0 16px; color: var(--ink); font-size: 16px; line-height: 1.55; max-width: 720px;
}
.event-body {
  color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 720px;
}
.event-body p { margin: 0 0 12px }
.event-body ul, .event-body ol { margin: 0 0 14px; padding-left: 1.2em }
.event-body li { margin: 0 0 6px }
.event-body strong, .event-body b { color: var(--navy) }

.event-more { margin-top: 36px }
.event-more h3 {
  font-family: var(--display); font-size: 22px; color: var(--navy);
  margin: 0 0 16px; letter-spacing: -.02em;
}
.event-more-list { display: grid; gap: 12px }
.event-more-card {
  display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center;
  padding: 14px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--white); box-shadow: var(--shadow-soft);
}
.event-more-thumb, .event-more-date {
  width: 112px; height: 84px; border-radius: 14px; overflow: hidden;
}
.event-more-thumb img { width: 100%; height: 100%; object-fit: cover; display: block }
.event-more-date {
  display: grid; place-content: center; text-align: center;
  background: var(--navy); color: var(--white);
}
.event-more-date strong { font-family: var(--display); font-size: 28px; line-height: 1 }
.event-more-date span { font-size: 11px; font-weight: 700; text-transform: uppercase; opacity: .75 }
.event-more-card h4 {
  margin: 6px 0 6px; font-size: 17px; color: var(--navy); letter-spacing: -.02em;
}
.event-more-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45 }
.event-more-when { margin-top: 8px !important; font-weight: 700; color: var(--action) !important }

.archive-thumb {
  width: 96px; height: 72px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
}
.archive-thumb img { width: 100%; height: 100%; object-fit: cover; display: block }

/* Bento */
.bento {
  display: grid; grid-template-columns: 1.2fr .8fr .8fr;
  grid-auto-rows: minmax(240px, auto); gap: 18px;
}
.bento-card {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  padding: 30px; border: 1px solid var(--line); background: var(--white);
  box-shadow: var(--shadow-soft);
}
.bento-card.tall {
  grid-row: span 2; background: var(--navy); color: var(--white); border: 0; min-height: 500px;
}
.bento-card.wide { grid-column: span 2; background: var(--blue-soft); border-color: #BFDBFE }
.bento-card.sky { background: var(--sky-soft); border-color: #BAE6FD }
.bento-card h3 {
  font-family: var(--display); font-size: 24px; line-height: 1.12;
  letter-spacing: -.04em; margin: 20px 0 10px; color: var(--navy); font-weight: 800;
}
.bento-card.tall h3 { color: var(--white); font-size: 36px }
.bento-card p { margin: 0; color: var(--muted); font-size: 14px }
.bento-card.tall p { color: rgba(255,255,255,.62) }
.bento-icon {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  background: var(--navy); color: var(--white);
}
.bento-card.tall .bento-icon {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12);
}
.bento-card.sky .bento-icon { background: var(--sky) }
.bento-card.wide .bento-icon { background: var(--action) }
.bento-icon svg { width: 23px; height: 23px }
.card-link {
  position: absolute; right: 24px; bottom: 24px; width: 44px; height: 44px;
  border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--white); color: var(--navy);
}
.bento-card.tall .card-link {
  border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.09); color: var(--white);
}
.card-link svg { width: 18px; height: 18px }
.tall-graphic {
  position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
  background:
    radial-gradient(circle at 70% 70%, rgba(37,99,235,.45), transparent 32%),
    radial-gradient(circle at 30% 85%, rgba(3,105,161,.35), transparent 27%);
}
.tall-graphic::before {
  content: ""; position: absolute; width: 280px; height: 280px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 50%;
  right: -48px; bottom: -82px;
  box-shadow: 0 0 0 45px rgba(255,255,255,.02), 0 0 0 90px rgba(255,255,255,.015);
}

/* News */
.news { background: var(--navy-deep); color: var(--white) }
.news .events-shell {
  overflow: visible;
  border-radius: 0;
}
.news .section-head h2 { color: var(--white) }
.news .section-head p { color: rgba(255,255,255,.55) }
.news-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 18px }
.news-card {
  position: relative; min-height: 390px; border-radius: var(--r-md); padding: 0;
  overflow: hidden; background: #102B45; border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
a.news-card:hover, a.news-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, .35);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  outline: none;
}
.news-card.featured {
  background: linear-gradient(155deg, var(--navy-mid), var(--navy-deep)); min-height: 460px;
}
.news-card-media {
  position: relative; z-index: 2;
  aspect-ratio: 16 / 10; overflow: hidden; background: rgba(255,255,255,.06);
}
.news-card.featured .news-card-media { aspect-ratio: 16 / 9 }
.news-card-media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.news-card-body {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px 24px 24px; gap: 18px;
}
.news-card::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}
.news-card > * { position: relative; z-index: 2 }
.news-tag {
  display: inline-flex; width: max-content; padding: 7px 9px; border-radius: 999px;
  background: rgba(255,255,255,.09); font-size: 9px; text-transform: uppercase;
  letter-spacing: .13em; font-weight: 850; color: rgba(255,255,255,.68);
}
.news-card.featured .news-tag {
  background: rgba(37,99,235,.22); color: #93C5FD;
}
.news-card h3 {
  margin: 0; font-family: var(--display); font-size: 24px;
  line-height: 1.12; letter-spacing: -.035em; font-weight: 800; color: #fff;
}
.news-card.featured h3 { font-size: 34px }
.news-card p { margin: 12px 0 0; color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.45 }
.news-foot {
  display: flex; align-items: center; justify-content: space-between;
  color: rgba(255,255,255,.44); font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
}
.news-foot span:last-child {
  width: 39px; height: 39px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: var(--white); font-size: 16px;
}
.news-detail { display: grid; gap: 20px; max-width: 860px; margin: 0 auto }
.news-back {
  width: max-content;
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #fff !important;
}
.news-back:hover {
  background: rgba(255,255,255,.12) !important;
}
.news-article {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.news-article-header {
  padding: 36px 40px 28px;
}
.news-article-meta {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky);
}
.news-article-meta time { color: inherit }
.news-article-header h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 800;
  color: var(--navy);
}
.news-article-lead {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 38em;
}
.news-article-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 24px 8px;
  padding: 16px;
  border-radius: var(--r-md);
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  border: 1px solid rgba(13, 42, 73, .12);
  overflow: hidden;
}
.news-article-cover img {
  display: block;
  width: 100%;
  max-height: 420px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}
.news-article-body {
  padding: 28px 40px 40px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}
.news-article-body > *:first-child { margin-top: 0 }
.news-article-body > *:last-child { margin-bottom: 0 }
.news-article-body p { margin: 0 0 1em }
.news-article-body h2,
.news-article-body h3 {
  font-family: var(--display);
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin: 1.4em 0 .55em;
}
.news-article-body a { color: var(--action); font-weight: 700 }
.news-article-body a:hover { text-decoration: underline }
.news-article-body ul,
.news-article-body ol { margin: 0 0 1em; padding-left: 1.25em }
.news-article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.2em 0;
}
.news-empty {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
}
.news-empty h3 { color: #fff }
.news-empty p { color: rgba(255,255,255,.55) }
.news-empty .event-status {
  background: rgba(37,99,235,.22); color: #93C5FD;
}
@media (max-width: 720px) {
  .news-article-header { padding: 28px 22px 22px }
  .news-article-cover { margin: 0 14px 4px; padding: 12px }
  .news-article-cover img { max-height: 280px }
  .news-article-body { padding: 22px 22px 32px }
  .news-article-lead { font-size: 16px }
}

/* Benefits */
.benefits { background: var(--white) }
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.benefit-card {
  padding: 28px; border-radius: var(--r-md); background: var(--ice-soft);
  border: 1px solid var(--line); min-height: 220px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.benefit-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-soft);
  border-color: #BFDBFE; background: var(--white);
}
.benefit-icon {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  background: var(--navy); color: var(--white); flex-shrink: 0;
}
.benefit-card:nth-child(2) .benefit-icon { background: var(--action) }
.benefit-card:nth-child(3) .benefit-icon { background: var(--sky) }
.benefit-card:nth-child(4) .benefit-icon { background: #0F766E }
.benefit-card:nth-child(5) .benefit-icon { background: #B45309 }
.benefit-card:nth-child(6) .benefit-icon { background: #4338CA }
.benefit-icon svg { width: 22px; height: 22px }
.benefit-card h3 {
  font-family: var(--display); font-size: 22px; letter-spacing: -.035em;
  margin: 0; color: var(--navy); font-weight: 800; line-height: 1.15;
}
.benefit-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; flex: 1 }
.benefit-card .benefit-note,
.benefit-card .benefit-who { flex: none }
.benefit-card .benefit-tag {
  font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sky);
}
.benefit-req {
  display: inline-block; font-size: .85em; line-height: 1;
  vertical-align: .05em; margin-left: .15em;
}
.benefit-req.req-6 { color: #0F766E }
.benefit-req.req-12 { color: #B45309 }
.benefit-req.req-tenure { color: #111827 }
.benefit-req.req-ms { color: #059669 }
.benefit-legend {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 14px; font-size: 13px; color: var(--muted); font-weight: 600;
}
.benefit-legend .benefit-req { margin-left: 0; margin-right: 4px; font-size: 14px }
.benefit-info-details {
  margin-top: 12px; font-size: 13px; color: var(--muted);
}
.benefit-info-details summary {
  display: flex; align-items: center; gap: 6px;
  cursor: pointer; font-weight: 650; color: var(--navy); list-style: none;
}
.benefit-info-details summary::-webkit-details-marker { display: none }
.benefit-info-details summary::after {
  content: ''; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .45; margin-left: 2px;
  transition: transform .15s ease;
}
.benefit-info-details[open] summary::after { transform: rotate(180deg) }
.benefit-info-icon {
  display: inline-flex; width: 18px; height: 18px; color: var(--sky); flex-shrink: 0;
}
.benefit-info-icon svg { width: 18px; height: 18px }
.benefit-info-details p {
  margin: 10px 0 0; padding-left: 24px;
  font-size: 13px; line-height: 1.55; max-width: 520px;
}
.benefits-cta {
  margin-top: 36px; padding: 28px 32px; border-radius: var(--r-md);
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.benefits-cta p { margin: 8px 0 0; color: rgba(255,255,255,.62); font-size: 14px; max-width: 560px }
.benefits-cta strong {
  display: block; font-family: var(--display); font-size: 24px;
  letter-spacing: -.03em; font-weight: 800;
}
.benefit-amount {
  font-family: var(--display); font-size: 28px; font-weight: 800;
  letter-spacing: -.04em; line-height: 1; color: var(--navy);
}
.benefit-note {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--sky);
}
.benefit-who {
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted); font-weight: 600;
}
#financni, #komercni, #volny-cas, #kancelar, #nafta {
  scroll-margin-top: 96px;
}

.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  column-gap: 18px;
  row-gap: 16px;
}
.office-card {
  grid-row: span 3;
  display: grid;
  grid-template-rows: subgrid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 32px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.office-card-intro { min-width: 0 }
.office-card-intro h3 {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -.04em;
  margin: 10px 0 10px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.1;
}
.office-card-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.office-card-footer {
  display: flex;
  align-items: flex-start;
  min-height: 44px;
}
.office-card-footer--empty { visibility: hidden; pointer-events: none }
.office-hours-block {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.office-hours {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: none;
  overflow: visible;
}
.office-hours-panel { display: grid; gap: 18px }
.office-hours-status {
  margin: 0; padding: 14px 16px; font-size: 14px; color: var(--muted); line-height: 1.5;
  border-radius: var(--r-sm); background: var(--ice-soft); border: 1px solid var(--line);
}
.office-hours-more { display: none; gap: 18px }
.office-hours-panel.is-expanded .office-hours-more { display: grid }
.office-hours-toggle {
  justify-self: start;
  padding: 0; border: 0; background: none;
  font-size: 13px; font-weight: 750; color: var(--action);
  cursor: pointer;
}
.office-hours-toggle:hover { text-decoration: underline }
.ohlist-week { display: grid; gap: 10px }
.ohlist-week-label {
  margin: 0;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sky);
}
.ohlist-days { display: grid; gap: 8px }
.ohlist-day {
  display: grid; grid-template-columns: minmax(132px, 38%) 1fr; gap: 12px 16px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 15px;
  background: var(--ice-soft);
  border: 1px solid #E2E8F0;
}
.ohlist-day.is-today {
  background: var(--blue-soft);
  border-color: #BFDBFE;
}
.ohlist-day-when {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 750; color: var(--navy);
}
.ohlist-day-when em {
  font-style: normal;
  font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase;
  color: var(--action); background: #DBEAFE;
  padding: 2px 7px; border-radius: 999px;
}
.ohlist-slots { display: grid; gap: 8px }
.ohlist-slot { display: grid; gap: 2px }
.ohlist-slot-main {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
  margin: 0;
}
.ohlist-slot strong {
  font-size: 14px; font-weight: 800; color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.ohlist-slot span { font-size: 14px; font-weight: 650; color: var(--ink) }
.ohlist-slot em { font-style: normal; font-size: 12px; color: var(--muted) }
.ohlist-slot.is-vacation strong { color: #B45309 }
@media (max-width: 640px) {
  .ohlist-day { grid-template-columns: 1fr }
}
.office-hours-block { display: grid; grid-template-rows: auto 1fr; gap: 10px; min-height: 0 }
.office-hours-block > strong {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--navy);
}
.office-sidlo {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px;
  margin: 16px 0 0; padding: 14px 18px;
  border-radius: var(--r-sm); background: var(--ice-soft);
  border: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.office-sidlo strong {
  font-size: 12px; color: var(--navy); letter-spacing: .02em;
}
.office-sidlo a { color: var(--action); font-weight: 700 }
.office-sidlo a:hover { text-decoration: underline }
.office-meta { display: grid; gap: 10px }
.office-meta a, .office-meta span {
  display: block; font-size: 14px; color: var(--muted); text-decoration: none;
}
.office-meta a:hover { color: var(--action) }
.office-meta strong { display: block; font-size: 12px; color: var(--navy) }
.office-card .btn { width: max-content; align-self: start }

.fuel-layout {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start;
}
.fuel-widget, .fuel-rule-card {
  padding: 28px; border-radius: var(--r-md); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.fuel-status { margin: 0; color: var(--muted); font-size: 14px; }
.fuel-validity {
  margin: 0 0 18px; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--sky);
}
.fuel-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fuel-price-card {
  padding: 18px 16px; border-radius: 16px; background: var(--ice-soft);
  border: 1px solid var(--line);
}
.fuel-price-card--diesel { background: #eff6ff; border-color: #bfdbfe; }
.fuel-price-card span {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.fuel-price-card strong {
  display: block; margin-top: 8px;
  font-family: var(--display); font-size: 32px; font-weight: 800;
  letter-spacing: -.04em; line-height: 1; color: var(--navy);
}
.fuel-price-card em {
  display: block; margin-top: 6px; font-style: normal;
  font-size: 13px; color: var(--muted);
}
.fuel-calc { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.fuel-calc h3 {
  margin: 0 0 14px; font-size: 16px; font-weight: 800; color: var(--navy);
}
.fuel-calc-row {
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 12px;
}
.fuel-calc label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
}
.fuel-calc select, .fuel-calc input {
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0;
  text-transform: none; color: var(--navy);
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--ice-soft);
}
.fuel-calc-result {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding: 14px 16px; border-radius: 14px;
  background: var(--ice-soft); border: 1px solid var(--line);
}
.fuel-calc-result span { display: block; font-size: 12px; color: var(--muted); }
.fuel-calc-result strong { font-size: 20px; font-weight: 800; color: var(--navy); }
.fuel-calc-limit {
  flex-shrink: 0; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: #0d9488;
}
.fuel-calc-limit.is-over { color: var(--alert, #dc2626); }
.fuel-rules { display: grid; gap: 12px; }
.fuel-rule-card h3 {
  margin: 0 0 10px; font-size: 16px; font-weight: 800; color: var(--navy);
}
.fuel-rule-card ul {
  margin: 0; padding: 0; list-style: none; display: grid; gap: 8px;
  font-size: 14px; color: var(--muted); line-height: 1.5;
}

.footer-social { margin: 14px 0 0; }
.footer-social a {
  color: var(--action); font-size: 14px; font-weight: 800;
}
.footer-social a:hover { color: var(--white); }

/* Members */
.member-shell {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg);
  overflow: hidden; background: var(--ice); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.member-copy { padding: 56px }
.member-copy h2 {
  font-family: var(--display); font-size: 48px; line-height: 1.05;
  letter-spacing: -.045em; margin: 14px 0 18px; color: var(--navy); font-weight: 800;
}
.member-copy p { color: var(--muted); margin: 0; max-width: 560px }
.member-points {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 32px;
}
.member-point {
  padding: 16px; border-radius: 15px; background: var(--white);
  border: 1px solid var(--line); font-size: 12px; font-weight: 750; color: var(--navy);
}
.member-visual {
  position: relative; padding: 54px;
  background: linear-gradient(150deg, var(--navy-mid), var(--navy-deep));
  color: var(--white); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.member-visual::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12); right: -200px; top: -160px;
  box-shadow: 0 0 0 70px rgba(255,255,255,.02), 0 0 0 140px rgba(255,255,255,.015);
}
.member-panel {
  position: relative; z-index: 2; width: min(430px, 100%); padding: 28px;
  border-radius: 22px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(14px);
}
.member-panel .label {
  font-size: 10px; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(255,255,255,.5); font-weight: 850;
}
.member-panel h3 {
  font-family: var(--display); font-size: 28px; line-height: 1.08; margin: 12px 0 22px; font-weight: 800;
}
.member-menu { display: grid; gap: 9px }
.member-menu div {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 15px; border-radius: 13px; background: rgba(255,255,255,.08);
  font-size: 12px; font-weight: 750;
}
.member-menu div span, .member-menu a span { color: rgba(255,255,255,.42) }
.member-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 15px; border-radius: 13px; background: rgba(255,255,255,.08);
  font-size: 12px; font-weight: 750;
}

/* Public */
.public-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.public-card {
  padding: 28px; border-radius: var(--r-md); background: var(--white);
  border: 1px solid var(--line); min-height: 250px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease;
}
.public-card:hover { transform: translateY(-3px); box-shadow: var(--shadow) }
.public-card-number {
  font-size: 11px; color: var(--sky); font-weight: 850; letter-spacing: .13em;
}
.public-card h3 {
  font-family: var(--display); font-size: 24px; letter-spacing: -.04em;
  line-height: 1.12; margin: 20px 0 10px; color: var(--navy); font-weight: 800;
}
.public-card p { margin: 0; color: var(--muted); font-size: 13px }
.public-card-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px; font-size: 11px; font-weight: 800; color: var(--navy);
}

/* Contact + people */
.contact { background: var(--ice) }
.people-section { margin-bottom: 56px }
.people-section .section-head { margin-bottom: 28px }
.people-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 0;
}
.people-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px }
.person-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.person-card:hover { transform: translateY(-3px); box-shadow: var(--shadow) }
.person-card.featured { grid-column: span 1 }
.person-photo {
  position: relative; aspect-ratio: 1 / 1; background:
    linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  overflow: hidden;
}
.person-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
.person-photo--svg {
  background: #fff;
}
.person-photo--svg img {
  object-fit: contain;
  object-position: center bottom;
}
.person-photo img[hidden] { display: none }
.person-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-size: 42px; font-weight: 800;
  color: rgba(255,255,255,.35); letter-spacing: -.04em;
}
.person-photo.has-photo .person-fallback { display: none }
.person-body { padding: 22px 22px 24px }
.person-role {
  display: inline-block; font-size: 10px; font-weight: 850; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sky); margin-bottom: 8px;
}
.person-body h3 {
  font-family: var(--display); font-size: 22px; letter-spacing: -.03em;
  margin: 0 0 6px; color: var(--navy); font-weight: 800; line-height: 1.15;
}
.person-body .person-note {
  margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.45;
}
.person-links { display: flex; flex-wrap: wrap; gap: 8px }
.person-links a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 10px; font-size: 12px; font-weight: 700;
  background: var(--ice-soft); border: 1px solid #E2E8F0; color: var(--navy);
  transition: background .15s ease, border-color .15s ease;
}
.person-links a:hover { background: var(--blue-soft); border-color: #BFDBFE }
.person-links svg { width: 14px; height: 14px; color: var(--action) }

.rep-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.rep-card {
  padding: 20px 22px; border-radius: var(--r-md); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rep-card.has-photo { cursor: pointer }
.rep-card.has-photo:focus-visible {
  outline: 2px solid var(--action); outline-offset: 3px;
}
.rep-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow);
  border-color: #BFDBFE;
}
.rep-area {
  font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sky);
}
.rep-card h3 {
  font-family: var(--display); font-size: 18px; letter-spacing: -.03em;
  margin: 0; color: var(--navy); font-weight: 800; line-height: 1.15;
}
.rep-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; flex: 1 }
.rep-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 8px;
}
.rep-card a {
  font-size: 13px; font-weight: 750; color: var(--action);
  width: max-content;
}
.rep-card a:hover { text-decoration: underline }
.rep-photo-hint {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--sky); opacity: .9;
}
.rep-photo-hint::after { content: " →"; }
.rep-card.has-photo:hover .rep-photo-hint { color: var(--action); opacity: 1 }

.rep-photo-dialog {
  border: 0; padding: 0; margin: auto;
  width: calc((min(var(--max), 100vw - 48px) - 36px) / 3);
  max-width: calc(100vw - 32px);
  background: transparent; color: inherit; overflow: visible;
}
.rep-photo-dialog::backdrop {
  background: rgba(8, 27, 46, .72);
  backdrop-filter: blur(6px);
}
.rep-photo-card {
  position: relative;
  margin: 0;
  box-shadow: 0 28px 70px rgba(8, 27, 46, .28);
}
.rep-photo-dialog .rep-photo-card:hover {
  transform: none;
  box-shadow: 0 28px 70px rgba(8, 27, 46, .28);
}
.rep-photo-img {
  display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: center;
}
.rep-photo-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 999px;
  background: rgba(8, 27, 46, .55); color: #fff; font-size: 24px; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
}
.rep-photo-close:hover { background: rgba(8, 27, 46, .75) }

.archive-card {
  display: grid; grid-template-columns: 100px auto 1fr; gap: 24px; align-items: start;
  padding: 28px; border-radius: var(--r-md); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.archive-card:not(:has(.archive-thumb)) {
  grid-template-columns: 100px 1fr;
}
.archive-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 18px 12px; border-radius: 16px; background: var(--navy); color: var(--white);
  text-align: center; min-height: 100px;
}
.archive-date strong {
  font-family: var(--display); font-size: 36px; font-weight: 800;
  letter-spacing: -.04em; line-height: 1;
}
.archive-date span {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  opacity: .7; margin-top: 6px;
}
.archive-card h3 {
  font-family: var(--display); font-size: 24px; letter-spacing: -.035em;
  margin: 8px 0 10px; color: var(--navy); font-weight: 800; line-height: 1.15;
}
.archive-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 640px }

.contact-shell {
  display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg);
  overflow: hidden; background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.contact-main { padding: 56px }
.contact-main h2 {
  font-family: var(--display); font-size: 48px; line-height: 1.05;
  letter-spacing: -.045em; margin: 14px 0 18px; color: var(--navy); font-weight: 800;
}
.contact-main p { color: var(--muted); max-width: 550px }
.contact-lines { display: grid; gap: 13px; margin-top: 28px }
.contact-line {
  display: flex; align-items: center; gap: 14px; padding: 17px; border-radius: 15px;
  background: var(--ice-soft); border: 1px solid #E2E8F0;
}
.contact-line svg { width: 20px; height: 20px; color: var(--action); flex-shrink: 0 }
.contact-line strong { display: block; font-size: 12px; color: var(--navy) }
.contact-line span,
.contact-line a {
  font-size: 12px; color: var(--muted); text-decoration: none;
}
.contact-line a:hover { color: var(--action) }
.contact-side {
  position: relative; padding: 56px; background: var(--navy); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.contact-side::after {
  content: ""; position: absolute; right: 24px; bottom: 28px; width: 176px; height: 76px;
  background: url("../assets/logo-portal.png?v=24") right bottom / contain no-repeat;
  opacity: .18;
  filter: brightness(0) invert(1);
}
.contact-side h3 {
  position: relative; z-index: 2; font-family: var(--display);
  font-size: 34px; line-height: 1.08; letter-spacing: -.04em; margin: 0; max-width: 450px; font-weight: 800;
}
.contact-side p { position: relative; z-index: 2; color: rgba(255,255,255,.55); max-width: 440px }
.contact-side .btn { position: relative; z-index: 2; width: max-content }

.contact-dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.contact-dialog::backdrop {
  background: rgba(8, 27, 46, .62);
  backdrop-filter: blur(4px);
}
.contact-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form { position: relative; padding: 28px 28px 24px }
.contact-form-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-bottom: 22px;
}
.contact-form-head h2 {
  font-family: var(--display); font-size: 32px; line-height: 1.08;
  letter-spacing: -.04em; margin: 8px 0 8px; color: var(--navy); font-weight: 800;
}
.contact-form-head p { margin: 0; color: var(--muted); font-size: 14px; max-width: 460px }
.contact-form-close {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--ice-soft); color: var(--navy);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.contact-form-close:hover { background: var(--ice) }
.contact-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.contact-field {
  display: grid; gap: 7px; font-size: 12px; font-weight: 700; color: var(--navy);
}
.contact-field em { font-style: normal; font-weight: 500; color: var(--muted) }
.contact-field-full { grid-column: 1 / -1 }
.contact-field input,
.contact-field textarea {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line);
  border-radius: 14px; background: var(--ice-soft); color: var(--ink);
  font: 500 14px/1.45 var(--font, Inter, sans-serif); padding: 12px 14px;
  outline: none; resize: vertical; min-height: 46px;
}
.contact-field textarea { min-height: 140px }
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--action); background: var(--white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.contact-field input.is-invalid,
.contact-field textarea.is-invalid { border-color: var(--alert) }
.contact-consent {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.45;
  padding: 14px 16px; border-radius: 14px; background: var(--ice-soft);
  border: 1px solid #E2E8F0;
}
.contact-consent.is-invalid { border-color: var(--alert) }
.contact-consent input {
  width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--action); cursor: pointer;
}
.contact-consent a { color: var(--action); font-weight: 700; text-decoration: underline; text-underline-offset: 2px }
.contact-consent a:hover { color: var(--navy) }
.contact-form-hint {
  margin: 14px 0 0; font-size: 13px; color: var(--muted);
}
.contact-form-hint.is-error { color: var(--alert) }
.contact-form-hint.is-ok { color: var(--ok) }
.contact-form-actions {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px;
}
@media (max-width: 640px) {
  .contact-form { position: relative; padding: 22px 18px 18px }
  .contact-form-head h2 { font-size: 26px }
  .contact-form-grid { grid-template-columns: 1fr }
  .contact-form-actions { flex-direction: column-reverse }
  .contact-form-actions .btn { width: 100%; justify-content: center }
}


/* Legal / GDPR */
.legal-wrap { max-width: 760px }
.legal-wrap h2 {
  font-family: var(--display); font-size: 28px; letter-spacing: -.035em;
  color: var(--navy); font-weight: 800; margin: 36px 0 12px; line-height: 1.15;
}
.legal-wrap h2:first-child { margin-top: 0 }
.legal-wrap p, .legal-wrap li {
  color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0 0 12px;
}
.legal-wrap ul { margin: 0 0 16px; padding-left: 1.2em }
.legal-wrap strong { color: var(--navy) }
.legal-meta {
  display: grid; gap: 10px; margin: 0 0 28px; padding: 18px 20px;
  border-radius: 16px; background: var(--white); border: 1px solid var(--line);
}
.legal-meta span { display: block; font-size: 13px; color: var(--muted) }
.legal-meta strong { font-size: 13px; color: var(--navy) }


.legal-version {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 0 0 18px; padding: 10px 14px; border-radius: 12px;
  background: var(--blue-soft); border: 1px solid #BFDBFE;
  font-size: 12px; font-weight: 700; color: var(--navy);
}
.legal-toc {
  margin: 0 0 32px; padding: 18px 20px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line);
}
.legal-toc strong {
  display: block; font-size: 12px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--navy); margin-bottom: 12px;
}
.legal-toc ol {
  margin: 0; padding-left: 1.25em; columns: 2; column-gap: 28px;
}
.legal-toc li { break-inside: avoid; margin: 0 0 6px; font-size: 13px; color: var(--muted) }
.legal-toc a { color: var(--action); font-weight: 600; text-decoration: none }
.legal-toc a:hover { text-decoration: underline }
.legal-wrap h3 {
  font-family: var(--display); font-size: 18px; letter-spacing: -.02em;
  color: var(--navy); font-weight: 800; margin: 22px 0 8px;
}
.legal-wrap .legal-note {
  margin: 18px 0 0; padding: 14px 16px; border-radius: 14px;
  background: #FFFBEB; border: 1px solid #FDE68A;
  font-size: 13px; color: #92400E; line-height: 1.55;
}
.legal-wrap table {
  width: 100%; border-collapse: collapse; margin: 12px 0 18px;
  font-size: 13px; background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
}
.legal-wrap th, .legal-wrap td {
  text-align: left; vertical-align: top; padding: 12px 14px;
  border-bottom: 1px solid var(--line); color: var(--muted);
}
.legal-wrap th { background: var(--ice-soft); color: var(--navy); font-weight: 750; width: 34% }
.legal-wrap tr:last-child th, .legal-wrap tr:last-child td { border-bottom: 0 }
.legal-crosslinks {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
@media (max-width: 720px) {
  .legal-toc ol { columns: 1 }
}

/* Footer */
footer { background: #040F19; color: rgba(255,255,255,.55); padding: 62px 0 28px }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr .7fr .7fr .7fr; gap: 46px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  height: 48px; width: auto; margin-bottom: 14px;
  filter: brightness(0) invert(1);
  opacity: .92;
}
.footer-copy { font-size: 12px; max-width: 380px; margin: 0 }
.footer-legal {
  padding: 22px 0 0;
  font-size: 10px;
  line-height: 1.6;
  color: rgba(255,255,255,.38);
}
.footer-legal p { margin: 0 0 8px; max-width: 920px; }
.footer-legal p:last-child { margin: 0; }
.footer-col strong {
  display: block; color: var(--white); font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 15px;
}
.footer-col a { display: block; font-size: 12px; margin: 9px 0 }
.footer-col a:hover { color: var(--white) }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 24px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
}

@media (max-width: 1050px) {
  .nav-links { display: none }
  .hero-inner { grid-template-columns: 1fr; gap: 44px }
  .hero { min-height: auto }
  .quickgrid { grid-template-columns: 1fr 1fr }
  .quickitem:nth-child(2) { border-right: 0 }
  .quickitem:nth-child(-n+2) { border-bottom: 1px solid var(--line) }
  .events-grid, .member-shell, .contact-shell, .office-grid, .fuel-layout { grid-template-columns: 1fr }
  .office-grid { grid-template-rows: none; row-gap: 18px }
  .office-card {
    display: flex; flex-direction: column; gap: 16px; grid-row: auto;
  }
  .office-hours-block { height: auto }
  .office-card-footer--empty { display: none }
  .event-date-panel {
    min-height: 240px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .event-feature-main { grid-template-columns: 96px 1fr; gap: 20px; padding: 24px }
  .bento { grid-template-columns: 1fr 1fr }
  .bento-card.tall { grid-column: span 2; grid-row: auto; min-height: 400px }
  .news-grid { grid-template-columns: 1fr 1fr }
  .news-card.featured { grid-column: span 2 }
  .public-grid { grid-template-columns: 1fr 1fr }
  .benefits-grid { grid-template-columns: 1fr 1fr }
  .people-grid, .rep-grid { grid-template-columns: 1fr 1fr }
  .people-grid-2 { max-width: none }
  .rep-photo-dialog { width: calc((min(var(--max), 100vw - 48px) - 18px) / 2) }
  .archive-card { grid-template-columns: 88px 1fr; gap: 18px }
  .archive-card:has(.archive-thumb) { grid-template-columns: 88px 72px 1fr }
  .archive-thumb { width: 72px; height: 56px }
  .footer-grid { grid-template-columns: 1fr 1fr }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, var(--max)) }
  .utility { display: none }
  .nav { min-height: 70px }
  .brand-logo { height: 36px }
  .nav-actions .btn-outline { display: none }
  .section { padding: 76px 0 }
  .section-head { display: block }
  .section-head p { margin-top: 16px }
  .hero-inner { padding: 56px 0 72px }
  .hero-logo { height: 34px }
  h1 { font-size: clamp(40px, 11vw, 56px) }
  .quickbar { margin-top: -28px }
  .quickgrid { grid-template-columns: 1fr }
  .quickitem { border-right: 0; border-bottom: 1px solid var(--line) !important }
  .quickitem:last-child { border-bottom: 0 !important }
  .event-date-panel, .event-content { padding: 32px }
  .event-feature-main { grid-template-columns: 1fr; gap: 16px; padding: 20px }
  .event-feature-date { display: flex; align-items: baseline; justify-content: center; gap: 10px; padding: 12px }
  .event-feature-date strong { font-size: 32px }
  .event-feature-date span { margin-top: 0 }
  .event-more-card { grid-template-columns: 88px 1fr }
  .event-more-thumb, .event-more-date { width: 88px; height: 72px }
  .bento { grid-template-columns: 1fr }
  .bento-card.tall, .bento-card.wide { grid-column: auto }
  .news-grid { grid-template-columns: 1fr }
  .news-card.featured { grid-column: auto }
  .news-card.featured h3 { font-size: 34px }
  .member-copy, .member-visual, .contact-main, .contact-side { padding: 32px }
  .member-copy h2, .contact-main h2 { font-size: 36px }
  .member-points { grid-template-columns: 1fr }
  .public-grid { grid-template-columns: 1fr }
  .benefits-grid, .office-grid { grid-template-columns: 1fr }
  .fuel-prices, .fuel-calc-row { grid-template-columns: 1fr }
  .people-grid, .rep-grid, .people-grid-2 { grid-template-columns: 1fr }
  .rep-photo-dialog { width: min(var(--max), calc(100vw - 28px)) }
  .archive-card, .archive-card:has(.archive-thumb) { grid-template-columns: 1fr; gap: 16px }
  .archive-date { flex-direction: row; gap: 12px; min-height: auto; justify-content: flex-start; padding: 14px 18px }
  .archive-date strong { font-size: 28px }
  .archive-date span { margin-top: 0 }
  .benefits-cta { padding: 24px }
  .footer-grid { grid-template-columns: 1fr }
  .footer-bottom { display: block }
  .footer-bottom span { display: block; margin: 8px 0 }
}

/* Active nav */
.nav-links a.is-active::after { right: 0 }
.nav-links a.is-active { color: var(--action) }

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--navy); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy);
  transition: transform .22s ease, top .22s ease;
}
.nav-toggle span::before { top: -6px }
.nav-toggle span::after { top: 6px }
.nav-toggle[aria-expanded="true"] {
  background: var(--navy);
  border-color: var(--navy);
}
.nav-toggle[aria-expanded="true"] span { background: transparent }
.nav-toggle[aria-expanded="true"] span::before,
.nav-toggle[aria-expanded="true"] span::after {
  background: var(--white);
  top: 0;
}
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg) }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) }

.nav-drawer {
  display: none;
  border-top: none;
  background: linear-gradient(180deg, var(--ice-soft) 0%, var(--white) 100%);
  padding: 0 0 20px;
}
.nav-drawer.open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 0 22px;
}
.nav-drawer a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -.01em;
  color: var(--navy);
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(13, 42, 73, .1);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.nav-drawer a:hover,
.nav-drawer a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, .32);
  color: var(--action);
  box-shadow: var(--shadow);
}
.nav-drawer a.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 10px 24px rgba(13, 42, 73, .22);
}
.nav-drawer a[href*="#"] {
  font-size: 13px;
  font-weight: 700;
  background: var(--ice-soft);
  border-color: rgba(13, 42, 73, .06);
  box-shadow: none;
}
.nav-drawer a[href*="#"]:hover,
.nav-drawer a[href*="#"]:focus-visible {
  background: var(--white);
}
.nav-drawer a[href*="#"].is-active {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
}
.nav-drawer .btn {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 4px;
  color: #fff !important;
  justify-content: center;
}

/* Inner page hero */
.page-hero {
  background: linear-gradient(128deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  color: var(--white); padding: 72px 0 64px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1); right: -100px; top: -80px;
  box-shadow: 0 0 0 60px rgba(255,255,255,.015);
}
.page-hero .container { position: relative; z-index: 2 }
.page-hero .kicker { color: #93C5FD }
.page-hero .kicker::before { background: currentColor }
.page-hero h1 {
  margin: 14px 0 14px;
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02; letter-spacing: -.045em; font-weight: 800;
  max-width: 820px; color: var(--white);
  -webkit-text-stroke: 0;
}
.page-hero p {
  margin: 0; max-width: 620px; color: rgba(255,255,255,.68); font-size: 17px;
}

/* Home teasers */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.teaser-card {
  padding: 28px; border-radius: var(--r-md); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 12px; min-height: 220px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.teaser-card:hover { transform: translateY(-3px); box-shadow: var(--shadow) }
.teaser-card h3 {
  font-family: var(--display); font-size: 24px; margin: 0; color: var(--navy); font-weight: 800;
  letter-spacing: -.03em;
}
.teaser-card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1 }
.teaser-card .teaser-link { font-size: 13px; font-weight: 800; color: var(--action) }

.doc-list { display: grid; gap: 12px }
.doc-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; border-radius: 16px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.doc-item strong { display: block; color: var(--navy); font-size: 15px }
.doc-item > div span { color: var(--muted); font-size: 12px }
.doc-item .btn { flex-shrink: 0; white-space: nowrap }
.doc-item .doc-soon {
  pointer-events: none;
  opacity: .55;
  cursor: default;
}
.doc-empty {
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--white);
  border: 1px dashed var(--line);
  text-align: center;
}
.doc-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.empty-panel {
  padding: 48px 40px; border-radius: var(--r-lg); background: var(--navy); color: var(--white);
  box-shadow: var(--shadow);
}
.empty-panel h2 {
  font-family: var(--display); font-size: clamp(28px, 3vw, 40px);
  margin: 12px 0 12px; font-weight: 800; letter-spacing: -.03em;
}
.empty-panel p { margin: 0; color: rgba(255,255,255,.62); max-width: 640px }

@media (max-width: 1050px) {
  .nav-links, .nav-actions .btn-outline { display: none }
  .nav-toggle { display: inline-flex }
  .teaser-grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 700px) {
  .teaser-grid { grid-template-columns: 1fr }
  .page-hero { padding: 56px 0 48px }
}

/* About page */
.about-intro {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start;
}
.about-title {
  margin: 12px 0 18px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05; letter-spacing: -.04em; color: var(--navy); font-weight: 800;
}
.about-lead {
  margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 640px;
}
.about-facts {
  display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--white); box-shadow: var(--shadow-soft); overflow: hidden;
}
.about-fact {
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.about-fact:last-child { border-bottom: 0 }
.about-fact span {
  display: block; font-size: 10px; font-weight: 850; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sky); margin-bottom: 6px;
}
.about-fact strong {
  display: block; font-size: 14px; color: var(--navy); font-weight: 750; line-height: 1.35;
}
@media (max-width: 1050px) {
  .about-intro { grid-template-columns: 1fr; gap: 28px }
}

/* ─── Motion (premium, restrained) ─── */
:root {
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: .22s;
  --dur-med: .55s;
  --dur-slow: .85s;
}

header {
  transition: box-shadow var(--dur-fast) var(--ease-soft),
              background var(--dur-fast) var(--ease-soft),
              border-color var(--dur-fast) var(--ease-soft);
}
header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: rgba(13, 42, 73, .1);
  box-shadow: 0 10px 36px rgba(13, 42, 73, .08);
}

.btn {
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-soft),
              background var(--dur-fast) var(--ease-soft),
              border-color var(--dur-fast) var(--ease-soft),
              color var(--dur-fast) var(--ease-soft);
}
.teaser-card,
.news-card,
.person-card,
.public-card,
.benefit-card,
.archive-card,
.rep-card {
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-soft),
              border-color var(--dur-fast) var(--ease-soft);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-left {
  opacity: 0;
  transform: translate3d(-24px, 0, 0);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
.reveal-left.is-in {
  opacity: 1;
  transform: none;
}
.reveal-scale {
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(.97);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
.reveal-scale.is-in {
  opacity: 1;
  transform: none;
}

/* Stagger children after parent is in view */
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: .04s }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .1s }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .22s }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .28s }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .34s }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .4s }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .46s }
.reveal-stagger.is-in > *:nth-child(n+9) { transition-delay: .5s }

.reveal-stagger > * {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out);
}
.reveal-stagger.is-in > * {
  opacity: 1;
  transform: none;
}

/* Hero / page-hero entrance */
.hero-enter .hero-logo,
.hero-enter .hero-eyebrow,
.hero-enter h1,
.hero-enter .hero-lead,
.hero-enter .hero-actions,
.hero-enter .hero-meta,
.hero-enter .hero-board {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  animation: motion-rise var(--dur-slow) var(--ease-out) forwards;
}
.hero-enter .hero-logo { animation-delay: .05s }
.hero-enter .hero-eyebrow { animation-delay: .12s }
.hero-enter h1 { animation-delay: .2s }
.hero-enter .hero-lead { animation-delay: .32s }
.hero-enter .hero-actions { animation-delay: .42s }
.hero-enter .hero-meta { animation-delay: .52s }
.hero-enter .hero-board {
  animation-name: motion-rise-scale;
  animation-delay: .28s;
}

.page-hero-enter .kicker,
.page-hero-enter h1,
.page-hero-enter p {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  animation: motion-rise .75s var(--ease-out) forwards;
}
.page-hero-enter .kicker { animation-delay: .05s }
.page-hero-enter h1 { animation-delay: .14s }
.page-hero-enter p { animation-delay: .24s }

/* Gate page (Pro členy) */
.gate-enter .gate-inner > div:first-child > .gate-kicker,
.gate-enter .gate-inner > div:first-child > h1,
.gate-enter .gate-inner > div:first-child > .gate-lead,
.gate-enter .gate-inner > div:first-child > .store-row,
.gate-enter .gate-inner > div:first-child > .gate-actions {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  animation: motion-rise .8s var(--ease-out) forwards;
}
.gate-enter .gate-inner > div:first-child > .gate-kicker { animation-delay: .06s }
.gate-enter .gate-inner > div:first-child > h1 { animation-delay: .14s }
.gate-enter .gate-inner > div:first-child > .gate-lead { animation-delay: .24s }
.gate-enter .gate-inner > div:first-child > .store-row { animation-delay: .34s }
.gate-enter .gate-inner > div:first-child > .gate-actions { animation-delay: .42s }
.gate-enter .phone {
  opacity: 0;
  animation: motion-fade .85s var(--ease-out) .28s forwards;
}
@keyframes motion-fade {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes motion-rise {
  from { opacity: 0; transform: translate3d(0, 26px, 0) }
  to   { opacity: 1; transform: none }
}
@keyframes motion-rise-scale {
  from { opacity: 0; transform: translate3d(0, 30px, 0) scale(.97) }
  to   { opacity: 1; transform: none }
}
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(.97) }
  to   { opacity: 1; transform: none }
}
@keyframes backdrop-in {
  from { opacity: 0 }
  to   { opacity: 1 }
}
@keyframes backdrop-out {
  from { opacity: 1 }
  to   { opacity: 0 }
}
@keyframes rep-photo-in {
  from { opacity: 0; transform: translateY(18px) scale(.92) }
  to   { opacity: 1; transform: none }
}
@keyframes rep-photo-out {
  from { opacity: 1; transform: none }
  to   { opacity: 0; transform: translateY(10px) scale(.94) }
}

.contact-dialog[open] {
  animation: dialog-in .32s var(--ease-out);
}
.contact-dialog[open]::backdrop {
  animation: backdrop-in .28s var(--ease-soft);
}
.rep-photo-dialog[open] {
  animation: rep-photo-in .38s var(--ease-out);
}
.rep-photo-dialog[open]::backdrop {
  animation: backdrop-in .32s var(--ease-soft);
}
.rep-photo-dialog.is-closing {
  animation: rep-photo-out .26s var(--ease-soft) forwards;
}
.rep-photo-dialog.is-closing::backdrop {
  animation: backdrop-out .26s var(--ease-soft) forwards;
}

.nav-drawer {
  transition: max-height .35s var(--ease-out), opacity .28s var(--ease-soft);
}
.brand-logo {
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-soft);
}
.brand:hover .brand-logo { transform: translateY(-1px) }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .reveal,
  .reveal-left,
  .reveal-scale,
  .reveal-stagger > *,
  .hero-enter .hero-logo,
  .hero-enter .hero-eyebrow,
  .hero-enter h1,
  .hero-enter .hero-lead,
  .hero-enter .hero-actions,
  .hero-enter .hero-meta,
  .hero-enter .hero-board,
  .page-hero-enter .kicker,
  .page-hero-enter h1,
  .page-hero-enter p,
  .gate-enter .gate-inner > div:first-child > .gate-kicker,
  .gate-enter .gate-inner > div:first-child > h1,
  .gate-enter .gate-inner > div:first-child > .gate-lead,
  .gate-enter .gate-inner > div:first-child > .store-row,
  .gate-enter .gate-inner > div:first-child > .gate-actions,
  .gate-enter .phone {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .btn:hover,
  .teaser-card:hover,
  .person-card:hover,
  .rep-card:hover {
    transform: none;
  }
  .contact-dialog[open],
  .rep-photo-dialog[open],
  .rep-photo-dialog.is-closing,
  .contact-dialog[open]::backdrop,
  .rep-photo-dialog[open]::backdrop,
  .rep-photo-dialog.is-closing::backdrop {
    animation: none;
  }
}

/* —— Přihláška (veřejný web) —— */
.prihlaska-main {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(37, 99, 235, .06), transparent 55%),
    var(--ice);
  padding-bottom: 80px;
}
.prihlaska-main .page-hero { margin-bottom: 0 }
.prihlaska-wrap {
  width: min(640px, calc(100% - 32px));
  margin: -28px auto 0;
  position: relative;
  z-index: 3;
}
.wizard-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wiz-progress {
  background: var(--ice-soft);
  border-bottom: 1px solid var(--line);
  padding: 20px 24px 16px;
  position: sticky;
  top: 0;
  z-index: 40;
}
.wiz-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.wiz-step-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  letter-spacing: -.03em;
}
.wiz-step-sub { font-size: 13px; color: var(--muted); margin: 4px 0 0 }
.wiz-step-count {
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sky); white-space: nowrap; padding-top: 4px;
}
.wiz-bar {
  margin-top: 14px; height: 5px; background: var(--line); border-radius: 999px; overflow: hidden;
}
.wiz-bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--action) 100%);
  border-radius: 999px; transition: width .28s ease;
}
.wiz-body { flex: 1; padding: 22px 24px 28px }
.wiz-nav {
  display: flex; gap: 10px; padding: 16px 24px;
  background: var(--ice-soft); border-top: 1px solid var(--line);
  position: sticky; bottom: 0; z-index: 40;
}
.wiz-nav .btn { flex: 1; min-height: 50px }
.wiz-nav .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none }
.btn-block { width: 100%; justify-content: center }
.btn-block:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none }

.guide-card,
.field-card,
.intro-card,
.legal-card,
.sig-card,
.verify-card,
.summary-card {
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.guide-card {
  background: var(--blue-soft);
  border: 1px solid #BFDBFE;
  box-shadow: none;
}
.guide-card h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
}
.guide-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5 }

.field-card,
.intro-card,
.legal-card,
.sig-card,
.verify-card,
.summary-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.intro-hero { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px }
.intro-icon {
  width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--sky) 100%);
  color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: 0 10px 22px rgba(13, 42, 73, .18);
}
.intro-hero h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--navy);
  line-height: 1.15;
}
.intro-hero p { margin: 4px 0 0; font-size: 13px; color: var(--muted) }
.intro-divider { height: 1px; background: var(--line); margin: 0 0 16px }
.intro-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px }
.intro-item:last-child { margin-bottom: 0 }
.intro-num {
  width: 26px; height: 26px; border-radius: 9px;
  background: var(--navy); color: #fff !important;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.intro-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy) }
.intro-item > div span { font-size: 12px; color: var(--muted); line-height: 1.4 }

.field-label {
  display: block; font-size: 12px; font-weight: 700; color: var(--navy);
  margin-bottom: 7px;
}
.field-label > i {
  color: var(--action); margin-right: 6px;
}
.field-label .req { color: var(--alert); margin-left: 2px }
.field-control {
  width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line);
  font-size: 15px; font-weight: 500; color: var(--ink); font-family: var(--font);
  background: var(--ice-soft); box-sizing: border-box;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field-control::placeholder { color: #94a3b8 }
.field-control:focus {
  outline: none; border-color: var(--action); background: var(--white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.field-control.is-invalid { border-color: var(--alert) }
.field-group { margin-bottom: 14px }
.field-group:last-child { margin-bottom: 0 }
select.field-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* Google Places Autocomplete dropdown nad wizardem */
.pac-container {
  z-index: 10000;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(13, 42, 73, 0.14);
  font-family: var(--font);
  margin-top: 4px;
}
.pac-item {
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink);
}
.pac-item:hover,
.pac-item-selected {
  background: rgba(37, 99, 235, 0.08);
}
.pac-item-query {
  color: var(--navy);
  font-weight: 600;
}
.pac-icon { display: none }


.error-banner {
  display: none; background: rgba(239, 68, 68, .08); border: 1px solid rgba(239, 68, 68, .22);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 14px;
  color: #dc2626; font-size: 13px; font-weight: 600;
  align-items: flex-start; gap: 10px;
}
.error-banner.show { display: flex }
.error-banner i { margin-top: 2px; flex-shrink: 0 }

.ref-banner {
  display: none; background: var(--sky-soft); border: 1px solid rgba(3, 105, 161, .22);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 14px;
  color: var(--navy); font-size: 13px; font-weight: 500;
  align-items: flex-start; gap: 10px;
}
.ref-banner.show { display: flex }
.ref-banner i { color: var(--sky); margin-top: 2px }

.searchable-dropdown-wrap { position: relative; width: 100% }
.searchable-dropdown-list {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-soft); z-index: 1000;
  max-height: 220px; overflow-y: auto; display: none; margin-top: 6px;
}
.searchable-dropdown-list.active { display: block }
.searchable-item {
  padding: 12px 14px; cursor: pointer; font-size: 14px;
  border-bottom: 1px solid var(--ice); display: flex; gap: 10px; align-items: start;
}
.searchable-item:last-child { border-bottom: none }
.searchable-item:active, .searchable-item:hover { background: var(--blue-soft); color: var(--action) }
.searchable-item b { color: var(--navy); font-weight: 700; width: 65px; flex-shrink: 0 }
.searchable-no-results { padding: 15px; text-align: center; color: var(--muted); font-size: 13px }

.legal-inner {
  background: var(--ice-soft); border: 1px solid #E2E8F0;
  border-radius: 14px; padding: 16px; margin: 12px 0;
}
.legal-item { display: flex; gap: 12px; align-items: flex-start }
.legal-item + .legal-item { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line) }
.legal-badge {
  width: 22px; height: 22px; border-radius: 8px; background: var(--navy); color: var(--white);
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.legal-item strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 4px }
.legal-item p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55 }
.consent-ok {
  display: none; align-items: center; gap: 10px; padding: 12px 14px;
  background: var(--blue-soft); border: 1px solid #BFDBFE;
  border-radius: 14px; margin-top: 10px;
}
.consent-ok.show { display: flex }
.consent-ok > i { color: var(--action); font-size: 16px }
.consent-ok span { flex: 1; font-size: 13px; font-weight: 700; color: var(--navy) }
.consent-ok button {
  background: none; border: none; color: var(--muted); font-size: 12px;
  font-weight: 700; cursor: pointer; font-family: inherit; padding: 0;
}
.consent-ok button:hover { color: var(--alert) }
#btn-consent { margin-top: 4px }

.signature-wrap {
  border: 1px solid var(--line); border-radius: 14px; background: var(--ice-soft);
  position: relative; cursor: crosshair; min-height: 180px;
  touch-action: none; -webkit-user-select: none; user-select: none; overflow: hidden;
}
.signature-wrap.has-ink {
  border-color: var(--action);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
  background: var(--white);
}
#sig-canvas { width: 100%; height: 180px; touch-action: none; display: block }
.sig-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  color: var(--muted); pointer-events: none; font-size: 13px; font-weight: 500;
}
.sig-placeholder.hide { display: none }
.sig-tools { position: absolute; bottom: 8px; right: 8px }
.btn-clear {
  background: var(--white); border: 1px solid var(--line); color: var(--muted);
  padding: 6px 12px; border-radius: 10px; font-size: 11px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}
.btn-clear:hover { color: var(--alert); border-color: rgba(239, 68, 68, .35) }
.sig-mobile-opt { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line) }
.btn-mobile-sign {
  width: 100%; border: 1px dashed var(--action); border-radius: 14px;
  background: var(--blue-soft); color: var(--navy);
  padding: 13px 14px; font-family: inherit; font-size: 13px; font-weight: 800;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s ease, border-color .15s ease;
}
.btn-mobile-sign:hover { background: #DBEAFE; border-color: var(--sky) }
.btn-mobile-sign i { color: var(--action) }
.sig-qr-panel {
  display: none; margin-top: 12px; padding: 16px;
  background: var(--ice-soft); border-radius: 14px; border: 1px solid var(--line);
  text-align: center;
}
.sig-qr-panel.show { display: block }
.sig-qr-panel .qr-hint {
  font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0 0 14px;
}
.sig-qr-box {
  width: 180px; height: 180px; margin: 0 auto 12px;
  background: var(--white); border-radius: 14px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.sig-qr-box canvas, .sig-qr-box img { max-width: 100%; max-height: 100% }
.sig-qr-status {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.sig-qr-status.ok { color: var(--action) }
.sig-qr-link-row { display: flex; gap: 8px; align-items: stretch; margin-bottom: 10px }
.sig-qr-link-row input {
  flex: 1; min-width: 0; font-size: 11px; padding: 10px 12px;
  border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); color: var(--navy); font-family: inherit;
}
.sig-qr-link-row button {
  border: 1px solid var(--line); background: var(--white); border-radius: 12px;
  padding: 8px 14px; font-size: 12px; font-weight: 800; cursor: pointer;
  font-family: inherit; color: var(--navy); white-space: nowrap;
}
.sig-qr-link-row button:hover { border-color: var(--action); color: var(--action) }
.sig-qr-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap }
.sig-qr-actions button {
  border: none; border-radius: 12px; padding: 9px 14px;
  font-size: 12px; font-weight: 800; cursor: pointer; font-family: inherit;
}
.btn-qr-refresh { background: var(--blue-soft); color: var(--action) }
.btn-qr-close { background: var(--ice); color: var(--muted) }

.sig-desktop-notice {
  display: none; align-items: flex-start; gap: 12px;
  margin-bottom: 14px; padding: 14px 16px;
  background: var(--blue-soft); border: 1px solid #BFDBFE;
  border-radius: 14px; color: var(--navy);
}
.sig-desktop-notice.show { display: flex }
.sig-desktop-notice > i { color: var(--action); font-size: 20px; margin-top: 2px; flex-shrink: 0 }
.sig-desktop-notice strong { display: block; font-size: 13px; font-weight: 800; margin-bottom: 2px }
.sig-desktop-notice p { margin: 0; font-size: 12px; line-height: 1.45; color: var(--muted) }
.sig-card.desktop-qr .signature-wrap { cursor: default }
.sig-card.desktop-qr #sig-canvas { pointer-events: none; cursor: default }
.sig-card.desktop-qr .sig-tools { pointer-events: auto }
.sig-card.desktop-qr #btnMobileSign { display: none }
.sig-card.desktop-qr .sig-mobile-opt { margin-top: 10px; padding-top: 0; border-top: none }
.sig-card.desktop-qr .btn-qr-close { display: none }
.sig-card.desktop-qr #sigQrPanel.show { display: block }

/* OTP inline under email */
.email-otp {
  margin-top: 14px; padding: 14px 16px;
  background: var(--ice-soft); border: 1px solid #E2E8F0; border-radius: 14px;
}
.email-otp .otp-hint {
  font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0 0 12px;
}
.verify-ok {
  display: none; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--blue-soft); border: 1px solid #BFDBFE; border-radius: 14px;
  font-size: 14px; font-weight: 700; color: var(--navy);
}
.verify-ok.show { display: flex }
.verify-ok i { color: var(--action); font-size: 18px }

.summary-card { padding-top: 16px; padding-bottom: 8px }
.summary-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--ice); font-size: 13px;
}
.summary-row:last-child { border-bottom: none }
.summary-row span { color: var(--muted); flex-shrink: 0; font-weight: 500 }
.summary-row strong { color: var(--navy); text-align: right; font-weight: 700 }
.summary-row strong.sum-ok { color: var(--action) }
.summary-row strong.sum-bad { color: var(--alert) }

.success-panel {
  text-align: center; padding: 56px 28px;
  background: var(--white);
}
.success-icon {
  width: 72px; height: 72px; margin: 0 auto 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--sky) 100%);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  box-shadow: 0 14px 32px rgba(13, 42, 73, .2);
}
.success-panel h2 {
  color: var(--navy); font-family: var(--display); font-weight: 800;
  font-size: 28px; margin: 0 0 10px; letter-spacing: -.03em;
}
.success-panel p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 }
.success-hint { font-size: 13px; font-weight: 800; color: var(--action); margin-top: 18px !important }
.success-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center }

.birthdate-row {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr 1fr;
  gap: 10px;
}
.birthdate-row .field-control {
  min-width: 0;
}

.wiz-step { display: none }
.wiz-step.active { display: block }

@media (max-width: 420px) {
  .wiz-step-title { font-size: 17px }
  .wiz-progress { padding: 16px 16px 14px }
  .wiz-body { padding: 16px 16px 22px }
  .wiz-nav { padding: 14px 16px }
  .field-control { font-size: 16px }
  .birthdate-row { grid-template-columns: 1fr; gap: 8px }
  .sig-qr-link-row { flex-direction: column }
  .prihlaska-wrap { width: calc(100% - 24px); margin-top: -20px }
  .success-panel { padding: 40px 20px }
  .success-panel h2 { font-size: 24px }
}
