
/* Page frame — full bleed. The Figma canvas is 1512px wide, but the coloured
     bands must run edge to edge on any display; what stays fixed is the CONTENT
     column inside them: 1384px (1512 − 2×64 padding), centred. Sections whose
     content is stretch-width use the --gutter padding below, the rest already
     centre their fixed-width children. */
/* Typography ------------------------------------------------ */
/* Figma tokens: H2 Medium 40/52 tracking -0.5% (-0.2px), H3 Medium 28/38 -0.3% (-0.084px) */
.h2 { font-family: 'Ubuntu'; font-weight: 500; font-size: 40px; line-height: 52px; letter-spacing: -.2px; }
.h3 { font-family: 'Ubuntu'; font-weight: 500; font-size: 28px; line-height: 38px; letter-spacing: -.084px; }
/* CTA buttons ---------------------------------------------- */

/* News Bar ------------------------------------------------- */
/* Figma 3030:3997 — 62px bar, 20/32 Off White Neutral copy */

/* Landing -------------------------------------------------- */
/* Figma 794:3250 — the hero is the same 1141px frame as the subpages: the news
     bar, then the navbar 40px under it, then a 158px gap before the content. */
.landing {
    background: var(--bole); color: var(--off-white);
    border-radius: 0 0 100px 100px;
    padding: 40px 64px 314px; min-height: 1085px;
    display: flex; flex-direction: column; align-items: center; gap: 158px;
    overflow: hidden;
    position: relative;
  }

/* ---- Hero headline block ------------------------------------------------
     Figma 794:3259 draws it at 1512: a 737px text column next to the 396px decor
     cluster, inside 134px gutters. Below 1512 the two must shrink TOGETHER or the
     shapes crash into the pill, so the whole block hangs off ONE knob — the H1
     size on .hero-left — and every inner measure is em of it. The knob is the
     exact linear fit of the Figma geometry: 64px at 1512, scaling so
     737+396+gap always fits the gutters, floored at 38px. */
/* Figma 794:3260 — line 1 is the word "Jsme" followed by the MARCO wordmark
     (325.5x72, pumpkin), 20px apart; the H1 no longer spells the name out. */
.hero-text { font-family: 'Ubuntu'; font-weight: 400; font-size: 20px; line-height: 32px; letter-spacing: .1px; max-width: 494px; color: var(--off-white); }
/* Hero decorative shapes */
/* Figma 794:3270 — a 396x298.45 cluster. The box scales on the same curve as
     the headline and every shape is placed in PERCENT of it, so the whole
     cluster shrinks as one piece and never overlaps the text column. */
/* ==== Desktop hero "Concept C · Activity Stage" (Figma 3030:3961, 1513 wide) ====
     Everything is drawn in Figma px and scaled by --k (1px at >=1513, shrinking
     with the hero width below), so the stage keeps its proportions. Phones keep
     the original hero (.landing-content); the stage is not rendered there. */
.stage, .m-stage { display: none; }
/* phone-only inline copy variant (shown in the ≤620px block) */
@media (min-width: 621px) {
  .frame.has-hero > .landing.landing--stage,
    .landing.landing--stage {
      background: var(--van-dyke); container-type: inline-size;
      --k: min(1px, calc(100cqw / 1513));
      --tw: calc((100cqw - 128 * var(--k)) / 6);   /* one tile's width */
      min-height: 0; gap: 0; border-radius: 0 0 calc(64 * var(--k)) calc(64 * var(--k));
      padding: calc(226 * var(--k)) 0 calc(90 * var(--k));
      justify-content: flex-start; align-items: stretch;
    }
  .stage { display: block; }
  .stage-title { display: flex; flex-direction: column; align-items: center; gap: calc(22 * var(--k)); padding: 0 calc(64 * var(--k)) calc(44 * var(--k)); }
  .st-line1 { display: flex; align-items: flex-end; gap: calc(28 * var(--k)); }
  .st-h { font-family: 'Ubuntu'; font-weight: 700; font-size: calc(136 * var(--k)); line-height: calc(136 * var(--k)); letter-spacing: calc(-2.72 * var(--k)); color: #EBE7DC; white-space: nowrap; }
  .st-wordmark { width: calc(596.884 * var(--k)); height: calc(132 * var(--k)); flex: 0 0 auto; }
  .st-line2 { position: relative; width: calc(825.345 * var(--k)); height: calc(120.885 * var(--k)); }
  .st-h2 { position: absolute; left: 0; top: calc(6 * var(--k)); font-family: 'Ubuntu'; font-weight: 700; font-size: calc(72 * var(--k)); line-height: calc(80 * var(--k)); letter-spacing: calc(-.72 * var(--k)); color: #EBE7DC; white-space: nowrap; }
  .st-pillbox { position: absolute; left: calc(342.98 * var(--k)); top: 0; width: calc(482.369 * var(--k)); height: calc(120.885 * var(--k)); display: flex; align-items: center; justify-content: center; }
  .st-pill { display: block; transform: rotate(3deg); background: var(--mid-teal); border-radius: calc(20 * var(--k)); padding: calc(4 * var(--k)) calc(24 * var(--k)) calc(12 * var(--k)); font-family: 'Kreon'; font-weight: 500; font-size: calc(72 * var(--k)); line-height: calc(80 * var(--k)); color: #EBE7DC; white-space: nowrap; }
  .st-sub { width: calc(620 * var(--k)); max-width: 100%; padding-top: calc(22 * var(--k)); text-align: center; font-family: 'Ubuntu'; font-weight: 400; font-size: max(15px, calc(20 * var(--k))); line-height: max(24px, calc(32 * var(--k))); letter-spacing: .8%; color: rgba(235,231,220,.5); }
  .stage-tiles { display: flex; align-items: flex-end; padding: calc(34 * var(--k)) calc(64 * var(--k)) 0; }
/* each wrapper is as tall as the rotated tile's bounding box, so the six sit on one baseline */
  .stage-tile { position: relative; flex: 1 1 0; min-width: 0; container-type: inline-size; display: flex; align-items: center; justify-content: center;
                  height: calc(var(--tw) * var(--hr, 1.29)); transition: transform .3s cubic-bezier(.22,.61,.36,1); }
  .stage-tile:hover, .stage-tile:focus-visible { transform: translateY(calc(-34 * var(--k))); z-index: 2; }
/* dev note: hover lifts the tile 34px */
  .stage-card { width: 100%; aspect-ratio: 224 / 264; flex: none; border-radius: 7.18cqw; display: flex; flex-direction: column; align-items: center; justify-content: center;
                  gap: 10.05cqw; padding: 11.26cqw 8.66cqw 9.96cqw; color: #EBE7DC; text-align: center; transform: rotate(var(--rot)) skewX(var(--skew)); }
  .sc-icon { width: 100%; height: 43.07cqw; display: flex; align-items: center; justify-content: center; flex: none; }
  .sc-name { font-family: 'Ubuntu'; font-weight: 500; font-size: 10.05cqw; line-height: 13.64cqw; letter-spacing: -.3%; }
  .stage-card .ic-splash { width: 52.4cqw; }
  .stage-card .ic-toy { width: 43.07cqw; }
  .stage-card .ic-rocks { width: 42.35cqw; }
  .stage-card .ic-flower { width: 46.66cqw; }
  .stage-card .ic-seaplant { height: 38.8cqw; width: auto; transform: rotate(-42.21deg); }
  .stage-card .ic-bubbles { position: relative; width: 46.5cqw; height: 45.4cqw; overflow: hidden; flex: none; }
  .stage-card .ic-bubbles img { position: absolute; left: -.08cqw; top: -55.2cqw; width: 56.5cqw; height: auto; max-width: none; }
  .s1 { --hr: 1.29024; --rot: -7.12deg; --skew: -.23deg; }
  .s1 .stage-card { background: var(--mid-teal); }
  .s2 { --hr: 1.25921; --rot: 5.08deg;  --skew: .17deg; }
  .s2 .stage-card { background: var(--pumpkin); }
  .s3 { --hr: 1.26473; --rot: -4.07deg; --skew: -.13deg; }
  .s3 .stage-card { background: var(--van-dyke); border: 2px solid rgba(235,231,220,.2); }
  .s4 { --hr: 1.27492; --rot: 6.1deg;   --skew: .2deg; }
  .s4 .stage-card { background: var(--dark-teal); }
  .s5 { --hr: 1.25921; --rot: -5.08deg; --skew: -.17deg; }
  .s5 .stage-card { background: var(--bole); }
  .s6 { --hr: 1.29024; --rot: 7.12deg;  --skew: .23deg; }
  .s6 .stage-card { background: var(--plum); }
}
/* Section shells ------------------------------------------- */
/* O nás ---------------------------------------------------- */
.about { padding: 0 64px 78px; margin-top: -78px; position: relative; z-index: 1; }
.about-card {
    max-width: 1384px; margin: 0 auto;
    background: var(--bole); border-radius: 30px;
    padding: 78px 70px;
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
  }
/* Figma 794:3362 — 22px under the "Vítejte", 44px under the H2, 78px above the buttons */
.about-text { max-width: 682px; display: flex; flex-direction: column; gap: 44px; }
.about-top { display: flex; flex-direction: column; gap: 22px; }
.about-hi { font-family: 'Kreon'; font-weight: 400; font-size: 20px; line-height: 32px; color: var(--pumpkin); }
.about-h2 { color: var(--bg-neutral); }
/* Figma 794:3368 — the body is ONE off-white 5-line block (no paragraph gaps),
     sitting 44px under the H2. */
.about-p { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body);
             color: var(--off-white); display: flex; flex-direction: column; gap: 0; margin-top: 22px; }
.about-buttons { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 34px; }
/* Figma 819:3495 — the media column grew to 553x582 (the old one x1.205) */
.about-media { position: relative; width: 553.08px; height: 582px; flex: 0 0 auto; }
.about-cutout { position: absolute; left: 32.53px; top: 0; width: 520.5px; height: 525.37px; }
.about-bubble1 { position: absolute; left: 0; bottom: 0; width: 237.38px; height: 220.51px; }
/* Aktivity ------------------------------------------------- */
.activities { padding: 156px 134px; display: flex; flex-direction: column; align-items: center; gap: 44px; }
.activities .heading { font-family: 'Kreon'; font-weight: 600; font-size: 40px; line-height: 52px; letter-spacing: .4px; color: var(--pumpkin); }
.act-grid { display: grid; grid-template-columns: repeat(3, 280px); gap: 36px; }
/* Figma 783:2290 — 280x336: 58px above the 232x120 icon box, 28px gap, then the
     232px title column and a 54px bottom padding. */
.act-card {
    width: 280px; height: 336px; border-radius: 20px;
    padding: 32px 24px 28px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    text-align: center; transition: transform .18s ease;
  }
@media (hover: hover) { .act-card:hover { transform: translateY(-6px); } }
.act-icon { width: 232px; height: 120px; display: flex; align-items: center; justify-content: center; }
.act-card h3 { width: 232px; }
.a-teal { background: var(--mid-teal);   color: var(--off-white); }
.a-plum { background: var(--plum);       color: var(--off-white); }
.a-vandyke { background: var(--van-dyke);   color: var(--off-white); }
.a-dteal { background: var(--dark-teal);  color: var(--off-white); }
.a-bole { background: var(--bole);       color: var(--off-white); }
.a-orange { background: var(--pumpkin);    color: var(--off-white); }
.ic-splash { width: 146px; }
.ic-toy { width: 120px; }
.ic-rocks { width: 118px; }
.ic-flower { width: 130px; }
.ic-seaplant { height: 108px; transform: rotate(-42.21deg); }
.ic-bubbles { position: relative; width: 120px; height: 117px; overflow: hidden; }
.ic-bubbles img { position: absolute; left: -0.2px; top: -142.53px; width: 145.813px; height: 259.282px; max-width: none; }
/* Galerie -------------------------------------------------- */
/* Figma 1334:8341 — the band sits on the light Off White Neutral page tone, not
     a dark Van Dyke container; only the note card (bole) and photo keep a fill. */
.gallery { padding-top: 78px; background: #EBE7DC; }
.gallery-inner {
    background: #EBE7DC; border-radius: 0;
    padding: 156px max(64px, (100% - 1384px) / 2); overflow: hidden;
    display: flex; flex-wrap: wrap; align-items: flex-end; align-content: flex-end; gap: 78px 36px;
  }
.gallery-heading {
    display: flex; align-items: center; justify-content: center; padding-left: 78px;
  }
/* Figma 774:488 — Kreon 64 on a 75px line, running the full content column */
.gallery-heading p {
    font-family: 'Kreon'; font-weight: 400; font-size: 64px; line-height: 75px; letter-spacing: .32px;
    color: var(--pumpkin);
  }
/* highlight sits tight on the text: no padding, capped height so the boxes
     never overlap between lines (consistent across Chrome/Safari) */
.gallery-heading .hl {
    color: var(--pumpkin); padding: 0;
    background: linear-gradient(rgba(255,116,0,.2) 0 0) no-repeat;
    background-size: 100% .72em; background-position: 0 .28em;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
  }
/* carousel: note + photo pairs that switch via the arrows */
.gallery-stage { position: relative; width: 100%; }
.gallery-slide { display: none; gap: 36px; align-items: flex-end; width: 100%; }
.gallery-slide.is-active { display: flex; animation: galFade .4s ease; }
@keyframes galFade { from { opacity: .25; } to { opacity: 1; } }
/* entrance reveal: photo slides in from the right, note card from the left */
@media (prefers-reduced-motion: no-preference) {
  .gallery.reveal .gallery-note,
    .gallery.reveal .gallery-photo {
      transition: transform .9s cubic-bezier(.22,.61,.36,1), opacity .7s ease;
    }
  .gallery.reveal .gallery-photo { transition-delay: .08s; }
  .gallery.reveal:not(.in-view) .gallery-photo { opacity: 0; transform: translateX(72px); }
  .gallery.reveal:not(.in-view) .gallery-note { opacity: 0; transform: translateX(-48px); }
}
.gallery-note {
    border-radius: 20px; height: 666px; overflow: hidden;
    padding: 78px 70px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  }
.gallery-note.nc-bole { background: var(--bole); }
.gallery-note.nc-teal { background: var(--mid-teal); }
.gallery-note.nc-pumpkin { background: var(--pumpkin); }
.gn-head { position: relative; display: inline-grid; }
.gn-head .gn-icon, .gn-head .gn-title { grid-area: 1 / 1; }
.gn-head .gn-title { margin: 26px 0 0 50px; }
.gn-icon { display: block; }
.gallery-note p.gn-title {
    width: auto; max-width: none; font-family: 'Ubuntu'; font-weight: 500; font-size: 40px; line-height: 52px; letter-spacing: .4px;
    color: var(--off-white); white-space: nowrap;
  }
.gallery-note p { font-family: 'Ubuntu'; font-weight: 400; font-size: 20px; line-height: 32px; letter-spacing: .1px; color: var(--off-white); width: 351px; max-width: 100%; }
.gallery-note p b { font-weight: 700; }
.gallery-photo {
    position: relative; width: 857px; height: 666px; border-radius: 20px; overflow: hidden;
  }
.gallery-photo > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; left: 70px; right: 70px; bottom: 78px; display: flex; justify-content: space-between; z-index: 2; }
/* live temperature pills (Bazén slide) */
.gallery-temp { position: absolute; left: 70px; top: 78px; display: flex; flex-wrap: wrap; gap: 16px; z-index: 2; }
.temp-pill { background: var(--off-white-sec); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.temp-pill .tp-label { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body-sec); line-height: var(--lh-body-sec); letter-spacing: var(--ls-body-sec); color: #fff; white-space: nowrap; }
.temp-pill .tp-val { display: flex; align-items: center; gap: 12px; }
.temp-pill .tp-val img { width: 40px; height: 40px; }
.temp-pill .tp-val span { font-family: 'Ubuntu'; font-weight: 500; font-size: 40px; line-height: 52px; letter-spacing: .4px; color: #fff; white-space: nowrap; }
.round-btn {
    width: 80px; height: 80px; border-radius: 100px; padding: 22px;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    background: transparent; border: 1px solid var(--bole);
  }
.round-btn.ghost { background: var(--off-white-sec); border: none; }
/* Aktuality ------------------------------------------------ */
/* Figma 774:448 "Sekce Aktuality" — heading "Děje se u nás" (H1 bold pumpkin),
     a 1113px NewsCard track flanked by two 80px outlined slider buttons. */
.news { padding: 156px 64px; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.news > .heading { font-family: 'Ubuntu'; font-weight: 700; font-size: 64px; line-height: 72px; letter-spacing: 0; color: var(--pumpkin); text-align: center; }
.news-row { display: flex; align-items: center; gap: 56px; }
.news-cards { display: flex; gap: 24px; align-items: stretch; overflow-y: hidden; overscroll-behavior-x: contain; }   /* the slider scrolls sideways only: no inner vertical scrolling that would shift the card photos, and the page keeps scrolling under the wheel */
/* Figma 1334:8337 NewsCard — a frosted-white padded card (rgba 255,255,255,.7,
     20px padding/radius, 10px gaps): the 183px image thumb is a rounded rectangle
     INSET from the card edges (all four corners rounded), then date, H3 title,
     description and a round + button. */
.news-card {
    width: 355px; border-radius: 20px;
    background: rgba(255,255,255,.7); padding: 20px; gap: 10px;
    display: flex; flex-direction: column; align-items: flex-end;
  }
.news-thumb {
    position: relative; width: 100%; height: 183px; flex: 0 0 auto; border-radius: 20px; overflow: hidden;
    display: flex; align-items: flex-end; padding: 20px;
  }
.news-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-chip {
    position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.15); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);   /* Figma CategoryChip 970:1155: Light/Light15 */
    border-radius: 100px; padding: 6px 12px 6px 14px;
  }
.news-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pumpkin); flex: 0 0 auto; }
/* status dot (Figma 970:1155): Upcoming = Accent/Primary orange, Ongoing = Status/Ongoing green, Past = Error States/Primary red */
.news-chip .dot[data-status="ongoing"] { background: #22E214; }
.news-chip .dot[data-status="past"] { background: #FF3030; }
.news-chip span { font-family: 'Ubuntu'; font-weight: 700; font-size: 14px; line-height: 24px; letter-spacing: .42px; color: #fff; white-space: nowrap; }
.news-body {
    width: 100%; flex: 1 1 auto; min-height: 0; background: transparent;
    display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  }
.news-date { width: 100%; padding-top: 10px; font-family: 'Ubuntu'; font-weight: 500; font-size: 18px; line-height: 32px; letter-spacing: .054px; color: rgba(64,46,50,.5); }
.news-title { width: 100%; font-family: 'Ubuntu'; font-weight: 500; font-size: 28px; line-height: 38px; letter-spacing: -.084px; color: var(--van-dyke); }
.news-desc { width: 100%; flex: 1 1 auto; min-height: 0; overflow: hidden;
    font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); color: rgba(64,46,50,.5); }
.news-more {
    margin-top: auto; width: 48px; height: 48px; border-radius: 100px; background: var(--pumpkin); border: none;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    transition: transform .15s ease, background .2s ease;
  }
@media (hover: hover) { .news-more:hover { transform: translateY(-2px); background: #e96a00; } }
.news-more { line-height: 0; }
.news-more svg { width: 24px; height: 24px; display: block; }
.news-arrow {
    width: 80px; height: 80px; flex: 0 0 auto; border-radius: 100px;
    border: 1px solid rgba(255,116,0,.5); background: transparent;
    -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 22px;
    transition: transform .15s ease, background .2s ease;
  }
@media (hover: hover) { .news-arrow:hover { transform: scale(1.05); background: rgba(255,116,0,.08); } }
.news-arrow svg { width: 36px; height: 36px; display: block; }
/* Kontakty ------------------------------------------------- */
.contact { background: var(--bole); border-radius: 60px 60px 0 0; padding: 185px 134px; display: flex; justify-content: center; position: relative; z-index: 1; }
.contact-inner { display: flex; gap: 63px; align-items: center; }
.contact-left { width: 671px; display: flex; flex-direction: column; gap: 56px; }
.contact-head h2 { font-family: 'Ubuntu'; font-weight: 500; font-size: 40px; line-height: 52px; letter-spacing: .4px; color: var(--white); margin-bottom: 15px; }
.contact-sub { font-family: 'Ubuntu'; font-weight: 400; font-size: 20px; line-height: 32px; letter-spacing: .1px; color: var(--off-white); margin-bottom: 56px; }
.contact-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-meta .dot { width: 16px; height: 16px; }
.contact-meta .b { font-family: 'Ubuntu'; font-weight: 700; font-size: var(--fs-body-sec); line-height: var(--lh-body-sec); letter-spacing: var(--ls-body-sec); color: var(--bg-neutral); }
.contact-meta .r { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body-sec); line-height: var(--lh-body-sec); letter-spacing: var(--ls-body-sec); color: var(--bg-neutral); }
.contact-meta .vp { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--off-white); cursor: pointer; flex: 0 0 auto; }
.contact-meta .vp span { font-family: 'Ubuntu'; font-weight: 700; font-size: var(--fs-body-sec); line-height: var(--lh-body-sec); letter-spacing: var(--ls-body-sec); color: var(--bg-neutral); }
.contact-meta .vp img { width: 24px; height: 24px; }
.contact-cards { display: flex; gap: 36px; align-items: flex-start; }
.info-card { background: var(--van-dyke); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 36px; }
.info-phone { display: flex; flex-direction: column; gap: 8px; }
.info-phone .k { font-family: 'Ubuntu'; font-weight: 500; font-size: 22px; line-height: 32px; letter-spacing: .11px; color: var(--pumpkin); }
.info-phone .v { font-family: 'Ubuntu'; font-weight: 400; font-size: 22px; line-height: 32px; letter-spacing: .11px; color: var(--off-white); }
.info-hours .hl { font-family: 'Kreon'; font-weight: 400; font-size: 20px; line-height: 32px; color: var(--pumpkin); display: block; margin-bottom: 16px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 64px; }
.hours .d { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body-sec); line-height: var(--lh-body-sec); letter-spacing: var(--ls-body-sec); color: var(--off-white); }
.hours .t { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body-sec); line-height: var(--lh-body-sec); letter-spacing: var(--ls-body-sec); color: var(--bg-neutral); white-space: nowrap; }
.contact-form { background: var(--off-white); border-radius: 25px; padding: 36px; width: 510px; height: 719px; display: flex; flex-direction: column; gap: 36px; }
.form-fields { display: flex; flex-direction: column; gap: 16px; }
.field {
    border: 1px solid var(--pumpkin); border-radius: 7px; padding: 14px 16px;
    display: flex; align-items: center; width: 100%; background: transparent;
  }
.field.select { justify-content: space-between; }
.field.area { height: 204px; align-items: flex-start; }
.field input, .field textarea, .field select, .field .sel-btn, .field .sel-list li {
    border: none; outline: none; background: transparent; width: 100%;
    font-family: 'Ubuntu'; font-weight: 400; font-size: 20px; line-height: 32px; letter-spacing: .1px; color: var(--van-dyke);
    resize: none;
  }
.field textarea { height: 100%; }
.field ::placeholder { color: rgba(113,73,64,.6); opacity: 1; }
.field select { color: rgba(113,73,64,.6); appearance: none; }
.field.select img { width: 24px; height: 24px; transform: rotate(-90deg); flex: 0 0 auto; }
.form-submit {
    align-self: flex-start; background: var(--pumpkin); color: var(--off-white); border-radius: 10px;
    padding: 8px 16px; height: 64px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    font-family: 'Ubuntu'; font-weight: 700; font-size: 18px; line-height: 22px; letter-spacing: .18px; border: none;
    transition: transform .15s ease, background .2s ease;
  }
@media (hover: hover) { .form-submit:hover { transform: translateY(-2px); background: #e96a00; } }
/* Footer --------------------------------------------------- */
/* the wave laps over the brown contact section, no light strip above it */
/* Figma 774:645 — one 218px row: navigation, socials, address, then the logomark
     on the RIGHT; the divider spans the full content column beneath it. */
/* ===== Wide desktop: the 2026-11 Figma sets every section to a fixed height
     (hero 1141, O nás 750, Aktivity 1014, Aktuality 825, galerie 1175, Kontakty 1086),
     so the old "fill 100dvh and trim paddings" rules are gone; sections keep their
     Figma paddings and only snap into place. ===== */
@media (min-width: 1201px) {
/* no vertical scroll-snap: it pulled the page up to the nearest section whenever scrolling stopped */
  .contact { align-items: center; }
}
/* ===== Desktop cut (>=621px), 2026-11 Figma re-cut ===== */
@media (min-width: 621px) {
/* O nás (1334:8277): outlined 40px-radius card, 78px under the hero; it slides up
       over the hero's rounded bottom as you scroll (dev note 3074:2812, gap +78 -> -78) */
  .about { margin-top: 78px; padding: 0 64px; margin-bottom: calc(var(--about-p, 0) * -156px); }
/* the card slides up 156px — pull the next section up with it so no empty band opens under the card */
  .about-card { border: 1px solid rgba(235,231,220,.2); border-radius: 40px; padding: 77px 69px; gap: 0; transform: translateY(calc(var(--about-p, 0) * -156px)); will-change: transform; }
  .about-text { flex: 1 1 0; min-width: 0; max-width: none; gap: 0; }
  .about-top { gap: 0; }
  .about-hi { font-family: 'Kreon'; font-weight: 600; font-size: 22px; line-height: 32px; letter-spacing: .44px; padding-bottom: 22px; }
  .about-h2 { font-size: 40px; line-height: 50px; letter-spacing: -.2px; color: #EBE7DC; padding-bottom: 44px; }
  .about-p { width: 607px; max-width: 100%; margin-top: 0; padding-bottom: 78px; font-size: 20px; line-height: 32px; letter-spacing: .16px; color: #EBE7DC; }
  .about-buttons { gap: 24px; margin-top: 0; }
  .about-buttons .btn { padding: 17px 36px; }
  .about-buttons .btn-secondary { color: var(--off-white-neutral); border-color: var(--off-white-neutral); }   /* outlined button on the dark panel = off-white (Figma) */
/* Aktivity (1334:8294): H1 64/72 heading, 78px above the 3x2 grid, 156px on top, none below */
  .activities { padding: 156px 134px 0; gap: 78px; }
  .activities .heading { font-family: 'Ubuntu'; font-weight: 700; font-size: 64px; line-height: 72px; letter-spacing: 0; }
/* Aktuality (1334:8332): the 541px card row closes the section, no bottom padding */
  .news { padding-bottom: 0; }
/* Galerie (1334:8341 + variants 3013:3140): 156px/64px padding, 78px gap, a fixed
       560px row — 491px note card (56px padding) beside the photo, slider buttons
       vertically centred 56px from the edges */
  .gallery { padding-top: 0; }
  .gallery-inner { padding-top: 156px; padding-bottom: 156px; gap: 78px 36px; align-content: center; align-items: center; }
  .gallery-heading { width: 100%; max-width: 1180px; padding: 0; justify-content: flex-start; }
/* dev note 3050:2075: headline on the 64px grid, max width 1180 — its left edge lines up with the note card below */
  .gallery-heading p { font-weight: 500; letter-spacing: .32px; }
  .gallery-slide { align-items: center; height: 560px; }
  .gallery-note { width: 491px; height: 560px; flex: none; padding: 56px; }
  .gallery-note p { width: 100%; letter-spacing: .16px; }
  .gallery-note p.gn-title { font-size: 40px; line-height: 50px; letter-spacing: -.2px; }
  .gallery-photo { width: auto; flex: 1 1 0; min-width: 0; height: 560px; }
  .gallery-nav { left: 56px; right: 56px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .gallery-temp { left: 56px; top: 56px; }
  .temp-pill { width: 220px; border-radius: 16px; border: 1px solid rgba(255,255,255,.15); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }   /* same translucent glass as on the phone */
  .temp-pill .tp-label { color: rgba(255,255,255,.7); }
  .temp-pill .tp-val span { font-weight: 700; line-height: 50px; letter-spacing: -.2px; }
/* Kontakty (1334:8352): 156px/64px, 776px info column + 156px gap + the 453px form */
  .contact { padding: 156px 64px; border-radius: 60px 60px 0 0; }
  .contact-inner { width: 100%; max-width: 1385px; gap: 156px; align-items: stretch; }
  .contact-left { width: 776px; flex: none; gap: 56px; }
  .contact-head h2 { font-weight: 700; font-size: 64px; line-height: 72px; letter-spacing: 0; color: #EBE7DC; margin-bottom: 36px; }
  .contact-sub { font-size: 20px; line-height: 32px; letter-spacing: .16px; color: rgba(255,255,255,.7); margin-bottom: 56px; }
  .contact-meta { gap: 16px; flex-wrap: nowrap; }
  .contact-meta .b { font-size: 22px; line-height: 32px; letter-spacing: .176px; color: #EBE7DC; white-space: nowrap; }
  .contact-meta .r { font-size: 20px; line-height: 32px; letter-spacing: .16px; color: #EBE7DC; white-space: nowrap; }
  .contact-meta .vp { gap: 10px; border-bottom-color: #EBE7DC; height: 32px; white-space: nowrap; }
  .contact-meta .vp span { font-size: 22px; line-height: 32px; letter-spacing: .176px; color: #EBE7DC; }
  .contact-meta .vp img { width: 28px; height: 28px; }
  .contact-cards { width: 100%; align-items: stretch; }
  .contact-cards .info-card:first-child { width: 367px; flex: none; }
  .contact-cards .info-card:last-child { flex: 1 1 0; min-width: 0; }
  .info-phone { gap: 8px; }
  .info-phone .k, .info-phone .v { font-weight: 500; font-size: 22px; line-height: 32px; letter-spacing: .176px; }
  .info-phone .v { color: #EBE7DC; }
  .info-hours .hl { font-family: 'Ubuntu'; font-weight: 500; font-size: 22px; line-height: 32px; letter-spacing: .176px; margin-bottom: 16px; }
  .hours { gap: 8px 16px; grid-template-columns: max-content 1fr; }   /* day column as wide as the longest day, times flush right (a fixed 56px was narrower than "Pondělí") */
  .hours .t { justify-self: end; }
  .hours .d, .hours .t { color: #EBE7DC; }
  .contact-form { width: auto; flex: 1 1 0; min-width: 0; height: auto; border-radius: 20px; background: #EBE7DC; gap: 16px; }
  .form-title-d { font-family: 'Ubuntu'; font-weight: 700; font-size: 40px; line-height: 50px; letter-spacing: -.2px; color: var(--pumpkin); margin-bottom: 16px; }
  .field { border-radius: 12px; }
  .field input, .field textarea, .field select, .field .sel-btn, .field .sel-list li { letter-spacing: .1px; }
  .field ::placeholder, .field select { color: rgba(113,73,64,.7); }
  .field.area { flex: 1 1 auto; height: auto; min-height: 204px; }
  .form-submit { margin-top: 16px; height: 64px; padding: 20px 22px; border-radius: 12px; gap: 8px; }
  .form-submit .m-only { display: block; width: 24px; height: 24px; }
/* default (empty form) = Figma's faded CTA (1334:8422); it lights up once every visible field is filled */
  .contact-form:not(.is-ready) .form-submit { background: rgba(255,116,0,.5); color: rgba(235,231,220,.5); }
/* Footer (1334:8423): 451 + 506, bold links, 56px social buttons, 56px row gaps */
/* hides the sub-pixel seam between the brown contact section and the wave */
  .news-card { min-height: 541px; }
  .news-desc { color: rgba(113,73,64,.7); }
}
/* Responsive ----------------------------------------------- */
@media (max-width: 1200px) {
  .contact-inner { flex-direction: column; align-items: stretch; gap: 56px; }
  .contact-meta { flex-wrap: wrap; row-gap: 8px; }
/* address + 'Virtuální prohlídka' wrap instead of pushing the page wider */
  .contact-cards .info-card:first-child { width: auto; flex: 1 1 0; }
  .contact-left, .contact-form { width: 100%; }
  .gallery-photo { width: 100%; }
}
/* Kontakty between the stacked layout (<=1200) and the 1385px Figma canvas: the 776px info column + 156px gap left the form only
   ~316px at 1366 (select text clipped). Let the info column flex and keep the form near its drawn 453px. */
@media (min-width: 1201px) and (max-width: 1511px) {
  .contact-inner { gap: clamp(48px, 7vw, 156px); }
  .contact-left { width: auto; flex: 1 1 0; min-width: 0; }
  .contact-form { flex: 0 0 clamp(400px, 33vw, 453px); }
  .contact-meta { flex-wrap: wrap; row-gap: 8px; }
  .contact-cards .info-card:first-child { width: auto; flex: 1 1 0; }
}
/* Gallery between 981 and 1100: the 491px note card leaves the photo only ~380px at 1024 (portrait iPad) and its 80px arrows then
   cover the subject. Stack the note above a full-width photo, like the tablet layout, until there is room for both side by side. */
@media (min-width: 981px) and (max-width: 1100px) {
  .gallery-slide { flex-direction: column; gap: 24px; height: auto; align-items: stretch; }
  .gallery-note, .gallery-photo { width: 100%; height: auto; min-height: 420px; flex: none; }
  .gallery-note { min-height: 340px; }
  .gallery-note p.gn-title { font-size: 36px; line-height: 44px; }
  .gallery-temp { position: static; margin-top: auto; }
  .gallery-nav { position: static; transform: none; margin-top: 24px; display: flex; justify-content: space-between; }
  .gallery-photo { display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; }
}
/* Between the Figma canvas (1512) and the stacked mobile layout, the rows that
     are DRAWN at a fixed 1384/1385 have to become fluid — otherwise the news row
     pushes a horizontal scrollbar and the 857px gallery photo gets clipped. */
@media (min-width: 981px) and (max-width: 1511px) {
  .news-row { width: 100%; gap: 28px; }
  .news-cards { flex: 1 1 auto; min-width: 0; gap: 24px; }
  .news-card { width: auto; flex: 1 1 0; min-width: 0; }
  .gallery-slide { flex-wrap: nowrap; }
  .gallery-note { flex: 0 1 491px; min-width: 0; }
  .gallery-photo { flex: 1 1 0; width: auto; min-width: 0; }
/* O nás: the 553px media column scales with the viewport so the copy column keeps its width */
  .about-card { padding: 56px 48px; gap: 32px; }
  .about-media { width: clamp(300px, 36vw, 553px); height: auto; aspect-ratio: 553.08 / 582; flex: 0 0 auto; }
  .about-cutout { left: 5.88%; width: 94.12%; height: 90.27%; }
  .about-bubble1 { width: 42.92%; height: 37.89%; }
}
@media (max-width: 980px) {
  .landing { padding: 64px 24px 90px; border-radius: 0 0 60px 60px; }
  .h1 { font-size: 44px; line-height: 50px; }
/* stacked hero: the column no longer competes with the decor for width */
  .about { padding: 0 24px 48px; }
  .about-card { flex-direction: column; padding: 48px 32px; }
  .about-media { width: 100%; max-width: 459px; height: auto; aspect-ratio: 553.08 / 582; }   /* the 582px desktop height would stretch the photo */
  .about-cutout { left: 5.88%; width: 94.12%; height: 90.27%; }
  .about-bubble1 { width: 42.92%; height: 37.89%; }
  .activities { padding: 48px 24px; }
  .act-grid { grid-template-columns: repeat(2, 280px); }
  .gallery-inner { padding: 56px 24px; border-radius: 40px 40px 0 0; gap: 56px 36px; }
  .gallery-heading { padding-left: 0; }
  .gallery-heading p { font-size: 40px; line-height: 48px; }
  .gallery-slide { flex-direction: column; gap: 24px; height: auto; }
/* the 560px row height is for the side-by-side layout only */
  .gallery-note, .gallery-photo { width: 100%; height: auto; min-height: 420px; }
  .gallery-note p.gn-title { font-size: 32px; line-height: 40px; }
  .gallery-temp { position: static; margin-top: auto; }
  .gallery-nav { position: static; margin-top: 24px; display: flex; justify-content: space-between; }
  .gallery-photo { display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
  .news { padding: 64px 24px; }
  .news > .heading { font-size: 40px; line-height: 48px; }
  .news-row { flex-direction: column; }
  .news-cards { flex-direction: column; align-items: center; }
  .news-card { width: 100%; max-width: 355px; height: auto; }
  .news-arrow { display: none; }
  .contact { padding: 56px 24px 120px; border-radius: 40px 40px 0 0; }
  .contact-cards { flex-direction: column; }
}
/* tablets: the aktuality cards sit two per row (the last one centred) instead of one narrow column */
@media (min-width: 621px) and (max-width: 980px) {
  /* one card at a time between the two arrows (the same arrow | card | arrow row as desktop), swipeable, with pager dots below */
  .news-row { flex-direction: row; align-items: center; width: 100%; gap: 20px; }
  .news-arrow { display: inline-flex; width: 64px; height: 64px; padding: 16px; }
  .news-arrow svg { width: 32px; height: 32px; }
  .news-arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }
  .news-cards { flex: 1 1 0; min-width: 0; width: auto; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch;
      gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .news-cards::-webkit-scrollbar { display: none; }
  .news-card { flex: 0 0 100%; width: auto; max-width: none; min-height: 0; scroll-snap-align: start; padding: 24px; }
  .news-thumb { height: 260px; }
  .news .news-dots { display: flex; gap: 8px; align-items: center; justify-content: center; width: 100%; }
  .news-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 1000px; background: rgba(255,116,0,.5); cursor: pointer; }
  .news-dot.is-active { width: 12px; height: 12px; background: var(--pumpkin); }
}
/* Desktop news: with more than three cards the row is a slider — the arrows page by one card (home.js), the track scrolls
   sideways without a scrollbar. With three or fewer cards nothing overflows and it looks exactly as drawn. */
@media (min-width: 981px) {
  .news-cards { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .news-cards::-webkit-scrollbar { display: none; }
  .news-card { scroll-snap-align: start; }
}
@media (min-width: 981px) and (max-width: 1511px) { .news-card { flex: 0 0 calc((100% - 48px) / 3); } }
@media (min-width: 1512px) { .news-cards { width: 1113px; flex: none; } .news-card { flex: 0 0 355px; } }
.news-arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }
/* tablets: the six hero tiles wrap 3 x 2 (six in a row would be ~125px tiles with 12px labels), the sub-copy gets a readable
   size, and the other sections take the same roomier side gutter as the fluid tokens */
@media (min-width: 621px) and (max-width: 900px) {
  .frame.has-hero > .landing.landing--stage, .landing.landing--stage { --tw: min(212px, calc((100cqw - 2 * var(--f-gx) - 40px) / 3)); }
  .stage-tiles { flex-wrap: wrap; justify-content: center; gap: 12px 20px; padding: calc(34 * var(--k)) var(--f-gx) 0; }
  .stage-tile { flex: 0 0 var(--tw); }
  .frame.has-hero > .landing.landing--stage, .landing.landing--stage { padding-top: calc(226 * var(--k) + 32px); }   /* clears the burger + CTA row so it never touches the wordmark */
  .st-sub { width: 520px; font-size: 18px; line-height: 28px; }
}
@media (min-width: 621px) and (max-width: 980px) {
  .activities { padding: 80px var(--f-gx) 0; gap: 48px; }
  .act-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: 760px; }   /* 3 x 2 like the desktop grid, fluid instead of 280px cards */
  .act-card { width: auto; height: auto; aspect-ratio: 280 / 336; padding: 24px 16px; gap: 20px; }
  .act-icon:not(.ic-bubbles) { width: 100%; height: auto; }   /* the bubbles icon is a fixed 120x117 crop window */
  .act-card h3 { width: auto; }
  .gallery-inner { padding: 64px var(--f-gx); }
  .about-card { padding: 56px 40px 48px; gap: 48px; }
  .about-media { align-self: center; }
  .about-p { padding-bottom: 56px; }
  .contact { padding: 64px var(--f-gx) 120px; }
  .contact-cards { flex-direction: row; gap: 24px; }   /* reception + Dětská skupina side by side, like on desktop */
  .contact-cards .info-card { flex: 1 1 0; min-width: 0; width: auto; }
}
.news-card[hidden], .news[hidden] { display: none; }   /* dated cards outside their show/hide window */
/* the news pager dots only exist on phones */
.news-dots { display: none; }
.m-only { display: none; }
/* phone-only elements (shown in the ≤620px block) */
.gal-dots { display: none; }
/* ====================================================================
     PHONE (≤620px) — the 402px mobile homepage (Figma 1334:8236). A separate
     cut from the desktop one: nothing here applies above 620px. The sticky
     burger+CTA header and the hero's 224px/243px padding come from site.js.
     ==================================================================== */
@media (max-width: 620px) {
/* the 402px Figma headlines scale down on narrower phones (36/44 from 402px up) */
  :root { --m-deco: clamp(28px, 8.96vw, 36px); --m-deco-lh: calc(var(--m-deco) * 1.2222); --m-h1: clamp(24px, 7.46vw, 30px); --m-h1-lh: calc(var(--m-h1) * 1.2667); }
/* Mobile/H1 30/38 (2026-11) */
/* news bar (1334:7332): 18/28 white copy centred on pumpkin, 12px 16px */

/* burger + CTA (HamMenu / CTA Large) */


/* ---- 2026-11 mobile re-cut: hero "Concept C (Mobile)" 3074:2746 ---- */
  .m-stage { display: flex; flex-direction: column; align-items: center; width: 100%; }
  .ms-wordmark { width: 235.136px; height: 52px; max-width: 100%; }
  .ms-line2 { position: relative; width: 249.383px; height: 112.856px; margin-top: 22px; }
  .ms-h { position: absolute; left: 47.72px; top: 0; font-family: 'Ubuntu'; font-weight: 700; font-size: 34px; line-height: 40px; letter-spacing: -.34px; color: #EBE7DC; white-space: nowrap; }
  .ms-pillbox { position: absolute; left: 0; top: 48px; width: 100%; height: 64.856px; display: flex; align-items: center; justify-content: center; }
  .ms-pill { display: block; transform: rotate(3deg); background: var(--mid-teal); border-radius: 14px; padding: 2px 16px 8px; font-family: 'Kreon'; font-weight: 500; font-size: 36px; line-height: 42px; color: #EBE7DC; white-space: nowrap; }
  .ms-sub { width: 330px; max-width: 100%; margin-top: 32px; text-align: center; font-size: 16px; line-height: 24px; letter-spacing: .08px; color: rgba(255,255,255,.7); }
  .ms-icons { display: flex; justify-content: center; margin-top: 78px; }
  .ms-ico { position: relative; flex: 0 0 52px; width: 52px; height: 52px; margin-right: -12px; border: 3px solid var(--van-dyke); border-radius: 14.182px;
              display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .ms-ico:last-child { margin-right: 0; }
  .ms-ico img { display: block; max-width: none; }
  .ms-ico .i-splash { width: 30.73px; }
  .ms-ico .i-toy { width: 30.73px; }
  .ms-ico .i-rocks { width: 30.04px; }
  .ms-ico .i-flower { width: 30.73px; }
  .ms-ico .sp-clip { transform: scale(1.182); }   /* 52px tile: the 44px tile's art x 1.182, like its neighbours */
  .ms-ico.i-bubbles img { position: absolute; left: 7.6px; top: -28.5px; width: 37.34px; height: 66.39px; clip-path: inset(36.5px 0 0 0); }
  .ms-ico.t-teal { background: var(--mid-teal); }
  .ms-ico.t-pumpkin { background: var(--pumpkin); }
  .ms-ico.t-vandyke { background: var(--van-dyke); }
  .ms-ico.t-dteal { background: var(--dark-teal); }
  .ms-ico.t-bole { background: var(--bole); }
  .ms-ico.t-plum { background: #71405D; }
/* news bar (3074:2747): 16/24 centred, 12px 16px */

  .frame.has-hero > header.landing.landing--stage { background: var(--van-dyke); border-radius: 0 0 40px 40px; min-height: calc(100vh - var(--nb-h, 48px) + 44px); min-height: calc(100lvh - var(--nb-h, 48px) + 44px + var(--under, 0px)); padding: 112px 16px calc(44px + var(--under, 0px) + var(--bar, 0px)); justify-content: center; }   /* the stage is centred in the visible area under the 96px header (not hung 140px below it), min 16px air from the navbar; the bottom padding covers the 44px below the fold + iOS toolbar strip */
/* fills the viewport under the news bar plus 44px so the 40px rounded corners sit below the fold */
/* hero (1334:7331): bole panel, 28px gutters, no decor shapes, 36/44 type */
  .landing { padding-left: 28px; padding-right: 28px; gap: 0; border-radius: 0 0 20px 20px; }
  .hero-text { font-size: 18px; line-height: 28px; letter-spacing: .144px; max-width: 318px; margin-bottom: 16px; color: #EBE7DC; }
/* about (1334:7352, 2026-11): 32px under the hero, outlined dark card, 24/48 padding;
       26/34 lead, 16/24 copy, two 48px buttons 10px apart */
  .about { padding: 0 16px; margin-top: 32px; }
  .about-card { flex-direction: column; align-items: stretch; gap: 0; padding: 23px 23px 49px; border: 1px solid rgba(235,231,220,.2); border-radius: 20px; }
  .about-text, .about-top { display: contents; }
  .about-hi { order: 1; font-weight: 600; font-size: 20px; line-height: 28px; letter-spacing: .4px; margin-bottom: 28px; padding-bottom: 0; }
  .about-media { order: 2; width: 315px; max-width: 100%; height: auto; aspect-ratio: 315 / 273; }
  .about-cutout { left: 13.65%; top: 0; width: 77.78%; height: 91.2%; }
  .about-bubble1 { left: 8.57%; top: 61.5%; bottom: auto; width: 35.56%; height: 38.5%; }
  .about-h2 { order: 3; margin-top: 28px; padding-bottom: 0; font-weight: 500; font-size: 26px; line-height: 34px; letter-spacing: -.13px; color: #EBE7DC; }
  .about-p { order: 4; display: block; width: 100%; margin-top: 20px; padding-bottom: 0; font-size: 16px; line-height: 24px; letter-spacing: .08px; opacity: .9; color: #EBE7DC; }
  .about-p p { display: inline; }
  .about-p p:last-child { display: block; }
  .about-buttons { order: 5; display: flex; justify-content: flex-start; gap: 10px; flex-wrap: nowrap; margin-top: 40px; }   /* always side by side, 10px apart */
  .about-buttons .btn { white-space: nowrap; flex: 0 1 auto; padding-left: clamp(6px, calc(15px - (402px - 100vw) * .22), 15px); padding-right: clamp(6px, calc(15px - (402px - 100vw) * .22), 15px); }   /* 15px side padding at 402; eases down so both buttons keep sitting side by side on 360/375 phones */
  @media (max-width: 339px) { .about-buttons { flex-wrap: wrap; } }
/* services (1334:7370): "Co nabízíme" 36/44, 2×3 grid of 12px-gapped cards */
  .activities { padding: 78px 16px 0; gap: 32px; }
  .activities .heading { font-family: 'Ubuntu'; font-weight: 700; font-size: var(--m-h1); line-height: var(--m-h1-lh); letter-spacing: 0; }
  .act-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; }
  .act-card { width: auto; height: 196px; padding: 20px; gap: 16px; }
  .act-icon { width: 100%; max-width: 133px; height: 88px; }
  .act-card h3 { width: auto; font-size: 18px; line-height: 26px; letter-spacing: .144px; }
  .ic-splash { width: 102px; }
  .ic-toy { width: 84px; }
  .ic-rocks { width: 82px; }
  .ic-flower { width: 99px; }
  .ic-seaplant { height: 76px; }
  .ic-bubbles { width: 84px; height: 82px; }
  .ic-bubbles img { left: -.14px; top: -99.7px; width: 102px; height: 181.3px; }
/* news (1334:7879): a swipeable single card, then three pager dots */
  .news { padding: 78px 16px 0; gap: 32px; }
  .news > .heading { font-size: var(--m-h1); line-height: var(--m-h1-lh); }
  .news-row { width: 100%; }
  .news-arrow { display: none; }
  .news-cards { align-items: stretch; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch; gap: 16px; width: 100%; scrollbar-width: none; }
  .news-cards::-webkit-scrollbar { display: none; }
  .news-card { width: 100%; max-width: none; height: auto; flex: 0 0 100%; scroll-snap-align: center; }
/* NewsCard "S Mobile" (1334:7932): white card, 16px padding, 180px thumb */
  .news-card { padding: 16px; gap: 8px; }
  .news-body { gap: 8px; }
  .news-title { margin-top: 2px; }
  .news-thumb { height: 180px; border-radius: 16px; padding: 16px; }
  .news-title { font-size: 22px; line-height: 30px; letter-spacing: -.066px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .news-date { font-size: 14px; line-height: 24px; letter-spacing: .042px; }
  .news-desc { font-size: 16px; line-height: 24px; letter-spacing: .08px; flex: 0 0 auto; }
  .news-more { margin-top: auto; width: 48px; height: 48px; }
  .news-dots { display: flex; gap: 6px; align-items: center; justify-content: center; width: 100%; padding-bottom: 0; }
  .news-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 1000px; background: rgba(255,116,0,.5); cursor: pointer; }
  .news-dot.is-active { width: 12px; height: 12px; background: var(--pumpkin); }
/* gallery (1334:7408): rounded panel, Kreon 36/44 heading, photo with dots,
       then the bole note card */
  .gallery { padding-top: 0; }
  .gallery-inner { padding: 78px 16px; gap: 32px; border-radius: 20px 20px 8px 8px; }
  .gallery-heading { padding-left: 0; justify-content: flex-start; }
  .gallery-heading p { font-weight: 500; font-size: var(--m-deco); line-height: var(--m-deco-lh); letter-spacing: .18px; text-align: left; }
  .gallery-slide { flex-direction: column; gap: 16px; align-items: stretch; }
  .gallery-photo { order: -1; width: 100%; height: auto; min-height: 0; aspect-ratio: 370 / 282; padding: 16px; }
  .gallery-note { width: 100%; height: 349px; min-height: 0; padding: 24px; gap: 26px; justify-content: space-between; border-radius: 20px; }
  .gn-icon { zoom: .62; }
/* every shape is the desktop one x0.62 (Splash 124x86 -> 76.8x53.4) */
  .gn-head .gn-title { margin: 16px 0 0 31px; }
  .gallery-note p.gn-title { font-size: 26px; line-height: 34px; letter-spacing: -.13px; }
  .gallery-note p { font-size: 18px; line-height: 26px; letter-spacing: .144px; width: 100%; color: #EBE7DC; }
  .gallery-temp { position: absolute; left: 12px; top: 12px; margin: 0; gap: 8px; max-width: calc(100% - 24px); }
  .gallery-temp { right: 12px; flex-wrap: nowrap; }
  .temp-pill { flex: 1 1 0; min-width: 0; width: auto; max-width: 169px; border-radius: 12px; padding: 10px 12px; gap: 2px; border: 1px solid rgba(255,255,255,.15); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .temp-pill .tp-label { font-size: 14px; line-height: 22px; letter-spacing: .07px; white-space: nowrap; text-align: center; color: rgba(255,255,255,.7); }
  .temp-pill .tp-val { gap: 6px; }
  .temp-pill .tp-val img { width: 22px; height: 22px; }
  .temp-pill .tp-val span { font-size: 26px; line-height: 34px; letter-spacing: -.13px; font-weight: 700; }
  .gallery-nav { display: none; }
  .gal-dots { display: flex; gap: 6px; align-items: center; justify-content: center; position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; }
  .gal-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 1000px; background: rgba(255,255,255,.5); cursor: pointer; }
  .gal-dot.is-active { width: 12px; height: 12px; background: #fff; }
/* contacts (1334:7955): bole panel, 16px gutters, 78px top/bottom */
  .contact { padding: 78px 16px; border-radius: 20px 20px 0 0; }
  .contact-inner { width: 100%; flex-direction: column; align-items: stretch; gap: 32px; }
  .contact-left { width: 100%; gap: 32px; }
  .contact-head h2 { font-weight: 700; font-size: var(--m-h1); line-height: var(--m-h1-lh); letter-spacing: 0; color: #EBE7DC; margin-bottom: 16px; }
  .contact-sub { font-size: 16px; line-height: 24px; letter-spacing: .08px; color: rgba(255,255,255,.7); margin-bottom: 32px; }
  .contact-meta { display: grid; grid-template-columns: 14px 1fr; column-gap: 12px; row-gap: 4px; align-items: center; }
  .contact-meta .dot { width: 14px; height: 14px; }
  .contact-meta .b { font-size: 16px; line-height: 24px; letter-spacing: .08px; color: #EBE7DC; }
  .contact-meta .r { grid-column: 2; font-size: 16px; line-height: 24px; letter-spacing: .08px; color: #EBE7DC; }
  .contact-meta .vp { grid-column: 2; justify-self: start; margin-top: 28px; gap: 6px; height: 32px; }
  .contact-meta .vp span { font-size: 16px; line-height: 24px; letter-spacing: .08px; color: #EBE7DC; }
  .contact-cards { flex-direction: column; gap: 16px; align-items: stretch; }
  .info-card { padding: 20px; gap: 20px; }
  .info-phone { gap: 8px; }
  .info-phone .k { font-size: 18px; line-height: 26px; letter-spacing: .144px; }
  .info-phone .v { font-weight: 500; font-size: 18px; line-height: 26px; letter-spacing: .144px; color: #EBE7DC; }
  .info-hours .hl { font-family: 'Ubuntu'; font-weight: 500; font-size: 18px; line-height: 26px; letter-spacing: .144px; margin-bottom: 8px; }
  .hours { grid-template-columns: auto 1fr; gap: 4px 16px; }
  .hours .d, .hours .t { font-size: 14px; line-height: 22px; letter-spacing: .07px; color: #EBE7DC; }
  .hours .t { justify-self: end; }
/* contact form (1334:8023): 666px tall, 28/20 padding, 24px around the title and button, 16px between fields */
  .contact-form { width: 100%; height: auto; padding: 28px 20px; gap: 16px; border-radius: 20px; background: #EBE7DC; }
  .m-only { display: block; }
  .field.m-only { display: flex; }
  .form-submit .m-only { display: none; }
  .form-title { margin-bottom: 8px; }
  .form-submit { margin-top: 8px; }
  .d-only { display: none; }
  .form-title { font-weight: 700; font-size: 26px; line-height: 34px; letter-spacing: -.13px; color: var(--pumpkin); }
  .field { padding: 13px 15px; border-radius: 7px; }
  .field.area { height: 204px; }
  .field input, .field textarea, .field select, .field .sel-btn, .field .sel-list li { font-size: 16px; line-height: 24px; letter-spacing: .08px; }
  .form-submit { align-self: flex-start; width: 166px; height: 52px; padding: 14px 16px; border-radius: 8px; gap: 8px;
      font-size: 16px; line-height: 20px; letter-spacing: .16px; background: rgba(255,116,0,.5); color: rgba(255,255,255,.7); }
  /* faded (Figma disabled CTA) until every field is filled and valid; then the solid pumpkin button */
  .contact-form.is-ready .form-submit { background: var(--pumpkin); color: #EBE7DC; }
/* footer (1334:8033): the mobile wave over bole, one 667px orange block, the
       wordmark flush with the bottom edge */
/* svg is 50% already → 16% like the Figma wordmark */
}
/* ===== Aktuality – rozbalená karta (modal) =========================
     Figma "NewsCard Expanded" 1262:4137 (default) / 1270:4791 (form). The +
     button on a NewsCard opens this over the whole screen: a white card with
     the activity on the left and a reservation panel on the right that flips
     between the "Rezervujte se" call-to-action and a contact form. */
.news-modal { position: fixed; inset: 0; z-index: 1200; display: none; }
.news-modal.is-open { display: block; }
.nm-backdrop { position: absolute; inset: 0; background: rgba(64,46,50,.4);
    -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
/* Figma frame 1512 wide with 200px side / 78px top-bottom padding → a 1112px card.
     The dialog itself scrolls (overflow-y) and the card is centred with margin:auto
     so on a short window the whole card stays reachable instead of being clipped —
     margin:auto, unlike align-items:center, never cuts off the top when it overflows. */
.nm-dialog { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
    display: flex; padding: clamp(16px, 5vh, 78px) max(24px, (100% - 1112px) / 2); }
.nm-card { position: relative; width: 100%; max-width: 1112px; margin: auto;
    background: #fff; border-radius: 20px; padding: 36px 36px 70px;
    display: flex; flex-direction: column; gap: 36px;
    animation: nmPop .28s cubic-bezier(.22,.61,.36,1); }
@keyframes nmPop { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .nm-card { animation: none; }
}
.nm-header { display: flex; align-items: center; gap: 36px; }
.nm-label { flex: 1 1 auto; min-width: 0; font-family: 'Ubuntu'; font-weight: 500; font-size: 18px; line-height: 32px; letter-spacing: .054px; color: var(--van-dyke); }
.nm-close { flex: 0 0 auto; width: 36px; height: 36px; border: none; border-radius: 100px; background: var(--pumpkin); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 6px; transition: transform .15s ease, background .2s ease; }
@media (hover: hover) { .nm-close:hover { transform: scale(1.05); background: #e96a00; } }
.nm-close svg { width: 24px; height: 24px; display: block; }
/* min-height (not height) so the form state can grow taller than the Figma 606
     when a short window squeezes it — otherwise .nm-panel's overflow:hidden would
     clip the Odeslat button. The card then grows and the dialog scrolls. */
.nm-content { display: flex; gap: 70px; align-items: stretch; min-height: clamp(360px, 56vh, 606px); }
.nm-info { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
/* Figma 1278:5595 — the photo is a fixed 449×212 banner, not a stretch panel;
     height stays 212 on every card, width follows the 449px info column. */
.nm-photo { flex: 0 0 auto; height: 212px; position: relative; border-radius: 20px; overflow: hidden; display: flex; align-items: flex-end; padding: 20px; background: var(--pumpkin); }
.nm-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nm-meta { display: flex; flex-direction: column; gap: 8px; }
.nm-date { font-family: 'Ubuntu'; font-weight: 500; font-size: 18px; line-height: 32px; letter-spacing: .054px; color: rgba(64,46,50,.5); }
.nm-offers { display: flex; flex-direction: column; }
.nm-offer { min-height: 58px; display: flex; flex-direction: column; justify-content: center; }
.nm-offer-row { display: flex; align-items: center; gap: 8px; }
.nm-star { width: 16px; height: 16px; flex: 0 0 auto; display: block; }
.nm-oname { font-family: 'Ubuntu'; font-weight: 500; font-size: 18px; line-height: 32px; letter-spacing: .054px; color: var(--van-dyke); }
.nm-offer-sub { padding-left: 24px; font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body-sec); line-height: var(--lh-body-sec); letter-spacing: var(--ls-body-sec); color: rgba(64,46,50,.5); }
.nm-desc { font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body-sec); line-height: var(--lh-body-sec); letter-spacing: var(--ls-body-sec); color: rgba(64,46,50,.5); white-space: pre-line; }
.nm-panel { flex: 1 1 0; min-width: 0; background: #EBE7DC; border-radius: 20px; padding: 36px; overflow: hidden; display: flex; flex-direction: column; }
/* default state */
.nm-reserve { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.nm-reserve-top { display: flex; flex-direction: column; gap: 24px; }
.nm-h { font-family: 'Ubuntu'; font-weight: 700; font-size: 64px; line-height: 72px; color: var(--pumpkin); }
.nm-sub { font-family: 'Ubuntu'; font-weight: 400; font-size: 20px; line-height: 32px; letter-spacing: .16px; color: rgba(64,46,50,.5); }
.nm-reserve-actions { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.nm-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--pumpkin); color: #EBE7DC; border-radius: 12px; padding: 20px 22px; font-family: 'Ubuntu'; font-weight: 700; font-size: 18px; line-height: 22px; letter-spacing: .18px; transition: transform .15s ease, background .2s ease; }
@media (hover: hover) { .nm-cta:hover { transform: translateY(-2px); background: #e96a00; } }
.nm-arrow { width: 24px; height: 24px; flex: 0 0 auto; display: block; }
.news-modal.is-event .nm-switch-link { display: none; }   /* sign-up events: only the form, never the reservation system */
@media (min-width: 621px) { .news-modal.is-event.is-form .nm-back { display: none; } }   /* (on phones "Zpět" returns from the form to the details) */
.nm-trip { display: none; }
.nm-trip .nm-cta { border: 0; cursor: pointer; }
@media (min-width: 621px) { .nm-notify .m-only-i { display: none; } }   /* the arrow in "Dejte mi vědět" is phone-only (Figma L Applications Closed has none) */
.nm-switch { background: none; border: none; padding: 0; cursor: pointer; text-align: left; font-family: 'Ubuntu'; font-weight: 400; font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); color: var(--pumpkin); text-decoration: underline; text-underline-offset: 2px; }
@media (hover: hover) { .nm-switch:hover { color: #e96a00; } }
/* form state */
.nm-form { flex: 1 1 auto; display: none; flex-direction: column; gap: 36px; }
.news-modal.is-form .nm-reserve { display: none; }
.news-modal.is-form .nm-form { display: flex; }
.nm-fields { display: flex; flex-direction: column; gap: 16px; }
.nm-form .field { background: transparent; }
.nm-form .field.area { flex: 1 1 auto; height: auto; min-height: 120px; }
.nm-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nm-submit { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,116,0,.5); color: rgba(235,231,220,.6); border: none; border-radius: 12px; padding: 20px 22px; font-family: 'Ubuntu'; font-weight: 700; font-size: 18px; line-height: 22px; letter-spacing: .18px; cursor: pointer; transition: background .2s ease; }
@media (hover: hover) { .nm-submit:hover { background: rgba(255,116,0,.7); } }
/* faded (Figma disabled CTA) until the name, a valid e-mail and — where there is a picker — a choice are filled in; then solid */
.nm-form.is-ready .nm-submit { background: var(--pumpkin); color: #EBE7DC; }
@media (hover: hover) { .nm-form.is-ready .nm-submit:hover { background: #e96a00; } }
.nm-switch-link { white-space: nowrap; }
body.nm-open { overflow: hidden; }
/* ---- 2026-11 re-cut (1262:4137 / 1270:4791 / 3067:4927 / 3071:1569), desktop only ---- */
@media (min-width: 901px) {
  .nm-backdrop { background: rgba(64,46,50,.5); }
  .nm-card { padding: 24px 36px 64px; gap: 36px; }
/* tighter top: 24px above the header, 36px between header and content (Figma 36 / 70 felt too airy) */
/* the photo takes whatever height the text column leaves (Figma: flex 1) */
  .nm-content { min-height: 606px; }
  .nm-photo { flex: 0 0 auto; height: auto; aspect-ratio: 2.08 / 1; min-height: 0; }   /* fixed shape (Figma proportions): it used to take the leftover height, so it stretched whenever the right panel got taller (form, open picker) */
  .nm-desc { max-width: 403px; }
  .nm-h { font-size: 40px; line-height: 50px; letter-spacing: -.2px; }
  .nm-sub { color: rgba(64,46,50,.5); }
  .nm-cta { padding: 17px 36px; }
  .nm-switch { font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); color: rgba(113,73,64,.7); }
  @media (hover: hover) { .nm-switch:hover { color: var(--bole); } }
  .nm-switch-link { font-size: 20px; line-height: 32px; letter-spacing: .16px; }
  .nm-form { gap: 24px; }
  .nm-fields .field.select select { color: var(--van-dyke); }
  .nm-fields .field.area { min-height: 140px; }
  .nm-form-foot { gap: 24px; }
  .nm-submit { height: 64px; }
}
/* Applications Closed: heading + copy on top, name/email + "Dejte mi vědět" at the bottom */
.nm-closed { flex: 1 1 auto; display: none; flex-direction: column; justify-content: space-between; gap: 24px; }
.news-modal.is-closed .nm-reserve, .news-modal.is-closed .nm-form { display: none; }
.news-modal.is-closed .nm-closed { display: flex; }
.nm-closed-top { display: flex; flex-direction: column; gap: 24px; }
.nm-closed-bottom { display: flex; flex-direction: column; gap: 16px; }
.nm-closed .field { background: transparent; }
.nm-notify { align-self: flex-start; height: 64px; padding: 20px 22px; border: none; border-radius: 12px; background: var(--pumpkin); color: #EBE7DC; font-family: 'Ubuntu'; font-weight: 700; font-size: 18px; line-height: 22px; letter-spacing: .18px; cursor: pointer; transition: transform .15s ease, background .2s ease; }
@media (hover: hover) { .nm-notify:hover { transform: translateY(-2px); background: #e96a00; } }
/* Announcements only: no reservation panel, a narrow 548px card */
.news-modal.is-announce .nm-panel { display: none; }
/* Odběr novinek (Figma 3216:5287): the panel alone, full width — "Odběr novinek" on top, name + e-mail + button at the bottom */
.news-modal.is-newsletter .nm-info, .news-modal.is-newsletter .nm-back, .news-modal.is-newsletter.is-notify .nm-back { display: none; }   /* no "Zpět": there is nothing behind the sign-up */
.news-modal.is-newsletter .nm-panel { flex: 1 1 auto; display: flex; }
.news-modal.is-newsletter .nm-closed-text { display: none; }
/* Odběr novinek zrušen: the same card and panel, the message only */
.nm-unsub { display: none; flex-direction: column; gap: 24px; }
/* consent checkbox of the newsletter form (a legal requirement, not in Figma): small text, pumpkin box */
.nm-consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 4px; cursor: pointer; font-family: 'Ubuntu'; font-size: 14px; line-height: 22px; letter-spacing: .07px; color: rgba(64,46,50,.7); }
.nm-consent a { color: var(--pumpkin); text-decoration: underline; }
.nm-consent-box { appearance: none; -webkit-appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin: 0; border: 1px solid var(--pumpkin); border-radius: 6px; background: transparent center / 14px no-repeat; cursor: pointer; }
.nm-consent-box:checked { background-color: var(--pumpkin); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7.5l3 3 6-7' stroke='%23EBE7DC' stroke-width='2'/%3E%3C/svg%3E"); }
.nm-consent-box:focus-visible { outline: 2px solid var(--pumpkin); outline-offset: 2px; }
.nm-consent.is-missing .nm-consent-box { border-width: 2px; border-color: #FF3030; }
@media (max-width: 620px) { .news-modal.is-closed:not(.is-notify) .nm-consent { display: none; } }   /* phone: the "Dejte mi vědět" step with the fields still folded away shows no consent yet */
.news-modal.is-unsub .nm-info, .news-modal.is-unsub .nm-back, .news-modal.is-unsub .nm-reserve, .news-modal.is-unsub .nm-trip, .news-modal.is-unsub .nm-form, .news-modal.is-unsub .nm-closed { display: none; }
.news-modal.is-unsub .nm-panel { flex: 1 1 auto; display: flex; }
.news-modal.is-unsub .nm-unsub { display: flex; }
.nm-unsub-btn { display: none; }
/* the sign-up button is faded and cannot be clicked until the fields and the consent are complete */
.nm-notify:disabled { background: rgba(255,116,0,.5); color: rgba(255,255,255,.7); cursor: not-allowed; transform: none; }
@media (hover: hover) { .nm-notify:disabled:hover { background: rgba(255,116,0,.5); transform: none; } }
.news-modal.is-unsub-ask .nm-unsub-btn { display: inline-flex; align-items: center; }
/* the header label is pumpkin in both newsletter screens (Figma 3216:5299 / 5507) */
.news-modal.is-newsletter .nm-label, .news-modal.is-unsub .nm-label { color: var(--pumpkin); }
/* phone (3216:5507): "Buďte v obraze" + a short text above the fields */
@media (max-width: 620px) {
  .news-modal.is-newsletter.is-closed.is-notify .nm-closed-text { display: block; }
  .news-modal.is-newsletter .nm-closed-top { gap: 12px; }
  .news-modal.is-newsletter .nm-notify { height: 52px; }
  .news-modal.is-newsletter.is-notify .nm-panel { background: #EBE7DC; padding: 20px 16px; border-radius: 20px; }   /* the beige panel inside the white card, unlike the course sign-up where the form fills the card */
  .news-modal.is-newsletter .nm-closed-bottom { gap: 12px; }
  .news-modal.is-newsletter .nm-closed-bottom .nm-fields { gap: 12px; }
}
@media (min-width: 901px) {
  .news-modal.is-announce .nm-card { max-width: 548px; }
  .news-modal.is-announce .nm-content { min-height: 0; }
  .news-modal.is-announce .nm-photo { flex: 0 0 auto; height: 278px; }
  .news-modal.is-announce .nm-desc { max-width: none; }
}
@media (max-width: 900px) {
  .nm-dialog { padding: 20px; }
  .nm-card { gap: 24px; padding: 24px 20px 28px; }
  .nm-content { flex-direction: column; min-height: 0; gap: 28px; }
  .nm-photo { flex: 0 0 auto; height: 200px; min-height: 200px; }
  .nm-h { font-size: 40px; line-height: 48px; }
  .nm-panel { padding: 24px; }
  .nm-form-foot { flex-wrap: wrap; gap: 16px; }
}
/* tablets (621-900): the stacked info + reserve panel were both `flex: 1 1 0` in a column, so the panel collapsed to its padding and
   clipped "Rezervujte se"; let each take its content height — the dialog then scrolls normally */
@media (min-width: 621px) and (max-width: 900px) {
  .nm-dialog { padding: 32px; }
  .nm-card { padding: 28px 32px 40px; }
  .nm-info, .nm-panel { flex: 0 0 auto; }
  .nm-photo { height: 260px; min-height: 260px; }
  .nm-desc { max-width: none; }
}
/* ---- Phone popup (Figma 3022:2492: detail / form / closed / newsletter / announcement) ----
     a 378px card centred with a 12px margin, dark scrim 60% (no blur), fixed 694px height */
.nm-back { display: none; }
@media (max-width: 620px) {
  .nm-backdrop { background: rgba(26,18,20,.6); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nm-dialog { padding: 12px; }
  .nm-card { width: 100%; max-width: 378px; height: 694px; max-height: calc(100dvh - 24px); overflow-y: auto; gap: 16px; padding: 16px 16px 24px; border-radius: 24px; }
  .nm-header { gap: 12px; }
  .nm-label { font-size: 14px; line-height: 24px; letter-spacing: .042px; }
  .nm-close { width: 28px; height: 28px; padding: 6px; }
  .nm-close svg { width: 16px; height: 16px; }
  .nm-content { flex-direction: column; flex: 1 1 auto; min-height: min-content; gap: 16px; }   /* never squeezed below its content: on a short phone the card scrolls instead of clipping the form */
  .nm-info { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 16px 12px; align-items: stretch; }
  .nm-photo { grid-column: 1; grid-row: 1; height: auto; min-height: 178px; border-radius: 16px; padding: 0 0 8px 8px; align-items: flex-end; }   /* Figma thumbnail 124 x 178: never a sliver when the text beside it is short */
  .nm-photo .news-chip { transform: none; }
  .nm-meta { grid-column: 2; grid-row: 1; gap: 8px; min-width: 0; }
  .nm-date { font-size: 14px; line-height: 24px; letter-spacing: .042px; color: var(--van-dyke); }
  .nm-offer { min-height: 0; margin-bottom: 8px; }
  .nm-offer:last-child { margin-bottom: 0; }
  .nm-offer-row { align-items: flex-start; gap: 6px; }
  .nm-star { margin-top: 4px; }
  .nm-oname { font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: .08px; }
  .nm-offer-sub { padding-left: 22px; font-size: 14px; line-height: 22px; letter-spacing: .07px; color: rgba(113,73,64,.7); }
  .nm-desc { grid-column: 1 / -1; font-size: 14px; line-height: 22px; letter-spacing: .07px; color: rgba(113,73,64,.7); max-width: none; }
  .nm-panel { flex: 0 0 auto; padding: 20px 16px; border-radius: 16px; overflow: visible; }
  .nm-reserve { gap: 24px; justify-content: flex-start; }
  .nm-reserve-top { gap: 12px; }
  .nm-h { font-size: 26px; line-height: 34px; letter-spacing: -.13px; }
  .nm-sub { font-size: 14px; line-height: 22px; letter-spacing: .07px; }
  .nm-reserve-actions { gap: 12px; }
  .nm-cta, .nm-notify { padding: 14px 16px; height: auto; border-radius: 10px; font-size: 16px; line-height: 20px; letter-spacing: .16px; gap: 6px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; }
  .nm-arrow { width: 20px; height: 20px; }
  .nm-switch { font-size: 14px; line-height: 22px; letter-spacing: .07px; color: rgba(113,73,64,.7); }
  .nm-switch-link { font-size: 14px; line-height: 22px; letter-spacing: .07px; color: rgba(113,73,64,.7); }
/* sign-up event: the details come first, the panel only invites to the form (Figma 3197:4283) */
  .news-modal.is-event:not(.is-form):not(.is-closed):not(.is-announce) .nm-reserve { display: none; }
  .news-modal.is-event:not(.is-form):not(.is-closed):not(.is-announce) .nm-trip { display: flex; flex-direction: column; gap: 20px; }
  .nm-trip-text { font-size: 16px; line-height: 24px; letter-spacing: .08px; }
/* form / newsletter: the photo + details give way to the form, "Zpět" returns */
  .news-modal.is-form .nm-info, .news-modal.is-notify .nm-info { display: none; }
  .news-modal.is-form .nm-panel, .news-modal.is-notify .nm-panel { flex: 1 1 auto; background: transparent; padding: 0; border-radius: 0; }
  .news-modal.is-form .nm-back, .news-modal.is-notify .nm-back { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-bottom: 8px; padding: 0; border: 0; background: none; cursor: pointer;
      font-family: 'Ubuntu'; font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: .08px; color: var(--van-dyke); }
  .nm-back svg { width: 20px; height: 20px; }
  .nm-form { gap: 20px; }
  .nm-fields { gap: 12px; }
  .nm-fields .field { padding: 13px 15px; border-radius: 12px; }
  .nm-fields .field input, .nm-fields .field textarea, .nm-fields .field select, .nm-fields .field .sel-btn, .nm-fields .field .sel-list li { font-size: 16px; line-height: 24px; letter-spacing: .08px; }
  .nm-fields .field.area { min-height: 0; }
  .nm-form .nm-fields { flex: 1 1 auto; }
  .nm-fields .field.select select { color: var(--van-dyke); }
  .nm-form-foot { flex-wrap: nowrap; gap: 12px; }
  .nm-submit { height: auto; padding: 14px 16px; border-radius: 10px; font-size: 16px; line-height: 20px; letter-spacing: .16px; }
  .nm-submit .nm-arrow { display: none; }
/* Applications Closed: heading + copy, one button; the button reveals the newsletter fields (3070:5327) */
  .nm-closed { gap: 24px; justify-content: flex-start; }
  .nm-closed-top { gap: 12px; }
  .news-modal.is-closed .nm-closed-bottom .nm-fields { display: none; }
  .news-modal.is-closed.is-notify .nm-closed-bottom .nm-fields { display: flex; }
  .news-modal.is-closed.is-notify .nm-closed-text { display: none; }
  .news-modal.is-closed.is-notify .nm-closed { flex: 1 1 auto; justify-content: space-between; }
  .news-modal.is-closed.is-notify .nm-notify { background: rgba(255,116,0,.5); color: rgba(255,255,255,.7); }
  .news-modal.is-closed.is-notify .nm-closed.is-ready .nm-notify { background: var(--pumpkin); color: #EBE7DC; }
  .news-modal.is-closed.is-notify .nm-notify .nm-arrow { display: none; }
/* announcement only: a wide photo above the details, height follows the content */
  .news-modal.is-announce .nm-content { flex: 1 1 auto; }
  .news-modal.is-announce .nm-info { grid-template-columns: minmax(0, 1fr); }
  .news-modal.is-announce .nm-photo { grid-column: 1; grid-row: auto; height: 178px; padding: 16px; border-radius: 16px; }
  .news-modal.is-announce .nm-meta { grid-column: 1; grid-row: auto; }
}
/* Footer: the markup and styles are shared with the sub-pages (styles.css). Only the wave lapping over the
   brown contact section is specific to the home page. */
.footer { margin-top: -78px; position: relative; z-index: 2; }
@media (min-width: 621px) { .footer-top { background: var(--bole); } }   /* on phones .footer-top carries the wave artwork (styles.css), a plain fill would hide it */
@media (max-width: 620px) {
  .footer { margin-top: -1px; background: var(--bole); }   /* 1px overlap hides the sub-pixel seam between the contact panel and the footer */
}

/* phone: the outlined secondary button sits on the dark panel (Figma), so it is off-white there */
@media (max-width: 620px) {
  .btn-secondary { border-color: #EBE7DC; color: #EBE7DC; }
}

/* Desktop only: the gallery headline spans the full 1385px content column (Figma 1334:8342 is a 1385px text box, 3 lines);
   the old 1180px cap came from dev note 3050:2075 and no longer matches the design. Tablet and phone keep their own widths. */
@media (min-width: 1101px) {
  .gallery-heading { max-width: none; }
}

/* Desktop wider than the 1512px Figma canvas: 64px side gutters, rows stretch (see the matching block at the end of styles.css) */
@media (min-width: 1512px) {
  .about-card { max-width: none; }
  .gallery-inner { padding-left: 64px; padding-right: 64px; }
  .news-row { width: 100%; }
  .news-cards { flex: 1 1 auto; min-width: 0; }
  .news-card { width: auto; max-width: none; min-width: 0; flex: 0 0 calc((100% - 48px) / 3); }   /* exactly three across (Figma 355px at 1513); more cards wait behind the arrows, fewer stay centred below */
  .news-card:first-child { margin-left: auto; }
  .news-card:last-child { margin-right: auto; }
  .gallery-slide { flex-wrap: nowrap; }
  .gallery-note { flex: 0 1 491px; min-width: 0; }
  .gallery-photo { flex: 1 1 0; width: auto; min-width: 0; }
  .contact-inner { max-width: none; }
  .contact-left { width: 776px; flex: none; }   /* header, text and cards keep the Figma 776px column … */
  .contact-form { flex: 1 1 453px; min-width: 0; }   /* … and the form grows into the rest instead of staying a 453px strip */
}

/* ===== Contact cards and opening hours exactly as drawn (Figma 1334:8364), every desktop width =====
   367px card, 36px padding, labels 22/32, hours 16/26 on a 34px pitch; reception: times start 119px from the day column (second slot 89px on);
   Dětská skupina: times flush right. Not scaled on the compact desktop (excluded in scripts/desktop-scale.js). */
@media (min-width: 981px) {
  html body .info-card { padding: 36px; gap: 36px; }
  html body .info-phone .k, html body .info-phone .v, html body .info-hours .hl { font-size: 22px; line-height: 32px; }
  html body .info-hours .hl { display: block; margin-bottom: 16px; }
  html body .info-hours .hours { grid-template-columns: 119px auto; justify-content: start; gap: 8px 0; }
  html body .info-hours .hours span { font-size: 16px; line-height: 26px; letter-spacing: .08px; white-space: nowrap; }
  html body .info-hours .hours .t { justify-self: start; }
  html body .info-card + .info-card .hours { grid-template-columns: max-content 1fr; justify-content: stretch; }
  html body .info-card + .info-card .hours .t { justify-self: end; }
}

/* ===== Gallery stage per Figma 1334:8344 (note 491 + photo 858, 36px apart, 560 tall in a 1385px row): the row fills the width between
   the section's side paddings and keeps those proportions. Not scaled on the compact desktop. ===== */
@media (min-width: 981px) and (max-width: 1100px) {
  html body .gallery-inner { padding-left: 80px; padding-right: 80px; }   /* stacked row; same sides as the other sections at this width */
}
@media (min-width: 1101px) {
  /* edge to edge between the section's side paddings (134px, see styles.css). The note and the photo keep their 491 : 858 widths;
     only on a low window is the height limited, so the whole row stays visible. */
  html body .gallery-inner { width: 100%; max-width: none; padding-left: 0; padding-right: 0; margin-left: auto; margin-right: auto; }
  html body .gallery-heading { max-width: none; padding-left: 0; padding-right: 0; justify-content: flex-start; }
  html body .gallery-stage { container-type: inline-size; }
  html body .gallery-slide { --gh: max(420px, min((100cqw - 36px) * 560 / 1349, 100dvh - 260px)); height: var(--gh); gap: 36px; justify-content: flex-start; }
  html body .gallery-note { flex: 0 0 calc((100% - 36px) * 491 / 1349); width: auto; min-width: 0; height: var(--gh); padding: min(56px, calc(var(--gh) * .1), 3.6cqw); }
  html body .gallery-photo { flex: 0 0 calc((100% - 36px) * 858 / 1349); width: auto; min-width: 0; height: var(--gh); }
  html body .gallery-note p:not(.gn-title) { font-size: clamp(13px, min(var(--gh) * .04, 1.6cqw), 20px); line-height: 1.6; }
  html body .gallery-note p.gn-title { font-size: clamp(22px, min(var(--gh) * .071, 2.9cqw), 40px); line-height: 1.25; }
}

/* ===== Contact section laid out exactly as drawn (Figma 1334:8352), from 1201px up (2026-12-01) =====
   1385px row with 64px sides: text column 776 (headline, lead, address line, the two 367/373 cards) and the 453px form at the right, both
   774 tall. --u is one Figma pixel, so below 1513px the whole composition shrinks in proportion (with a readable minimum for the text)
   instead of rearranging. The Odeslat button keeps its size. Not scaled on the compact desktop (excluded in scripts/desktop-scale.js). */
@media (min-width: 1201px) {
  html body .contact { padding-left: 64px; padding-right: 64px; }
  html body .contact-inner { container-type: inline-size; width: 100%; max-width: 1385px; margin: 0 auto; flex-direction: row; justify-content: space-between; align-items: stretch; gap: 0; }
  html body .contact-left, html body .contact-form { --u: min(1px, 100cqw / 1385); }
  html body .contact-left { flex: 0 0 calc(776 * var(--u)); width: calc(776 * var(--u)); gap: calc(56 * var(--u)); }
  html body .contact-head h2 { margin-bottom: calc(36 * var(--u)); }   /* type size = the other section headlines ("Co nabízíme") */
  html body .contact-sub { max-width: calc(671 * var(--u)); margin-bottom: 0; font-size: max(13px, calc(20 * var(--u))); line-height: 1.6; }
  html body .contact-meta { flex-wrap: wrap; gap: calc(16 * var(--u)); margin-top: calc(56 * var(--u)); }
  html body .contact-meta .dot { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
  html body .contact-meta .b, html body .contact-meta .vp span { font-size: max(13px, calc(22 * var(--u))); line-height: 1.45; }
  html body .contact-meta .r { font-size: max(13px, calc(20 * var(--u))); line-height: 1.6; }
  html body .contact-meta .vp img { width: calc(28 * var(--u)); height: calc(28 * var(--u)); }
  html body .contact-cards { flex-direction: row; align-items: stretch; gap: calc(36 * var(--u)); }
  html body .contact-cards .info-card:first-child { flex: 0 0 calc(367 * var(--u)); width: calc(367 * var(--u)); }
  html body .contact-cards .info-card:last-child { flex: 1 1 0; width: auto; min-width: 0; }
  html body .contact-cards .info-card { padding: calc(36 * var(--u)); gap: calc(36 * var(--u)); border-radius: calc(20 * var(--u)); }
  html body .contact-cards .info-phone .k, html body .contact-cards .info-phone .v, html body .contact-cards .info-hours .hl { font-size: max(14px, calc(22 * var(--u))); line-height: 1.45; }
  html body .contact-cards .info-hours .hl { margin-bottom: calc(16 * var(--u)); }
  html body .contact-cards .info-hours .hours { gap: calc(8 * var(--u)) 0; grid-template-columns: calc(119 * var(--u)) auto; }
  html body .contact-cards .info-card + .info-card .hours { grid-template-columns: max-content 1fr; }
  html body .contact-cards .info-hours .hours span { font-size: max(12px, calc(16 * var(--u))); line-height: 1.625; }
  html body .contact-form { flex: 0 0 calc(453 * var(--u)); width: calc(453 * var(--u)); height: auto; padding: calc(36 * var(--u)); gap: calc(16 * var(--u)); border-radius: calc(20 * var(--u)); }
  html body .contact-form .form-title-d { font-size: calc(40 * var(--u)); line-height: calc(50 * var(--u)); margin-bottom: calc(16 * var(--u)); }
  html body .contact-form .form-fields { flex-direction: column; gap: calc(16 * var(--u)); }
  html body .contact-form .field { height: max(44px, calc(60 * var(--u))); }
  html body .contact-form .field input, html body .contact-form .field select, html body .contact-form .field textarea, html body .contact-form .field .sel-btn { font-size: max(13px, calc(20 * var(--u))); }
  html body .contact-form .field.area { flex: 1 1 auto; height: auto; min-height: calc(204 * var(--u)); }
  html body .contact-form .form-submit { margin-top: auto; align-self: flex-start; }
}

/* ===== Popups (2026-12-02): every one is the same height, and in every panel the heading sits at the top while the form and
   everything that belongs to it sits at the bottom edge ===== */
.nm-form .nm-fields { flex: 0 0 auto; margin-top: auto; }
html body .news-modal .nm-form .field.area { flex: 0 0 auto; height: clamp(96px, 18vh, 160px); min-height: 0; }
.nm-unsub { flex: 1 0 auto; }
.nm-unsub .nm-unsub-text { margin-top: auto; }
@media (min-width: 901px) {
  html body .news-modal .nm-card { display: flex; flex-direction: column; height: min(900px, calc(100vh - 32px)); height: min(900px, calc(100dvh - 32px)); padding-bottom: 36px; }
  html body .news-modal .nm-header { flex: 0 0 auto; }
  html body .news-modal .nm-content { flex: 1 1 auto; height: auto; min-height: 0; }
  html body .news-modal .nm-info, html body .news-modal .nm-panel { min-height: 0; overflow-y: auto; }   /* only a very long description (or a very low window) scrolls, inside its column */
}
@media (min-width: 901px) {   /* tight panel spacing so the longest one (closed course with consent) fits without scrolling */
  html body .news-modal .nm-card { gap: 20px; padding-bottom: 28px; }
  html body .news-modal .nm-panel { padding: 24px 28px; }
  html body .news-modal .nm-closed, html body .news-modal .nm-closed-top, html body .news-modal .nm-closed-bottom, html body .news-modal .nm-form { gap: 12px; }
  html body .news-modal .nm-fields { gap: 10px; }
  html body .news-modal .nm-sub { font-size: 16px; line-height: 24px; }
}

/* ===== "Co nabízíme" cards at their Figma size on every desktop (1334:8295: 280 x 336, three across, 36px apart); not scaled on the
   compact desktop. The sea plant is a 166px-wide window (1334:8322), 116px on phones. ===== */
.act-icon .sp-clip { width: 166px; }
@media (min-width: 981px) {
  html body .act-card h3 { font-size: 28px; line-height: 38px; letter-spacing: -.084px; }
}
@media (max-width: 620px) {
  .act-icon .sp-clip { width: 116px; }
}
