/* artizokids.sk — the same atelier on a sunny Wednesday afternoon.
   Same type system, grid and photo treatment as the studio (../shared/css/system.css);
   this file re-tunes the tokens (brighter paper, five pigments, the Infant cut of Ysabeau,
   rounder controls, bigger targets) and adds the kids-only sections.                     */

:root {
  --paper: #FAF5EC;
  --paper-2: #F4EDE0;
  --paper-3: #EADFCB;
  --card: #FFFCF6;
  --accent: #2347B5;        /* cobalt, one notch brighter than the studio's ultramarine; 7.3 : 1 */
  --accent-ink: #1A3790;
  --accent-wash: #E1E7F7;
  --p1: #F2B22E; --p2: #E04A2F; --p3: #D63E73; --p4: #1C7A62; --p5: #2B3D9B;
  --p1-wash: #FCEFCB; --p2-wash: #FADFD6; --p3-wash: #F9E2E9; --p4-wash: #DCEDE6; --p5-wash: #E1E5F4;
  --sans: "Ysabeau Infant", "Segoe UI", system-ui, -apple-system, sans-serif;
  --head: var(--sans); --head-weight: 760; --head-track: -.01em;
  --display: var(--sans); --display-weight: 800;
  --r-btn: 999px; --r-card: 20px; --r-field: 12px;
  --fs-display: clamp(2.7rem, 1.4rem + 4.8vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.2vw, 3.3rem);
  --fs-h3: clamp(1.4rem, 1.2rem + .7vw, 1.85rem);
}
.btn { --h: 54px; }
.btn--lg { --h: 58px; }
.btn--sm { --h: 46px; }
.section--cobalt { background-color: #E8EDF9; }
.section--sun { background-color: #FCF1D4; }
.section--rose { background-color: #F9E6EB; }
.hero__h1 { font-weight: 750; }

/* the display line: bold Infant sans, then the serif italic carried on a hand-painted cadmium stroke */
.display .d2 { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -.01em; color: var(--accent); padding: 0 .06em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cfilter id='r' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.03 .7' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='6' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cpath filter='url(%23r)' fill='%23F2B22E' fill-opacity='.8' d='M6 24C40 13 112 10 182 12s96 3 112 7c3 6-4 12-24 13-70 3-150 2-210 3-22 0-56 0-54-11z'/%3E%3C/svg%3E") no-repeat 0 92% / 100% .46em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* hero: a small salon hang — the scene and its detail */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.6rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .35rem .95rem .35rem .7rem; background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-small); font-weight: 700; }
.chip .i { width: 1.4rem; height: 1.4rem; color: var(--accent); }
@media (max-width: 599px) { .chips { gap: 6px; } .chip { min-height: 38px; padding: .3rem .75rem .3rem .55rem; font-size: .875rem; gap: .4rem; } .chip .i { width: 1.2rem; height: 1.2rem; } }
.hero__salon { padding-bottom: 0; }
.hero__detail { position: absolute; left: var(--gutter); bottom: -28px; width: 34%; border: 6px solid var(--card); background: var(--card); box-shadow: var(--shadow-card); }
.hero__detail .plate__img { aspect-ratio: 3 / 4; }
.hero--kids .hero__salon { margin-bottom: 28px; }
@media (min-width: 600px) { .hero__detail { left: 16px; } }
@media (min-width: 960px) {
  .hero--kids .hero__salon { margin-bottom: 0; padding-left: 15%; }
  .hero__detail { left: 0; top: 64px; bottom: auto; width: 31%; border-width: 8px; z-index: 1; }
}

/* ---------- Age groups: paint-chip tabs ---------- */
.tabs__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
.chip-tab { display: flex; flex-direction: column; align-items: stretch; gap: .55rem; min-height: 86px; padding: 8px 8px 10px; text-align: left;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; font: 750 .9375rem/1.15 var(--sans);
  transition: transform .3s var(--ease), border-color .2s, box-shadow .3s var(--ease); }
.chip-tab__swatch { display: block; height: 26px; }
.chip-tab__swatch svg { width: 100%; height: 100%; overflow: visible; }
.chip-tab__swatch path { fill: var(--pig); }
.chip-tab:hover { transform: translateY(-2px); border-color: var(--line-2); }
.chip-tab[aria-selected="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), var(--shadow-soft); }
.chip-tab__label { overflow-wrap: anywhere; }
@media (min-width: 600px) { .tabs__list { gap: 12px; } .chip-tab { min-height: 104px; padding: 12px 14px 14px; font-size: 1.125rem; } .chip-tab__swatch { height: 34px; } }
.tab-panel { display: grid; gap: 1.5rem; padding: clamp(1rem, .8rem + 1.4vw, 2rem); background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.tab-panel__plate { overflow: hidden; border-radius: 12px; }
.tab-panel__plate .plate__img { aspect-ratio: 4 / 3; }
.tab-panel__body { display: grid; gap: .9rem; align-content: center; }
.tab-panel__age { justify-self: start; padding: .3em .85em; border-radius: 999px; background: color-mix(in srgb, var(--pig) 24%, var(--card)); font-weight: 800; font-size: .9375rem; }
.tab-panel__text { max-width: 52ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); }
.tab-panel__facts { display: grid; gap: .45rem; padding-block: .9rem; border-block: 1px solid var(--line); font-weight: 700; }
.tab-panel__facts li { display: flex; align-items: center; gap: .55rem; }
.tab-panel__facts .i { color: var(--accent); }
.tab-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
@media (min-width: 900px) {
  .tab-panel { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
  .tab-panel__plate .plate__img { aspect-ratio: 4 / 4.4; height: 100%; }
}

/* ---------- Timetable & prices ---------- */
.schedule__grid { display: grid; gap: 2rem; margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.timetable { --tt-label: 0px; padding: clamp(1.1rem, .9rem + 1.2vw, 2rem); background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow-soft); }
.tt-hours { position: relative; height: 1.5rem; margin-left: var(--tt-label); margin-right: 14px; font-size: .75rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tt-hours span { position: absolute; left: calc(var(--h) / var(--tt-span, 5) * 100%); transform: translateX(-50%); }
.tt-rows { display: grid; }
.tt-row { display: grid; grid-template-columns: var(--tt-label) minmax(0, 1fr); align-items: center; gap: .4rem 14px; padding: .7rem 0; border-top: 1px solid var(--line); }
.tt-day { font-weight: 750; }
.tt-track { position: relative; height: 46px; margin-right: 14px;
  background: repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px 20%), linear-gradient(var(--paper), var(--paper));
  background-size: 100% 100%; border-radius: 10px; box-shadow: inset -1px 0 0 var(--line); }
.tt-bar { position: absolute; top: 6px; bottom: 6px; left: calc(var(--a) / var(--tt-span, 5) * 100%); width: calc((var(--b) - var(--a)) / var(--tt-span, 5) * 100%);
  display: flex; align-items: center; gap: 5px; padding: 0 10px; background: var(--accent-wash); border: 1.5px solid var(--accent); border-radius: 10px; }
.tt-dot { display: inline-block; flex: none; width: 15px; height: 15px; border-radius: 50%; background: var(--pig); box-shadow: 0 0 0 2px var(--card); }
.tt-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 700; }
.tt-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.tt-note { margin-top: .75rem; font-size: .875rem; color: var(--ink-3); }
/* phones: the day rows already state the times — the bar becomes a pill with the age-group dots, no hour axis */
@media (max-width: 599px) { .tt-row { grid-template-columns: minmax(0, 1fr); } .tt-hours { display: none; }
  .tt-track { height: auto; margin-right: 0; background: none; box-shadow: none; }
  .tt-bar { position: static; display: inline-flex; width: auto; padding: 7px 12px; } }
@media (min-width: 600px) { .timetable { --tt-label: 11.5rem; } }
.prices { display: grid; gap: 12px; align-content: start; }
.price-cards { display: grid; gap: 10px; }
.price-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "badge badge" "title price" "note price"; column-gap: 1rem; row-gap: .15rem; align-items: center;
  padding: 1.05rem 1.25rem; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; }
.price-card__badge { grid-area: badge; justify-self: start; margin-bottom: .55rem; padding: .25em .8em; border-radius: 999px; background: var(--p1); color: var(--ink); font-size: .8125rem; font-weight: 800; }
.price-card__title { grid-area: title; font: 750 1.125rem/1.2 var(--sans); }
.price-card__price { grid-area: price; font: 600 2.6rem/1 var(--serif); letter-spacing: -.01em; }
.price-card__note { grid-area: note; font-size: .875rem; color: var(--ink-2); }
.price-card--best { padding-block: 1.35rem; background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: var(--shadow-card); }
.price-card--best .price-card__note { color: #DDD5C7; }
.price-card--best .price-card__price { font-size: 3rem; }
.prices__trial { display: flex; align-items: center; gap: .55rem; margin-top: .35rem; font-weight: 700; }
.prices__trial .i { color: var(--accent); }
.prices .btn { justify-self: start; margin-top: .35rem; }
@media (min-width: 1000px) { .schedule__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 32px; align-items: start; } }

/* ---------- Why parents choose ARTIZO ---------- */
.why__grid { display: grid; gap: 2.5rem; }
.why__plate { margin-top: 2rem; overflow: hidden; border-radius: 0; }
.why__plate .plate__img { aspect-ratio: 4 / 4.6; }
.why__list { display: grid; gap: 2rem 2.5rem; }
.why__item { position: relative; padding-left: 3.6rem; }
.why__mark { position: absolute; left: 0; top: -.15rem; width: 2.7rem; height: 2.7rem; }
.why__mark svg { width: 100%; height: 100%; overflow: visible; }
.why__mark path { fill: var(--pig); }
.why__title { margin-bottom: .35rem; font: 760 1.4rem/1.2 var(--head); }
.why__text { color: var(--ink-2); }
@media (min-width: 640px) { .why__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .why__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .why__intro { grid-column: 1 / 5; }
  .why__list { grid-column: 6 / 13; padding-top: .5rem; row-gap: 2.75rem; }
}

/* ---------- Holiday camps ---------- */
.camps__grid { display: grid; gap: 2.5rem; }
.camps__salon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-content: start; }
.camps__salon li:first-child { grid-column: 1 / -1; }
.camps__salon li:first-child .plate__img { aspect-ratio: 16 / 10; }
.camps__salon .plate__img { aspect-ratio: 3 / 4; }
.camps__body { display: grid; align-content: start; }
.camp { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-2); }
.camp:first-child { padding-top: 0; }
.camp > .i { width: 1.7rem; height: 1.7rem; margin-top: .15rem; color: var(--p4); }
.camp__title { margin-bottom: .3rem; font: 760 1.45rem/1.2 var(--head); }
.camp p { color: var(--ink-2); }
.camps__allowance { display: flex; gap: .75rem; margin: 1.4rem 0; padding: 1rem 1.1rem; background: var(--card); border-radius: 14px; font-size: var(--fs-small); line-height: 1.5; }
.camps__allowance .i { margin-top: .1rem; color: var(--accent); }
.waitlist { display: grid; gap: .5rem; }
.waitlist label { font-weight: 750; }
.waitlist__row { display: flex; flex-wrap: wrap; gap: 8px; }
.waitlist input { flex: 1 1 220px; min-height: 54px; padding: .7rem 1rem; background: var(--card); border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 1rem; }
.waitlist input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.waitlist input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-wash); }
.waitlist .btn { flex: 1 1 auto; }
.waitlist .form__success { margin-top: .4rem; }
.waitlist.is-sent > :not(.form__success) { display: none; }
@media (min-width: 960px) {
  .camps__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .camps__salon { grid-column: 1 / 7; }
  .camps__body { grid-column: 8 / 13; }
}

/* ---------- Seasonal workshops ---------- */
.holiday__grid { display: grid; gap: 20px; margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.holiday__next { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow-soft); text-decoration: none; }
.holiday__next img { width: 100%; aspect-ratio: 1132 / 466; object-fit: cover; }
.holiday__next-body { display: grid; gap: .3rem; padding: 1.25rem 1.4rem 1.4rem; }
.holiday__kicker { position: absolute; left: 12px; top: 12px; padding: .35em .8em; border-radius: 999px; background: var(--p1); color: var(--ink); font-size: .8125rem; font-weight: 800; }
.holiday__next-title { font: 760 1.6rem/1.15 var(--head); }
.holiday__next-when { color: var(--ink-2); font-weight: 600; }
.holiday__next-link { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; margin-top: .3rem; font-weight: 750; color: var(--accent); }
.holiday__card { display: grid; overflow: hidden; background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow-soft); }
.holiday__plate .plate__img { aspect-ratio: 4 / 3; height: 100%; }
.holiday__body { display: grid; gap: .75rem; align-content: center; padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.holiday__body .btn { justify-self: start; }
.holiday__date { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; color: #C2381F; }
@media (min-width: 700px) { .holiday__card { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .holiday__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); align-items: stretch; } }

/* ---------- Birthday parties ---------- */
.parties__grid { display: grid; gap: 2.25rem; align-items: center; }
.parties__plate { overflow: hidden; border-radius: var(--r-card); }
.parties__plate .plate__img { aspect-ratio: 4 / 3; }
.parties__text { margin: 1rem 0 1.25rem; max-width: 48ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); }
.parties__meta { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; font-weight: 750; }
.parties__meta .i { color: var(--accent); }
@media (min-width: 960px) {
  .parties__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .parties__plate { grid-column: 1 / 7; }
  .parties__body { grid-column: 8 / 13; }
}

/* ---------- Teacher (parents' framing) ---------- */
.teacher--kids .teacher__plates { padding-bottom: 0; }
.teacher--kids .teacher__main .plate__img { aspect-ratio: 4 / 5; }

/* ---------- Parent reviews: frames waiting for words ---------- */
.reviews--kids .rating__text { min-height: 44px; }
.quotes--slots .quote--slot:first-child { grid-column: 1 / -1; min-height: 190px; }
.quote--empty { display: grid; place-items: center; min-height: 150px; }
@media (max-width: 699px) { .quote--empty { display: none; } }
.quote--empty span { font: 600 5rem/1 var(--serif); color: var(--line-2); }
