/* ==========================================================================
   BabyLOOK – Plavecké jasličky
   ========================================================================== */

:root {
  --ink: #0a2350;
  --ink-2: #33507a;
  --muted: #566b8a;
  --blue: #0b5bd3;
  --blue-d: #063b91;
  --deep: #051f4f;
  --aqua: #2ec5f5;
  --aqua-l: #c4f1ff;
  --foam: #eef9ff;
  --sky: #f8fdff;
  --coral: #ff6b57;
  --coral-d: #ec4f3a;
  --sun: #ffc93c;
  --sun-l: #fff3cf;
  --line: rgba(10, 35, 80, .1);

  --font-d: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-b: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --shadow-s: 0 6px 20px -10px rgba(6, 59, 145, .35);
  --shadow: 0 24px 60px -24px rgba(6, 59, 145, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sky);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-d); line-height: 1.08; margin: 0; letter-spacing: -.015em; font-weight: 700; }
h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em;
  border-radius: 999px;
  border: 0;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--font-b);
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --bg: linear-gradient(135deg, #1a7cf0, var(--blue) 55%, var(--blue-d)); box-shadow: 0 12px 28px -12px rgba(11, 91, 211, .8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary:hover { box-shadow: 0 18px 34px -12px rgba(11, 91, 211, .9), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--ghost { --bg: rgba(255,255,255,.7); --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--line); backdrop-filter: blur(8px); }
.btn--ghost:hover { --bg: #fff; box-shadow: inset 0 0 0 2px rgba(11,91,211,.35); }
.btn--dark { --bg: var(--ink); }
.btn--white { --bg: #fff; --fg: var(--deep); }
.btn--glass { --bg: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn--sm { padding: .7em 1.15em; font-size: .92rem; }
.btn--lg { padding: 1.05em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Announce bar ---------- */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 9px 16px;
  background: var(--deep); color: #dbe9ff;
  font-size: .9rem; text-align: center;
}
.announce strong { color: #fff; }
.announce a { color: var(--sun); font-weight: 800; text-decoration: none; white-space: nowrap; }
.announce__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255,201,60,.7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,201,60,0); } 100% { box-shadow: 0 0 0 0 rgba(255,201,60,0); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 12px; z-index: 50;
  width: min(100% - 24px, 1240px);
  margin: 12px auto 0;
  display: flex; align-items: center; gap: 20px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.7), 0 10px 30px -18px rgba(6,59,145,.45);
  transition: box-shadow .3s, background .3s;
}
.nav.is-scrolled { background: rgba(255,255,255,.88); box-shadow: 0 0 0 1px rgba(10,35,80,.06), 0 16px 40px -20px rgba(6,59,145,.55); }

/* Logo „BabyLOOK“ podľa FB – z „OO“ sú oči so úsmevom */
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; padding: 2px 0 8px; }
.wordmark {
  --wm-navy: #0b3482;
  display: inline-flex; align-items: baseline;
  font: 700 1.85rem/1 var(--font-d);
  letter-spacing: -.035em;
  white-space: nowrap;
  -webkit-text-stroke: .085em #fff;
  paint-order: stroke fill;
  filter: drop-shadow(0 .04em .05em rgba(6, 59, 145, .35));
}
.wordmark--lg { font-size: 2.6rem; }
.wm-baby {
  color: #2f9bf0;
  text-shadow: 0 .03em 0 #1a6fd0;
}
.wm-look { color: var(--wm-navy); display: inline-flex; align-items: baseline; }
.wm-eyes { position: relative; display: inline-flex; gap: .015em; margin: 0 .015em 0 .03em; }
.wm-eyes i {
  position: relative; display: inline-block;
  width: .56em; height: .7em;
  border-radius: 50%;
  background: #fff;
  border: .08em solid var(--wm-navy);
  box-shadow: 0 0 0 .05em #fff;
  overflow: hidden;
}
.wm-eyes i::after {
  content: ""; position: absolute;
  width: .25em; height: .27em; border-radius: 50%;
  left: 34%; top: 40%;
  background: radial-gradient(circle at 70% 30%, #fff 0 18%, #08204f 22%);
  animation: wm-look 7s ease-in-out infinite;
}
.wm-smile {
  position: absolute; left: 4%; width: 92%; bottom: -.36em; height: .34em;
  overflow: visible;
}
.wm-smile path { fill: none; stroke: var(--wm-navy); stroke-width: 11; stroke-linecap: round; paint-order: stroke; }
@keyframes wm-look {
  0%, 38%, 100% { transform: translate(0, 0); }
  44%, 60% { transform: translate(-70%, 6%); }
  66%, 84% { transform: translate(15%, -12%); }
}
.logo:hover .wm-eyes i::after { animation-duration: 1.6s; }
.logo--light .wordmark { --wm-navy: #0b3482; filter: drop-shadow(0 .05em .12em rgba(0, 0, 0, .35)); }
.logo--light .wm-look { color: #fff; -webkit-text-stroke-color: #fff; }
.logo--light .wm-smile path { stroke: #fff; }
.footer__tag { margin-top: 6px; font-weight: 800; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--aqua-l); }

.nav__links { display: flex; gap: 4px; margin-inline: auto; }
.nav__links a {
  padding: 8px 14px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; color: var(--ink-2); text-decoration: none;
  transition: background .2s, color .2s;
}
.nav__links a:hover, .nav__links a.is-active { background: var(--foam); color: var(--blue); }
.nav__burger { display: none; }

.mobile-menu {
  position: fixed; inset: 84px 12px auto; z-index: 49;
  display: grid; gap: 4px; padding: 14px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.96); backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  animation: drop .35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 14px; border-radius: 14px; font: 600 1.2rem var(--font-d); text-decoration: none; }
.mobile-menu a:not(.btn):hover { background: var(--foam); }
.mobile-menu .btn { margin-top: 6px; }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: -76px;
  padding: 150px 0 190px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(46,197,245,.35), transparent 60%),
    radial-gradient(700px 500px at 5% 80%, rgba(255,201,60,.18), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--foam) 55%, #d9f4ff 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 2; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-s), inset 0 0 0 1px rgba(46,197,245,.35);
  font-weight: 800; font-size: .9rem; color: var(--blue);
}
.pill span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--foam); font-size: 1rem; }

.hero__title {
  margin: 22px 0 22px;
  font-size: clamp(3rem, 1.6rem + 5.6vw, 6.2rem);
  line-height: .95;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--ink);
}
.scribble {
  position: relative; display: inline-block; white-space: nowrap;
  background: linear-gradient(100deg, var(--aqua) 0%, var(--blue) 60%, var(--blue-d));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__lead { max-width: 33ch; font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.trust { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-size: .95rem; }
.trust__faces { display: flex; }
.trust__faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -12px; box-shadow: var(--shadow-s); }
.trust__faces img:first-child { margin-left: 0; }
.trust span { color: var(--muted); }

.hero__media { position: relative; aspect-ratio: 1 / 1.02; }
.blob {
  position: absolute; inset: 0;
  border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(6,59,145,.55), 0 0 0 10px rgba(255,255,255,.6);
  animation: morph 14s ease-in-out infinite;
}
.blob img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; transform: scale(1.06); }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%; }
  33% { border-radius: 44% 56% 40% 60% / 58% 42% 58% 42%; }
  66% { border-radius: 52% 48% 60% 40% / 42% 52% 48% 58%; }
}

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.9);
  font-size: .9rem; line-height: 1.25; font-weight: 700; color: var(--ink-2);
  text-decoration: none;
  animation: bob 6s ease-in-out infinite;
}
.float-card--a { left: -28px; bottom: 16%; }
.float-card--b { right: -20px; top: 8%; animation-delay: -3s; }
.float-card--b:hover { transform: translateY(-3px); }
.float-card__big { font: 700 2.4rem/1 var(--font-d); color: var(--blue); }
.float-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, #ffe4dc, #ffd0c6); font-size: 1.4rem; }
.float-card small { display: block; font-weight: 700; color: var(--muted); font-size: .78rem; }
.float-card strong { display: block; color: var(--ink); font-size: 1rem; }
.float-bubble {
  position: absolute; z-index: 3; right: 6%; bottom: -4%;
  width: 30%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow);
  animation: bob 7s ease-in-out infinite -1.5s;
}
.float-bubble img { width: 100%; height: 100%; object-fit: cover; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* Bubbles */
.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bubbles i {
  position: absolute; bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,.25) 40%, rgba(46,197,245,.18) 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset -3px -4px 8px rgba(46,197,245,.2);
  animation: rise linear infinite;
}
.bubbles--soft i { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5), rgba(255,255,255,.06) 50%, transparent 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(var(--drift, 20px), -55vh); }
  100% { transform: translate(0, -115vh); opacity: 0; }
}

/* Waves */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 150px; z-index: 2; }
.wave {
  position: absolute; left: 0; right: 0; bottom: 0;
  -webkit-mask: url("../img/wave.svg") repeat-x 0 100% / 1440px 100%;
          mask: url("../img/wave.svg") repeat-x 0 100% / 1440px 100%;
  animation: swell linear infinite;
}
.wave--1 { height: 150px; background: rgba(46,197,245,.25); animation-duration: 22s; }
.wave--2 { height: 115px; background: rgba(11,91,211,.18); animation-duration: 16s; animation-direction: reverse; }
.wave--3 { height: 80px; background: var(--sky); animation-duration: 12s; }
@keyframes swell { to { -webkit-mask-position: 1440px 100%; mask-position: 1440px 100%; } }

/* ---------- Stats ---------- */
.stats {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: -40px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { padding: 26px 26px; display: grid; gap: 2px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font: 600 clamp(2.2rem, 1.6rem + 1.8vw, 3.2rem)/1 var(--font-d); color: var(--blue); }
.stat:nth-child(4) b::after { content: " %"; font-size: .55em; }
.stat:nth-child(1) b::after { content: "+"; }
.stat span { color: var(--muted); font-weight: 700; font-size: .92rem; line-height: 1.3; }

/* ---------- Marquee ---------- */
.marquee { margin: 72px 0 0; overflow: hidden; padding: 14px 0; transform: rotate(-1.5deg); background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 600 clamp(1.4rem, 1rem + 1.6vw, 2.2rem)/1 var(--font-d); text-transform: lowercase; }
.marquee i { font-style: normal; color: var(--sun); font-size: 1.3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 9vw, 130px) 0; }
.section--foam { background: linear-gradient(180deg, var(--foam), #e4f6ff); }
.section--deep { background: radial-gradient(1000px 600px at 90% 0%, #0b5bd3 0%, transparent 60%), linear-gradient(160deg, #0a3a8a, var(--deep) 70%); color: #e7f0ff; overflow: hidden; isolation: isolate; }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section__head--split > div:first-child { max-width: 640px; }
.section__sub { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }
.section__sub a { color: var(--blue); font-weight: 800; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--aqua), var(--blue)); }
.eyebrow--light { color: var(--aqua-l); }
.eyebrow--light::before { background: var(--sun); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-s);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile h3 { font-size: 1.6rem; }
.tile p { color: inherit; opacity: .85; }
.tile__tag { font: 600 .9rem var(--font-d); opacity: .6; }
.tile__icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.7); margin-bottom: auto; }
.tile__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tile:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.tile:nth-child(2) { grid-column: span 3; }
.tile:nth-child(3) { grid-column: span 3; }
.tile:nth-child(4), .tile:nth-child(5), .tile:nth-child(6) { grid-column: span 2; }

.tile--photo { padding: 0; color: #fff; min-height: 260px; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile--photo:hover img { transform: scale(1.05); }
.tile__over { position: relative; margin-top: auto; padding: 120px 30px 30px; background: linear-gradient(180deg, transparent, rgba(5,31,79,.85)); display: grid; gap: 10px; }
.tile__over h3 { font-size: 2.1rem; }
.tile__over p { max-width: 46ch; }
.tile--aqua { background: linear-gradient(145deg, #dff7ff, #b7ecff); color: var(--ink); }
.tile--aqua .tile__icon { color: var(--coral); }
.tile--blue { background: linear-gradient(145deg, #1a7cf0, var(--blue-d)); color: #fff; }
.tile--blue .tile__icon { background: rgba(255,255,255,.15); color: var(--sun); }
.tile--sun { background: linear-gradient(145deg, #fff6d9, #ffe7a3); color: #4d3800; }
.tile--sun .tile__icon { color: #c98a00; }
.tile--white { background: #fff; justify-content: center; }
.tile__huge { font: 700 5.5rem/0.9 var(--font-d); color: var(--blue); letter-spacing: -.04em; }
.tile__huge small { font-size: 1.6rem; margin-left: 6px; color: var(--aqua); letter-spacing: 0; }

/* ---------- Courses ---------- */
.age {
  min-width: min(100%, 380px);
  padding: 20px 22px 16px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-s);
}
.age label { display: block; font-weight: 800; font-size: .9rem; color: var(--muted); }
.age output { display: block; font: 600 1.9rem/1.2 var(--font-d); color: var(--blue); margin: 2px 0 10px; }
.age input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 10px; border-radius: 10px;
  background: linear-gradient(90deg, var(--aqua), var(--blue)) 0 / var(--fill, 10%) 100% no-repeat, var(--foam);
  outline-offset: 6px;
}
.age input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 4px solid var(--blue); box-shadow: var(--shadow-s); cursor: grab;
}
.age input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); cursor: grab; }
.age__scale { position: relative; height: 1.2em; margin-top: 8px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.age__scale span { position: absolute; top: 0; white-space: nowrap; }
.age__scale span:nth-child(1) { left: 0; }
.age__scale span:nth-child(2) { left: 41.5%; transform: translateX(-50%); } /* 36 mes. na škále 2–84 */
.age__scale span:nth-child(3) { right: 0; }
.age__note { margin: -24px 0 28px; padding: 16px 20px; border-radius: var(--r-md); background: var(--sun-l); color: #5b4300; font-weight: 600; }

.courses { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.course {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px;
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-s), inset 0 0 0 2px transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .4s, filter .4s;
}
.course__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.course h3 { font-size: 2.1rem; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.course__desc { color: var(--ink-2); }
.course__match { font-weight: 800; font-size: .85rem; color: #0a8f6a; background: #dcfaef; padding: 6px 12px; border-radius: 999px; opacity: 0; transform: scale(.85); transition: .35s var(--ease); }
.course.is-match { box-shadow: var(--shadow), inset 0 0 0 3px var(--aqua); transform: translateY(-4px); }
.course.is-match .course__match { opacity: 1; transform: none; }
.course .btn { margin-top: auto; }
.course--alt { background: linear-gradient(160deg, #ffffff 40%, #fff7e0); }

.badge { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--foam); color: var(--blue); font-weight: 800; font-size: .88rem; }
.badge--sun { background: var(--sun-l); color: #8a5d00; }
.new { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #c63b29; color: #fff; font: 700 .78rem/1.3 var(--font-b); letter-spacing: .04em; text-transform: uppercase; }
.new--float { position: absolute; top: 14px; left: 14px; }

.price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.price b { font: 600 3rem/1 var(--font-d); color: var(--ink); letter-spacing: -.02em; }
.price span { color: var(--muted); font-weight: 700; }
.price__note { font-size: .9rem; color: var(--muted); margin-top: -6px; }
.checks { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--foam) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5bd3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.chips span { padding: 6px 12px; border-radius: 999px; background: var(--sky); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: .85rem; color: var(--ink-2); }
.chips--sm span { font-size: .8rem; padding: 5px 10px; }

/* Event */
.event {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 28px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: radial-gradient(600px 300px at 100% 0%, rgba(255,107,87,.35), transparent 60%), linear-gradient(135deg, #0a3a8a, var(--deep));
  color: #dfe9ff;
  box-shadow: var(--shadow);
}
.event h3 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); color: #fff; margin-bottom: 14px; }
.event p strong { color: #fff; }
.event__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.event__cards { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.event__date { display: grid; place-content: center; text-align: center; padding: 20px; border-radius: var(--r-md); background: var(--coral); color: #fff; box-shadow: 0 16px 30px -16px rgba(255,107,87,.9); }
.event__date b { font: 700 1.9rem/1 var(--font-d); }
.event__date span { font-weight: 700; font-size: .9rem; }
.event__price { display: grid; gap: 10px; }
.event__price p { padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); line-height: 1.35; }
.event__price b { font: 600 1.4rem var(--font-d); color: var(--sun); }
.event__price small { color: #b6c8ec; }
.snow { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(2px 2px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 70% 20%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 40% 70%, #fff 50%, transparent 51%), radial-gradient(2.5px 2.5px at 85% 60%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 10% 85%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 55% 45%, #fff 50%, transparent 51%); background-size: 320px 320px; opacity: .35; animation: snow 18s linear infinite; }
@keyframes snow { to { background-position: 0 320px; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 36px; left: 8%; right: 8%; height: 3px; background: repeating-linear-gradient(90deg, var(--aqua) 0 10px, transparent 10px 20px); opacity: .6; }
.step { position: relative; padding: 0 6px; }
.step__n {
  display: grid; place-items: center;
  width: 72px; height: 72px; margin-bottom: 20px;
  border-radius: 24px;
  background: #fff; color: var(--blue);
  font: 600 2rem var(--font-d);
  box-shadow: var(--shadow-s), inset 0 0 0 2px var(--aqua-l);
  position: relative;
  transition: transform .4s var(--ease);
}
.step:hover .step__n { transform: rotate(-8deg) scale(1.06); }
.step:nth-child(4) .step__n { background: linear-gradient(135deg, #1a7cf0, var(--blue-d)); color: #fff; box-shadow: var(--shadow); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); }

/* ---------- Mentor ---------- */
.mentor { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.mentor__media { position: relative; padding: 0 12% 12% 0; }
.mentor__main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.mentor__small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid #0a2d6c; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.mentor__badge { position: absolute; left: -16px; top: 12%; padding: 14px 18px; border-radius: 20px; background: var(--sun); color: #3d2c00; font: 600 1.05rem/1.2 var(--font-d); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); transform: rotate(-6deg); }
.mentor h2 { color: #fff; font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
.mentor blockquote {
  margin: 28px 0; padding: 0 0 0 24px;
  border-left: 4px solid var(--aqua);
  font: 500 clamp(1.3rem, 1.05rem + .9vw, 1.75rem)/1.35 var(--font-d);
  color: #fff;
}
.mentor blockquote em { font-style: normal; color: var(--sun); }
.mentor__copy > p:not(.eyebrow) { color: #bcd0f1; font-size: 1.08rem; }
.family { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #cfe0fb; }
.family strong { color: #fff; }
.family__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--sun); font-size: 1.3rem; }
.course__coach { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 8px 14px; border-radius: 999px; background: var(--sun-l); color: #6b4a00; font-weight: 700; font-size: .92rem; }
.values { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.values li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); font-weight: 700; color: #fff; }

/* ---------- Places ---------- */
.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.place {
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-s);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.place:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.place__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.place__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.place:hover .place__img img { transform: scale(1.06); }
.place__body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.place__town { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); filter: brightness(.8); }
.place__body > p:not(.place__town) { color: var(--ink-2); font-size: .95rem; }
.place__map { margin-top: auto; font-weight: 800; color: var(--blue); text-decoration: none; }
.place__map:hover { text-decoration: underline; }
.place--new { box-shadow: var(--shadow-s), inset 0 0 0 2px rgba(255,107,87,.4); }

/* ---------- Gallery ---------- */
.filters { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-s); flex-wrap: wrap; }
.filters button { border: 0; background: none; padding: 10px 16px; border-radius: 999px; font: 700 .92rem var(--font-b); color: var(--ink-2); cursor: pointer; transition: .25s; }
.filters button:hover { color: var(--blue); }
.filters button.is-active { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(11,91,211,.9); }

.gallery { columns: 4 240px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; position: relative; box-shadow: var(--shadow-s); transition: opacity .35s, transform .35s var(--ease); }
.gallery figure img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure.is-hidden { display: none; }
.gallery__more { text-align: center; margin-top: 30px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(5, 20, 50, .88); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 84vh; border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: zoom .35s var(--ease); }
@keyframes zoom { from { opacity: 0; transform: scale(.94); } }
.lightbox button { position: fixed; border: 0; cursor: pointer; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; backdrop-filter: blur(8px); transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Reviews ---------- */
.rating { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-s); }
.rating b { font: 700 2.6rem/1 var(--font-d); background: linear-gradient(135deg, var(--aqua), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating span { font-weight: 700; color: var(--muted); font-size: .9rem; line-height: 1.3; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.review { margin: 0; padding: 66px 30px 30px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 22px; position: relative; }
.review::before { content: "“"; position: absolute; top: 14px; left: 26px; font: 700 5rem/1 var(--font-d); color: var(--aqua); opacity: .5; }
.review blockquote { margin: 0; font-size: 1.05rem; position: relative; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.review--blue { background: linear-gradient(145deg, #1a7cf0, var(--blue-d)); color: #fff; transform: translateY(24px); }
.review--blue::before { color: rgba(255,255,255,.18); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--foam); color: var(--blue); font: 600 .95rem var(--font-d); }
.review--blue .avatar { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq .section__head { position: sticky; top: 110px; }
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-s); overflow: hidden; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow), inset 0 0 0 2px var(--aqua-l); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 600 1.2rem/1.3 var(--font-d); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--foam); color: var(--blue); font: 500 1.5rem/1 var(--font-b); transition: transform .3s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }
.faq details a { color: var(--blue); font-weight: 800; }

/* ---------- Signup / SMS ---------- */
.signup { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.signup__copy > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); font-size: 1.1rem; }
.contacts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.contacts a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r-md); text-decoration: none; font-weight: 800; transition: background .25s; }
.contacts a:hover { background: #fff; box-shadow: var(--shadow-s); }
.contacts small { display: block; font-weight: 700; color: var(--muted); font-size: .8rem; }
.contacts__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--foam); color: var(--blue); flex: none; }
.contacts__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.signup-card {
  padding: clamp(18px, 3vw, 32px);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; margin-bottom: 22px; border-radius: 999px; background: var(--foam); }
.tabs button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 14px;
  background: transparent; color: var(--ink-2);
  font: 800 .95rem var(--font-b); cursor: pointer;
  transition: background .25s, color .25s, box-shadow .25s;
}
.tabs button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-s); }
.panel[hidden] { display: none; }
.panel { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.field em { font-style: normal; font-weight: 600; color: var(--muted); }
.field--wide { grid-column: 1 / -1; }
.field textarea {
  width: 100%; padding: 14px 16px; border: 0; border-radius: var(--r-sm);
  background: var(--sky); box-shadow: inset 0 0 0 1.5px var(--line);
  font: 600 1rem/1.5 var(--font-b); color: var(--ink); resize: vertical; min-height: 84px;
  transition: box-shadow .2s, background .2s;
}
.field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 5px rgba(46,197,245,.2); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px var(--coral); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 14px; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.consent a { color: var(--blue); font-weight: 800; }
.consent.is-invalid span { color: var(--coral-d); }
.ts { min-height: 65px; margin-bottom: 14px; display: flex; justify-content: center; }

.btn .spinner { display: none; width: 1.1em; height: 1.1em; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { margin-top: 12px; min-height: 1.4em; text-align: center; font-weight: 700; font-size: .92rem; color: var(--coral-d); }

.done { text-align: center; padding: 28px 8px 12px; display: grid; justify-items: center; gap: 12px; animation: fade .4s var(--ease); }
.done[hidden] { display: none; }
.done:focus { outline: none; }
.done__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, #36d6b5, #0a8f6a); box-shadow: 0 16px 34px -14px rgba(10,143,106,.8); }
.done__icon svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s var(--ease) forwards; }
.done h3 { font-size: 1.8rem; }
.done p { color: var(--ink-2); max-width: 40ch; }
.done a { color: var(--blue); font-weight: 800; }
.sms__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 800; font-size: .85rem; color: var(--ink-2); }
.field input, .field select {
  width: 100%; padding: 14px 16px;
  border: 0; border-radius: var(--r-sm);
  background: var(--sky); box-shadow: inset 0 0 0 1.5px var(--line);
  font: 600 1rem var(--font-b); color: var(--ink);
  transition: box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 5px rgba(46,197,245,.2); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5bd3' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field.is-invalid input { box-shadow: inset 0 0 0 2px var(--coral); }

.sms__preview { margin: 22px 0; padding: 18px; border-radius: var(--r-md); background: linear-gradient(180deg, #f1f6fb, #e9f1f9); }
.sms__to { display: block; font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.sms__to b { color: var(--ink); }
.sms__bubble { position: relative; margin-left: auto; max-width: 92%; width: fit-content; padding: 12px 16px; border-radius: 20px 20px 6px 20px; background: linear-gradient(180deg, #2b8cff, #0b6fe8); color: #fff; white-space: pre-line; font-size: .95rem; line-height: 1.45; box-shadow: 0 8px 18px -10px rgba(11,91,211,.9); }
.sms__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sms__actions .btn { flex: 1 1 200px; }
.sms__hint { margin-top: 12px; font-size: .88rem; color: var(--muted); text-align: center; }
.sms__hint.is-ok { color: #0a8f6a; font-weight: 800; }

/* ---------- Footer ---------- */
.footer { position: relative; margin-top: 60px; padding: 90px 0 30px; background: var(--deep); color: #b6c8ec; }
.footer__wave { position: absolute; left: 0; right: 0; top: -59px; height: 60px; background: var(--deep); -webkit-mask: url("../img/wave.svg") repeat-x 0 100% / 1440px 100%; mask: url("../img/wave.svg") repeat-x 0 100% / 1440px 100%; animation: swell 20s linear infinite; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.footer__claim { margin-top: 14px; max-width: 30ch; }
.footer__nav { display: grid; gap: 8px; }
.footer__nav a { text-decoration: none; font-weight: 700; color: #e3edff; width: fit-content; }
.footer__nav a:hover { color: var(--sun); }
.footer__places { display: grid; gap: 8px; font-weight: 700; }
.footer__bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
}
.footer__copy { font-size: .88rem; }
.footer__copy a { color: #e3edff; text-decoration: none; }
.footer__copy a:hover { color: var(--sun); }

/* Podpis autora webu */
.credit {
  --glow: conic-gradient(from var(--a, 0deg), #2ec5f5, #ffc93c, #ff6b57, #2ec5f5);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  color: #b6c8ec; text-decoration: none;
  font-size: .85rem; font-weight: 700;
  transition: background .3s, box-shadow .3s, transform .3s var(--ease);
}
.credit::before {
  content: ""; position: absolute; inset: -1.5px; z-index: -1;
  border-radius: inherit; padding: 1.5px;
  background: var(--glow);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
  animation: credit-spin 4s linear infinite;
}
.credit:hover, .credit:focus-visible { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.credit:hover::before, .credit:focus-visible::before { opacity: 1; }
.credit__label { display: inline-flex; align-items: center; gap: 7px; }
.credit__heart { width: 14px; height: 14px; fill: var(--coral); animation: beat 1.6s ease-in-out infinite; }
.credit__brand {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px 7px 14px; border-radius: 999px;
  background: #fff; color: var(--deep);
  font: 700 .95rem/1 var(--font-d); letter-spacing: -.01em;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.5);
}
.credit__brand em { font-style: normal; color: var(--blue); }
.credit__brand svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.credit:hover .credit__brand svg { transform: translate(2px, -2px); }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes credit-spin { to { --a: 360deg; } }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(.95); } 45% { transform: scale(1.15); } }

/* ---------- Reveal ---------- */
/* používa `translate`, aby nekolidoval s `transform` pri hoveri */
.reveal {
  opacity: 0; translate: 0 26px;
  transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s), transform .4s var(--ease), box-shadow .4s var(--ease), filter .4s;
}
.reveal.is-in { opacity: 1; translate: none; }
.courses .course.is-dim { filter: saturate(.35); transform: scale(.98); box-shadow: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: var(--foam); cursor: pointer;
  }
  .nav__burger span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .places { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
}

@media (max-width: 900px) {
  .hero { padding: 130px 0 170px; }
  .hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .hero__media { width: min(100%, 520px); margin-inline: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .tile:nth-child(1) { grid-column: span 2; min-height: 420px; }
  .courses, .event, .mentor, .faq, .signup { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .reviews { grid-template-columns: 1fr; }
  .review--blue { transform: none; }
  .mentor__media { max-width: 460px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .announce p { font-size: .82rem; }
  .announce a { display: none; }
  .nav { padding: 8px 8px 8px 14px; gap: 10px; }
  .nav .wordmark { font-size: 1.6rem; }
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
  .hero__actions .btn { flex: 1 1 100%; }
  .float-card--a { left: -6px; padding: 10px 14px; }
  .float-card--b { right: -6px; padding: 10px 14px; }
  .float-card__big { font-size: 1.9rem; }
  .bento { grid-template-columns: 1fr; }
  .tile:nth-child(1) { grid-column: auto; min-height: 460px; }
  .places { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .sms__grid { grid-template-columns: 1fr; }
  .tabs button { padding: 11px 8px; font-size: .9rem; white-space: nowrap; }
  .tabs button svg { display: none; }
  .event__cards { grid-template-columns: 1fr; }
  .course { padding: 24px; }
  .section__head--split { align-items: stretch; }
  .filters { justify-content: center; }
  .footer__inner { grid-template-columns: 1fr; }
  .mentor__badge { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; translate: none; }
}

/* ---------- Podstránky (GDPR, 404) ---------- */
.doc-page { background: linear-gradient(180deg, #fff, var(--foam) 60%); min-height: 100vh; }
.nav--static { position: relative; top: 0; }
.doc { max-width: 760px; padding: 64px 0 96px; }
.doc h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); margin-bottom: 18px; }
.doc h2 { font-size: 1.5rem; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc a { color: var(--blue); font-weight: 700; }
.doc__lead { font-size: 1.15rem; }
.doc__meta { margin-top: 40px; font-size: .9rem; color: var(--muted); }
.todo { background: var(--sun-l); color: #6b4a00; padding: 1px 6px; border-radius: 6px; font-weight: 700; }
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; }
.notfound h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); margin-top: 20px; }
.notfound p { color: var(--ink-2); font-size: 1.15rem; }

/* Druhá (menšia) akcia */
.event--mini {
  margin-top: 18px;
  grid-template-columns: 1.5fr auto;
  background: radial-gradient(500px 260px at 100% 100%, rgba(255,201,60,.32), transparent 60%), linear-gradient(135deg, #0b5bd3, #073a8c);
}
.event--mini h3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); }
.event--mini .event__cards { grid-template-columns: 1fr; justify-items: end; }
.event__date--sun { background: var(--sun); color: #3d2c00; box-shadow: 0 16px 30px -16px rgba(255,201,60,.9); min-width: 180px; }
@media (max-width: 900px) {
  .event--mini { grid-template-columns: 1fr; }
  .event--mini .event__cards { justify-items: stretch; }
}

/* ==========================================================================
   Blog
   ========================================================================== */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .88rem; font-weight: 700; color: var(--muted); }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.blog-hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: -76px; padding: 150px 0 70px;
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(46,197,245,.3), transparent 60%),
    linear-gradient(180deg, #fff, var(--foam));
}
.blog-hero .container { position: relative; z-index: 2; }
.blog-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem); max-width: 16ch; }
.blog-hero__lead { margin-top: 16px; max-width: 56ch; font-size: 1.15rem; color: var(--ink-2); }
.blog-hero .bubbles i { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(46,197,245,.18) 70%); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-s);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.post-card__meta { font-size: .82rem; font-weight: 700; color: var(--muted); }
.post-card h2, .post-card h3 { font-size: 1.35rem; line-height: 1.2; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--blue); }
.post-card p:not(.post-card__meta) { color: var(--ink-2); font-size: .95rem; }
.post-card__more { margin-top: auto; font-weight: 800; color: var(--blue); text-decoration: none; }

/* Článok */
.article__hero { margin-top: -76px; padding: 140px 0 0; background: linear-gradient(180deg, #fff, var(--foam) 70%, var(--sky)); }
.article__head { max-width: 860px; }
.article__head h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); }
.article__meta { margin-top: 14px; font-weight: 700; color: var(--muted); }
.article__cover { margin-top: 34px; max-width: 1040px; }
.article__cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow); }
.article__body { max-width: 760px; padding: 48px 0 24px; }
.article__cta { max-width: 1040px; padding-bottom: 80px; }

.prose { font-size: 1.12rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose .lead { font-size: 1.28rem; line-height: 1.6; color: var(--ink); font-weight: 600; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); color: var(--ink); }
.prose a { color: var(--blue); font-weight: 700; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 32px; }
.prose li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--foam) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5bd3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.prose blockquote {
  margin: 1.6em 0; padding: 22px 26px; border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-s), inset 4px 0 0 var(--aqua);
  font: 500 1.2rem/1.5 var(--font-d); color: var(--ink);
}
.prose blockquote cite { display: block; margin-top: 10px; font: 800 .9rem var(--font-b); font-style: normal; color: var(--blue); }

.cta-box {
  display: grid; grid-template-columns: 1.3fr auto; gap: 24px; align-items: center;
  margin: 40px 0 80px; padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: radial-gradient(500px 260px at 100% 0%, rgba(46,197,245,.25), transparent 60%), #fff;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.article__cta .cta-box { margin: 0; }
.cta-box h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); }
.cta-box p:not(.eyebrow) { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
.cta-box__actions { display: flex; flex-direction: column; gap: 10px; }

#blog .section__head--split { align-items: end; }

@media (max-width: 1080px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .post-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .article__cover img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
  .prose { font-size: 1.05rem; }
}
