/* =====================================================================
   Doučovanie matematiky – Jana Karolína
   Vzhľad: moderný, formálny, exkluzívny (smaragd · krémová · zlatá)
   ===================================================================== */

:root {
  /* Značka */
  --brand:      #1e3a5f;   /* hlboká námornícka modrá */
  --brand-700:  #162944;
  --brand-800:  #101f34;
  --brand-soft: #e9eef5;   /* svetlý modrý nádych */
  --gold:       #b08a4c;   /* jemná zlatá */
  --gold-700:   #92703a;

  /* Neutrály */
  --ink:    #1a2230;
  --ink-2:  #3a4453;
  --muted:  #5c6472;
  --line:   #e5e1d6;
  --line-2: #efeadf;
  --cream:  #f8f5ee;       /* teplé plátno */
  --cream-2:#f2ede2;       /* tmavšie sekcie */
  --paper:  #ffffff;

  --success:#0f7a5f;
  --danger: #b4453a;

  --radius:   14px;
  --radius-lg:20px;
  --radius-sm:9px;
  --shadow:   0 1px 2px rgba(18,32,58,.05), 0 10px 30px rgba(18,32,58,.06);
  --shadow-lg:0 18px 50px rgba(18,32,58,.13);
  --container: 1240px;

  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-head: "Literata", "Iowan Old Style", Georgia, "Times New Roman", serif;

  /* Hlavička + hero (navy blok podľa návrhu) */
  --hero-navy:  #22384f;
  --hero-navy-2:#1b2e42;   /* hover na navy tlačidle */
  --hero-gold:  #e8c88f;
  --hero-gold-2:#f3d9a8;   /* hover na zlatom */
  --ff-hero:      "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-hero-sans: "DM Sans", var(--ff-body);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ff-body); color: var(--ink); background: var(--cream);
  line-height: 1.68; font-size: 17px; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--ff-head); font-weight: 600; line-height: 1.12; color: var(--ink);
  margin: 0 0 .5em; letter-spacing: -.01em; font-optical-sizing: auto;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.08rem; font-family: var(--ff-body); font-weight: 700; letter-spacing: 0; }
p  { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 900px; }
.center { text-align: center; }
.ta-r { text-align: right; }
.muted { color: var(--muted); }

::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-body); font-weight: 600; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .18em; color: var(--gold-700); margin: 0 0 18px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; flex: none; }
/* Úvodné snímky (hero) – vľavo, iba pomlčka vpredu */
.hero .eyebrow, .rez-hero .eyebrow { display: inline-flex; justify-content: flex-start; }
.hero .eyebrow::after, .rez-hero .eyebrow::after { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--ff-body); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  padding: 14px 28px; border-radius: 8px; border: 1px solid transparent; cursor: pointer;
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease, color .2s, border-color .2s;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(18,32,58,.24); }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-gold { background: var(--gold); color: #241a08; box-shadow: 0 8px 22px rgba(176,138,76,.28); }
.btn-gold:hover { background: var(--gold-700); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .93rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Icons ---------- */
.ico { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header (navy blok podľa návrhu) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--hero-navy); }
.site-header .container { max-width: 1240px; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 78px; padding: 6px 0; }

/* Logo ako text (bez dlaždice) */
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; display: block; flex: none; position: relative; top: -2px; }
.brand-text { display: inline-flex; align-items: baseline; gap: 18px; }
.brand-name { font-family: var(--ff-hero); font-weight: 600; font-size: 1.4rem; color: #fff; line-height: 1; }
.brand-sub { font-family: var(--ff-hero-sans); font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hero-gold); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 28px; list-style: none; align-items: center; flex-wrap: nowrap; }
.main-nav a { font-family: var(--ff-hero-sans); color: rgba(255,255,255,.78); font-weight: 500; font-size: .95rem; transition: color .15s; white-space: nowrap; }
.main-nav a:hover { color: #fff; text-decoration: none; }
.main-nav a.active { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-pill { font-family: var(--ff-hero-sans); background: var(--hero-gold); color: var(--hero-navy); font-weight: 600; font-size: .95rem; padding: 11px 22px; border-radius: 999px; transition: background .15s, transform .15s; white-space: nowrap; }
.btn-pill:hover { background: var(--hero-gold-2); color: var(--hero-navy); text-decoration: none; transform: translateY(-1px); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.28); border-radius: 9px;
  background: transparent; cursor: pointer; padding: 0; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (navy blok, jeden celok s hlavičkou) ---------- */
.hero {
  position: relative; background: var(--hero-navy);
  padding: 48px 0; display: flex; align-items: center;
  min-height: calc(100vh - 78px);        /* vyplní obrazovku pod hlavičkou (78px) */
  min-height: calc(100dvh - 78px);        /* presnejšie na mobiloch s lištami */
}
.hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: 72px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero-eyebrow { font-family: var(--ff-hero-sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--hero-gold); margin: 0; }
.hero h1 {
  font-family: var(--ff-hero); font-weight: 600; color: #fff; margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.08; letter-spacing: -.015em; text-wrap: pretty;
}
.hero h1 em { font-style: italic; color: var(--hero-gold); }
.hero-lead { font-family: var(--ff-hero-sans); font-size: 1.1rem; line-height: 1.65; color: rgba(255,255,255,.72); max-width: 520px; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 0; }
.btn-hero-primary { font-family: var(--ff-hero-sans); background: var(--hero-gold); color: var(--hero-navy); font-weight: 600; font-size: 1rem; padding: 16px 32px; border-radius: 10px; transition: background .15s, transform .15s; }
.btn-hero-primary:hover { background: var(--hero-gold-2); color: var(--hero-navy); text-decoration: none; transform: translateY(-2px); }
.btn-hero-secondary { font-family: var(--ff-hero-sans); background: transparent; color: #fff; font-weight: 500; font-size: 1rem; padding: 16px 26px; border-radius: 10px; border: 1px solid rgba(255,255,255,.28); transition: border-color .15s; }
.btn-hero-secondary:hover { border-color: #fff; color: #fff; text-decoration: none; }

/* Biela karta „Hodina v skratke" */
.hero-card { background: #fff; border-radius: 18px; padding: 30px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); display: flex; flex-direction: column; gap: 18px; }
.hero-card-title { font-family: var(--ff-hero); font-weight: 600; font-size: 1.25rem; color: var(--hero-navy); margin: 0; }
.hero-card-rows { margin: 0; display: flex; flex-direction: column; }
.hero-card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #f0eae0; }
.hero-card-row:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.hero-card-row dt { font-family: var(--ff-hero-sans); color: #7c7a73; font-size: .92rem; margin: 0; }
.hero-card-row dd { font-family: var(--ff-hero-sans); color: var(--hero-navy); font-weight: 500; font-size: .92rem; margin: 0; white-space: nowrap; }
.hero-card-price dd { font-family: var(--ff-hero); font-weight: 600; font-size: 1.35rem; }
.hero-card-btn { font-family: var(--ff-hero-sans); background: var(--hero-navy); color: #fff; font-weight: 600; font-size: .95rem; padding: 15px 24px; border-radius: 10px; text-align: center; transition: background .15s; }
.hero-card-btn:hover { background: var(--hero-navy-2); color: #fff; text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--brand); color: #e6edf8; }
.section-head { max-width: 780px; margin: 0 auto clamp(38px, 5vw, 60px); }
.section-head.center { text-align: center; }
.section-sub { font-size: 1.1rem; color: var(--muted); }
.section-dark .section-sub { color: #bcc7db; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.minor-head { font-family: var(--ff-head); font-weight: 600; font-size: 1.35rem; margin-bottom: 22px; }
.tag { display: inline-block; font-family: var(--ff-body); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-700); border: 1px solid var(--gold); padding: 3px 9px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-soft); }
.feature .fi { width: 46px; height: 46px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.feature .fi svg { width: 24px; height: 24px; }
.feature h4 { margin-bottom: 7px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Steps: časová os (5 krokov na celú šírku) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; margin: 0 0 40px; position: relative; }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.step-n {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--ff-head); font-weight: 600; font-size: 1.3rem; color: var(--brand);
  background: var(--paper); border: 1px solid var(--line); position: relative;
}
.steps li:not(:last-child) .step-n::after {
  content: ""; position: absolute; left: 100%; top: 50%; width: calc(100% + 26px); height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--line)); transform: translateX(4px);
}
.steps h3 { font-family: var(--ff-body); font-weight: 700; font-size: 1.02rem; margin-bottom: 0; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- Method: očíslované riadky na celú šírku ---------- */
.method-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.method { display: grid; grid-template-columns: 120px 1fr; gap: 30px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.method:hover { background: rgba(18,32,58,.02); }
.method-n { font-family: var(--ff-head); font-weight: 600; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--gold); line-height: 1; }
.method-body h3 { font-family: var(--ff-head); font-weight: 600; font-size: 1.4rem; margin-bottom: 8px; }
.method-body p { margin: 0; color: var(--muted); max-width: 68ch; }

/* ---------- Pricing (prepínač + karty) ---------- */
.form-switch-wrap { text-align: center; margin-bottom: 44px; }
.form-switch { display: inline-flex; gap: 4px; padding: 4px; background: #f1e9dc; border: 1px solid #e4dccc; border-radius: 999px; }
.form-switch-btn { font-family: var(--ff-body); font-weight: 600; font-size: .95rem; padding: 11px 30px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.form-switch-btn.is-active { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -12px rgba(30,58,95,.9); }
.form-switch-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.form-switch-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }

.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.price-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s; }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.price-card.is-featured { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 24px 48px -28px rgba(30,58,95,.65); }
.price-card-label { font-family: var(--ff-body); font-weight: 600; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); white-space: nowrap; margin-bottom: 16px; }
.price-card.is-featured .price-card-label { color: var(--gold); }
.price-card-price { font-family: var(--ff-head); font-weight: 600; font-size: 2.5rem; line-height: 1; color: var(--ink); white-space: nowrap; }
.price-card.is-featured .price-card-price { color: #fff; }
.price-card-price .per { font-family: var(--ff-body); font-weight: 500; font-size: .95rem; color: var(--muted); }
.price-card.is-featured .price-card-price .per { color: #bcc7db; }
.price-card-desc { margin: 18px 0 0; font-size: .94rem; color: var(--muted); }
.price-card.is-featured .price-card-desc { color: #cdd6e5; }
.price-badge { position: absolute; top: 18px; right: 18px; font-family: var(--ff-body); font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(232,200,143,.5); border-radius: 999px; padding: 4px 11px; }
.price-badge.outline { color: var(--gold-700); border-color: var(--gold); background: var(--cream); }

.packages-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.packages-head h3 { font-family: var(--ff-head); font-weight: 600; font-size: 1.5rem; margin: 0; }
.packages-head span { font-size: .86rem; color: var(--muted); }
.packages { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.package-card { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px 30px; box-shadow: var(--shadow); }
.package-card.is-best { border-color: var(--gold); }
.package-info h4 { font-family: var(--ff-head); font-weight: 600; font-size: 1.3rem; margin: 0 0 6px; }
.package-info p { margin: 0; font-size: .84rem; color: var(--muted); white-space: nowrap; }
.package-price { text-align: right; flex: none; }
.package-total { font-family: var(--ff-head); font-weight: 600; font-size: 1.9rem; line-height: 1; color: var(--ink); white-space: nowrap; }
.package-per { margin-top: 5px; font-size: .8rem; color: var(--muted); white-space: nowrap; }
.package-card .price-badge { top: -11px; right: 24px; }

.cennik-footer { border-top: 1px solid var(--line); padding-top: 34px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cennik-checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 24px; margin: 0; }
.cennik-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.cennik-checklist .chk { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--gold); }
.cennik-cta { text-align: right; }
.cennik-cta .btn { margin-bottom: 10px; }
.cennik-cta p { margin: 0; font-size: .82rem; color: var(--muted); }

/* ---------- Reviews (carousel) ---------- */
.reviews-carousel { position: relative; max-width: 900px; margin: 0 auto; padding: 0 60px; }
.reviews-viewport { overflow: hidden; }
.reviews-track { display: flex; transition: transform .5s ease; }
.review { flex: 0 0 100%; box-sizing: border-box; margin: 0; padding: 4px 6px; }
.review-inner { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 34px 36px; min-height: 260px; }
.review .stars { display: block; margin-bottom: 16px; font-size: 1.1rem; }
.review blockquote { margin: 0 0 16px; color: #e6edf8; font-size: 1.08rem; font-family: var(--ff-head); font-weight: 400; line-height: 1.65; }
.review figcaption { font-family: var(--ff-body); font-weight: 600; color: var(--gold); font-size: .98rem; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: #fff; cursor: pointer;
  font-size: 1.5rem; line-height: 1; display: grid; place-items: center; transition: .15s; z-index: 2;
}
.carousel-arrow:hover { background: var(--gold); color: #241a08; border-color: var(--gold); }
.carousel-arrow.prev { left: 4px; }
.carousel-arrow.next { right: 4px; }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; transition: .2s; }
.carousel-dots button[aria-selected="true"] { background: var(--gold); width: 26px; border-radius: 5px; }

/* ---------- Accordion ---------- */
.rules-accordion, .faq-accordion { display: grid; gap: 12px; max-width: 940px; margin: 0 auto; }
.faq-accordion { max-width: 860px; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: border-color .2s; }
details[open] { border-color: var(--brand-soft); }
summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--ff-head); font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.08rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--ff-body); font-weight: 400; font-size: 1.5rem; color: var(--gold-700); flex: none; line-height: 1; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
summary:hover { color: var(--brand); }
.details-body { padding: 0 24px 22px; color: var(--ink-2); }
.details-body ul { padding-left: 20px; list-style: disc; display: grid; gap: 7px; }
.details-body p { margin: 0 0 10px; }
.details-body p:last-child { margin-bottom: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.about-media { position: sticky; top: 96px; }
.about-photo { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(155deg, var(--brand), var(--brand-700)); display: grid; place-items: center; box-shadow: var(--shadow-lg); margin-bottom: 20px; border: 1px solid var(--brand-700); }
.about-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(176,138,76,.35); border-radius: var(--radius-lg); }
.photo-initials { font-family: var(--ff-head); font-weight: 600; font-size: 4.5rem; color: rgba(255,255,255,.92); }
.photo-note { position: absolute; bottom: 16px; font-size: .8rem; color: rgba(255,255,255,.85); background: rgba(0,0,0,.22); padding: 5px 14px; border-radius: 999px; }
.about-facts { list-style: none; display: grid; gap: 9px; }
.about-facts li { background: var(--paper); border: 1px solid var(--line); border-radius: 11px; padding: 12px 16px; font-size: .95rem; }
.about-copy h2 { margin-bottom: 18px; }
.about-copy p { color: var(--ink-2); }
.about-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* ---------- Big CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #bfc9dd; max-width: 56ch; margin: 0 auto 26px; font-size: 1.08rem; }
/* Referencie a „Začnime" sú za sebou (obe tmavé) – zmenšíme medzeru medzi nimi */
#referencie { padding-bottom: clamp(26px, 4vw, 44px); }
#referencie + .cta-band { padding-top: clamp(26px, 4vw, 44px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 14px; margin: 26px 0; }
.contact-list li { display: flex; gap: 15px; align-items: center; }
.contact-list .ci { width: 46px; height: 46px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-list b { font-family: var(--ff-body); font-weight: 600; }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); display: grid; gap: 15px; }
.contact-success { color: var(--success); font-weight: 600; margin: 0; text-align: center; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field i { color: var(--danger); font-style: normal; }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); width: 100%; transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.field textarea { resize: vertical; }
.field.checkbox { flex-direction: row; align-items: flex-start; gap: 11px; }
.field.checkbox input { width: auto; margin-top: 3px; flex: none; accent-color: var(--brand); }
.field.checkbox span { font-weight: 400; font-size: .94rem; color: var(--ink-2); }

/* ---------- Booking ---------- */
.booking { max-width: 1000px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.booking-step { padding: 30px clamp(22px, 4vw, 40px); border-bottom: 1px solid var(--line-2); }
.step-title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-family: var(--ff-head); font-weight: 600; font-size: 1.25rem; }
.step-badge { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--ff-body); font-size: .95rem; font-weight: 700; flex: none; }
.hint { color: var(--muted); font-size: .92rem; margin: -8px 0 18px; }
.option-rows { display: grid; gap: 18px; }
.option-row { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 16px; }
.option-label { color: var(--muted); font-size: .88rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-family: var(--ff-body); font-size: .95rem; font-weight: 600; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.calendar-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.calendar { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--cream); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head strong { font-family: var(--ff-head); font-weight: 600; font-size: 1.1rem; text-transform: capitalize; }
.cal-nav { width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--brand); }
.cal-nav:hover:not(:disabled) { background: var(--brand-soft); }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-weekdays { margin-bottom: 6px; }
.cal-weekdays span { text-align: center; font-size: .76rem; color: var(--muted); font-weight: 600; }
.cal-day { aspect-ratio: 1; border: 1px solid transparent; border-radius: 9px; background: var(--paper); cursor: pointer; font-family: var(--ff-body); font-weight: 600; font-size: .95rem; color: var(--ink); transition: .12s; display: grid; place-items: center; }
.cal-day.empty { background: transparent; cursor: default; }
.cal-day.available { box-shadow: inset 0 -3px 0 var(--brand-soft); }
.cal-day.available:hover { border-color: var(--brand); background: var(--brand-soft); }
.cal-day.disabled { color: #c2c8bf; background: transparent; cursor: not-allowed; }
.cal-day.selected, .cal-day.selected.available { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: none; }

.slots { min-height: 130px; }
.slots-empty { color: var(--muted); font-size: .95rem; }
.slots-head { font-family: var(--ff-body); font-weight: 700; font-size: .95rem; margin-bottom: 12px; }
.slots-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 9px; }
.slot { padding: 11px 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; font-family: var(--ff-body); font-weight: 600; font-size: .95rem; text-align: center; transition: .12s; }
.slot:hover { border-color: var(--brand); }
.slot.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.selection-summary { margin: 20px 0 0; font-weight: 600; color: var(--brand); }
.selection-summary:empty { display: none; }

.booking-submit { padding: 30px clamp(22px, 4vw, 40px); text-align: center; }
.submit-note { color: var(--muted); font-size: .9rem; margin: 15px 0 0; }
.form-error { color: var(--danger); font-weight: 600; margin: 0 0 15px; background: #fbeeec; border: 1px solid #eec9c4; padding: 11px 15px; border-radius: 9px; }
.booking-success { padding: 46px 34px; text-align: center; }
.success-icon { width: 66px; height: 66px; border-radius: 50%; background: var(--brand-soft); color: var(--success); display: grid; place-items: center; margin: 0 auto 18px; }
.success-icon svg { width: 32px; height: 32px; }
.booking-success h2, .booking-success h3 { color: var(--success); }
.booking-success h2:focus, .booking-success h3:focus { outline: none; }

/* ---------- Reservation page top ---------- */
.rez-hero { background: linear-gradient(180deg, var(--cream), var(--paper)); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 70px) 0 clamp(28px, 4vw, 44px); }
.rez-steps-mini { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; color: var(--muted); font-size: .92rem; }
.rez-steps-mini span { display: inline-flex; align-items: center; gap: 8px; }
.rez-steps-mini b { font-family: var(--ff-head); color: var(--gold-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-800); color: #c3ccdd; padding: 60px 0 28px; flex-shrink: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; gap: 13px; align-items: flex-start; }
.footer-brand .brand-mark { background: #fff; color: var(--brand); border-color: rgba(255,255,255,.5); }
.footer-brand strong { font-family: var(--ff-head); color: #fff; font-size: 1.15rem; display: block; }
.footer-brand p { color: #8a93a9; font-size: .92rem; margin: 7px 0 0; max-width: 36ch; }
.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-nav h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 7px; }
.footer-nav a { color: #b3bed3; font-size: .93rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; font-size: .87rem; }
.footer-bottom .muted { color: #9aa4b8; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #dfe6f1; }
.footer-bottom a:hover { color: #fff; }

/* Logo v pätičke */
.footer-logo { width: 48px; height: 48px; border-radius: 50%; display: block; flex: none; border: 1px solid rgba(255,255,255,.35); }

/* Minimálna pätička (prihlásenie, účet) – vycentrovaná */
.site-footer.min-footer { padding: 30px 0; }
.site-footer.min-footer .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding-top: 0; }
.site-footer.min-footer .footer-logo { width: 44px; height: 44px; margin: 0 auto 8px; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 760px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 17px 22px; display: flex; align-items: center; gap: 20px; }
.cookie-banner p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.cookie-banner .btn { flex: none; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Legal page ---------- */
.legal { max-width: 840px; margin: 0 auto; padding: clamp(44px, 6vw, 76px) 0; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 1.4rem; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; list-style: disc; display: grid; gap: 7px; margin-bottom: 14px; }
.legal .back { display: inline-block; margin-top: 32px; }
.legal ul ul { margin: 7px 0 4px; }
.legal-note { background: var(--paper-2, #f5f7fb); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 16px 18px; margin: 18px 0 6px; }
.legal-note p { margin: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 0.95rem; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.legal-table th { background: var(--paper-2, #f5f7fb); font-weight: 600; }
.rules-more { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }
.cennik-note { margin-top: 10px; color: var(--muted); font-size: 0.92rem; max-width: 560px; }
.wiz-osobne-note { margin-top: 14px; padding: 12px 14px; background: var(--paper-2, #f5f7fb); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; font-size: 0.92rem; color: var(--ink-2); }
.admin-lesson-badge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; vertical-align: middle; white-space: nowrap; }
.badge-first { background: #fde68a; color: #7c4a03; }
.badge-cash { background: #dbeafe; color: #1e40af; }
.lm-cash .lm-deposit-acts { flex-wrap: wrap; }

/* ---------- Rezervačný sprievodca (wizard) ---------- */
.wizard-section { padding: clamp(30px, 5vw, 56px) 0; }
.wizard { display: grid; grid-template-columns: 360px 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 1200px; margin: 0 auto; }

/* Ľavý navy panel */
.wiz-panel { background: var(--brand); color: #fff; padding: 48px 38px 40px; display: flex; flex-direction: column; }
.wiz-panel-head { margin-bottom: 36px; }
.wiz-eyebrow { font-family: var(--ff-body); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: #e8c88f; margin: 0 0 8px; }
.wiz-panel-head strong { font-family: var(--ff-head); font-weight: 600; font-size: 1.5rem; color: #fff; line-height: 1.2; display: block; }
.wiz-steps { list-style: none; display: grid; gap: 5px; margin: 0; padding: 0; }
.wiz-step-item { display: flex; align-items: center; gap: 13px; padding: 11px 14px; border-radius: 11px; color: rgba(255,255,255,.45); }
.wiz-step-item.is-done { color: rgba(255,255,255,.82); }
.wiz-step-item.is-active { background: rgba(255,255,255,.08); color: #fff; }
.wiz-step-num { width: 27px; height: 27px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-body); font-weight: 600; font-size: .74rem; border: 1px solid rgba(255,255,255,.3); }
.wiz-step-item.is-active .wiz-step-num { background: #e8c88f; color: var(--brand); border-color: #e8c88f; }
.wiz-step-name { font-size: 1rem; font-weight: 500; }
.wiz-summary { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 9px; }
.sum-hint { color: rgba(255,255,255,.55); font-size: .85rem; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; }
.sum-row span { color: rgba(255,255,255,.6); }
.sum-row b { color: #fff; font-weight: 600; text-align: right; white-space: nowrap; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); }
.sum-total span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); }
.sum-total b { font-family: var(--ff-head); font-weight: 600; font-size: 1.5rem; color: #e8c88f; white-space: nowrap; }

/* Pravý obsah */
.wiz-content { padding: 48px 52px 40px; display: flex; flex-direction: column; min-height: 640px; }
.wiz-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 34px; }
.wiz-title { font-family: var(--ff-head); font-weight: 600; font-size: 2rem; margin: 0 0 8px; outline: none; }
.wiz-desc { margin: 0; color: var(--muted); font-size: 1.05rem; }
.wiz-counter { font-family: var(--ff-body); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); flex: none; white-space: nowrap; }
.wiz-body { flex: 1; }
.wiz-sub { font-family: var(--ff-head); font-weight: 600; font-size: 1.22rem; margin: 28px 0 16px; }
.wiz-note { background: #fdfbf7; border: 1px solid var(--line-2); border-radius: 12px; padding: 18px 20px; color: var(--ink-2); font-size: 1rem; margin: 0; }
.wiz-note-lower { margin-top: 28px; }
.wiz-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.wiz-nav .btn.is-disabled { opacity: .45; cursor: not-allowed; }
.wiz-nav .btn-ghost:disabled { opacity: .35; cursor: not-allowed; }

/* Krok 01 – typ */
.type-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.type-card { text-align: left; display: flex; flex-direction: column; gap: 8px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px; padding: 26px 24px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.type-card:hover { border-color: var(--brand); }
.type-tag { font-family: var(--ff-body); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.type-name { font-family: var(--ff-head); font-weight: 600; font-size: 1.22rem; color: var(--ink); }
.type-price { font-family: var(--ff-head); font-weight: 600; font-size: 1.65rem; color: var(--muted); white-space: nowrap; }
.type-desc { font-size: .9rem; color: var(--muted); }
.type-card.is-selected { background: var(--brand); border-color: var(--brand); box-shadow: 0 16px 34px -22px rgba(30,58,95,.7); }
.type-card.is-selected .type-tag { color: #e8c88f; }
.type-card.is-selected .type-name, .type-card.is-selected .type-price { color: #fff; }
.type-card.is-selected .type-desc { color: #cdd6e5; }

/* Krok 02 – forma / dĺžka */
.choice-cards { display: grid; gap: 16px; }
.forma-cards { grid-template-columns: 1fr 1fr; }
.dlzka-cards { grid-template-columns: repeat(3, 1fr); }
.choice-card { text-align: left; display: flex; flex-direction: column; gap: 5px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 13px; padding: 20px 22px; cursor: pointer; transition: border-color .15s, background .15s; }
.choice-card:hover { border-color: var(--brand); }
.choice-card b { font-family: var(--ff-body); font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.choice-card small { color: var(--muted); font-size: .88rem; }
.choice-card .choice-price { font-family: var(--ff-head); font-weight: 600; font-size: 1.25rem; color: var(--muted); }
.choice-card.is-selected { border-color: var(--brand); background: var(--brand-soft); }
.choice-card.is-selected b, .choice-card.is-selected .choice-price { color: var(--brand); }

/* Krok 03 – kalendár */
.cal2 { display: grid; grid-template-columns: 1fr 216px; gap: 30px; align-items: start; }
.cal2-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal2-day { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 0; border: 1.5px solid var(--line); border-radius: 11px; background: var(--paper); cursor: pointer; transition: .12s; }
.cal2-day:hover:not(.disabled) { border-color: var(--brand); background: var(--brand-soft); }
.cal2-dow { font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cal2-num { font-family: var(--ff-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.cal2-day.disabled { opacity: .4; cursor: not-allowed; }
.cal2-day.weekend .cal2-dow { color: var(--gold-700); }
.cal2-day.selected { background: var(--brand); border-color: var(--brand); }
.cal2-day.selected .cal2-dow { color: rgba(255,255,255,.7); }
.cal2-day.selected .cal2-num { color: #fff; }
.cal2-empty { color: var(--muted); font-size: .9rem; }
.cal2-daylabel { font-family: var(--ff-body); font-weight: 600; font-size: .95rem; margin-bottom: 12px; white-space: nowrap; }
.cal2-timelist { display: grid; gap: 8px; }
.cal2-time { padding: 13px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--paper); cursor: pointer; font-family: var(--ff-body); font-weight: 600; font-size: 1rem; transition: .12s; white-space: nowrap; }
.cal2-time[disabled] { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.cal2-time:hover { border-color: var(--brand); }
.cal2-time.selected { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Krok 03 – účet (balík) */
.acc-hint { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.acc-benefits { margin-top: 22px; background: #fdfbf7; border: 1px solid var(--line-2); border-radius: 12px; padding: 20px 22px; }
.acc-benefits .wiz-sub { margin: 0 0 12px; font-size: 1rem; }
.acc-benefits ul { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.acc-benefits li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.acc-benefits .chk { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--gold); }

/* Krok 05 – platba */
.pay-card-panel { background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 26px 28px; }
.pay-card-head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); margin-bottom: 20px; }
.pay-card-icon { width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.pay-card-icon svg { width: 26px; height: 26px; }
.pay-card-head b { display: block; font-family: var(--ff-head); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.pay-card-head small { color: var(--muted); font-size: .92rem; }
.pay-note { margin: 0; font-size: 1rem; color: var(--ink-2); }
.pay-secure { margin: 14px 0 0; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.pay-loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 44px 0; color: var(--muted); }
.pay-spinner { width: 30px; height: 30px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: pay-spin .8s linear infinite; }
@keyframes pay-spin { to { transform: rotate(360deg); } }

/* Krok 05 – platba prevodom (PAY by square QR) */
.qr-pay { }
.qr-pay-grid { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.qr-pay-code { flex: none; text-align: center; }
.qr-img { display: block; width: 220px; height: 220px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px; }
.qr-hint { margin: 10px 0 0; font-size: .84rem; color: var(--muted); max-width: 220px; }
.qr-pay-details { flex: 1 1 260px; min-width: 260px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 8px 20px; }
.qr-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.qr-row:last-child { border-bottom: 0; }
.qr-row > span { flex: none; width: 130px; font-size: .82rem; color: var(--muted); }
.qr-row > b { flex: 1 1 auto; font-family: var(--ff-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); word-break: break-word; }
#qr-vs { letter-spacing: .06em; }
.qr-copy { flex: none; border: 1px solid var(--line); background: #fff; color: var(--brand); font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s; }
.qr-copy:hover { background: var(--brand-soft); border-color: var(--brand); }
.qr-note-text { margin: 22px 0 0; padding: 14px 18px; background: var(--brand-soft); border-radius: 12px; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }
.qr-pay-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Vysvetlenie čo sa platí (najmä depozit vs celý balík) */
.qr-explain { margin: 0 0 22px; padding: 15px 18px; background: #fff7e6; border: 1.5px solid var(--gold); border-radius: 12px; color: var(--ink); font-size: .96rem; line-height: 1.6; }

/* Malá „i" ikonka s návodom na QR (details/summary) */
.qr-info { display: inline-block; position: relative; margin-left: 6px; vertical-align: middle; }
.qr-info > summary { list-style: none; cursor: pointer; width: 20px; height: 20px; line-height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font-style: italic; font-weight: 700; font-size: .82rem; text-align: center; display: inline-block; }
.qr-info > summary::-webkit-details-marker { display: none; }
.qr-info[open] > summary { background: var(--brand-800); }
.qr-info-pop { position: absolute; z-index: 20; left: 50%; transform: translateX(-50%); top: 28px; width: 300px; max-width: 82vw; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; box-shadow: 0 12px 34px rgba(20,30,55,.18); padding: 14px 16px; font-size: .86rem; line-height: 1.55; color: var(--ink-2); }
.qr-info-pop strong { display: block; color: var(--brand); margin-bottom: 6px; font-size: .92rem; }
.qr-info-pop ul { margin: 8px 0 0; padding-left: 18px; }
.qr-info-pop li { margin: 3px 0; }
.qr-info-pop .qr-info-alt { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }

/* Potvrdzovacie okno (modal) */
.jm-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(18,26,45,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.jm-box { background: #fff; border-radius: 16px; max-width: 460px; width: 100%; padding: 26px 26px 22px; box-shadow: 0 24px 60px rgba(10,20,45,.35); }
.jm-title { font-family: var(--ff-head); color: var(--brand); font-size: 1.2rem; margin: 0 0 12px; }
.jm-body { color: var(--ink-2); font-size: .97rem; line-height: 1.6; }
.jm-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .qr-pay-code, .qr-img { width: 100%; }
  .qr-img { max-width: 240px; margin: 0 auto; }
  .qr-hint { max-width: none; }
  .qr-row > span { width: 100%; }
}

/* Krok 06 – hotovo */
.done-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.done-icon { width: 40px; height: 40px; border-radius: 50%; background: #f3eadb; border: 1px solid var(--gold); color: var(--gold-700); display: grid; place-items: center; }
.done-icon svg { width: 20px; height: 20px; }
.done-badge { font-family: var(--ff-body); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.done-summary { font-family: var(--ff-head); font-weight: 600; font-size: 1.3rem; margin: 0 0 10px; white-space: nowrap; }
.done-text { color: var(--ink-2); max-width: 60ch; margin: 0 0 24px; }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Väčšie tlačidlá v navigácii wizardu */
.wiz-nav .btn { padding: 15px 32px; font-size: 1.04rem; }

/* ---------- Zobraziť / skryť heslo ---------- */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 46px; }
.pw-toggle { position: absolute; top: 0; right: 0; height: 100%; width: 44px; display: grid; place-items: center; background: none; border: none; color: var(--muted); cursor: pointer; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.pw-toggle:hover { color: var(--brand); }
.pw-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.pw-toggle svg { width: 20px; height: 20px; }

/* ---------- Prihlásenie (prihlasenie.html) ---------- */
.auth-section { padding: clamp(40px, 7vw, 90px) 0; }
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(30px, 5vw, 48px); }
.auth-head { text-align: center; margin-bottom: 28px; }
.auth-head .eyebrow { justify-content: center; }
.auth-head h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); margin: 6px 0 8px; }
.auth-head p { color: var(--muted); margin: 0; font-size: .98rem; }
.auth-form { display: grid; gap: 18px; }
.auth-form .btn { margin-top: 4px; }
.auth-alt { text-align: center; margin: 22px 0 0; font-size: .95rem; color: var(--muted); }
.demo-banner { display: flex; gap: 10px; align-items: flex-start; background: #fbf6ec; border: 1px solid #ecd9b0; border-radius: 12px; padding: 13px 16px; font-size: .86rem; color: #6f5a2e; margin: 0 0 24px; }
.demo-banner b { color: #5a481f; }
.form-error { background: #fbeceb; border: 1px solid #edc7c2; color: var(--danger); border-radius: 10px; padding: 12px 15px; font-size: .9rem; margin: 0; }

/* ---------- Účet / dashboard (ucet.html) ---------- */
.account-section { padding: clamp(30px, 5vw, 56px) 0 clamp(50px, 8vw, 90px); }
.account-guard { max-width: 460px; margin: 0 auto; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(30px, 5vw, 48px); }
.account-guard h1 { font-size: 1.8rem; margin-bottom: 10px; }
.account-guard p { color: var(--muted); }
.account-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.account-top .eyebrow { margin-bottom: 6px; }
.account-top h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0; }
.account-grid { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; }
.acc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px 28px; }
.acc-card h2 { font-size: 1.25rem; margin-bottom: 18px; }
.acc-package-name { font-family: var(--ff-head); font-weight: 600; font-size: 1.15rem; color: var(--brand); margin: 0 0 20px; }
.acc-stat { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.acc-stat-big { font-family: var(--ff-head); font-weight: 600; font-size: 2.6rem; color: var(--ink); line-height: 1; }
.acc-stat-sub { color: var(--muted); font-size: .95rem; }
.acc-progress-track { height: 8px; background: var(--brand-soft); border-radius: 99px; overflow: hidden; margin: 14px 0 18px; }
.acc-progress-bar { height: 100%; background: var(--gold); border-radius: 99px; transition: width .3s ease; }
.acc-meta { display: grid; gap: 8px; margin: 0; }
.acc-meta-row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.acc-meta-row span { color: var(--muted); }
.acc-meta-row b { color: var(--ink); font-weight: 600; }
.acc-warn { background: #fbf6ec; border: 1px solid #ecd9b0; color: #6f5a2e; border-radius: 10px; padding: 12px 15px; font-size: .9rem; margin: 18px 0 0; }
.acc-booklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc-booking { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 11px; background: #fdfcfa; }
.acc-booking b { font-family: var(--ff-body); }
.acc-booking-when { min-width: 0; }
.acc-booking-right { display: flex; align-items: center; gap: 14px; flex: none; }
.acc-booking-forma { font-size: .82rem; font-weight: 600; color: var(--gold-700); text-transform: uppercase; letter-spacing: .04em; }
.acc-cancel { padding: 7px 15px; }
.acc-cancel-note { font-size: .78rem; color: var(--muted); white-space: nowrap; }

/* výber dĺžky hodiny v účte */
.acc-duration { margin: 16px 0 4px; }
.acc-duration-label { font-size: .82rem; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.acc-duration-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-dur { padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--paper); cursor: pointer; font-family: var(--ff-body); font-weight: 600; font-size: .95rem; transition: .12s; }
.acc-dur:hover:not([disabled]) { border-color: var(--brand); }
.acc-dur.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.acc-dur[disabled] { opacity: .4; cursor: not-allowed; }

/* stály klient */
.auth-returning { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.returning-form { margin-top: 14px; display: grid; gap: 12px; }
.returning-banner { max-width: 1200px; margin: 0 auto 18px; background: #fbf6ec; border: 1px solid #ecd9b0; color: #6f5a2e; border-radius: 12px; padding: 14px 18px; font-size: .95rem; }
.returning-entry { margin: 20px 0 2px; }
.returning-entry-btn { background: none; border: 1px dashed var(--gold); color: var(--gold-700); border-radius: 10px; padding: 10px 16px; font-family: var(--ff-body); font-weight: 600; font-size: .92rem; cursor: pointer; transition: background .12s; }
.returning-entry-btn:hover { background: #fbf6ec; }
.returning-entry-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.returning-entry-form input { flex: 1 1 220px; min-width: 180px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 9px; font-family: var(--ff-body); font-size: .95rem; }
.returning-entry-form .form-error { flex-basis: 100%; margin: 0; }

/* ---------- Mesačný kalendár (rezervácia + účet) ---------- */
.mcal { max-width: 560px; }
.mcal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mcal-nav { width: 40px; height: 40px; flex: none; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--brand); display: grid; place-items: center; transition: .12s; }
.mcal-nav:hover:not(:disabled) { border-color: var(--brand); background: var(--brand-soft); }
.mcal-nav:disabled { opacity: .32; cursor: not-allowed; }
.mcal-title { font-family: var(--ff-head); font-weight: 600; font-size: 1.25rem; color: var(--ink); }
.mcal-dows { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin-bottom: 7px; }
.mcal-dows span { text-align: center; font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.mcal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.mcal-day { position: relative; aspect-ratio: 1 / 1; border: 1.5px solid var(--line); border-radius: 11px; background: var(--paper); cursor: pointer; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); transition: .12s; }
.mcal-day.is-empty { border: none; background: none; cursor: default; }
.mcal-day:hover:not(:disabled) { border-color: var(--brand); background: var(--brand-soft); }
.mcal-day.is-past { color: var(--muted); opacity: .38; cursor: not-allowed; background: none; border-color: var(--line-2); }
.mcal-day.is-off { color: var(--muted); opacity: .55; cursor: not-allowed; }
.mcal-day.is-holiday { color: var(--gold-700); background: #fbf6ec; border-color: #ecd9b0; cursor: not-allowed; }
.mcal-day.is-selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.mcal-num { line-height: 1; }
.mcal-dot { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.mcal-legend { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.mcal-legend-dot { width: 11px; height: 11px; border-radius: 4px; background: #fbf6ec; border: 1px solid #ecd9b0; display: inline-block; flex: none; }
.mcal .cal2-times { margin-top: 20px; }
.mcal .cal2-timelist { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.acc-empty { color: var(--muted); font-size: .95rem; padding: 6px 0; }
.acc-book-cta { margin-top: 20px; }
.acc-cash-badge { display: inline-block; margin-left: 8px; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700, #a9821f); background: #f3eadb; border: 1px solid var(--gold, #c9a227); border-radius: 999px; padding: 3px 9px; vertical-align: middle; }
.acc-hint { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
#deposit-card .qr-pay { margin-top: 6px; }

/* ---------- Responsive ---------- */
/* Navigácia: pod 1000 px → hamburger (navy dropdown) */
@media (max-width: 1000px) {
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: 78px 0 auto 0; background: var(--hero-navy);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); transform: translateY(-140%); visibility: hidden;
    transition: transform .28s ease, visibility .28s ease; margin: 0; max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; white-space: normal; border-radius: 8px; }
  .main-nav a:hover { background: rgba(255,255,255,.08); }
  .nav-toggle { display: flex; }
}

@media (max-width: 1040px) {
  .hero { padding: 52px 0 clamp(48px, 7vw, 72px); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 460px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .steps li:not(:last-child) .step-n::after { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-media { position: static; max-width: 400px; }
  .pricing-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 860px) {
  .container { padding: 0 22px; }
  .calendar-wrap { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr; }
  .price-card.is-featured { order: -1; }
  .packages { grid-template-columns: 1fr; }
  .cennik-footer { grid-template-columns: 1fr; gap: 28px; }
  .cennik-cta { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .account-grid { grid-template-columns: 1fr; }
  /* wizard */
  .wizard { grid-template-columns: 1fr; }
  .wiz-panel { padding: 24px 22px; }
  .wiz-steps { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .wiz-step-item { white-space: nowrap; }
  .wiz-summary { margin-top: 22px; }
  .wiz-content { padding: 26px 22px; min-height: 0; }
  .type-cards, .dlzka-cards, .forma-cards { grid-template-columns: 1fr; }
  .cal2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .wiz-nav { flex-direction: column-reverse; }
  .wiz-nav .btn { width: 100%; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .reviews-carousel { padding: 0 42px; }
  .carousel-arrow { width: 38px; height: 38px; font-size: 1.3rem; }
  .review-inner { padding: 26px 22px; min-height: 0; }
  .cennik-checklist { grid-template-columns: 1fr; }
  .packages-head { flex-direction: column; align-items: flex-start; gap: 2px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 26px; }
  .steps li { flex-direction: row; align-items: flex-start; }
  .step-n { width: 46px; height: 46px; font-size: 1.15rem; }
  .method { grid-template-columns: 64px 1fr; gap: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .option-row { grid-template-columns: 1fr; gap: 9px; }
  .hero-cta .btn, .about-cta .btn { flex: 1 1 auto; }
  .btn { width: 100%; }
  .hero { padding: 40px 0 44px; }
  .hero-card { max-width: none; }
  .hero-cta { width: 100%; }
  .hero-cta .btn-hero-primary, .hero-cta .btn-hero-secondary { flex: 1 1 auto; text-align: center; }
  .btn-pill { padding: 10px 15px; font-size: .88rem; }
  .brand-name { font-size: 1.22rem; }
  .header-actions .btn-sm { display: none; }
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { transition: none; opacity: 1; transform: none; }
  .btn:hover, .feature:hover { transform: none; }
}

/* =====================================================================
   ADMIN PANEL (admin.html)
   ===================================================================== */
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 4px 0 28px; }
.admin-tab { appearance: none; border: 0; background: none; cursor: pointer; font-family: var(--ff-body); font-weight: 600; font-size: 1rem; color: var(--muted); padding: 12px 18px; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: .12s; }
.admin-tab:hover { color: var(--ink); }
.admin-tab.is-active { color: var(--brand); border-bottom-color: var(--gold); }
.admin-tab-badge { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; font-size: .72rem; line-height: 18px; text-align: center; color: #fff; background: var(--gold-700, #a9821f); border-radius: 999px; vertical-align: middle; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 26px; align-items: start; }

/* Objednávky / platby */
.orders-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.orders-filter-btn { appearance: none; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-family: var(--ff-body); font-weight: 600; font-size: .86rem; padding: 7px 14px; border-radius: 999px; transition: .12s; }
.orders-filter-btn:hover { border-color: var(--brand); }
.orders-filter-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.admin-orders { display: grid; gap: 14px; }
.admin-order { border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 16px 20px; background: #fdfcfa; }
.admin-order-pending { border-left-color: var(--gold); }
.admin-order-paid { border-left-color: var(--success, #3a8a4f); opacity: .92; }
.admin-order-cancelled { border-left-color: var(--muted); opacity: .7; }
.admin-order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.admin-order-title { margin: 0 0 4px; font-family: var(--ff-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.admin-order-meta { margin: 0; font-size: .88rem; color: var(--muted); }
.admin-order-vs { color: var(--brand); font-size: 1rem; letter-spacing: .04em; }
.admin-order-badge { flex: none; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-700, #a9821f); white-space: nowrap; }
.admin-order-paid .admin-order-badge { color: var(--success, #3a8a4f); }
.admin-order-cancelled .admin-order-badge { color: var(--muted); }
.admin-order-contact { margin: 12px 0 0; font-size: .9rem; color: var(--ink-2); }
.admin-order-termin { margin: 8px 0 0; font-size: .9rem; color: var(--ink-2); }
.admin-order-warn { color: var(--danger); font-weight: 600; }
.admin-order-paidat { margin: 12px 0 0; font-size: .84rem; color: var(--muted); }
.admin-order-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.admin-order-acts .admin-save { margin-top: 0; }
.admin-client-deposit { margin: 12px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line-2); }
.admin-switch-inline { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.admin-dep-line { margin: 8px 0 0; font-size: .9rem; color: var(--ink-2); }
.lm-deposit { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.lm-deposit-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.admin-hint { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.admin-save { font-size: .82rem; color: var(--muted); min-height: 1.1em; display: block; margin-top: 6px; }
.admin-save.ok { color: var(--success); }
.admin-save.err { color: var(--danger); }

/* deň s blokom / s hodinami */
.mcal-day.is-blocked { border-color: #e6b9b1; background: #fbeeec; color: #9a463b; }
.admin-block-dot { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--danger); }
.admin-legend-block { width: 11px; height: 11px; border-radius: 4px; background: #fbeeec; border: 1px solid #e6b9b1; display: inline-block; flex: none; }
.mcal-day.has-lessons { border-color: var(--brand); }
.admin-count { position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--brand); color: #fff; font-family: var(--ff-body); font-size: .68rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.mcal-day.is-selected .admin-count { background: var(--gold); color: var(--brand-800); }

/* dostupnosť – prepínače časov */
.admin-switch { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; padding: 6px 0 14px; }
.admin-switch input { width: 18px; height: 18px; accent-color: var(--danger); }
.admin-slotgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.admin-slot { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 11px 8px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; font-family: var(--ff-body); font-weight: 700; font-size: 1rem; color: var(--ink); transition: .12s; }
.admin-slot small { font-weight: 500; font-size: .72rem; color: var(--success); }
.admin-slot:hover { border-color: var(--brand); }
.admin-slot.is-off { background: #fbeeec; border-color: #e6b9b1; color: #9a463b; text-decoration: line-through; }
.admin-slot.is-off small { color: var(--danger); text-decoration: none; }

/* klienti */
.admin-clients { display: grid; gap: 16px; }
.admin-client { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fdfcfa; }
.admin-client-head { display: flex; justify-content: space-between; gap: 12px; }
.admin-client-name { font-family: var(--ff-head); font-weight: 600; font-size: 1.12rem; margin: 0 0 3px; color: var(--ink); }
.admin-client-meta { font-size: .9rem; color: var(--muted); margin: 0; }
.admin-client-meta a { color: var(--brand); }
.admin-badge { font-family: var(--ff-body); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--brand-soft); color: var(--brand); padding: 2px 8px; border-radius: 20px; vertical-align: middle; margin-left: 6px; }
.admin-badge-gold { background: #fbf6ec; color: var(--gold-700); }
.admin-client-pkgs { margin: 12px 0; display: grid; gap: 6px; }
.admin-pkg { font-size: .9rem; color: var(--ink-2); }
.admin-note-wrap { display: block; margin-top: 12px; }
.admin-note-wrap > span { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.admin-note { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-family: var(--ff-body); font-size: .95rem; resize: vertical; background: var(--paper); }
.admin-note:focus { outline: none; border-color: var(--brand); }

/* zoznam hodín v deň */
.admin-lesson { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-align: left; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); cursor: pointer; margin-bottom: 10px; transition: .12s; }
.admin-lesson:hover { border-color: var(--brand); background: var(--brand-soft); }
.admin-lesson-time { font-family: var(--ff-head); font-weight: 700; color: var(--brand); }
.admin-lesson-name { font-weight: 600; color: var(--ink); min-width: 0; }
.admin-lesson-forma { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.admin-lesson.is-cancelled { opacity: .55; }
.admin-lesson.is-cancelled .admin-lesson-name { text-decoration: line-through; }

/* modal */
.admin-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.admin-modal[hidden] { display: none; }
.admin-modal-backdrop { position: absolute; inset: 0; background: rgba(16,31,52,.55); backdrop-filter: blur(2px); }
.admin-modal-card { position: relative; z-index: 1; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px 30px 26px; }
.admin-modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 8px; background: var(--cream-2); cursor: pointer; font-size: 1rem; color: var(--ink-2); }
.admin-modal-x:hover { background: var(--line); }
.admin-modal-card h2 { font-size: 1.3rem; margin: 0 26px 18px 0; }
.lm-rows { margin: 0 0 18px; display: grid; gap: 0; }
.lm-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.lm-row dt { color: var(--muted); font-size: .9rem; }
.lm-row dd { margin: 0; color: var(--ink); font-size: .95rem; }
.lm-row dd a { color: var(--brand); }
.lm-files { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.lm-files-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.lm-upload { cursor: pointer; }
.lm-file { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 8px; font-size: .9rem; }
.lm-file-actions { display: flex; gap: 8px; flex: none; }
.lm-file-actions button { border: 0; background: none; cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--brand); padding: 2px 4px; }
.lm-file-del { color: var(--danger) !important; }

/* zrušenie hodiny doučovateľkou */
.lm-danger { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { filter: brightness(.94); }
.btn-danger.is-armed { animation: dangerPulse 1s ease-in-out infinite; }
@keyframes dangerPulse { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.18); } }

/* Formulár na recenziu (recenzia.html) */
.container.narrow { max-width: 760px; }
.review-form { max-width: 620px; margin: 28px auto 0; display: grid; gap: 20px; }
.rf-field > span { display: block; font-weight: 600; font-size: .9rem; color: var(--ink-2); margin-bottom: 8px; }
.rf-field input[type="text"], .rf-field textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; color: var(--ink); background: var(--paper);
}
.rf-field input:focus, .rf-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.rf-field textarea { resize: vertical; min-height: 120px; }
.rf-stars { display: inline-flex; gap: 4px; }
.rf-star { background: none; border: 0; cursor: pointer; font-size: 1.9rem; line-height: 1; color: #d9d3c4; padding: 0 2px; transition: color .12s; }
.rf-star.is-on { color: var(--gold); }
.rf-status { min-height: 1.2em; font-size: .9rem; color: var(--muted); margin: 4px 0 0; }
.rf-status.err { color: var(--danger); }
.rf-thanks { text-align: center; font-size: 1.05rem; color: var(--brand); font-weight: 600; padding: 24px 0; }

/* Správa termínu – brána na 9-ciferný kód */
.mng-gate { max-width: 380px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mng-gate-label { font-weight: 600; color: var(--brand); font-size: 1rem; }
.mng-gate-input { width: 100%; max-width: 260px; text-align: center; font-size: 1.5rem; letter-spacing: .22em; font-weight: 600; color: var(--brand); padding: 12px 10px; border: 1px solid #d9d3c4; border-radius: 10px; background: #fff; font-variant-numeric: tabular-nums; }
.mng-gate-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.18); }
.mng-gate .btn { min-width: 180px; }

/* Admin – schvaľovanie recenzií */
.rev-item { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
.rev-item.rev-pending { border-color: var(--gold); background: #fffdf6; }
.rev-item.rev-hidden { opacity: .6; }
.rev-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.rev-name { font-weight: 700; }
.rev-stars { color: var(--gold); letter-spacing: 1px; }
.rev-badge { margin-left: auto; font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.rev-body { margin: 0 0 12px; font-size: .95rem; line-height: 1.55; color: var(--ink-2); white-space: pre-wrap; }
.rev-acts { display: flex; gap: 8px; }

/* Obnova hesla – hlášky */
.form-ok { color: var(--success); font-size: .92rem; margin: 0 0 8px; }
.form-hint { color: var(--muted); font-size: .9rem; margin: 0 0 12px; }

@media (max-width: 900px) {
  .admin-grid { grid-template-columns: 1fr; }
}
