:root {
  --page-max: 1380px;
  --navy: #12384f;
  --blue: #1596d2;
  --aqua: #74d7f3;
  --coral: #ff8a70;
  --sun: #f7ca5a;
  --cream: #eef8ff;
  --ink: #18374a;
  --muted: #5f7686;
  --white: #ffffff;
  --shadow: 0 18px 52px rgba(18, 56, 79, .13);
  /* aliasy používané v profil/admin modáloch */
  --light-blue: #e3f4fb;
  --gray: #5f7686;
  --bg: #f3fafe;
  --line: #d8ecf4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Nunito, Arial, sans-serif;
  font-size: 16px;
  background: linear-gradient(180deg, #eaf8ff 0%, #f7fcff 42%, #ffffff 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(21, 150, 210, .12);
  border-top: 0;
  border-radius: 0 0 16px 16px;
}

.brand img { height: 64px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  padding: 10px 11px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
}
.site-nav a:hover,
.site-nav a.is-active {
  background: #dff4ff;
  color: #007fae;
}
.site-nav a.nav-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: var(--blue, #1596d2);
  order: -1;
}
.site-nav a.nav-map:hover { background: #dff4ff; color: #007fae; }
.menu-toggle { display: none; }

main {
  width: min(100%, var(--page-max));
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  min-height: calc(100vh - 140px);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 560px);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 82px);
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 80px) 150px;
  background:
    radial-gradient(circle at 18% 20%, rgba(116, 215, 243, .42), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #e8f7ff 48%, #d7efff 100%);
}

.water-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 210px;
  pointer-events: none;
}
.water-layer svg { width: 100%; height: 100%; }
.wave-a { fill: rgba(116, 215, 243, .5); animation: drift 7s ease-in-out infinite alternate; }
.wave-b { fill: rgba(21, 150, 210, .18); animation: drift 9s ease-in-out infinite alternate-reverse; }

.hero-copy { align-self: center; max-width: 680px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 15px;
}
h1, h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  line-height: 1.02;
}
h1 { font-size: clamp(46px, 7vw, 88px); max-width: 760px; }
h2 { font-size: clamp(34px, 4vw, 58px); }
h3 { margin: 0 0 10px; font-size: 22px; color: var(--navy); }
.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #3f6174;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 56, 79, .11);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button.primary { background: var(--blue); color: var(--white); }
.button.ghost { background: var(--white); color: var(--navy); }
.button:hover,
.download-grid a:hover,
.contact-links a:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  align-self: center;
  min-height: 520px;
}
.hero-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.float-card {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px rgba(18, 56, 79, .16);
  animation: bob 4s ease-in-out infinite;
}
.float-card strong { font-size: 30px; color: var(--blue); }
.float-card span { font-weight: 800; color: var(--muted); }
.card-one { left: -26px; top: 48px; }
.card-two { right: -18px; bottom: 42px; animation-delay: -1.3s; }
.hero-visual img.hero-logo {
  position: absolute;
  right: -30px;
  top: -38px;
  width: 148px;
  height: 148px;
  padding: 4px 0 0;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 16px 38px rgba(18, 56, 79, .2);
  animation: bob 5s ease-in-out infinite;
  animation-delay: -.6s;
}

.hero-stats {
  position: absolute;
  left: clamp(18px, 5vw, 80px);
  right: clamp(18px, 5vw, 80px);
  bottom: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 760px;
}
.hero-stats div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 32px rgba(18, 56, 79, .09);
}
.hf-check {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue, #1596d2);
  display: grid; place-items: center;
}
.hf-check::before { content: "✓"; color: #fff; font-weight: 900; font-size: 16px; line-height: 1; }
.hero-stats span { color: var(--navy); font-weight: 800; font-size: 16px; line-height: 1.25; }

.section { padding: clamp(64px, 8vw, 110px) clamp(18px, 5vw, 80px); }
.section.soft { background: #eef8ff; }
.section.white { background: #ffffff; }
.section-heading { max-width: 820px; margin-bottom: 34px; }
.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 900;
  font-size: 16px;
  border-bottom: 2px solid rgba(21, 150, 210, .25);
  transition: transform .25s ease, color .25s ease;
}
.intro-grid, .price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature, .price-card {
  padding: 30px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(18, 56, 79, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover, .price-card:hover, .info-card:hover, .doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(18, 56, 79, .12);
}
.feature p, .price-card p, .content p, .timeline p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}
.icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: #ddf4ff;
  color: var(--blue);
  font-weight: 900;
  font-size: 28px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #eef8ff;
}
.media img { border-radius: 16px; box-shadow: var(--shadow); }
.course-list { display: grid; gap: 14px; margin-top: 28px; }
.course {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(21, 150, 210, .1);
}
.course span { font-weight: 900; color: var(--navy); }
.course strong { color: var(--blue); }

/* ─── Aktívne termíny kurzov (index.html) ──────────────────────────────── */
.course-active {
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
}
.course-active::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, #52b6dc, #0f6e95);
  opacity: .9;
}
.course-active:hover {
  transform: translateY(-2px);
  border-color: #8fd2ec;
  box-shadow: 0 12px 28px -18px rgba(15, 110, 149, .55);
}
.course-active .course-name { flex: 1; font-weight: 900; color: var(--navy); }
.course-wave {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 26px; flex-shrink: 0;
}
.course-wave svg { width: 100%; height: 100%; overflow: visible; }
.course-wave .cw {
  fill: none; stroke-width: 1.8; stroke-linecap: round;
  transform-origin: 50% 50%;
}
.course-wave .cw1 { stroke: #8fd2ec; animation: courseWave 3.6s ease-in-out infinite; }
.course-wave .cw2 { stroke: #52b6dc; animation: courseWave 4.4s ease-in-out infinite .3s; opacity: .85; }
.course-wave .cw3 { stroke: #0f6e95; animation: courseWave 5.4s ease-in-out infinite .6s; opacity: .55; }
.course-active:hover .cw1 { animation-duration: 1.6s; }
.course-active:hover .cw2 { animation-duration: 2.0s; }
.course-active:hover .cw3 { animation-duration: 2.4s; }
@keyframes courseWave {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-8px); }
}
.course-empty { justify-content: center; color: var(--muted, #5d7886); font-style: italic; }

.course-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 10px;
  padding: 2px 9px 2px 8px;
  font-size: 11px; font-weight: 800; font-style: normal;
  letter-spacing: .08em; text-transform: uppercase;
  color: #0a4d68;
  background: #e3f4fb;
  border: 1px solid #8fd2ec;
  border-radius: 999px;
  vertical-align: middle;
}
.course-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2ea676;
  box-shadow: 0 0 0 0 rgba(46, 166, 118, .7);
  animation: courseBadgePulse 1.6s ease-out infinite;
}
@keyframes courseBadgePulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 166, 118, .7); }
  70%  { box-shadow: 0 0 0 8px rgba(46, 166, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 166, 118, 0); }
}
.course-running::before { background: linear-gradient(180deg, #2ea676, #0f6e95); }

.course-badge.is-closed {
  color: #6b4a14;
  background: #fff3df;
  border-color: #f0d199;
}
.course-badge.is-closed .lock { font-size: 11px; line-height: 1; }
.course-closed { opacity: .82; background: linear-gradient(180deg, #ffffff 0%, #fbf6ec 100%); }
.course-closed::before { background: linear-gradient(180deg, #d6a85a, #8a6418); }
.course-closed .cw { animation-play-state: paused; opacity: .45; }

.course-reserve {
  margin-left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #1596d2, #0a4d68);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(15, 110, 149, .6);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  white-space: nowrap;
}
.course-reserve::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: courseReservePulse 1.8s ease-out infinite;
}
.course-reserve:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(15, 110, 149, .8);
  filter: brightness(1.05);
}
.course-reserve:disabled {
  background: #cdd9e1;
  color: #6b7d89;
  cursor: not-allowed;
  box-shadow: none;
}
.course-reserve:disabled::before { animation: none; background: #9fb2bd; box-shadow: none; }
.course-reserve:disabled:hover { transform: none; filter: none; box-shadow: none; }
.course-spots {
  margin-left: 14px;
  font-size: 12px;
  font-weight: 800;
  color: #1c7a45;
  white-space: nowrap;
}
.course-spots.is-full, .course-spots.is-closed { color: #b4322f; }
@keyframes courseReservePulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.services { background: #e4f5ff; }

/* ─── Služby a cenník (dynamicky z DB) ─────────────────────────────────── */
.services-list { display: flex; flex-direction: column; gap: 28px; }
.service-block {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 16px 42px rgba(18, 56, 79, .08);
}
.service-block > header { margin-bottom: 22px; }
.service-block > header .eyebrow { margin: 0; }
.service-block > header h3 { margin: 4px 0 0; font-size: 22px; color: var(--navy); letter-spacing: -.01em; }
.service-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.service-prices.is-single { grid-template-columns: minmax(260px, 420px); }
.service-prices .price-card {
  padding: 22px 24px;
  box-shadow: none;
  border: 1px solid rgba(21, 150, 210, .18);
  background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
}
.service-prices .price-card h4 { margin: 0 0 6px; font-size: 16px; color: var(--navy); font-weight: 800; }
.service-prices .price-card .price-meta {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: #52b6dc; font-weight: 700; margin: 0 0 8px;
}
.service-prices .price-card p { font-size: 14px; line-height: 1.55; margin: 0 0 12px; }
.service-prices .price-card strong { display: block; font-size: 22px; color: var(--blue); }
@media (max-width: 760px) {
  .service-block { padding: 22px 20px; }
  .service-prices, .service-prices.is-single { grid-template-columns: 1fr; }
}
.price-card strong {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-size: 22px;
}
.price-card.featured { background: var(--navy); color: var(--white); transform: translateY(-12px); }
.price-card.featured h3, .price-card.featured p { color: var(--white); }
.price-card.featured strong { color: var(--sun); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-auto-rows: 240px;
  gap: 18px;
}
.gallery-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin: 0 0 22px;
}
.gallery-tab {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #c4e8f5;
  background: #fff;
  color: #0a4d68;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.gallery-tab:hover { border-color: #52b6dc; transform: translateY(-1px); }
.gallery-tab.is-active { background: #0a4d68; color: #fff; border-color: #0a4d68; }
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(18, 56, 79, .09);
  transition: transform .35s ease, box-shadow .35s ease;
}
.gallery-grid img:hover {
  transform: scale(1.025);
  box-shadow: 0 18px 44px rgba(18, 56, 79, .16);
}
.gallery-grid a.gallery-item {
  display: block; position: relative; width: 100%; height: 100%;
  border-radius: 14px; overflow: hidden; cursor: zoom-in;
}
.gallery-grid a.gallery-item img { display: block; }
.gallery-grid a.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,77,104,0) 60%, rgba(10,77,104,.45) 100%),
    radial-gradient(circle at center, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 40%);
  opacity: 0; transition: opacity .25s ease;
  pointer-events: none;
}
.gallery-grid a.gallery-item:hover::after { opacity: 1; }
.gallery-grid a.gallery-item .gallery-zoom-icon {
  position: absolute; right: 12px; bottom: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #0f6e95;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.8); transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.gallery-grid a.gallery-item:hover .gallery-zoom-icon { opacity: 1; transform: scale(1); }
.gallery-grid img:first-child, .gallery-grid a.gallery-item:first-child { grid-row: span 2; }
.gallery-grid-large {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
}
.gallery-grid-large img:first-child,
.gallery-grid-large a.gallery-item:first-child {
  grid-row: span 2;
  grid-column: span 2;
}

.schedule { background: linear-gradient(180deg, #ffffff, #e7f7ff); }
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.timeline div {
  position: relative;
  padding: 28px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(21, 150, 210, .12);
}
.timeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--sun);
  font-weight: 900;
}

.faq-list { display: grid; gap: 14px; max-width: 920px; }
.faq-item {
  width: 100%;
  border: 0;
  padding: 22px 24px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(18, 56, 79, .07);
  text-align: left;
  cursor: pointer;
}
.faq-item > span:first-child { display: block; font: 900 20px Nunito, Arial, sans-serif; color: var(--navy); }
.faq-answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  transition: max-height .35s ease, margin-top .35s ease;
}
.faq-item.is-open .faq-answer { max-height: 1500px; margin-top: 12px; }

.downloads { background: #eef8ff; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.download-grid a {
  padding: 22px;
  border-radius: 12px;
  background: var(--white);
  font-weight: 900;
  font-size: 17px;
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(18, 56, 79, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 16px;
  background: linear-gradient(135deg, #12405a, #147dad);
  color: var(--white);
  box-shadow: var(--shadow);
}
.contact-panel h2, .contact-panel .eyebrow { color: var(--white); }
.contact-links { display: grid; gap: 12px; }
.contact-links a {
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  font-weight: 900;
  transition: transform .25s ease, background .25s ease;
}
.contact-map-link { display: inline-flex; align-items: center; gap: 8px; }
.contact-map-link svg { flex: 0 0 auto; }
.contact-social-note { margin-top: 14px; font-size: 14px; opacity: .92; }
.contact-social-note a { font-weight: 800; text-decoration: underline; }

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  min-height: 430px;
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 80px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(231, 247, 255, .92)),
    radial-gradient(circle at 82% 20%, rgba(116, 215, 243, .52), transparent 32%);
  border-bottom: 1px solid rgba(21, 150, 210, .1);
}
.page-hero::after {
  content: "";
  position: absolute;
  left: clamp(18px, 5vw, 80px);
  right: clamp(18px, 5vw, 80px);
  bottom: 28px;
  height: 38px;
  background:
    radial-gradient(circle at 12px 18px, rgba(21, 150, 210, .22) 0 5px, transparent 6px),
    radial-gradient(circle at 48px 14px, rgba(116, 215, 243, .36) 0 7px, transparent 8px);
  background-size: 82px 38px;
  opacity: .7;
  pointer-events: none;
  animation: shimmer 8s linear infinite;
}
.page-hero.compact {
  grid-template-columns: 1fr;
  min-height: 310px;
}
.page-hero-copy {
  max-width: 820px;
}
.page-hero-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: gentleFloat 5s ease-in-out infinite;
}

.page-section-grid,
.info-grid,
.doc-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.page-section-grid.two,
.contact-grid {
  grid-template-columns: repeat(2, 1fr);
}
.info-card,
.doc-card,
.contact-card {
  padding: 26px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(21, 150, 210, .12);
  box-shadow: 0 12px 30px rgba(18, 56, 79, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.info-card h3,
.doc-card h3,
.contact-card h3 {
  margin-bottom: 10px;
}
.info-card p,
.doc-card p,
.contact-card p,
.check-list li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #ddf4ff;
  color: var(--blue);
  font-weight: 900;
  font-size: 15px;
}
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 28px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--blue);
  box-shadow: 0 0 0 4px #ddf4ff;
}
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 16px;
  background: linear-gradient(135deg, #e8f7ff, #ffffff);
  border: 1px solid rgba(21, 150, 210, .14);
  box-shadow: 0 14px 34px rgba(18, 56, 79, .08);
}
.cta-band p { color: var(--muted); line-height: 1.65; max-width: 680px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.form-grid textarea,
.form-grid .full { grid-column: 1 / -1; }
.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(21, 150, 210, .18);
  border-radius: 10px;
  padding: 14px 15px;
  font-size: 16px;
  color: var(--ink);
  background: #f7fcff;
}
.form-grid textarea {
  min-height: 128px;
  resize: vertical;
}

.course-table {
  display: grid;
  gap: 14px;
}
.course-table article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px auto;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border: 1px solid rgba(21, 150, 210, .12);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(18, 56, 79, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.course-table article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(18, 56, 79, .12);
}
.course-table h3,
.course-table p {
  margin: 0;
}
.course-table p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.course-table strong {
  color: var(--blue);
  font-size: 16px;
}
.button.small {
  min-height: 46px;
  padding: 0 18px;
  font-size: 15px;
  box-shadow: none;
}
.button.xs {
  min-height: 30px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 8px;
  box-shadow: none;
  font-weight: 700;
}
.button.danger { background: #fee2e2; color: #991b1b; }
.button.danger:hover { background: #fca5a5; }
.button.outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.button.outline:hover { background: var(--light-blue); }

.price-note {
  margin-top: 28px;
  padding: 28px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(21, 150, 210, .12);
}
.price-note p {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.site-footer {
  width: min(100%, var(--page-max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 80px);
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  background: #ffffff;
  border-top: 1px solid rgba(21, 150, 210, .12);
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes drift {
  from { transform: translateX(-24px); }
  to { transform: translateX(24px); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  from { background-position: 0 0, 0 0; }
  to { background-position: 82px 0, -82px 0; }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 0;
    border-radius: 10px;
    background: #dff4ff;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
  }
  .site-nav {
    position: fixed;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .hero, .split, .contact-panel { grid-template-columns: 1fr; }
  .page-hero { grid-template-columns: 1fr; }
  .hero { padding-bottom: 72px; }
  .hero-visual { min-height: auto; }
  .hero-visual img { height: 390px; }
  .hero-stats { position: static; grid-column: 1 / -1; max-width: none; }
  .intro-grid, .price-grid, .timeline, .download-grid, .page-section-grid, .page-section-grid.two, .info-grid, .doc-grid, .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img:first-child { grid-row: auto; grid-column: span 2; }
  .gallery-grid-large img:first-child { grid-row: auto; grid-column: span 2; }
  .course-table article { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .brand img { height: 52px; width: auto; }
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .site-header { min-height: 72px; }
  .site-nav { top: 72px; }
  .page-hero { min-height: 0; }
  .hero-visual img { height: 300px; border-radius: 14px; }
  .hero-visual img.hero-logo { width: 96px; height: 96px; padding: 4px 0 0; right: -6px; top: -18px; border-radius: 50%; }
  .float-card { display: none; }
  .hero-stats { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-grid img:first-child { grid-column: auto; }
  .gallery-grid-large img:first-child { grid-column: auto; }
  .course { display: grid; }
  .site-footer { flex-direction: column; }
}

/* ─── Auth nav ─────────────────────────────────────────────────────────────── */
.auth-nav { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.auth-nav-user { display: flex; align-items: center; gap: 10px; }
.auth-nav-user[hidden] { display: none; }
.auth-nav-login[hidden] { display: none; }
#authNavName { font-weight: 800; font-size: 14px; color: var(--navy); }

/* ─── Admin badge (animated) ──────────────────────────────────────────────── */
.auth-nav-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #e3f4fb 100%);
  border: 1px solid #c4e8f5;
  box-shadow: 0 2px 8px -4px rgba(15, 110, 149, .35);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
}
.auth-nav-admin:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 6px 16px -6px rgba(15, 110, 149, .55);
  border-color: #8fd2ec;
}
.auth-nav-admin svg { width: 22px; height: 22px; display: block; overflow: visible; }
.auth-nav-admin .ring  { fill: none; stroke: #52b6dc; stroke-width: 2; stroke-dasharray: 6 4; transform-origin: 50% 50%; animation: aqAdminSpin 8s linear infinite; }
.auth-nav-admin .teeth { fill: #1f95c4; transform-origin: 50% 50%; animation: aqAdminSpin 12s linear infinite reverse; }
.auth-nav-admin .core  { fill: #0f6e95; transform-origin: 50% 50%; animation: aqAdminPulse 2.4s ease-in-out infinite; }
.auth-nav-admin:hover .ring  { animation-duration: 3s; }
.auth-nav-admin:hover .teeth { animation-duration: 5s; }

@keyframes aqAdminSpin  { to { transform: rotate(360deg); } }
@keyframes aqAdminPulse {
  0%, 100% { transform: scale(1);    opacity: 1;   }
  50%      { transform: scale(1.18); opacity: .75; }
}

/* ─── Auth overlay & modal ─────────────────────────────────────────────────── */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 56, 79, .55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.auth-overlay[hidden] { display: none; }

.auth-modal {
  position: relative;
  width: min(520px, 100%);
  max-height: 90dvh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 28px 72px rgba(18, 56, 79, .22);
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 8px;
}
.auth-close:hover { background: var(--cream); color: var(--navy); }

.auth-title {
  margin: 0 0 20px;
  font-size: 28px;
  color: var(--navy);
}
.auth-sub {
  margin: -10px 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.auth-panel[hidden] { display: none; }

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.auth-form input {
  padding: 11px 14px;
  border: 2px solid #c8e6f5;
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
}
.auth-form input:focus { border-color: var(--blue); }
.auth-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* password show/hide */
.pw-wrap { position: relative; display: flex; }
.pw-wrap input { flex: 1; padding-right: 42px; }
.pw-toggle {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  padding: 0;
  border-radius: 0 10px 10px 0;
}
.pw-toggle:hover { color: var(--blue); }
.pw-toggle svg { width: 20px; height: 20px; pointer-events: none; }
/* eye-off line (shown when password visible) */
.pw-toggle .icon-eye-off { display: none; }
.pw-toggle.is-visible .icon-eye { display: none; }
.pw-toggle.is-visible .icon-eye-off { display: block; }

.auth-msg {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.auth-msg[hidden] { display: none; }
.auth-msg.success { background: #d4f4e0; color: #1a6632; }
.auth-msg.error { background: #fde8e4; color: #9b2820; }

.auth-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.link-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  padding: 0;
  text-decoration: underline;
}
.link-btn:hover { color: var(--navy); }

.full-width { width: 100%; justify-content: center; }

.auth-verify-icon {
  font-size: 64px;
  text-align: center;
  margin: 8px 0 4px;
}
.auth-verify-icon[hidden] { display: none; }

@media (max-width: 620px) {
  .auth-form .form-grid { grid-template-columns: 1fr; }
  .auth-nav .auth-nav-login span { display: none; }
}

/* ─── Profile overlay ──────────────────────────────────────────────────────── */
.profile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 1100;
  padding: 24px 16px;
  overflow-y: auto;
}
.profile-overlay[hidden] { display: none; }

/* Jednotný modálny dialóg (náhrada natívnych alert/confirm) */
.aq-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 56, 79, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}
.aq-modal-overlay[hidden] { display: none; }
.aq-modal {
  width: min(420px, 100%);
  background: var(--white);
  border-radius: 16px;
  padding: 26px 26px 22px;
  box-shadow: 0 18px 52px rgba(18, 56, 79, .28);
  animation: aqModalIn .16s ease-out;
}
@keyframes aqModalIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.aq-modal-title {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--navy);
}
.aq-modal-title[hidden] { display: none; }
.aq-modal-message {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  white-space: pre-line;
}
.aq-modal-message[hidden] { display: none; }
.aq-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.aq-modal-actions .button[hidden] { display: none; }

/* Výber náhradného termínu (klient) */
.rep-pick-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 46vh;
  overflow-y: auto;
  margin: 4px 0 20px;
}
.rep-pick {
  text-align: left;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.rep-pick:hover { border-color: var(--blue); background: #f1f9ff; }

.profile-modal {
  position: relative;
  width: min(860px, 100%);
  background: var(--white);
  border-radius: 16px;
  padding: 40px 40px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
}

.profile-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  font-size: 28px; line-height: 1;
  cursor: pointer; color: var(--navy);
  padding: 4px 8px;
  border-radius: 6px;
}
.profile-close:hover { background: var(--light-blue); }

.profile-title {
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 24px;
}

.profile-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--light-blue);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.profile-tab {
  background: none; border: none;
  padding: 10px 16px;
  font-size: 14px; font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: background .15s;
}
.profile-tab:hover { background: var(--light-blue); }
.profile-tab.active {
  border-bottom-color: var(--blue);
  color: var(--blue);
}

.profile-panel[hidden] { display: none; }

.profile-section {
  background: var(--bg);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.profile-section h3 {
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 16px;
}

.profile-loading {
  color: var(--gray);
  font-size: 14px;
  padding: 24px 0;
}

.profile-content { min-width: 0; }
#detiList, #rezervaciList, #rozvrhList, #nahradneList { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.profile-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 14px;
}
.profile-table th {
  text-align: left;
  padding: 10px 12px;
  background: #d4ebf9;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
.profile-table .button.xs { white-space: nowrap; }
.profile-table td:last-child { white-space: nowrap; }
.profile-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--light-blue);
  vertical-align: top;
}
.profile-table tr:last-child td { border-bottom: none; }

/* Na úzkom mobile sa tabuľky profilu prestackujú do kariet (label: hodnota) */
@media (max-width: 620px) {
  .profile-modal { padding: 34px 18px 24px; }
  .profile-table { min-width: 0; }
  .profile-table thead { display: none; }
  .profile-table tbody, .profile-table tr, .profile-table td { display: block; width: 100%; }
  .profile-table tr {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 4px 14px;
    margin-bottom: 12px;
    background: var(--white);
    box-shadow: 0 6px 18px rgba(18, 56, 79, .06);
  }
  .profile-table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    text-align: right;
    white-space: normal;
    padding: 9px 0;
    border-bottom: 1px dashed var(--light-blue);
  }
  .profile-table tr td:last-child { border-bottom: none; white-space: normal; }
  .profile-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--muted);
    text-align: left;
    flex: 0 0 auto;
  }
  /* akčné / bezpopisné bunky: bez labelu, obsah zarovnaný vpravo */
  .profile-table td[data-label=""] { justify-content: flex-end; flex-wrap: wrap; }
  .profile-table td[data-label=""]::before { content: none; }
}

.profile-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.profile-badge.paid { background: #d1fae5; color: #065f46; }
.profile-badge.unpaid { background: #fee2e2; color: #991b1b; }
.profile-badge.replaced { background: #d1fae5; color: #065f46; }
.profile-badge.pending { background: #fef3c7; color: #92400e; }
.profile-badge.expired { background: #eef2f5; color: #5f7686; }

.profile-empty {
  color: var(--gray);
  font-size: 14px;
  padding: 16px 0;
}

.edit-input {
  border: 1px solid var(--blue);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 14px;
  font-family: inherit;
}

.d-actions { white-space: nowrap; }

.profile-add-form {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--light-blue);
  border-radius: 12px;
}
.profile-add-form h4 {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--navy);
}
.profile-add-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.profile-add-row input {
  flex: 1 1 160px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
}
.profile-add-row .button { flex: 0 0 auto; }
.profile-add-msg {
  margin: 10px 0 0;
  font-size: 13px;
  color: #c0392b;
  font-weight: 600;
}

/* ── Karta rezervácie v profile ── */
.res-card {
  border: 1px solid var(--light-blue);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
  background: var(--white);
}
.res-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.res-course { font-size: 16px; color: var(--navy); display: block; }
.res-sub { font-size: 13px; color: var(--gray); }
.res-meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: 14px; color: var(--ink); margin-bottom: 12px;
}
.res-payment {
  font-size: 13px; line-height: 1.6; color: var(--ink);
  background: var(--bg); border-radius: 10px; padding: 12px 14px; margin: 0 0 10px;
}
.res-note {
  font-size: 13px; line-height: 1.55; color: var(--gray); margin: 0 0 12px;
}
.res-terms { font-size: 13px; margin-bottom: 12px; }
.res-terms ul { margin: 6px 0 0; padding-left: 18px; }
.res-terms li { padding: 2px 0; }
.res-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.res-cancel-info { font-size: 12px; color: var(--muted); line-height: 1.45; text-align: right; }
.rozvrh-note {
  font-size: 13px; line-height: 1.5; color: var(--navy);
  background: var(--bg); border: 1px solid var(--light-blue);
  border-radius: 10px; padding: 10px 14px; margin: 0 0 14px;
}
.rozvrh-replacement { font-size: 12px; color: #065f46; font-weight: 700; white-space: nowrap; }

@media (max-width: 640px) {
  .profile-modal { padding: 28px 16px 24px; }
  .profile-tab { font-size: 13px; padding: 8px 10px; }
  .profile-table { font-size: 13px; }
}

/* ── Oznamy (banner z admin „Oznamy") ── */
.notices { display: grid; gap: 16px; }
.notices:empty { display: none; }

/* Dôležité oznamy úplne navrchu stránky (nad hero), výraznejšie a väčšie */
.notices-top {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 3vw, 26px) clamp(18px, 5vw, 80px) 0;
}
.notices-top:empty { display: none; }
.notice.notice-top {
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700;
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3vw, 32px);
  border-left-width: 8px;
  box-shadow: 0 14px 34px rgba(18, 56, 79, .16);
  animation: noticeTopPulse 2.4s ease-in-out infinite;
}
.notice.notice-top .notice-icon { width: 36px; height: 36px; font-size: 21px; }
@keyframes noticeTopPulse {
  0%, 100% { box-shadow: 0 14px 34px rgba(18, 56, 79, .16); }
  50% { box-shadow: 0 14px 40px rgba(18, 56, 79, .28); }
}
@media (prefers-reduced-motion: reduce) {
  .notice.notice-top { animation: none; }
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 26px;
  border-radius: 16px;
  border: 1px solid transparent;
  border-left-width: 6px;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--ink, #0a2533);
  box-shadow: 0 10px 26px rgba(18, 56, 79, .08);
}
.notice-body { flex: 1; }
.notice-body strong { font-weight: 800; }
.notice-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  line-height: 1;
}
.notice-icon::before { content: "i"; font-style: italic; font-family: Georgia, serif; }

/* Informácia — modrá */
.notice-info {
  background: #eaf6fd;
  border-color: #bfe4f6;
  border-left-color: #1596d2;
  color: #0d3d55;
}
.notice-info .notice-icon { background: #1596d2; }

/* Úspech — zelená */
.notice-success {
  background: #e9f8ef;
  border-color: #bfe8ce;
  border-left-color: #2e9e5b;
  color: #16532f;
}
.notice-success .notice-icon { background: #2e9e5b; }
.notice-success .notice-icon::before { content: "✓"; font-style: normal; font-family: inherit; }

/* Upozornenie — oranžová */
.notice-warning {
  background: #fff5e6;
  border-color: #ffe0b0;
  border-left-color: #e8890c;
  color: #7a4a05;
}
.notice-warning .notice-icon { background: #e8890c; }
.notice-warning .notice-icon::before { content: "!"; font-style: normal; font-family: inherit; }

/* Dôležité — červená */
.notice-danger {
  background: #fdecec;
  border-color: #f6c9c9;
  border-left-color: #cf3f3f;
  color: #7d1f1f;
}
.notice-danger .notice-icon { background: #cf3f3f; }
.notice-danger .notice-icon::before { content: "!"; font-style: normal; font-family: inherit; }

@media (max-width: 720px) {
  .notice { font-size: 18px; padding: 18px 20px; gap: 12px; }
}

/* ── O klube (texty z admin „Texty - Úvod") ── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.about-grid:empty { display: none; }
.about-text {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ── Stav kontaktného formulára ── */
.contact-status { margin: 4px 0 0; font-size: 15px; min-height: 1px; }
.contact-status.is-ok { color: var(--water-600, #0f6e95); font-weight: 700; }
.contact-status.is-error { color: #c0392b; font-weight: 700; }

/* ── Rezervačný modal ── */
.reserve-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 37, 51, .55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.reserve-overlay[hidden] { display: none; }
.reserve-modal {
  position: relative;
  width: 100%; max-width: 460px;
  max-height: 90vh; overflow: auto;
  background: #fff; border-radius: 18px;
  padding: 28px 26px 26px;
  box-shadow: 0 30px 70px rgba(10, 37, 51, .35);
}
.reserve-modal h2 { margin: 0 0 14px; font-size: 22px; color: var(--water-700, #0a4d68); }
.reserve-close {
  position: absolute; top: 14px; right: 16px;
  border: 0; background: none; font-size: 26px; line-height: 1;
  color: var(--muted, #5d7886); cursor: pointer;
}
.reserve-course {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--water-50, #f3fbff);
  border: 1px solid var(--line, #d8ecf4);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 18px;
}
.reserve-course strong { color: var(--water-700, #0a4d68); }
.reserve-course span { color: var(--muted, #5d7886); font-size: 14px; }
.reserve-existing {
  background: #fff6f2;
  border: 1px solid #f3c6b4;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.reserve-existing[hidden] { display: none; }
.reserve-existing-title { margin: 0; font-weight: 700; color: #b9521f; }
.reserve-existing-meta { margin: 0; font-size: 13px; color: var(--muted, #5d7886); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.reserve-existing-pay.is-paid { color: #1f9254; font-weight: 700; }
.reserve-existing-pay.is-unpaid { color: #c0392b; font-weight: 700; }
.reserve-existing-info {
  margin: 0; font-size: 12px; line-height: 1.55; color: var(--ink, #0a2533);
  background: #fff; border: 1px solid #f3c6b4; border-radius: 8px; padding: 10px 12px;
}
.reserve-existing-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted, #5d7886); }
.reserve-existing-terms { font-size: 12px; }
.reserve-existing-terms ul { margin: 4px 0 0; padding-left: 18px; }
.reserve-existing-terms li { padding: 1px 0; }
.reserve-existing-err { margin: 0; font-size: 13px; color: #c0392b; font-weight: 700; }
.reserve-form { display: flex; flex-direction: column; gap: 14px; }
.reserve-fields { display: flex; flex-direction: column; gap: 14px; }
.reserve-fields[hidden] { display: none; }
.reserve-form > label,
.reserve-fields > label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--ink, #0a2533);
}
.reserve-form select,
.reserve-form textarea {
  font: inherit; font-weight: 400;
  padding: 10px 12px;
  border: 1px solid var(--line, #d8ecf4); border-radius: 10px;
  background: #fff;
}
.reserve-terms {
  flex-direction: row !important; align-items: flex-start; gap: 10px;
  font-weight: 400 !important; font-size: 13px; color: var(--muted, #5d7886);
  line-height: 1.5;
}
.reserve-terms input { margin-top: 3px; flex: 0 0 auto; }
.reserve-terms-link {
  color: var(--water-600, #0f6e95);
  font-weight: 700;
  text-decoration: underline;
}
.reserve-terms-link:hover { color: var(--water-700, #0a4d68); }
.reserve-status { margin: 0; font-size: 14px; min-height: 1px; }
.reserve-status.is-ok { color: var(--water-600, #0f6e95); font-weight: 700; }
.reserve-status.is-error { color: #c0392b; font-weight: 700; }
.reserve-status.is-busy { color: var(--muted, #5d7886); font-weight: 600; }
.reserve-form button.is-loading {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  opacity: .85; cursor: progress;
}
.reserve-spinner {
  display: inline-block; vertical-align: middle;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: reserve-spin .7s linear infinite;
}
.reserve-spinner--dark {
  border: 2px solid rgba(15, 110, 149, .25);
  border-top-color: var(--water-600, #0f6e95);
}
@keyframes reserve-spin { to { transform: rotate(360deg); } }
