/* LevelUp English — kalkulator (wycena online)
   Tokens, header, buttons, form fields and footer are copied verbatim from the
   home page's inline stylesheet so this page stays in step with the site. The
   kalkulator-specific rules are prefixed .k- */

:root{
  --purple:#2e0c58;
  --lilac:#c5a9f4;
  --lilac-soft:#f3edfd;
  --plum:#4a4078;
  --plum-light:#6e649b;
  /* 16 Oct: brand palette only, like the rest of the site (turquoise, orange,
     beige and amber were mapped onto purple / lilac / plum) */
  --beige:#f3edfd;
  --turquoise:#6e649b;
  --orange:#c5a9f4;
  --white:#fff;
  --ink-soft:rgba(46,12,88,.72);
  --amber-bg:#f3edfd;
  --amber-ink:#4a4078;

  --font-display:"Bebas Neue","Arial Narrow",sans-serif;
  --font-body:"Montserrat","Helvetica Neue",Arial,sans-serif;

  --radius-card:22px;
  --radius-pill:999px;
  --content:70rem;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:4.4rem}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
body{
  font-family:var(--font-body);color:var(--purple);background:var(--white);
  line-height:1.65;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2{font-family:var(--font-display);font-weight:400;letter-spacing:.015em;line-height:.96;text-transform:uppercase}
h1{font-size:clamp(2.4rem,5vw,4rem)}
h2{font-size:clamp(1.9rem,3.6vw,2.7rem)}
h3{font-family:var(--font-body);font-weight:700;font-size:1.15rem;line-height:1.3}
.accent{color:var(--lilac);font-style:normal}
.accent--hl{background:var(--lilac);color:var(--purple);font-style:normal;padding:.02em .18em;border-radius:.16em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.lede{max-width:60ch;font-size:1.1rem;color:var(--ink-soft);margin-top:1.2rem}
.wrap{max-width:var(--content);margin-inline:auto;padding-inline:1.5rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;font-family:var(--font-body);font-weight:600;font-size:1rem;
  text-decoration:none;border-radius:var(--radius-pill);padding:.9rem 2rem;
  border:2px solid transparent;cursor:pointer;
  transition:transform .15s ease,background-color .2s,color .2s,border-color .2s;
}
.btn:hover{transform:translateY(-2px)}
.btn:focus-visible{outline:3px solid var(--lilac);outline-offset:2px}
.btn--primary{background:var(--purple);color:var(--white)}
.btn--primary:hover{background:#43217a}
.btn--light{background:var(--lilac);color:var(--purple)}
.btn--light:hover{background:#d6c2f8}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}

/* ---------- header (verbatim from the home page) ---------- */
.site-header{position:sticky;top:0;z-index:50;background:var(--lilac-soft);border-bottom:1px solid rgba(46,12,88,.08)}
.site-header__inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1.25rem;padding-block:.35rem}
.site-header__side{display:flex;align-items:center;gap:1.6rem}
.site-header__side--left{justify-content:flex-end}
.site-header__side--right{justify-content:flex-start}
.site-header__side a{text-decoration:none;font-weight:600;font-size:.93rem;opacity:.85;white-space:nowrap}
.site-header__side a:hover{opacity:1}
.site-header__brand img{height:40px;width:auto}
.site-header__cta{padding:.5rem 1.3rem;font-size:.9rem;opacity:1!important}
.site-header__mobile{display:none}
.site-header__mobile summary{list-style:none;cursor:pointer;font-weight:700;padding:.5rem .9rem;border:2px solid var(--purple);border-radius:var(--radius-pill)}
.site-header__mobile summary::-webkit-details-marker{display:none}
.site-header__mobile-nav{display:flex;flex-direction:column;gap:.75rem;padding:1rem 0}
.site-header__mobile-nav a{text-decoration:none;font-weight:600}
@media (max-width:960px){
  .site-header__inner{grid-template-columns:auto 1fr auto}
  .site-header__side{display:none}
  .site-header__brand{justify-self:start}
  .site-header__brand img{height:34px}
  .site-header__mobile{display:block;justify-self:end}
}

/* ---------- swirl texture ---------- */
.swirl-bg{position:absolute;inset:0;pointer-events:none;z-index:0}
.swirl-bg svg{width:100%;height:100%}
.swirl-defs{position:absolute;width:0;height:0}

/* ---------- form fields (verbatim) ---------- */
.field{display:flex;flex-direction:column;gap:.3rem;margin-bottom:.8rem}
.field label{font-size:.85rem;font-weight:700}
.field input,.field select,.field textarea{
  font:inherit;font-size:.95rem;color:var(--purple);padding:.6rem .8rem;
  border:1.5px solid rgba(46,12,88,.22);border-radius:12px;background:var(--white);width:100%;
}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--purple);box-shadow:0 0 0 3px rgba(197,169,244,.4)}
.field textarea{resize:none;min-height:3.4rem}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
@media (max-width:560px){.field-row{grid-template-columns:1fr}}
.form-card__sub{font-size:.9rem;color:var(--ink-soft);margin-bottom:1.4rem}
.form-foot{margin-top:.7rem;font-size:.8rem;color:var(--ink-soft);text-align:center}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.consent{display:flex;gap:.55rem;align-items:flex-start;margin:.2rem 0 .9rem;font-size:.76rem;line-height:1.45;color:var(--ink-soft);cursor:pointer}
.consent input{width:auto;margin-top:.2rem;accent-color:var(--purple);flex:none}
.consent a{color:var(--purple);font-weight:600}
.form-done__tick{width:3.6rem;height:3.6rem;border-radius:50%;flex:none;margin:0 auto 1.1rem;background:var(--lilac);color:var(--purple);display:flex;align-items:center;justify-content:center}
.form-done__tick svg{width:1.7rem;height:1.7rem}

/* ---------- footer (verbatim) ---------- */
footer{background:#1e0838;color:rgba(255,255,255,.75);padding-block:3rem 2.5rem;font-size:.95rem}
.foot-grid{display:grid;grid-template-columns:1.15fr 1.5fr 1.05fr;gap:2.5rem;align-items:start}
.foot-logo img{height:56px;width:auto;filter:brightness(0) invert(1);opacity:.95}
footer h4{font-weight:700;color:var(--white);font-size:1rem;margin-bottom:.9rem}
footer ul{list-style:none;display:flex;flex-direction:column;gap:.55rem}
footer a{text-decoration:none}
footer a:hover{color:var(--lilac)}
.foot-story{max-width:42ch;margin-top:1rem}
.foot-bottom{margin-top:3rem;padding-top:1.4rem;border-top:1px solid rgba(255,255,255,.14);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.82rem;color:rgba(255,255,255,.5)}
.foot-cols{display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:column;grid-template-rows:repeat(5,auto);column-gap:1.6rem}
.foot-cols li{white-space:nowrap}
@media (max-width:960px){.foot-cols li{white-space:normal}}
@media (max-width:860px){.foot-grid{grid-template-columns:1fr;gap:2rem}}

/* =====================================================================
   KALKULATOR — vertical funnel
   ===================================================================== */
.k-page{position:relative;background:var(--lilac-soft);overflow:hidden;padding-block:2.6rem 3.2rem}
.k-page .swirl-bg{color:var(--white);opacity:.55;
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent);
  mask-image:linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent)}
.k-page>.wrap{position:relative;z-index:1}
.k-intro{text-align:center;max-width:52rem}
.k-intro .lede{margin-inline:auto;margin-top:.9rem}
.k-kicker{display:inline-block;font-weight:700;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--plum-light);margin-bottom:.8rem}

/* centred: a 44rem column of steps with the summary rail beside it, the pair centred in the viewport */
.k-layout{display:grid;grid-template-columns:minmax(0,44rem) 15.5rem;gap:1.6rem;align-items:start;justify-content:center;margin-top:1.8rem}
@media (max-width:900px){.k-layout{grid-template-columns:minmax(0,44rem)}}
.k-steps{display:flex;flex-direction:column;gap:1.2rem;min-width:0}

/* one card per step */
.k-step{
  position:relative;background:var(--white);color:var(--purple);border-radius:26px;
  padding:1.5rem 1.9rem 1.4rem;border-top:7px solid var(--lilac);
  box-shadow:0 46px 90px -44px rgba(46,12,88,.45);scroll-margin-top:4.6rem;
  transition:opacity .35s ease,filter .35s ease;
}
.k-step.is-locked{opacity:.38;filter:grayscale(.4);pointer-events:none;user-select:none}
/* lock note sits as a pill on the card's top edge, clear of the centred heading */
.k-step.is-locked::after{
  content:"Najpierw uzupełnijcie poprzedni krok";position:absolute;top:-1.1rem;left:50%;transform:translateX(-50%);
  font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--purple);
  background:var(--lilac);border-radius:999px;padding:.3rem .8rem;white-space:nowrap;
}
.k-step.is-done{border-top-color:var(--lilac)}
/* offer request inside the price popup (16 Oct): name + e-mail only */
.k-24h{
  display:inline-flex;align-items:center;gap:.45rem;margin-top:.7rem;padding:.45rem 1rem;
  background:var(--purple);color:var(--white);border-radius:999px;font-weight:700;font-size:.88rem;
}
.k-24h svg{width:1.05rem;height:1.05rem;color:var(--lilac);flex:none}
.k-quick{margin-top:1.1rem;display:grid;gap:.7rem;text-align:left}
.k-quick__lead{font-size:.86rem;line-height:1.5;color:var(--ink-soft);text-align:center}
.k-quick__lead b{color:var(--purple)}
.k-quick__row{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.k-quick__row input{
  font:inherit;font-size:.95rem;color:var(--purple);width:100%;padding:.8rem 1rem;
  border:1.5px solid rgba(46,12,88,.22);border-radius:999px;background:var(--white);
}
.k-quick__row input:focus{outline:none;border-color:var(--purple);box-shadow:0 0 0 3px rgba(197,169,244,.45)}
.k-quick__consent{display:flex;gap:.55rem;align-items:flex-start;font-size:.74rem;line-height:1.45;color:var(--ink-soft)}
.k-quick__consent input{margin-top:.15rem;accent-color:var(--purple);flex:none}
.k-quick__consent a{color:var(--purple);font-weight:700}
.k-quick .k-reveal__cta{justify-self:center;margin-top:.2rem}
.k-quick-done{margin-top:1.1rem;display:flex;flex-direction:column;align-items:center;gap:.45rem}
.k-quick-done h3{font-size:1.25rem}
.k-quick-done p{font-size:.9rem;color:var(--ink-soft)}
.k-result-cta{display:flex;flex-direction:column;align-items:center;gap:.5rem;margin-top:1.4rem}
/* display:flex would beat the hidden attribute (same trap as the old cookie note) */
.k-quick-done[hidden],.k-result-cta[hidden],.k-quick[hidden]{display:none}
@media (max-width:520px){.k-quick__row{grid-template-columns:1fr}}
.k-prefilled{display:table;margin:-.2rem auto .9rem;font-size:.8rem;font-weight:700;color:var(--purple);background:var(--lilac-soft);border:1.5px solid var(--lilac);border-radius:999px;padding:.25rem .8rem}
@media (max-width:560px){.k-step{padding:1.2rem 1rem 1.1rem;border-radius:20px}.k-step.is-locked::after{font-size:.58rem}}
.k-step__head{display:flex;align-items:center;justify-content:center;gap:.8rem;margin-bottom:.4rem;text-align:center}
.k-step .k-hint{text-align:center;margin-inline:auto}
.k-alt{justify-content:center}
.k-step__nav{justify-content:center}
.k-next{margin-left:0}
.k-step__num{
  width:2.2rem;height:2.2rem;border-radius:50%;flex:none;display:grid;place-items:center;
  font-family:var(--font-display);font-size:1.25rem;background:var(--purple);color:var(--white);
}
.k-step.is-done .k-step__num{background:var(--turquoise)}
.k-step h2{font-size:clamp(1.7rem,3.2vw,2.4rem)}
.k-hint{font-size:.95rem;color:var(--ink-soft);max-width:60ch;margin-bottom:1.2rem}
.k-hint b{color:var(--purple)}
.k-link{background:none;border:0;font:inherit;font-size:.85rem;font-weight:700;color:var(--purple);text-decoration:underline;text-underline-offset:2px;cursor:pointer;padding:0}
.k-link:hover{color:var(--plum-light)}
.k-link[hidden]{display:none}

.k-note{border-radius:16px;padding:.9rem 1.1rem;font-size:.9rem;line-height:1.5;margin-top:1.1rem}
.k-note--amber{background:var(--amber-bg);color:var(--amber-ink)}
.k-note--amber strong{color:inherit}
.k-note--info{background:var(--lilac-soft);color:var(--ink-soft);margin-top:.9rem}
.k-note--info b{color:var(--purple)}
.k-note[hidden]{display:none}
.k-inline-field{display:flex;align-items:center;gap:.6rem;margin:.7rem 0 .4rem;font-weight:700;font-size:.88rem}
.k-inline-field input{font:inherit;width:6rem;padding:.45rem .6rem;border:1.5px solid rgba(46,12,88,.25);border-radius:10px;background:var(--white);color:var(--purple)}
.k-alt{display:flex;flex-wrap:wrap;gap:.6rem 1.6rem;margin-top:1rem}

/* per-step footer with the Dalej button */
.k-step__nav{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1.5rem;padding-top:1rem;border-top:1px solid rgba(46,12,88,.08)}
.k-step__req{font-size:.82rem;font-weight:600;color:var(--plum-light);margin:0}
.k-step__req.is-hot{color:#a4262c}
.k-step__req[hidden]{display:none}
.k-next{margin-left:auto;min-width:10rem}

/* ---------- 1. school search ---------- */
.k-search{position:relative;margin-bottom:1rem}
.k-search__icon{position:absolute;left:1rem;top:50%;width:1.2rem;height:1.2rem;transform:translateY(-50%);color:var(--plum-light);pointer-events:none}
.k-search input{
  font:inherit;font-size:1.05rem;font-weight:500;color:var(--purple);width:100%;
  padding:.95rem 1rem .95rem 2.9rem;border:2px solid rgba(46,12,88,.2);border-radius:var(--radius-pill);background:var(--white);
}
.k-search input:focus{outline:none;border-color:var(--purple);box-shadow:0 0 0 4px rgba(197,169,244,.4)}
.k-search input::-webkit-search-cancel-button{-webkit-appearance:none}
.k-search__list{
  position:absolute;left:0;right:0;top:calc(100% + .4rem);z-index:20;list-style:none;
  background:var(--white);border-radius:18px;box-shadow:0 30px 60px -24px rgba(46,12,88,.45);
  border:1px solid rgba(46,12,88,.08);max-height:19rem;overflow-y:auto;
}
.k-search__list[hidden]{display:none}
.k-search__list li{display:grid;grid-template-columns:auto 1fr;gap:.2rem .7rem;align-items:center;padding:.65rem 1rem;cursor:pointer;border-bottom:1px solid rgba(46,12,88,.06)}
.k-search__list li:last-child{border-bottom:0}
.k-search__list li:hover,.k-search__list li[aria-selected="true"]{background:var(--lilac-soft)}
.k-search__list .t{grid-row:span 2;font-family:var(--font-display);font-size:.9rem;letter-spacing:.04em;background:var(--lilac);color:var(--purple);border-radius:8px;padding:.25rem .45rem;min-width:2.6rem;text-align:center}
.k-search__list .n{font-weight:600;font-size:.93rem;line-height:1.25}
.k-search__list .c{font-size:.8rem;color:var(--ink-soft)}
.k-search__list .more{display:block;padding:.6rem 1rem;font-size:.8rem;color:var(--ink-soft);cursor:default}
.k-search__status{font-size:.8rem;color:var(--ink-soft);min-height:1.2rem;margin:.35rem 0 0 1rem}

/* the map: bigger, bright basemap, no tint overlay */
.k-map-wrap{position:relative;border-radius:20px;overflow:hidden;background:#f1ecfa;height:26rem;box-shadow:inset 0 0 0 1px rgba(46,12,88,.08)}
@media (max-width:560px){.k-map-wrap{height:18rem}}
.k-map,.k-map.maplibregl-map{position:absolute!important;inset:0;width:100%;height:100%}
/* hint pill floating over the live map of Poland until a school is picked */
.k-map__empty{
  position:absolute;left:50%;bottom:1rem;transform:translateX(-50%);z-index:5;pointer-events:none;
  display:flex;align-items:center;gap:.5rem;max-width:calc(100% - 2rem);
  background:var(--white);color:var(--purple);font-size:.82rem;font-weight:600;text-align:left;
  padding:.55rem .9rem;border-radius:999px;box-shadow:0 14px 30px -14px rgba(46,12,88,.5);
}
.k-map__empty svg{width:1.3rem;height:1.3rem;color:var(--purple);flex:none}
.k-map__empty[hidden]{display:none}
.k-school-card{
  position:absolute;left:.8rem;bottom:.8rem;right:.8rem;max-width:22rem;z-index:5;
  background:var(--white);border-radius:14px;padding:.7rem .9rem;box-shadow:0 18px 36px -18px rgba(46,12,88,.5);
  display:flex;flex-direction:column;gap:.1rem;font-size:.85rem;
}
.k-school-card[hidden]{display:none}
.k-school-card strong{font-size:.95rem;line-height:1.25}
.k-school-card__type{font-family:var(--font-display);letter-spacing:.05em;font-size:.85rem;color:var(--plum-light)}
.k-school-card .k-link{align-self:flex-start;margin-top:.3rem}
.k-pin{width:38px;height:50px;cursor:default}
.k-pin svg{width:100%;height:100%;filter:drop-shadow(0 6px 10px rgba(46,12,88,.45))}
.k-pin::after{content:"";position:absolute;left:50%;top:50%;width:50px;height:50px;border-radius:50%;background:var(--lilac);opacity:.35;transform:translate(-50%,-60%);z-index:-1;animation:kpulse 1.8s ease-out infinite}
@keyframes kpulse{0%{transform:translate(-50%,-60%) scale(.5);opacity:.45}100%{transform:translate(-50%,-60%) scale(1.8);opacity:0}}
.maplibregl-ctrl-attrib{font-size:.6rem!important}

.k-manual{margin-top:1rem;font-size:.9rem}
.k-manual summary{cursor:pointer;font-weight:700;color:var(--plum-light);list-style:none;display:inline-flex;align-items:center;gap:.4rem}
.k-manual summary::-webkit-details-marker{display:none}
.k-step .k-manual{margin:.2rem 0 1rem}
.k-manual summary::before{content:"+";font-family:var(--font-display);font-size:1.2rem;line-height:1}
.k-manual[open] summary::before{content:"–"}
.k-manual .field-row{margin-top:.8rem}

/* ---------- big number + range ---------- */
.k-bignum{display:flex;align-items:baseline;gap:.5rem;justify-content:center;margin:.4rem 0 0}
.k-bignum--row{justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}
.k-bignum--row>div:first-child{display:flex;align-items:baseline;gap:.5rem}
.k-bignum__input{
  font-family:var(--font-display);font-size:clamp(3rem,8vw,4.6rem);line-height:.9;color:var(--purple);
  width:4.2ch;text-align:center;border:0;border-bottom:3px solid var(--lilac);background:var(--lilac-soft);border-radius:12px 12px 0 0;
  padding:.1em .1em 0;-moz-appearance:textfield;cursor:text;
}
.k-bignum__input::placeholder{color:rgba(46,12,88,.3)}
.k-bignum__input::-webkit-outer-spin-button,.k-bignum__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.k-bignum__input:focus{outline:none;border-bottom-color:var(--purple);box-shadow:0 0 0 4px rgba(197,169,244,.35)}
.k-bignum__unit{font-family:var(--font-display);font-size:1.4rem;letter-spacing:.03em;color:var(--plum-light)}
.k-type-hint{text-align:center;font-size:.72rem;font-weight:700;color:var(--plum-light);margin:.2rem 0 .4rem}
.k-bignum[hidden],.k-type-hint[hidden],.k-range[hidden],.k-range__ticks[hidden],.k-cheaper[hidden],.k-note--info[hidden]{display:none}

.k-range{-webkit-appearance:none;appearance:none;width:100%;height:10px;border-radius:999px;background:linear-gradient(90deg,var(--lilac) var(--fill,0%),rgba(46,12,88,.1) var(--fill,0%));outline:none;margin:.8rem 0 .2rem;display:block}
.k-range::-webkit-slider-thumb{-webkit-appearance:none;width:30px;height:30px;border-radius:50%;background:var(--purple);border:4px solid var(--white);box-shadow:0 6px 16px -4px rgba(46,12,88,.6);cursor:grab}
.k-range::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:var(--purple);border:4px solid var(--white);box-shadow:0 6px 16px -4px rgba(46,12,88,.6);cursor:grab}
.k-range:focus-visible{box-shadow:0 0 0 4px rgba(197,169,244,.5)}
.k-range__ticks{display:flex;justify-content:space-between;font-size:.7rem;font-weight:700;color:rgba(46,12,88,.4);padding-inline:.3rem}
.k-range__ticks .is-band{color:var(--purple)}
.k-range-wrap{position:relative}
.k-range__band{position:absolute;top:.8rem;height:10px;border-radius:999px;background:rgba(197,169,244,.6);pointer-events:none;z-index:0}
.k-range-wrap .k-range{position:relative;z-index:1;background:linear-gradient(90deg,rgba(197,169,244,.85) var(--fill,0%),rgba(46,12,88,.06) var(--fill,0%))}
.k-cheaper{display:flex;align-items:center;gap:.5rem;font-size:.68rem;font-weight:700;color:var(--plum-light);margin-top:.5rem;padding-inline:.3rem}
.k-cheaper i{flex:1;height:6px;border-radius:999px;background:linear-gradient(90deg,var(--lilac),var(--purple))}

/* ---------- crowd of headshots ---------- */
.k-crowd{display:flex;flex-wrap:wrap;gap:.22rem;justify-content:center;align-content:flex-start;margin-top:1.2rem;min-height:3rem;padding:.2rem}
.k-crowd svg,.k-group svg{width:1.35rem;height:1.35rem;fill:var(--lilac);animation:kpop .35s cubic-bezier(.2,.9,.3,1.3) backwards}
@keyframes kpop{from{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}
.k-crowd__legend{font-size:.75rem;color:var(--ink-soft);text-align:center;margin-top:.5rem;min-height:1.1rem}
.k-crowd__legend b{color:var(--purple)}

/* ---------- trainers: option tiles + custom ---------- */
.k-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr));gap:.6rem;padding-top:.6rem}
.k-opts button,.k-days button{
  position:relative;font:inherit;color:var(--purple);background:var(--white);border:2px solid rgba(46,12,88,.14);border-radius:18px;
  padding:.9rem .4rem .7rem;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:.05rem;
  transition:border-color .2s,background-color .2s,transform .15s ease;
}
.k-opts button b,.k-days button b{font-family:var(--font-display);font-weight:400;font-size:2.4rem;line-height:.9}
.k-opts button span,.k-days button span{font-size:.8rem;font-weight:700}
.k-opts button i,.k-days button i{font-style:normal;font-size:.68rem;color:var(--ink-soft);margin-top:.3rem;text-align:center;line-height:1.2}
.k-opts button em,.k-days button em{
  position:absolute;top:-.6rem;left:50%;transform:translateX(-50%);font-style:normal;font-size:.62rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.05em;background:var(--orange);color:var(--purple);border-radius:999px;padding:.15rem .55rem;white-space:nowrap;
}
.k-opts button:hover,.k-days button:hover{transform:translateY(-2px);border-color:var(--purple)}
.k-opts button[aria-pressed="true"],.k-days button[aria-pressed="true"]{background:var(--purple);color:var(--white);border-color:var(--purple)}
.k-opts button[aria-pressed="true"] i,.k-days button[aria-pressed="true"] i{color:rgba(255,255,255,.78)}
.k-custom{margin-top:1.1rem;padding:.8rem 1.1rem .8rem;border-radius:18px;background:var(--lilac-soft)}
.k-custom__label{text-align:center;font-size:.78rem;font-weight:700;color:var(--plum-light);margin-bottom:.2rem}
.k-custom .k-bignum__input{background:var(--white)}
.k-ratio{display:flex;flex-direction:column;align-items:flex-end;gap:.15rem;text-align:right}
.k-ratio__fig{font-size:1rem;font-weight:600;color:var(--ink-soft)}
.k-ratio__fig b{font-family:var(--font-display);font-size:1.7rem;letter-spacing:.02em;color:var(--purple);line-height:1}
.k-ratio__band{font-size:.78rem;font-weight:700;padding:.2rem .6rem;border-radius:999px;background:var(--lilac-soft);color:var(--purple);border:1.5px solid var(--lilac)}
.k-ratio__band.is-off{background:var(--amber-bg);color:var(--amber-ink)}
@media (max-width:560px){.k-ratio{align-items:flex-start;text-align:left}}

.k-groups{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin-top:1.2rem;padding:.2rem}
.k-group{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.45rem .5rem .35rem;border-radius:14px;background:var(--lilac-soft);border:1.5px solid transparent;animation:kpop .3s ease backwards}
.k-group--ideal{border-color:var(--lilac)}
.k-ratio__band:empty{display:none}
.k-group--high{border-color:var(--plum-light);border-style:dashed;background:var(--amber-bg)}
.k-group__trainer svg{width:2rem;height:2rem;fill:var(--purple)}
.k-group__trainer svg .hs-star{fill:var(--orange)}
.k-group__kids{display:flex;flex-wrap:wrap;gap:.12rem;justify-content:center;max-width:6.6rem}
.k-group__kids svg{width:.95rem;height:.95rem}
.k-group__n{font-size:.68rem;font-weight:700;color:var(--ink-soft)}
.k-groups--compact .k-group{padding:.35rem .4rem}
.k-groups--compact .k-group__kids{max-width:4.4rem}
.k-groups--compact .k-group__kids svg{width:.7rem;height:.7rem}

/* ---------- days ---------- */
.k-days{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem;padding-top:.6rem}
.k-days button{padding:1.1rem .4rem .9rem}
.k-days button b{font-size:3rem}
.k-days--short{grid-template-columns:repeat(2,1fr);max-width:22rem;margin-top:.5rem;padding-top:.2rem}
.k-days--short button{border-style:dashed;padding:.7rem .4rem .6rem}
.k-days--short button b{font-size:2rem}
.k-days--short button i{color:var(--amber-ink)}
.k-days--short button[aria-pressed="true"] i{color:var(--orange)}
.k-days__best{border-color:rgba(46,12,88,.4)}
.k-days__slider{margin-top:1.1rem;padding:.6rem 1.1rem .7rem;border-radius:18px;background:var(--lilac-soft)}
.k-days__slider .k-range{margin-top:.4rem}
.k-days__chosen{margin-top:1rem;font-size:.95rem;color:var(--ink-soft);text-align:center}
.k-days__chosen b{color:var(--purple)}
.k-days__chosen[hidden]{display:none}
@media (max-width:560px){.k-days{gap:.4rem}.k-days button b{font-size:2.2rem}.k-days button i{font-size:.6rem}}

/* ---------- themes ---------- */
.k-themes{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem}
@media (max-width:700px){.k-themes{grid-template-columns:repeat(2,1fr)}}
.k-themes button{
  font:inherit;color:var(--purple);background:var(--white);border:2px solid rgba(46,12,88,.14);border-radius:18px;
  padding:.95rem .9rem .85rem;cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:.15rem;
  transition:border-color .2s,background-color .2s,transform .15s ease;
}
.k-themes button:hover{transform:translateY(-2px);border-color:var(--purple)}
.k-themes button b{font-size:.95rem}
.k-themes button span:last-child{font-size:.78rem;color:var(--ink-soft);line-height:1.35}
.k-theme__ico{font-size:1.5rem;line-height:1;margin-bottom:.3rem}
.k-themes button[aria-pressed="true"]{background:var(--purple);color:var(--white);border-color:var(--purple)}
.k-themes button[aria-pressed="true"] span:not(.k-theme__ico){color:rgba(255,255,255,.78)}
.k-themes button{position:relative}
.k-themes button.is-soon{border-style:dashed;opacity:.6;cursor:default;background:var(--lilac-soft)}
.k-themes button.is-soon:hover{transform:none;border-color:rgba(46,12,88,.14)}
.k-themes button em{position:absolute;top:.6rem;right:.6rem;font-style:normal;font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;background:var(--orange);color:var(--purple);border-radius:999px;padding:.15rem .5rem}
@media (max-width:700px){.k-themes{grid-template-columns:repeat(2,1fr)}}
.k-themes{grid-template-columns:repeat(4,1fr)}
@media (max-width:760px){.k-themes{grid-template-columns:repeat(2,1fr)}}
.k-theme-alt{display:flex;justify-content:center;flex-wrap:wrap;gap:.6rem 1.8rem;margin-top:1rem}
.k-theme-alt .k-link.is-active{color:var(--white);background:var(--purple);text-decoration:none;border-radius:999px;padding:.35rem .9rem}
#theme-own{margin-top:1rem;max-width:36rem;margin-inline:auto}
#theme-own[hidden]{display:none}

/* ---------- term: wall calendar ---------- */
.k-cal{border:2px solid rgba(46,12,88,.12);border-radius:20px;padding:.9rem 1rem 1rem;margin-bottom:1.2rem;background:var(--white)}
.k-cal__head{display:flex;align-items:center;justify-content:center;gap:1.2rem;margin-bottom:.8rem}
.k-cal__head b{font-family:var(--font-display);font-weight:400;font-size:2rem;letter-spacing:.04em;line-height:1}
.k-cal__arrow{font:inherit;font-size:1.4rem;line-height:1;width:2.2rem;height:2.2rem;border-radius:50%;border:2px solid rgba(46,12,88,.2);background:var(--white);color:var(--purple);cursor:pointer}
.k-cal__arrow:hover{border-color:var(--purple)}
.k-cal__arrow:disabled{opacity:.3;cursor:default}
.k-cal__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}
@media (max-width:700px){.k-cal__grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:420px){.k-cal__grid{grid-template-columns:repeat(2,1fr)}}
.k-cal__grid button{
  position:relative;font:inherit;color:var(--purple);background:var(--white);border:2px solid rgba(46,12,88,.12);border-radius:14px;
  padding:.55rem .55rem .5rem;cursor:pointer;display:flex;flex-direction:column;gap:.35rem;text-align:left;
  transition:border-color .2s,background-color .2s,transform .15s ease;
}
.k-cal__grid button b{font-size:.8rem;font-weight:700;text-transform:capitalize}
.k-cal__dots{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.k-cal__dots i{display:block;height:5px;border-radius:2px;background:rgba(46,12,88,.16)}
.k-cal__dots i.e{background:transparent}
.k-cal__grid button em{position:absolute;top:.45rem;right:.5rem;font-style:normal;font-size:.58rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--plum-light)}
.k-cal__grid button:hover:not(:disabled){transform:translateY(-2px);border-color:var(--purple)}
.k-cal__grid button.is-holiday{border-style:dashed;background:var(--beige)}
.k-cal__grid button.is-past,.k-cal__grid button:disabled{opacity:.4;cursor:default;background:#f6f4fa}
.k-cal__grid button[aria-pressed="true"]{background:var(--purple);color:var(--white);border-color:var(--purple)}
.k-cal__grid button[aria-pressed="true"] .k-cal__dots i{background:rgba(255,255,255,.4)}
.k-cal__grid button[aria-pressed="true"] em{color:var(--lilac)}
.k-cal__legend{font-size:.7rem;color:var(--ink-soft);margin-top:.7rem;display:flex;align-items:center;gap:.3rem;flex-wrap:wrap}
.k-cal__legend i{display:inline-block;width:.8rem;height:.8rem;border-radius:4px;border:1.5px solid rgba(46,12,88,.2);vertical-align:middle}
.k-cal__legend i.is-past{background:#f6f4fa;opacity:.6}
.k-cal__legend i.is-holiday{background:var(--beige);border-style:dashed}
.k-cal__legend i.is-sel{background:var(--purple);border-color:var(--purple)}

/* ---------- result ---------- */
.k-step--result{border-top-color:var(--orange)}
.k-price{display:flex;align-items:baseline;justify-content:center;gap:.5rem;flex-wrap:wrap;margin-top:.6rem;line-height:1}
.k-price b{font-family:var(--font-display);font-weight:400;font-size:clamp(3.4rem,9vw,5.6rem);letter-spacing:.01em;line-height:.86}
.k-price__unit{font-family:var(--font-display);font-size:1.6rem;display:flex;flex-direction:column;align-items:flex-start;line-height:1}
.k-price__unit small{font-family:var(--font-body);font-size:.68rem;font-weight:700;color:var(--ink-soft);letter-spacing:.02em}
.k-price__for{text-align:center;font-weight:700;font-size:.95rem;margin-top:.7rem}
.k-price__total{text-align:center;font-size:.88rem;color:var(--ink-soft);margin-top:.25rem}
.k-included{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:.4rem .9rem;max-width:36rem;margin:1.2rem auto 0;font-size:.88rem;color:var(--ink-soft)}
.k-included li{position:relative;padding-left:1.5rem}
.k-included li::before{content:"✓";position:absolute;left:0;top:0;font-weight:700;color:var(--turquoise)}
.k-included b{color:var(--purple)}
@media (max-width:560px){.k-included{grid-template-columns:1fr}}
.k-price__note{text-align:center;font-size:.82rem;color:var(--ink-soft);max-width:52ch;margin:1.1rem auto 0}
.k-custom-lead{font-size:1rem;color:var(--ink-soft);max-width:60ch}
#result-priced[hidden],#result-custom[hidden]{display:none}

.k-form{margin-top:1.8rem;padding-top:1.5rem;border-top:1px solid rgba(46,12,88,.1)}
.k-form h3{margin-bottom:.4rem;font-size:1.3rem}
.k-form .btn{width:100%;font-size:1.02rem;padding:.85rem}
.k-form__error{font-size:.85rem;color:#a4262c;background:#fde8e8;border-radius:10px;padding:.6rem .8rem;margin-bottom:.8rem}
.k-form__error[hidden]{display:none}
.k-form[hidden]{display:none}
.k-done{text-align:center;margin-top:1.6rem;padding-top:1.5rem;border-top:1px solid rgba(46,12,88,.1);display:flex;flex-direction:column;align-items:center;gap:.6rem}
.k-done[hidden]{display:none}
.k-done p{font-size:.95rem;color:var(--ink-soft);max-width:44ch}
.k-done .btn{margin-top:.4rem}

/* ---------- the reveal popup ---------- */
.k-reveal{
  /* the global reset zeroes dialog margins; restore auto so the top layer centres it */
  position:fixed;inset:0;margin:auto;
  border:0;padding:0;max-width:min(34rem,92vw);width:100%;height:fit-content;max-height:calc(100dvh - 2rem);border-radius:28px;
  overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;   /* 9 Nov: taller than the screen → it scrolls itself */
  background:var(--white);color:var(--purple);box-shadow:0 60px 120px -40px rgba(30,8,56,.7);
}
.k-reveal[open]{animation:modalpop .36s cubic-bezier(.2,.85,.3,1.15)}
.k-reveal::backdrop{background:rgba(30,8,56,.6);backdrop-filter:blur(4px)}
@keyframes modalpop{from{opacity:0;transform:translateY(24px) scale(.96)}to{opacity:1;transform:none}}
.k-reveal__body{position:relative;padding:2.4rem 2rem 2rem;text-align:center;overflow:hidden;border-top:8px solid var(--orange)}
.k-reveal__body .swirl-bg{color:var(--lilac);opacity:.12}
.k-reveal__body>*:not(.swirl-bg):not(.k-confetti):not(.k-reveal__close){position:relative;z-index:2}
@media (max-width:560px){.k-reveal__body{padding:2rem 1.2rem 1.6rem}}
.k-reveal__loading{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:2rem 0 2.4rem;min-height:14rem;justify-content:center}
.k-reveal__loading p{font-weight:700;font-size:1.05rem;color:var(--plum-light);animation:kfade .4s ease}
.k-reveal__loading[hidden]{display:none}
@keyframes kfade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.k-reveal__spinner{width:3.4rem;height:3.4rem;border-radius:50%;border:5px solid var(--lilac-soft);border-top-color:var(--purple);animation:kspin .9s linear infinite}
@keyframes kspin{to{transform:rotate(360deg)}}
.k-reveal__result{display:flex;flex-direction:column;align-items:center;gap:.4rem;animation:kfade .5s ease}
.k-reveal__result[hidden]{display:none}
.k-reveal__logo{height:2.4rem;width:auto;margin-bottom:.4rem}
.k-reveal__result .k-price{margin-top:.2rem;animation:kpricein .6s cubic-bezier(.2,.9,.3,1.25) .15s backwards}
@keyframes kpricein{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
.k-reveal__result .k-price[hidden]{display:none}
.k-reveal__for{font-size:.85rem;font-weight:600;color:var(--ink-soft);max-width:34ch}
.k-reveal__for[hidden]{display:none}
.k-reveal__custom{font-size:.95rem;color:var(--ink-soft);max-width:40ch;line-height:1.5}
.k-reveal__custom[hidden]{display:none}
.k-reveal__lead{font-size:.9rem;color:var(--ink-soft);max-width:40ch;margin-top:.4rem}
.k-reveal__lead b{color:var(--purple)}
.k-reveal__cta{font-size:1.1rem;padding:1.05rem 2.4rem;margin-top:1rem;box-shadow:0 18px 36px -16px rgba(46,12,88,.7);animation:kcta 1.8s ease-in-out infinite}
@keyframes kcta{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.k-reveal__cta:hover{animation:none;transform:translateY(-3px)}
.k-reveal__foot{font-size:.76rem;color:var(--ink-soft);margin-top:.4rem}
.k-reveal__body .k-reveal__close{position:absolute;top:.9rem;right:.9rem;z-index:3;width:2.2rem;height:2.2rem;border-radius:50%;border:0;background:rgba(46,12,88,.08);color:var(--purple);font:inherit;font-size:.95rem;cursor:pointer}
.k-reveal__close:hover{background:rgba(46,12,88,.18)}
.k-confetti{position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}
.k-confetti i{position:absolute;top:-12px;display:block;border-radius:2px;opacity:0;animation:kconf linear forwards}
@keyframes kconf{0%{opacity:1;transform:translateY(0) rotate(0)}100%{opacity:0;transform:translateY(34rem) rotate(540deg)}}

/* ---------- summary rail ---------- */
.k-summary{
  position:sticky;top:5rem;background:var(--purple);color:var(--white);border-radius:22px;padding:1.3rem 1.3rem 1.1rem;
  box-shadow:0 34px 66px -44px rgba(0,0,0,.6);overflow:hidden;
}
.k-summary__kicker{display:block;font-family:var(--font-display);font-size:1.3rem;letter-spacing:.04em;color:var(--lilac);margin-bottom:.6rem}
.k-summary__steps{list-style:none;display:flex;flex-direction:column;gap:.4rem}
.k-summary__steps li{display:grid;grid-template-columns:1.4rem 1fr;gap:.1rem .5rem;align-items:center;font-size:.8rem;border-bottom:1px dashed rgba(255,255,255,.14);padding-bottom:.35rem}
.k-summary__steps span{grid-row:span 2;width:1.4rem;height:1.4rem;border-radius:50%;display:grid;place-items:center;font-family:var(--font-display);font-size:.85rem;background:rgba(255,255,255,.14);color:rgba(255,255,255,.7)}
.k-summary__steps li.is-done span{background:var(--lilac);color:var(--white);font-size:0}
.k-summary__steps li.is-done span::before{content:"✓";font-size:.75rem;font-weight:700;font-family:var(--font-body)}
.k-summary__steps em{font-style:normal;color:rgba(255,255,255,.6);font-weight:600;font-size:.72rem}
.k-summary__steps b{font-weight:600;overflow-wrap:anywhere;line-height:1.25}
.k-summary__price{margin-top:1rem;background:var(--white);color:var(--purple);border-radius:14px;padding:.75rem .9rem;display:flex;flex-direction:column;align-items:center;gap:.05rem;animation:kpop .3s ease}
.k-summary__price span{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--plum-light)}
.k-summary__price b{font-family:var(--font-display);font-weight:400;font-size:1.9rem;letter-spacing:.02em;line-height:1}
.k-summary__price small{font-size:.68rem;color:var(--ink-soft);font-weight:600}
.k-summary__price[hidden]{display:none}
.k-summary__foot{font-size:.72rem;color:rgba(255,255,255,.55);margin-top:.8rem;line-height:1.4}
@media (max-width:900px){
  .k-summary{position:static;order:2}
  .k-summary__steps{display:grid;grid-template-columns:1fr 1fr;gap:.3rem .9rem}
}

/* 9 Nov: the note about automatic reminders above the consent (same small size as the consent) */
.k-quick .k-quick__info{font-size:.74rem;line-height:1.45;color:var(--ink-soft);margin:-.1rem 0 0;text-align:left}
/* while the pop-up is open the page behind it does not scroll */
html.k-lock{overflow:hidden}
