/* Energy Padel Club – spoločné štýly webu, rezervácií, poukážok a administrácie */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0a1426;
  --navy-2: #13213c;
  --navy-3: #1d2f52;
  --blue: #1b6ef3;
  --blue-dark: #0f4fc2;
  --blue-soft: #e8f0fe;
  --lime: #d7f53b;
  --lime-dark: #b9d91d;
  --ink: #0d1b2e;
  --muted: #56657c;
  --line: #e1e7f0;
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --ok: #12804a;
  --ok-soft: #e5f6ec;
  --err: #c0262d;
  --err-soft: #fdecec;
  --warn: #9a5b00;
  --warn-soft: #fff4dc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(10, 20, 38, .12);
  --shadow-sm: 0 4px 14px rgba(10, 20, 38, .08);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 4rem); font-weight: 900; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 850; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: var(--navy); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 12px; }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--lime); color: var(--navy);
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.1; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(215, 245, 59, .35);
}
.btn:hover { background: #e4ff57; color: var(--navy); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .6; cursor: not-allowed; transform: none; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(27, 110, 243, .3); }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-line:hover { border-color: var(--blue); color: var(--blue-dark); background: #fff; }
.btn-danger { background: var(--err); color: #fff; box-shadow: none; }
.btn-danger:hover { background: #a11d23; color: #fff; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 20, 38, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.brand:hover { color: #fff; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.12rem; font-weight: 900; letter-spacing: .06em; }
.brand-text span { font-size: .7rem; font-weight: 700; letter-spacing: .32em; color: var(--lime); margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { color: #dfe7f5; text-decoration: none; font-weight: 650; font-size: .96rem; padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.header-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; border-radius: 8px; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
  .header-cta { display: none; }
  .main-nav .btn { margin-top: 14px; }
}
@media (min-width: 921px) { .main-nav .nav-only-mobile { display: none; } }

/* ---------- Úvod (hero) ---------- */
.hero {
  position: relative; color: #fff; background: var(--navy);
  min-height: min(88vh, 760px); display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 20, 38, .15) 0%, rgba(10, 20, 38, .35) 40%, rgba(10, 20, 38, .92) 100%),
    linear-gradient(90deg, rgba(10, 20, 38, .65) 0%, rgba(10, 20, 38, 0) 60%);
}
.hero-content { padding: 120px 0 64px; max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-dark); margin: 0 0 14px;
}
.hero .eyebrow { color: var(--lime); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: currentColor; }
.hero h1 { margin-bottom: 18px; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: #e6edf9; max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.hero-badges li {
  font-size: .86rem; font-weight: 700; color: #fff;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}

/* ---------- Sekcie ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #e6edf9; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--lime); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #b9c6dc; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--navy-2); color: #fff; }
.fact { padding: 26px 22px; border-right: 1px solid rgba(255, 255, 255, .08); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-size: 1.9rem; font-weight: 900; color: var(--lime); line-height: 1.1; }
.fact span { color: #c6d2e6; font-size: .95rem; }
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .08); }
}

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-rev .split-media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-rev .split-media { order: 0; } }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Vizualizácie (obrázky z AI podľa plánu) sú vždy označené, aby si ich nikto nepomýlil so skutočnou fotkou */
.viz { position: relative; margin: 0; }
.viz img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media .viz img { aspect-ratio: 16 / 9; object-fit: cover; }
.viz figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(10, 20, 38, .78); color: #fff; font-size: .8rem; font-weight: 750; letter-spacing: .02em;
  padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.media-pair img { aspect-ratio: 3 / 4; }

.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1426' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cards, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards, .cards-2, .cards-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.section-dark .card { background: var(--navy-2); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--lime); color: var(--navy); font-weight: 900; margin-bottom: 14px;
}
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-dark); margin-bottom: 14px; }
.section-dark .icon { background: rgba(215, 245, 59, .14); color: var(--lime); }
.icon svg { width: 24px; height: 24px; }

/* ---------- Cenník ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.price-label { font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.price-value { font-size: 2.2rem; font-weight: 900; line-height: 1.1; }
.price-value small { font-size: 1rem; font-weight: 700; color: var(--muted); }
.price-note { color: var(--muted); font-size: .95rem; }
.price.is-hot { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }

/* ---------- Galéria ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; aspect-ratio: 4 / 3; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery a:nth-child(1) img { aspect-ratio: auto; }
.gallery a:nth-child(2), .gallery a:nth-child(3) { grid-column: span 2; }
.gallery a:nth-child(n+4) { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery a:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .gallery a:nth-child(1) { grid-column: span 2; }
  .gallery a:nth-child(1) img { aspect-ratio: 16 / 10; }
  .gallery a:nth-child(6) { grid-column: span 2; }
  .gallery a:nth-child(6) img { aspect-ratio: 16 / 10; }
}
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 10, 20, .94);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 10px; }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px;
  border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Otázky ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { margin: 0; flex: 0 0 auto; }
.contact-list strong { display: block; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Formuláre ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 750; font-size: .95rem; }
.field .hint { color: var(--muted); font-size: .88rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"],
input[type="time"], input[type="password"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid #cdd6e3; border-radius: var(--radius-sm);
  padding: 12px 14px; min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27, 110, 243, .15); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-err { background: var(--err-soft); color: var(--err); }
.alert-warn { background: var(--warn-soft); color: var(--warn); }
.alert-info { background: var(--blue-soft); color: var(--blue-dark); }
.alert p:last-child { margin: 0; }

/* ---------- Rezervácia ---------- */
.page-head { background: var(--navy); color: #fff; padding: 48px 0 40px; position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 245, 59, .22), rgba(215, 245, 59, 0) 70%);
}
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 10px; }
.page-head p { color: #c6d2e6; max-width: 680px; margin: 0; font-size: 1.08rem; }
.page-head .eyebrow { color: var(--lime); }

.booking { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.booking > * { min-width: 0; }
@media (max-width: 980px) { .booking { grid-template-columns: minmax(0, 1fr); } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 1.3rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--lime); font-size: .95rem; font-weight: 900; flex: 0 0 auto; }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.days::-webkit-scrollbar { height: 6px; }
.days::-webkit-scrollbar-thumb { background: #cdd6e3; border-radius: 3px; }
.day {
  flex: 0 0 auto; scroll-snap-align: start; min-width: 66px; padding: 10px 8px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  font: inherit; text-align: center; line-height: 1.15; color: var(--ink);
}
.day small { display: block; font-size: .74rem; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
.day strong { display: block; font-size: 1.25rem; font-weight: 900; }
.day span { display: block; font-size: .74rem; color: var(--muted); }
.day:hover { border-color: var(--blue); }
.day[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.day[aria-pressed="true"] small, .day[aria-pressed="true"] span { color: var(--lime); }
.day:disabled { opacity: .4; cursor: not-allowed; }

.segmented { display: inline-flex; background: var(--bg-soft); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.segmented button {
  border: 0; background: transparent; font: inherit; font-weight: 750; padding: 9px 16px; border-radius: 999px;
  cursor: pointer; color: var(--muted); min-height: 40px;
}
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }

.courts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.court { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--bg-soft); }
.court h3 { font-size: 1.05rem; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.court h3 small { font-weight: 650; color: var(--muted); font-size: .82rem; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slot {
  font: inherit; font-weight: 800; font-size: .98rem; padding: 10px 4px; min-height: 44px;
  border-radius: 10px; border: 1.5px solid #c8d6ec; background: #fff; color: var(--ink); cursor: pointer;
}
.slot:hover { border-color: var(--blue); color: var(--blue-dark); }
.slot[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.slot:disabled { background: transparent; border-style: dashed; border-color: #d9e0ea; color: #a6b2c4; cursor: not-allowed; text-decoration: line-through; }
.empty { color: var(--muted); font-size: .95rem; padding: 6px 0; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .86rem; margin-top: 14px; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #c8d6ec; background: #fff; vertical-align: -2px; margin-right: 6px; }
.legend .l-sel { background: var(--blue); border-color: var(--blue); }
.legend .l-off { border-style: dashed; background: transparent; }

.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary dl { margin: 0 0 16px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.summary dt { color: var(--muted); font-weight: 650; }
.summary dd { margin: 0; font-weight: 800; text-align: right; }
.summary .total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 1.15rem; }
.voucher-row { display: flex; gap: 8px; }
.voucher-row input { text-transform: uppercase; letter-spacing: .06em; }
.success-box { text-align: center; padding: 32px 22px; }
.success-box h2 { justify-content: center; }
.success-box .big-check {
  width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok);
  display: grid; place-items: center; margin: 0 auto 16px;
}
.success-box .big-check svg { width: 38px; height: 38px; }
.code-pill { display: inline-block; font-weight: 900; letter-spacing: .1em; background: var(--navy); color: var(--lime); padding: 8px 16px; border-radius: 10px; font-size: 1.2rem; }

/* ---------- Poukážky ---------- */
.amounts { display: flex; flex-wrap: wrap; gap: 10px; }
.amount {
  font: inherit; font-weight: 900; font-size: 1.15rem; padding: 12px 20px; min-height: 52px; min-width: 88px;
  border-radius: 14px; border: 1.5px solid #c8d6ec; background: #fff; cursor: pointer; color: var(--ink);
}
.amount:hover { border-color: var(--blue); }
.amount[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--lime); }
.voucher-card {
  position: relative; border-radius: 22px; overflow: hidden; color: #fff; padding: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(215, 245, 59, .35), rgba(215, 245, 59, 0) 38%),
    linear-gradient(135deg, #0a1426 0%, #13306b 55%, #1b6ef3 130%);
  box-shadow: var(--shadow); min-height: 250px; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 1.6 / 1;
}
.voucher-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 26px solid rgba(255, 255, 255, .06);
}
.vc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.vc-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .06em; font-size: .95rem; }
.vc-brand img { width: 34px; height: 34px; }
.vc-label { font-size: .72rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--lime); }
.vc-value { font-size: clamp(2.6rem, 7vw, 3.6rem); font-weight: 900; line-height: 1; margin: 10px 0 6px; }
.vc-for { font-size: 1.05rem; font-weight: 700; color: #dfe8fb; min-height: 1.4em; }
.vc-msg { font-size: .95rem; color: #c6d4ef; font-style: italic; min-height: 1.3em; max-width: 90%; overflow-wrap: anywhere; }
.vc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; font-size: .8rem; color: #b8c7e6; position: relative; z-index: 1; }
.vc-code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; letter-spacing: .1em; color: #fff; font-size: .95rem; }
.pay-box { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 16px; display: grid; gap: 4px; }
.pay-box div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pay-box span { color: var(--muted); }
.pay-box strong { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .02em; }

/* ---------- Pätička ---------- */
.site-footer { background: #070f1d; color: #aebbd2; padding: 56px 0 96px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { color: #dfe7f5; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .86rem; }
@media (min-width: 761px) { .site-footer { padding-bottom: 40px; } }

/* ---------- Mobilná lišta ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  grid-template-columns: 1fr 1.4fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 20, 38, .96); border-top: 1px solid rgba(255, 255, 255, .1);
  transition: transform .2s ease;
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 52px; border-radius: 12px; text-decoration: none; font-weight: 800; font-size: .82rem;
  color: #fff; background: rgba(255, 255, 255, .08);
}
.mobile-bar a.mb-main { background: var(--lime); color: var(--navy); font-size: .95rem; }
.mobile-bar svg { width: 20px; height: 20px; }
.mobile-bar.is-hidden { transform: translateY(110%); }
@media (max-width: 760px) { .mobile-bar { display: grid; } }

/* ---------- Text stránky (podmienky, ochrana údajov) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }

/* ---------- Administrácia ---------- */
.admin-body { background: var(--bg-soft); }
.admin-header { background: var(--navy); color: #fff; }
.admin-header .header-inner { height: 60px; gap: 8px; }
@media (max-width: 520px) {
  .admin-header .brand-text span { letter-spacing: .12em; }
  .admin-header .admin-web { display: none; }
}
.admin-nav { display: flex; gap: 4px; overflow-x: auto; background: var(--navy-2); padding: 6px 12px; }
.admin-nav a { color: #dfe7f5; text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 8px; white-space: nowrap; font-size: .95rem; }
.admin-nav a[aria-current="page"], .admin-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.admin-main { padding: 24px 0 64px; }
.admin-main h1 { font-size: 1.7rem; margin-bottom: 18px; }
.admin-main h2 { font-size: 1.25rem; margin: 26px 0 12px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: .94rem; }
table.data th, table.data td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: #f8fafd; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; white-space: nowrap; }
.badge { display: inline-block; font-size: .78rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); white-space: nowrap; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-err { background: var(--err-soft); color: var(--err); }
.badge-blue { background: var(--blue-soft); color: var(--blue-dark); }
.inline-form { display: inline; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.stat strong { display: block; font-size: 1.7rem; font-weight: 900; }
.stat span { color: var(--muted); font-size: .9rem; }
.day-list { display: grid; gap: 14px; }
.day-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.day-card > h3 { margin: 0; padding: 12px 16px; background: #f8fafd; border-bottom: 1px solid var(--line); font-size: 1rem; display: flex; justify-content: space-between; gap: 10px; }
.booking-item { padding: 12px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: start; }
.booking-item:last-child { border-bottom: 0; }
.booking-item .when { font-weight: 900; }
.booking-item .when small { display: block; font-weight: 700; color: var(--muted); }
.booking-item .who strong { display: block; }
.booking-item .who span { color: var(--muted); font-size: .9rem; display: block; }
.booking-item.is-block { background: repeating-linear-gradient(-45deg, #fff, #fff 10px, #f6f8fb 10px, #f6f8fb 20px); }
@media (max-width: 620px) { .booking-item { grid-template-columns: 1fr; } }
.grid-day { border-collapse: collapse; width: 100%; background: #fff; font-size: .9rem; table-layout: fixed; }
.grid-day th:first-child { width: 64px; }
.grid-day th, .grid-day td { border: 1px solid var(--line); padding: 6px 8px; height: 34px; }
.grid-day th { background: #f8fafd; position: sticky; top: 0; }
.grid-day td.t { width: 64px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.grid-day td.busy { background: var(--blue-soft); color: var(--blue-dark); font-weight: 750; vertical-align: top; }
.grid-day td.blocked { background: #eef1f5; color: var(--muted); font-weight: 700; vertical-align: top; }
.grid-day td.closed { background: #fafbfc; }
.grid-day td.free a { display: block; color: #9fb0c8; text-decoration: none; font-size: .8rem; }
.grid-day td.free a:hover { color: var(--blue); }
.login-box { max-width: 420px; margin: 8vh auto; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 6px 4px; }
.hours-table input { min-height: 42px; padding: 8px 10px; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Tlač (poukážka) ---------- */
@media print {
  .no-print, .site-header, .site-footer, .mobile-bar { display: none !important; }
  body { background: #fff; }
  .voucher-print { box-shadow: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
