/* ==========================================================================
   TiJa — VARIANT 2 „Hravé ihrisko"
   Oprie sa o slovo IHRISKO v názve: pastelové bloky, zvlnené prechody medzi
   sekciami, zaoblená hravá typografia, motív plotu a smajlíka z loga.
   Teplejší a detskejší než variant 1.
   ========================================================================== */

:root {
  --teal: #2F8994;
  --teal-dark: #1B5C65;
  --yellow: #F8C301;
  --mint: #DFF3F1;
  --sky: #E4F1F7;
  --peach: #FFE9D6;
  --lemon: #FFF6D4;
  --lilac: #EFE7F8;
  --ink: #123238;
  --body: #4F6E74;
  --white: #fff;
  --footer-bg: #123238;
  --radius: 26px;
  --radius-lg: 40px;
  --shadow: 0 8px 26px rgba(18, 50, 56, .09);
  --shadow-hover: 0 16px 40px rgba(18, 50, 56, .16);
  --wrap: 1180px;
}

html {
  background: var(--footer-bg);
  overflow-x: hidden;
  overscroll-behavior: none;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--body); background: var(--white); line-height: 1.75; font-size: 17px;
  font-weight: 500; overflow-x: clip; padding-bottom: 52px;
}
h1, h2, h3, h4 { font-family: 'Baloo 2', 'Quicksand', sans-serif; color: var(--ink); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { overflow-wrap: anywhere; }
a { color: var(--teal); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 9vw, 100px) 0; position: relative; }
.bg-mint { background: var(--mint); }
.bg-lemon { background: var(--lemon); }
.bg-sky { background: var(--sky); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark);
  background: var(--white); padding: 8px 18px; border-radius: 100px; margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; }
.lead { font-size: 1.13rem; max-width: 62ch; }
.center .lead { margin-inline: auto; }

/* --- zvlnený prechod medzi sekciami ------------------------------------- */
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 80px); }
.wave--flip { transform: rotate(180deg); }

/* --- Tlačidlá ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 32px; border-radius: 100px; font-weight: 700; font-size: 1rem;
  font-family: 'Baloo 2', sans-serif; border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  overflow-wrap: anywhere; text-align: center;
}
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 5px 0 var(--teal-dark); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--teal-dark); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--teal-dark); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 #D5A600; }
.btn--yellow:hover { transform: translateY(-3px); box-shadow: 0 8px 0 #D5A600; }
.btn--white { background: #fff; color: var(--teal-dark); box-shadow: 0 5px 0 rgba(0,0,0,.12); }
.btn--white:hover { transform: translateY(-3px); }

/* --- Navigácia ---------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(18,50,56,.07); }
.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 11px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__logo { min-width: 0; flex-shrink: 1; }
.nav__logo img { height: 52px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 3px; }
.nav__links a { padding: 10px 14px; border-radius: 100px; font-weight: 700; font-size: .93rem; color: var(--ink); white-space: nowrap; }
.nav__links a:hover { background: var(--mint); color: var(--teal-dark); }
.nav__cta { margin-left: 8px; background: var(--yellow); box-shadow: 0 4px 0 #D5A600; padding: 11px 22px !important; }

.burger { display: none; width: 48px; height: 48px; border: 0; background: var(--mint); border-radius: 50%; cursor: pointer; flex-shrink: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 20px; height: 2.5px; background: var(--teal-dark); border-radius: 3px; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.drawer {
  position: fixed; top: 0; right: -100%; bottom: 0; width: min(340px, 86vw);
  background: var(--white); z-index: 120; padding: 90px 22px 32px;
  transition: right .32s cubic-bezier(.4,0,.2,1); overflow-y: auto;
  box-shadow: -10px 0 44px rgba(18,50,56,.2); pointer-events: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.drawer.open { right: 0; pointer-events: auto; }
.drawer a { display: block; padding: 14px 18px; border-radius: 100px; font-weight: 700; color: var(--ink); margin-bottom: 4px; overflow-wrap: anywhere; }
.drawer a:hover { background: var(--mint); }
.drawer .btn { width: 100%; margin-top: 16px; }
.backdrop { position: fixed; inset: 0; background: rgba(18,50,56,.5); z-index: 110; opacity: 0; pointer-events: none; transition: opacity .3s; }
.backdrop.open { opacity: 1; pointer-events: auto; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  padding: 130px 0 40px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, var(--sky) 0%, var(--white) 62%);
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; pointer-events: none; }
.hero__blob--1 { width: 190px; height: 190px; background: var(--peach); top: 90px; left: -60px; }
.hero__blob--2 { width: 140px; height: 140px; background: var(--lemon); top: 170px; right: -40px; }
.hero__blob--3 { width: 100px; height: 100px; background: var(--lilac); bottom: 70px; left: 12%; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--teal); position: relative; white-space: nowrap; }
.hero h1 span::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: var(--yellow); opacity: .45; border-radius: 6px; z-index: -1;
}
.hero p { font-size: 1.16rem; max-width: 60ch; margin: 0 auto 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__photo { margin-top: 52px; }

/* plot — motív z loga (latky + dve priečky, aby to čítalo ako plot, nie ekvalizér) */
.fence { position: relative; display: flex; gap: 11px; justify-content: center; align-items: flex-end; margin-top: 38px; padding-bottom: 2px; }
.fence i { display: block; width: 13px; height: 46px; background: var(--teal); border-radius: 6px 6px 0 0; opacity: .92; position: relative; z-index: 1; }
.fence i:nth-child(even) { height: 56px; background: var(--yellow); }
.fence::before, .fence::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: min(320px, 78%); height: 6px; background: var(--teal); opacity: .92; border-radius: 3px; z-index: 2;
}
.fence::before { bottom: 26px; }
.fence::after { bottom: 8px; }

/* --- Placeholder fotky -------------------------------------------------- */
.ph {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.55) 0 14px, transparent 14px 28px), linear-gradient(150deg, var(--sky), var(--peach));
  display: grid; place-items: center; min-height: 260px; padding: 22px; text-align: center;
}
.ph::after {
  content: attr(data-label); font-size: .8rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--teal-dark); background: rgba(255,255,255,.9);
  padding: 10px 18px; border-radius: 100px; overflow-wrap: anywhere;
}
.ph--wide { aspect-ratio: 16/7; min-height: 240px; }
.ph--round { border-radius: 50%; aspect-ratio: 1; min-height: 0; }
.ph--tall { aspect-ratio: 4/4.4; }

/* --- Karty -------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.bubble {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow); transition: .28s ease; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.bubble:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-hover); }
.bubble__ico {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  font-size: 2.1rem; margin-bottom: 20px; line-height: 1;
}
.bubble:nth-child(1) .bubble__ico { background: var(--peach); }
.bubble:nth-child(2) .bubble__ico { background: var(--mint); }
.bubble:nth-child(3) .bubble__ico { background: var(--lilac); }
.bubble h3 { margin-bottom: 10px; }
.bubble p { font-size: .97rem; margin-bottom: 16px; }
.bubble__more { margin-top: auto; font-weight: 700; color: var(--teal); font-size: .93rem; font-family: 'Baloo 2', sans-serif; }

/* prístupy — pastelové bloky */
.tile { border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; }
.tile:nth-child(1) { background: var(--mint); }
.tile:nth-child(2) { background: var(--peach); }
.tile:nth-child(3) { background: var(--lilac); }
.tile:nth-child(4) { background: var(--lemon); }
.tile__no { font-family: 'Baloo 2', sans-serif; font-size: 3rem; font-weight: 700; color: rgba(18,50,56,.14); line-height: 1; }
.tile h3 { margin: 6px 0 10px; }
.tile p { font-size: .96rem; }

/* výhody */
.perk { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.perk > * { min-width: 0; }
.perk__ico { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--lemon); display: grid; place-items: center; font-size: 1.4rem; line-height: 1; }
.perk h3 { font-size: 1.06rem; margin-bottom: 5px; }
.perk p { font-size: .93rem; }

/* --- Členská sekcia ----------------------------------------------------- */
.klub { background: var(--teal); border-radius: var(--radius-lg); padding: clamp(32px,5vw,62px); color: rgba(255,255,255,.92); position: relative; overflow: hidden; }
.klub h2 { color: #fff; }
.klub .eyebrow { background: rgba(255,255,255,.18); color: #fff; box-shadow: none; }
.klub__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.klub__grid > * { min-width: 0; }
.klub__list { list-style: none; display: grid; gap: 13px; margin-top: 22px; }
.klub__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .99rem; }
.klub__list li::before { content: '★'; color: var(--yellow); flex-shrink: 0; }
.klub__card { background: #fff; border-radius: var(--radius); padding: 30px; text-align: center; color: var(--body); }
.klub__card strong { display: block; font-family: 'Baloo 2', sans-serif; font-size: 2.9rem; color: var(--teal-dark); line-height: 1; }
.klub__card span { display: block; font-size: .88rem; margin: 8px 0 20px; }
.klub__card .btn { width: 100%; }

/* --- Referencie --------------------------------------------------------- */
.testi { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; position: relative; }
.testi::before { content: '“'; font-family: 'Baloo 2', sans-serif; font-size: 4.5rem; color: var(--yellow); line-height: .8; }
.testi p { color: var(--ink); font-size: 1rem; }
.testi footer { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.testi footer > * { min-width: 0; }
.testi .ph--round { width: 50px; flex-shrink: 0; min-height: 50px; }
.testi .ph--round::after { content: ''; padding: 0; }
.testi strong { display: block; color: var(--ink); font-size: .95rem; font-family: 'Baloo 2', sans-serif; }
.testi small { font-size: .82rem; }

/* --- Podpora ------------------------------------------------------------ */
.supp { background: var(--white); border-radius: var(--radius); padding: 30px; text-align: center; box-shadow: var(--shadow); }
.supp strong { display: block; font-family: 'Baloo 2', sans-serif; font-size: 1.9rem; color: var(--teal); margin-bottom: 8px; }
.supp p { font-size: .95rem; }

/* --- Kontakt ------------------------------------------------------------ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,52px); }
.contact__grid > * { min-width: 0; }
.info-row { display: flex; gap: 15px; align-items: flex-start; padding: 15px 0; }
.info-row > * { min-width: 0; }
.info-row strong { display: block; color: var(--ink); font-size: .96rem; font-family: 'Baloo 2', sans-serif; }
.info-row span, .info-row a { font-size: .95rem; overflow-wrap: anywhere; }
form { display: grid; gap: 15px; background: var(--white); padding: clamp(22px,3vw,34px); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
label { font-weight: 700; font-size: .88rem; color: var(--ink); display: block; margin-bottom: 6px; }
input, textarea, select { width: 100%; min-width: 0; padding: 14px 18px; border: 2px solid var(--mint); border-radius: 100px; font: inherit; font-size: .96rem; color: var(--ink); background: #FBFEFE; }
textarea { border-radius: var(--radius); min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--teal); }
.form-note { font-size: .8rem; }

/* --- Footer ------------------------------------------------------------- */
.footer { background: var(--footer-bg); color: rgba(255,255,255,.7); padding: clamp(48px,6vw,74px) 0 0; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__grid > * { min-width: 0; }
.footer img { height: 62px; width: auto; margin-bottom: 18px; }
.footer p { font-size: .93rem; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: rgba(255,255,255,.7); font-size: .93rem; overflow-wrap: anywhere; }
.footer a:hover { color: var(--yellow); }
.footer__social { display: flex; gap: 11px; margin-top: 16px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.footer__social a:hover { background: var(--teal); }
.footer__fence { display: flex; gap: 9px; margin-top: 40px; }
.footer__fence i { display: block; width: 11px; height: 26px; background: rgba(255,255,255,.16); border-radius: 4px 4px 0 0; }
.footer__fence i:nth-child(even) { height: 34px; background: rgba(248,195,1,.35); }
.footer__bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .85rem; margin-top: 14px; }
.footer__bottom > * { min-width: 0; }

/* --- Demo lišta --------------------------------------------------------- */
.demobar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 140; background: var(--ink); color: #fff; padding: 10px 16px; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.demobar a { color: var(--yellow); font-weight: 700; }
.demobar span { opacity: .75; }

/* --- Responzívne -------------------------------------------------------- */
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .burger { display: flex; }
  .grid--3, .grid--2, .klub__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 116px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav__logo img { height: 42px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .fence i { width: 10px; height: 34px; }
  .fence i:nth-child(even) { height: 42px; }
}
@media (max-width: 380px) {
  .nav__inner { padding: 9px 14px; gap: 10px; }
  .nav__logo img { height: 34px; }
  .burger { width: 40px; height: 40px; }
  .wrap { padding: 0 14px; }
  .bubble, .tile, .testi, .supp, .perk { padding: 20px; }
  .btn { padding: 14px 22px; font-size: .94rem; }
  .klub__card strong { font-size: 2.2rem; }
  .fence { gap: 7px; }
}
