/* ==========================================================================
   Gizzmo – Božični adventni koledar 2026
   One responsive page. Mobile first: base styles = 375 px design (Figma 1:1).
   Breakpoints are container queries on .page (= the page width):
     ≥ 640px  tablet  – 6-column calendar mosaic
     ≥ 960px  desktop – 2-column hero (copy left, Santa + countdown right)
   ========================================================================== */

/* ---------- Fonts: FF Unit Rounded Pro (commercial – web licence required) */
@font-face { font-family: 'FF Unit Rounded Pro'; font-style: normal; font-weight: 300; font-display: swap; src: url('../assets/fonts/ff-unit-rounded-pro-light.woff2') format('woff2'); }
@font-face { font-family: 'FF Unit Rounded Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/ff-unit-rounded-pro-regular.woff2') format('woff2'); }
@font-face { font-family: 'FF Unit Rounded Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/ff-unit-rounded-pro-medium.woff2') format('woff2'); }
@font-face { font-family: 'FF Unit Rounded Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/ff-unit-rounded-pro-bold.woff2') format('woff2'); }
@font-face { font-family: 'FF Unit Rounded Pro'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/ff-unit-rounded-pro-black.woff2') format('woff2'); }
@font-face { font-family: 'FF Unit Rounded Pro'; font-style: normal; font-weight: 900; font-display: swap; src: url('../assets/fonts/ff-unit-rounded-pro-ultra.woff2') format('woff2'); }

/* ---------- Design tokens */
:root {
  --font: 'FF Unit Rounded Pro', 'Unit Rounded Pro', sans-serif;

  /* brand */
  --c-ink: #0b1123;          /* body text, number stroke */
  --c-ink-btn: #04091e;      /* text on gold buttons */
  --c-cream: #fdf2dc;        /* page background */
  --c-white: #ffffff;
  --c-gold-text: #ffd776;    /* eyebrows, hover */
  --c-sand: #e9d3a7;         /* beige tile, counter number */

  /* tile colours */
  --c-red: #8e232d;
  --c-red-dark: #721c24;     /* red × 0.8 – panels on red */
  --c-red-border: #e98891;
  --c-dark: #26452b;         /* dark green */
  --c-green: #acc58d;        /* light green */
  --c-beige: #e9d3a7;

  /* gradients */
  --g-gold: linear-gradient(90deg, #cd8b33 0%, #feeea0 61.5%, #fbd36b 100%);
  --g-promo: linear-gradient(90deg, #ffe98d 0%, #fee88c 12%, #f4b74e 29.5%, #fde38a 42%, #e99b47 56.5%, #ffe38c 100%);
  --g-hero: linear-gradient(180deg, #8e232d 0%, #c86871 70%, #fdf2dc 100%);

  --radius-btn: 4px;
  --radius-tile: 8px;
  --radius-card: 9px;
}

/* ---------- Base */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; }
body { background: var(--c-cream); }
#koledar { scroll-margin-top: 12px; }

.page {
  container-type: inline-size;
  container-name: gz;
  min-height: 100%;
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-cream);
}

/* Gold button (hero CTA + popup CTAs) */
.btn-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: none;
  border-radius: var(--radius-btn);
  background: var(--g-gold);
  color: var(--c-ink-btn);
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-gold:focus-visible { outline: 3px solid var(--c-gold-text); outline-offset: 3px; }

/* ==========================================================================
   1. Promo bar (marquee)
   ========================================================================== */
.promo-bar {
  height: 44px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--g-promo);
}
.promo-bar__track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  will-change: transform;
  animation: gz-marquee 36s linear infinite;
}
.promo-bar__text {
  margin: 0;
  padding-right: 56px;
  white-space: nowrap;
  font-size: 15px;
  line-height: 44px;
  font-weight: 400;
  color: var(--c-ink);
}
.promo-bar__text strong { font-weight: 500; }
@keyframes gz-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   2. Hero
   ========================================================================== */
.hero { padding: 30.3px 0 0; background: var(--g-hero); }
.hero__inner { display: flex; flex-direction: column; align-items: center; }

.hero__copy {
  width: 100%;
  box-sizing: border-box;
  padding: 0 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__eyebrow {
  margin: 0 -0.25em 0 0;           /* negative right margin cancels the trailing letter-space */
  color: var(--c-gold-text);
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero__title {
  margin: 9.4px 0 0;
  color: var(--c-white);
  font-size: 42px;
  line-height: 42px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero__lead {
  margin: 20.6px 0 0;
  color: var(--c-white);
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}
.hero__actions { display: flex; flex-direction: column; align-items: center; margin-top: 19.7px; }
.hero__cta {
  width: 195px;
  height: 52px;
  padding-left: 0.05em;            /* optical centring of the letter-spaced label */
  font-size: 14.5px;
  line-height: 14.5px;
}
.hero__link {
  margin-top: 9.5px;
  color: var(--c-white);
  font-size: 17px;
  line-height: 17px;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
.hero__link:hover { color: var(--c-gold-text); }

.hero__trust {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  color: var(--c-white);
  font-size: 12px;
  line-height: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.hero__trust li:nth-child(2) { margin-left: 11.3px; }
.hero__trust li:nth-child(3) { margin-left: 27.6px; }
.hero__trust svg { width: 0.85em; height: 0.78em; margin-right: 0.34em; vertical-align: -0.04em; }

.hero__visual {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20.5px;
}
.hero__santa {
  display: block;
  position: relative;
  z-index: 0;
  width: 289px;
  height: auto;
  margin-bottom: -62.1px;          /* countdown card overlaps the gifts */
}

/* ---------- Countdown card */
.countdown {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: calc(100% - 18px);
  padding: 25.1px 21px;
  background: var(--c-red);
  border: 1px solid var(--c-red-border);
  border-radius: var(--radius-card);
  text-align: center;
  color: var(--c-white);
}
.countdown__label { margin: 0; font-size: 15px; line-height: 15px; font-weight: 500; letter-spacing: -0.015em; }
.countdown__units { display: flex; gap: 10px; margin-top: 14.9px; }
.countdown__unit {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14.45px 0 13.5px;
  background: var(--c-red-dark);
  border-radius: var(--radius-tile);
}
.countdown__value { font-size: 36px; line-height: 36px; font-weight: 500; font-variant-numeric: tabular-nums; }
.countdown__caption { margin-top: 7px; font-size: 12px; line-height: 12px; font-weight: 500; letter-spacing: 0.03em; }
.countdown__opened { display: block; }
.countdown__count { margin: 20.3px 0 0; font-size: 40px; line-height: 40px; font-weight: 700; color: var(--c-sand); }
.countdown__count-label { margin: 14.2px 0 0; font-size: 17px; line-height: 17px; font-weight: 400; letter-spacing: -0.024em; }
.countdown__bar { margin-top: 10.5px; height: 6px; border-radius: 3px; background: var(--c-red-dark); overflow: hidden; }
.countdown__bar-fill { height: 6px; border-radius: 3px; background: var(--c-sand); width: 0; transition: width .4s ease; }
.countdown__note { margin: 13.9px 0 0; font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.01em; }

/* ==========================================================================
   3. Calendar – 24 windows
   ========================================================================== */
.calendar { padding: 9px 10px 60px; background: var(--c-cream); }
.calendar__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  /* row height = column width × 1.0383 (Figma mobile ratio) */
  grid-auto-rows: calc((100cqw - 40px) / 3 * 1.0383);
}

/* Mobile mosaic (3 columns, auto-placed) */
.tile--1, .tile--7, .tile--10, .tile--16 { grid-column: span 2; grid-row: span 2; }
.tile--5, .tile--8, .tile--14, .tile--20 { grid-column: span 2; }
.tile--6, .tile--17, .tile--21 { grid-row: span 2; }
.tile--24 { grid-column: span 3; grid-row: span 2; }

.tile {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-tile);
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s ease;
}
.tile[data-tone="red"]   { background: var(--c-red); }
.tile[data-tone="dark"]  { background: var(--c-dark); }
.tile[data-tone="green"] { background: var(--c-green); }
.tile[data-tone="beige"] { background: var(--c-beige); }

.tile:hover { transform: scale(1.05); z-index: 3; box-shadow: 0 14px 30px rgba(11, 17, 35, .28); }
.tile:focus-visible { outline: 3px solid var(--c-gold-text); outline-offset: 3px; z-index: 3; }

/* Full-bleed artwork (tiles 1, 5, 6, 7, 8, 10, 16, 17, 20, 21, 24) */
.tile__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* Icon artwork (all other tiles) – sits bottom-right, never covers the number */
.tile__icon {
  position: absolute;
  right: 4%;
  bottom: 4%;
  width: 62%;
  height: 56%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

/* Window number */
.tile__num {
  position: absolute;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: var(--c-white);
  -webkit-text-stroke: 2.6px var(--c-ink);
  paint-order: stroke fill;
  text-shadow: 1.5px 1.5px 0 var(--c-ink);
}
/* icon tiles: number top-left */
.tile--icon .tile__num { left: 9%; top: 7%; }
/* artwork tiles: number centred on a point (x%, y%) chosen per tile */
.tile--art .tile__num { left: var(--num-x); top: var(--num-y); transform: translate(-50%, -44.3%); }

/* Per-tile artwork placement */
.tile--1  { --num-x: 23.1%; --num-y: 24.3%; } .tile--1  .tile__art { object-position: right bottom; }
.tile--5  { --num-x: 76.6%; --num-y: 51.1%; } .tile--5  .tile__art { object-position: center; }
.tile--6  { --num-x: 49.9%; --num-y: 25.2%; } .tile--6  .tile__art { object-position: center bottom; }
.tile--7  { --num-x: 24.7%; --num-y: 25.3%; } .tile--7  .tile__art { object-position: right bottom; }
.tile--8  { --num-x: 75.8%; --num-y: 49.1%; } .tile--8  .tile__art { object-position: center; }
.tile--10 { --num-x: 22%;   --num-y: 24.1%; } .tile--10 .tile__art { object-position: right bottom; }
.tile--16 { --num-x: 23%;   --num-y: 76.2%; } .tile--16 .tile__art { object-position: right top; }
.tile--17 { --num-x: 49.9%; --num-y: 25.5%; } .tile--17 .tile__art { object-position: center bottom; }
.tile--20 { --num-x: 25%;   --num-y: 50.6%; } .tile--20 .tile__art { object-position: center; }
.tile--21 { --num-x: 49.3%; --num-y: 24.1%; } .tile--21 .tile__art { object-position: center bottom; }
.tile--24 { --num-x: 26%;   --num-y: 49.1%; } .tile--24 .tile__art { object-position: right bottom; }

/* Per-tile icon boxes (tuned by hand; aspect-ratio keeps them identical on every screen) */
.tile--2  .tile__icon, .tile--12 .tile__icon, .tile--22 .tile__icon { width: 86.93%; height: auto; aspect-ratio: 184 / 166; }
.tile--3  .tile__icon { width: 92.13%; height: auto; aspect-ratio: 195 / 176; }
.tile--4  .tile__icon, .tile--18 .tile__icon, .tile--19 .tile__icon { width: 82.2%; height: auto; aspect-ratio: 174 / 157; }
.tile--9  .tile__icon { width: 78.9%; height: auto; aspect-ratio: 167 / 151; }
.tile--15 .tile__icon { width: 95.91%; height: auto; aspect-ratio: 203 / 183; }
.tile--14 .tile__icon { bottom: 6%; width: 58%; height: 78%; }   /* wide tile */
.tile--14 .tile__num  { left: 4.3%; }
/* tiles 11, 13, 23 use the default icon box */

/* ---------- Tile states (set by JS: is-past / is-today / is-locked) */
.tile__badge {
  display: none;
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tile__badge--today {
  background: var(--g-gold);
  color: var(--c-ink-btn);
  box-shadow: 0 2px 6px rgba(11, 17, 35, .25);
}
.tile__badge--past {
  background: rgba(11, 17, 35, .62);
  color: var(--c-white);
  opacity: .55;
}
.tile.is-today .tile__badge--today,
.tile.is-past .tile__badge--past { display: inline-block; }

.tile.is-today {
  z-index: 1;
  box-shadow: 0 0 0 3px #fbd36b, 0 0 18px 3px rgba(251, 211, 107, .5);
  animation: gz-glow 2.4s ease-in-out infinite;
}
.tile.is-today:hover { z-index: 3; }
@keyframes gz-glow {
  0%, 100% { box-shadow: 0 0 0 3px #fbd36b, 0 0 12px 2px rgba(251, 211, 107, .35); }
  50%      { box-shadow: 0 0 0 3px #fbd36b, 0 0 26px 6px rgba(251, 211, 107, .75); }
}
.tile.is-past::before { content: ""; position: absolute; inset: 0; background: rgba(253, 242, 220, .42); }
.tile.is-past .tile__art,
.tile.is-past .tile__icon { filter: grayscale(.9); opacity: .55; }
.tile.is-past .tile__num { opacity: .6; }

/* ==========================================================================
   4. Window popup (one dialog, 3 states × 4 colour themes)
   ========================================================================== */
.popup {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  padding: 16px;
  overflow-y: auto;
  font-family: var(--font);
}
.popup[hidden] { display: none; }
.popup__backdrop {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(11, 17, 35, .62);
  cursor: pointer;
}
.popup__wrap { position: relative; z-index: 1; width: 100%; max-width: 760px; margin: auto 0; }

/* Colour themes – the popup takes the colour of the clicked tile.
   Rule: panels are a darker shade of the card colour. */
.popup__dialog[data-tone="red"] {
  --p-bg: #8e232d; --p-border: #e98891; --p-text: #ffffff; --p-eyebrow: #ffd776;
  --p-panel: #721c24; --p-panel-text: #ffffff; --p-muted: #e9d3a7;
  --p-code: #ffd776; --p-dash: #e9d3a7; --p-copy-bg: #fdf2dc; --p-copy-text: #8e232d;
}
.popup__dialog[data-tone="dark"] {
  --p-bg: #26452b; --p-border: #5f8a64; --p-text: #ffffff; --p-eyebrow: #ffd776;
  --p-panel: #1e3722; --p-panel-text: #ffffff; --p-muted: #c9dcb2;
  --p-code: #ffd776; --p-dash: #acc58d; --p-copy-bg: #fdf2dc; --p-copy-text: #26452b;
}
.popup__dialog[data-tone="green"] {
  --p-bg: #acc58d; --p-border: #8fae6c; --p-text: #0b1123; --p-eyebrow: #26452b;
  --p-panel: #9bb17f; --p-panel-text: #0b1123; --p-muted: #1a2e1d;
  --p-code: #26452b; --p-dash: #26452b; --p-copy-bg: #26452b; --p-copy-text: #ffffff;
}
.popup__dialog[data-tone="beige"] {
  --p-bg: #e9d3a7; --p-border: #d2b77f; --p-text: #0b1123; --p-eyebrow: #8e232d;
  --p-panel: #dbc69d; --p-panel-text: #0b1123; --p-muted: #4a3b22;
  --p-code: #8e232d; --p-dash: #8e232d; --p-copy-bg: #8e232d; --p-copy-text: #ffffff;
}

.popup__dialog {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;                 /* image left on desktop, on top on mobile */
  overflow: hidden;
  background: var(--p-bg);
  border: 1px solid var(--p-border);
  border-radius: var(--radius-card);
  color: var(--p-text);
  text-align: left;
  box-shadow: 0 24px 60px rgba(11, 17, 35, .35);
}
.popup__close {
  position: absolute;
  z-index: 2;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--p-text);
  cursor: pointer;
}
.popup__media {
  flex: 1 1 220px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  background: var(--p-panel);
}
.popup__img {
  display: block;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transform-origin: 50% 80%;       /* pivot for the shake animation */
}
.popup__dialog[data-state="past"] .popup__img { filter: grayscale(.9); opacity: .6; }

.popup__body { flex: 999 1 320px; min-width: 0; box-sizing: border-box; padding: 28px 24px 24px; }
.popup__eyebrow {
  margin: 0;
  padding-right: 40px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--p-eyebrow);
}
.popup__title {
  margin: 12px 0 0;
  font-size: 28px;
  line-height: 31px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--p-text);
}

/* Today: coupon panel */
.coupon { margin-top: 20px; padding: 14px 14px 12px; background: var(--p-panel); border-radius: var(--radius-tile); }
.coupon__label { margin: 0; font-size: 13px; line-height: 13px; font-weight: 500; color: var(--p-muted); }
.coupon__row { display: flex; gap: 10px; margin-top: 10px; }
.coupon__code-box {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--p-dash);
  border-radius: 6px;
}
.coupon__code {
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--p-code);
  white-space: nowrap;
}
.coupon__copy {
  flex: none;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 16px;
  border: none;
  border-radius: var(--radius-btn);
  background: var(--p-copy-bg);
  color: var(--p-copy-text);
  font-family: inherit;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}
.coupon__valid { margin: 10px 0 0; font-size: 12px; line-height: 12px; font-weight: 400; color: var(--p-muted); }

/* CTA inside the dark panel (today, past and locked) */
.popup__cta {
  margin: 12px 0 0;
  width: 100%;
  min-height: 52px;
  padding: 10px 16px 10px calc(16px + 0.05em);
  text-align: center;
  font-size: 15px;
  line-height: 18px;
}

.popup__next {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
  color: var(--p-text);
}
.popup__next svg { flex: none; }
.popup__next strong { font-weight: 500; }

/* Past + locked: message panel */
.popup__panel {
  margin: 20px 0 0;
  padding: 14px 16px;
  background: var(--p-panel);
  border-radius: var(--radius-tile);
  font-size: 15px;
  line-height: 21px;
  font-weight: 400;
  color: var(--p-panel-text);
}
.popup__panel p { margin: 0; }

body.has-popup { overflow: hidden; }

/* ==========================================================================
   Tablet ≥ 640px
   ========================================================================== */
@container gz (min-width: 640px) {
  .hero__copy { max-width: 560px; }
  .countdown { width: 100%; max-width: 480px; }

  .calendar { padding: 48px 24px 80px; }
  .calendar__grid {
    max-width: 1320px;
    margin: 0 auto;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: calc((min(100cqw - 48px, 1320px) - 50px) / 6);   /* square cells */
  }
  .tile__num { font-size: max(32px, calc((min(100cqw - 48px, 1320px) - 50px) / 6 * 0.3)); }

  /* Desktop mosaic – explicit placement on a 6 × 8 grid */
  .tile--1  { grid-column: 1 / 3; grid-row: 1 / 3; }
  .tile--2  { grid-column: 3;     grid-row: 1; }
  .tile--3  { grid-column: 3;     grid-row: 2; }
  .tile--4  { grid-column: 4;     grid-row: 1; }
  .tile--5  { grid-column: 5 / 7; grid-row: 1; }
  .tile--6  { grid-column: 4;     grid-row: 2 / 4; }
  .tile--7  { grid-column: 5 / 7; grid-row: 2 / 4; }
  .tile--8  { grid-column: 1 / 3; grid-row: 3; }
  .tile--9  { grid-column: 3;     grid-row: 3; }
  .tile--10 { grid-column: 1 / 3; grid-row: 4 / 6; }
  .tile--11 { grid-column: 3;     grid-row: 4; }
  .tile--12 { grid-column: 3;     grid-row: 5; }
  .tile--13 { grid-column: 4;     grid-row: 4; }
  .tile--14 { grid-column: 5 / 7; grid-row: 4; }
  .tile--15 { grid-column: 4;     grid-row: 5; }
  .tile--16 { grid-column: 5 / 7; grid-row: 5 / 7; }
  .tile--17 { grid-column: 1;     grid-row: 6 / 8; }
  .tile--18 { grid-column: 2;     grid-row: 6; }
  .tile--19 { grid-column: 4;     grid-row: 6; }
  .tile--20 { grid-column: 1 / 3; grid-row: 8; }
  .tile--21 { grid-column: 3;     grid-row: 6 / 8; }
  .tile--22 { grid-column: 2;     grid-row: 7; }
  .tile--23 { grid-column: 3;     grid-row: 8; }
  .tile--24 { grid-column: 4 / 7; grid-row: 7 / 9; }
}

/* ==========================================================================
   Desktop ≥ 960px
   ========================================================================== */
@container gz (min-width: 960px) {
  .hero { padding: 20px 40px 0; }
  .hero__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    column-gap: 64px;
    align-items: center;
  }
  .hero__copy { max-width: none; padding: 0 0 64px; text-align: left; align-items: flex-start; }
  .hero__eyebrow { font-size: 18px; line-height: 18px; }
  .hero__title { margin-top: 18px; font-size: 64px; line-height: 64px; }
  .hero__lead { margin-top: 24px; max-width: 470px; font-size: 19px; line-height: 27px; }
  .hero__actions { flex-direction: row; gap: 28px; margin-top: 36px; }
  .hero__cta { width: 220px; height: 56px; font-size: 16px; line-height: 16px; }
  .hero__link { margin-top: 0; font-size: 18px; line-height: 18px; }
  .hero__trust { justify-content: flex-start; margin-top: 32px; font-size: 14px; line-height: 14px; }
  .hero__trust li:nth-child(2), .hero__trust li:nth-child(3) { margin-left: 28px; }
  .hero__visual { margin-top: 0; }
  .hero__santa { width: 304px; margin-bottom: -73px; }

  /* "12 od 24 že odprtih oken" on one line */
  .countdown__opened { display: flex; flex-direction: row; gap: 12px; justify-content: center; align-items: center; height: 50px; }
  .countdown__count-label { height: 14px; }

  .calendar { padding: 56px 40px 96px; }
  .calendar__grid { grid-auto-rows: calc((min(100cqw - 80px, 1320px) - 50px) / 6); }
  .tile__num { font-size: max(32px, calc((min(100cqw - 80px, 1320px) - 50px) / 6 * 0.3)); }
}

/* ---------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .promo-bar { justify-content: center; }
  .promo-bar__track { animation: none; width: 100%; justify-content: center; }
  .promo-bar__text[aria-hidden="true"] { display: none; }
  .promo-bar__text { padding-right: 0; text-align: center; }
  .tile { transition: none; }
  .tile:hover { transform: none; }
  .tile.is-today { animation: none; }
}
