/* Art of Taste – verejný web (Web v3). Bez frameworku, mobile-first. */

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 100; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.note { font-family: var(--font-note); font-weight: 600; color: var(--orange-strong); font-size: 1.9rem; line-height: 1.1; }
.muted { color: var(--ink-2); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: .6em; }
.flash { margin: 16px 0; padding: 14px 18px; border-radius: 16px; background: var(--teal-light); color: var(--ink); font-weight: 600; }
.flash--error { background: var(--orange-light); }

/* ---------- tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 10px 26px; border-radius: var(--r-pill); border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: #F7A862; }
.btn--dark { background: var(--ink); color: #fff; padding-left: 10px; }
.btn--dark .btn__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--ink); }
.btn--outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn--teal { background: var(--teal); color: #fff; }
.btn--soft { background: #EFE6DA; color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 6px 18px; font-size: .9rem; }

/* ---------- hlavička ---------- */
.top { margin: 16px auto 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); width: calc(100% - 32px); background: var(--card); border-radius: var(--r-box); position: relative; overflow: hidden; }
.site-header { position: relative; z-index: 3; display: flex; align-items: center; gap: 24px; padding: 18px clamp(18px, 4vw, 64px); }
.logo img { width: 64px; height: auto; }
.nav { display: none; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 12px; text-decoration: none; font-weight: 400; }
.nav a:hover { background: var(--bg); }
.nav a[aria-current="page"] { font-weight: 700; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--bg); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-nav { display: none; padding: 0 18px 18px; position: relative; z-index: 3; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px; background: var(--bg); border-radius: 20px; }
.mobile-nav a { display: block; padding: 12px 14px; text-decoration: none; font-weight: 600; border-radius: 12px; }
@media (min-width: 960px) {
  .nav { display: block; }
  .menu-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
}
@media (max-width: 479px) { .header-cta .btn { padding: 8px 16px; min-height: 44px; } }

/* ---------- hero (úvod) ---------- */
.hero { position: relative; display: grid; gap: 32px; padding: 24px clamp(18px, 4vw, 64px) 48px; }
.hero__text { position: relative; z-index: 2; max-width: 600px; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); line-height: .98; font-weight: 800; letter-spacing: -.03em; margin: .1em 0 .3em; }
.hero h1 .light { display: block; font-weight: 300; }
.hero__lead { color: var(--ink-2); font-size: 1.1rem; max-width: 34em; }
.hero__price { font-size: 1.5rem; font-weight: 300; margin: 24px 0; }
.hero__price strong { font-size: 2.8rem; font-weight: 800; }
.hero__price small { font-size: 1rem; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__visual { position: relative; min-height: 420px; }
.hero__blob { position: absolute; inset: -40px -40px -60px -40px; background: var(--teal-dark); border-radius: 50% 0 0 50% / 60% 0 0 40%; overflow: hidden; }
.hero__blob svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .18; }
.hero__photo { position: relative; z-index: 1; width: min(560px, 86%); aspect-ratio: 1; margin: 40px auto 0; }
.hero__photo::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--teal-shadow); transform: translate(18px, 18px); } /* posunutý plný kruh, nie box-shadow */
.hero__photo img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 10px solid #fff; }
.stamp { position: absolute; z-index: 2; top: 0; right: 2%; width: 150px; height: 150px; border-radius: 50%; background: #fff; }
.stamp svg { width: 100%; height: 100%; }
.stamp text { font: 700 11px var(--font); letter-spacing: 1.5px; fill: var(--teal); }
.next-card { position: absolute; z-index: 2; left: 18%; bottom: -12px; width: 250px; padding: 18px 20px; border-radius: 20px; background: var(--orange); color: var(--ink); text-decoration: none; }
.next-card__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.next-card strong { font-size: 1.15rem; line-height: 1.2; }
.next-card .date { font-weight: 700; font-size: .95rem; white-space: nowrap; }
.next-card .pill { display: inline-block; margin-top: 12px; padding: 6px 16px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-size: .9rem; }
.dot { position: absolute; border-radius: 50%; z-index: 2; }
.dot--teal { width: 16px; height: 16px; background: var(--teal); left: -8px; top: 50%; }
.dot--orange { width: 30px; height: 30px; background: var(--orange-strong); right: 14%; bottom: 18%; }
@media (min-width: 960px) {
  .hero { grid-template-columns: 1.05fr 1fr; align-items: center; padding-top: 48px; padding-bottom: 72px; min-height: 760px; }
  .hero__visual { min-height: 640px; }
  .hero__blob { inset: -160px -80px -120px 0; }
}
@media (max-width: 959px) {
  .top--home { overflow: visible; }
  .hero__blob { inset: 0 -18px -48px; border-radius: 48% 48% 0 0 / 30% 30% 0 0; }
  .hero__photo { margin-top: 56px; }
  .stamp { width: 112px; height: 112px; top: 20px; }
  .next-card { left: 50%; transform: translateX(-50%); bottom: -24px; }
}

/* ---------- sekcie ---------- */
.section { padding-top: clamp(56px, 8vw, 110px); }
.section__head { text-align: center; margin-bottom: 28px; }
.section__head h2, .h-section { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.section__head p { color: var(--ink-2); }
.row-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.link-arrow { color: var(--teal); font-weight: 700; }

/* filter kuchýň */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 32px; padding: 0; list-style: none; }
.chip { min-height: 44px; padding: 8px 20px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; font: 700 .95rem var(--font); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.chip[aria-pressed="true"], .chip.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.info-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 20px 0 0; list-style: none; }
.info-chips li { padding: 8px 16px; background: #fff; border-radius: var(--r-pill); font-size: .95rem; }

/* karty kurzov */
.course-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (max-width: 559px) { .course-card { aspect-ratio: 4 / 3; } }
@media (min-width: 560px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .course-grid { grid-template-columns: repeat(4, 1fr); } }
.course-card { position: relative; display: block; aspect-ratio: 360 / 390; border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: #fff; background: var(--pastel-1); }
.course-card[hidden] { display: none; }
.course-card.pastel-2 { background: var(--pastel-2); }
.course-card.pastel-3 { background: var(--pastel-3); }
.course-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.course-card:hover img { transform: scale(1.04); }
.course-card__panel { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: rgba(19, 32, 31, .86); }
.course-card__title { font-weight: 700; font-size: 1.15rem; line-height: 1.3; display: block; }
.course-card__meta { display: block; font-size: .92rem; opacity: .85; margin-top: 2px; }
.arrow { flex: none; margin-left: auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--ink); }
.arrow svg { width: 16px; height: 16px; }

/* najbližšie termíny */
.terms-box { position: relative; overflow: hidden; background: var(--teal-dark); color: #fff; border-radius: var(--r-box); padding: clamp(28px, 5vw, 64px); }
.terms-box::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--teal); right: -170px; top: -170px; }
.terms-box__head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; margin-bottom: 28px; }
.terms-box__head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin: 0; }
.terms-box .note { color: var(--orange-light); }
.terms-box__foot { position: relative; margin: 24px 0 0; font-size: .92rem; opacity: .9; }
.term-grid { position: relative; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .term-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .term-grid { grid-template-columns: repeat(4, 1fr); } }
.term-card { display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: var(--r-card); padding: 22px; }
.term-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.date-badge { flex: none; display: grid; place-items: center; align-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--orange-light); line-height: 1; }
.date-badge b { font-size: 1.5rem; font-weight: 800; }
.date-badge small { font-size: .7rem; text-transform: uppercase; margin-top: 2px; }
.date-badge.alt { background: var(--teal-light); }
.date-badge.none { background: #EFE6DA; }
.date-badge.none b { font-size: 1.6rem; }
.term-card__meta { font-size: .9rem; color: var(--ink-2); }
.term-card h3 { font-size: 1.2rem; margin: 0 0 .3em; }
.term-card__sub { font-size: .9rem; font-weight: 700; color: var(--teal); margin: 0 0 16px; }
.term-card__sub.soon { color: var(--orange-text); }
.term-card .btn { margin-top: auto; }
.seats { font-size: .85rem; color: var(--ink-2); margin: -8px 0 14px; }
.seats.low { color: var(--orange-text); font-weight: 700; }

/* prečo práve my */
.why { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .why { grid-template-columns: 1fr 1.15fr; } }
.collage { position: relative; max-width: 520px; aspect-ratio: 1.05; }
.collage__big { position: absolute; left: 0; top: 0; width: 80%; aspect-ratio: 1; }
.collage__big::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--teal-accent); transform: translate(-14px, -14px); }
.collage__big img, .collage__small img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.collage__small { position: absolute; right: 2%; bottom: 0; width: 52%; aspect-ratio: 1; }
.collage__small img { border: 8px solid var(--bg); }
.collage__note { position: absolute; left: 0; bottom: 4%; z-index: 2; padding: 10px 22px; background: #fff; border-radius: 16px; border: 1.5px solid var(--line); transform: rotate(-4deg); font-family: var(--font-note); font-weight: 600; font-size: 1.6rem; color: var(--ink); }
.why h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 300; }
.why h2 strong { display: block; color: var(--teal); font-weight: 800; }
.why p { color: var(--ink-2); }
.why .lead-strong { color: var(--ink); font-weight: 700; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; color: var(--ink-2); }
.steps b { color: var(--ink); }
.steps .num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 700; color: var(--teal); background: var(--teal-light); }
.steps li:nth-child(2) .num { background: var(--orange-light); color: var(--orange-text); }

/* teambuilding */
.box { background: var(--card); border-radius: var(--r-box); padding: clamp(28px, 5vw, 64px); }
.team { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .team { grid-template-columns: 1.1fr 1fr; } }
.team h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; }
.team h2 strong { color: var(--teal); font-weight: 800; }
.team p { color: var(--ink-2); }
.team .lead-strong { color: var(--ink); font-weight: 700; }
.team__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.team__photo { position: relative; }
.team__photo img { width: 100%; aspect-ratio: 1.3; object-fit: cover; border-radius: var(--r-box); }
.badge { position: absolute; left: -20px; bottom: 28px; padding: 12px 22px; background: var(--orange); border-radius: 16px; font-weight: 800; font-size: 1.15rem; }
@media (max-width: 559px) { .badge { left: 12px; } }

/* poukazy */
.vouchers { display: grid; gap: 28px; align-items: center; background: var(--orange); color: var(--ink); border-radius: var(--r-box); padding: clamp(28px, 5vw, 56px); margin-top: 24px; }
@media (min-width: 1100px) { .vouchers { grid-template-columns: 1fr 2fr; } }
.vouchers .note { color: var(--ink); font-size: 2rem; }
.vouchers:has(> .voucher-grid:only-child) { grid-template-columns: 1fr; }
.vouchers h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: .4em; }
.voucher-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .voucher-grid { grid-template-columns: repeat(4, 1fr); } }
.voucher { display: block; padding: 22px; border-radius: 20px; background: #FFF4E8; color: var(--ink); text-decoration: none; }
.voucher small { display: block; font-size: .95rem; }
.voucher b { display: block; font-size: 1.9rem; font-weight: 800; margin-top: 6px; }
.voucher--dark { background: var(--ink); color: #fff; }
.voucher img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.voucher--img { padding: 12px 12px 18px; }
.voucher--img small, .voucher--img b { padding: 0 8px; }

/* galéria */
.gallery-strip { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery-strip { grid-template-columns: repeat(4, 1fr); } }
.gallery-strip img, .gallery-grid img { width: 100%; aspect-ratio: 1.12; object-fit: cover; border-radius: var(--r-card); }
.gallery-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

/* pätička */
.site-footer { margin-top: clamp(64px, 9vw, 120px); background: var(--ink); color: #E8EEED; padding: 56px 0; }
.site-footer .wrap { display: grid; gap: 32px; }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .logo img { width: 110px; }
.site-footer__claim { font-size: 1.9rem; font-weight: 300; color: #fff; margin: 16px 0 0; }
.site-footer address { font-style: normal; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; opacity: .8; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
.site-footer__operator { grid-column: 1 / -1; font-size: .8rem; opacity: .75; margin: 0; line-height: 1.5; }

/* ---------- podstránky ---------- */
.page-head { padding: clamp(32px, 5vw, 64px) clamp(18px, 4vw, 64px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.page-head p { color: var(--ink-2); max-width: 46em; margin: 12px 0 0; }
.crumbs { font-size: .9rem; color: var(--ink-2); margin-bottom: 12px; }
.crumbs a { color: var(--teal); }
.prose { max-width: 820px; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose a { color: var(--teal); }
.prose table { border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }

/* detail kurzu */
.course { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .course { grid-template-columns: 1fr 1fr; } }
.course__media { position: relative; border-radius: var(--r-box); overflow: hidden; aspect-ratio: 1.15; background: var(--pastel-1); }
.course__media.pastel-2 { background: var(--pastel-2); }
.course__media.pastel-3 { background: var(--pastel-3); }
.course__media img { width: 100%; height: 100%; object-fit: cover; }
.course__price { font-size: 2.4rem; font-weight: 800; margin: 8px 0 0; }
.course__price small { font-size: 1rem; font-weight: 400; color: var(--ink-2); }
.course__desc { margin-top: 32px; }
.booking { background: #fff; border-radius: var(--r-box); padding: clamp(22px, 4vw, 40px); }
.booking h2 { font-size: 1.6rem; font-weight: 800; }
.term-options { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin: 0 0 24px; padding: 0; border: 0; }
.term-option { position: relative; }
.term-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.term-option label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 18px; cursor: pointer; }
.term-option input:checked + label { border-color: var(--teal); background: #F0FAF9; }
.term-option input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: 2px; }
.term-option input:disabled + label { opacity: .5; cursor: not-allowed; }
.term-option .date-badge { width: 48px; height: 48px; }
.term-option .date-badge b { font-size: 1.2rem; }

/* formuláre */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: 400 1rem var(--font); color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(14,124,123,.2); }
.field--check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--teal); }
.field .error { color: #B42318; font-size: .88rem; margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: #fff; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; border-radius: 50%; }
.qty input { width: 56px; text-align: center; border: 0; min-height: 44px; font: 700 1.1rem var(--font); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* pasca na roboty */

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

/* Zhrnutie objednávky pred tlačidlom (zákon č. 108/2024, § 17 ods. 3) */
.order-summary { border-top: 1px solid rgba(19,32,31,.12); padding-top: 14px; }
.order-summary p { margin: 0 0 8px; }
.order-summary b[data-total] { font-size: 1.35rem; }
.order-summary small { display: block; color: var(--ink-2); }
.fineprint { font-size: .85rem; color: var(--ink-2); line-height: 1.5; }
.site-footer__operator a { color: inherit; }
