/* P03 · Apartmány Brezový breh · Soft organic, cream + lake teal */

@property --sky-top { syntax: "<color>"; inherits: true; initial-value: oklch(0.8 0.08 230); }
@property --sky-bot { syntax: "<color>"; inherits: true; initial-value: oklch(0.93 0.03 200); }

:root {
  --cream: oklch(0.97 0.015 85);
  --cream-2: oklch(0.94 0.02 85);
  --bg: var(--cream);
  --fg: oklch(0.28 0.03 220);
  --muted: oklch(0.5 0.03 220);
  --accent: oklch(0.6 0.1 195);
  --accent-fg: oklch(0.15 0.02 220);
  --accent-ink: oklch(0.45 0.1 195);
  --line: oklch(0.86 0.02 85);
  --field: oklch(0.62 0.03 220);
  --error: oklch(0.5 0.16 30);
  --sun: oklch(0.92 0.12 85);
  --season: oklch(0.62 0.14 60);
  --shadow: 0 8px 24px oklch(0.3 0.05 220 / 0.12);
  --shadow-float: 0 22px 48px -18px oklch(0.3 0.05 220 / 0.32), 0 4px 12px oklch(0.3 0.05 220 / 0.08);

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-text: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --step-2: 1.5rem;
  --step-3: 1.75rem;
  --step-4: clamp(1.9rem, 1.4rem + 1.8vw, 3.25rem);
  --step-5: clamp(2.5rem, 1.8rem + 3.2vw, 5rem);

  --radius: 28px;
  --radius-field: 16px;
  --gutter: 24px;
  --wrap: 1280px;
  --section-y: clamp(5rem, 4rem + 5vw, 9rem);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  /* sky presets – default "deň" */
  --sky-top: oklch(0.8 0.08 230);
  --sky-bot: oklch(0.93 0.03 200);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html:not(.motion) { scroll-behavior: smooth; } }
html.motion { scroll-behavior: auto !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent], .lenis.lenis-smooth [data-lenis-prevent-wheel] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  font-kerning: normal;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
b, strong { font-weight: 700; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.125em; height: 1.125em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 12px 20px; border-radius: 999px; background: var(--fg); color: var(--cream);
  font-weight: 700; text-decoration: none; transform: translateY(-160%);
}
.skip:focus-visible { transform: none; outline-color: var(--accent); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); scroll-margin-top: 24px; }

.display-1, .display-2, .display-3 {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance;
}
.display-1 { font-size: var(--step-5); line-height: 1.05; }
.display-2 { font-size: var(--step-4); line-height: 1.1; }
.display-3 { font-size: var(--step-3); line-height: 1.2; }
.lead { font-size: var(--step-1); max-width: 34em; margin-top: 16px; text-wrap: pretty; }
.ink { color: var(--accent-ink); }
.nowrap { white-space: nowrap; }

/* ---------- buttons, links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-fg);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform 0.3s var(--spring), background-color 0.3s;
}
.btn:hover { background: oklch(0.66 0.1 195); transform: scale(1.03); }
.btn:active { transform: scale(0.99); }
.btn--wide { width: 100%; }
.link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--accent-ink); font-weight: 700; text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 5px;
}
.link .icon { transition: transform 0.3s var(--spring); }
.link:hover .icon { transform: translateX(4px); }

/* ---------- floating pill nav ---------- */
.pill {
  position: fixed; z-index: 50; top: 16px; left: 50%; translate: -50% 0;
  display: flex; align-items: center; gap: 4px; padding: 6px;
  background: oklch(0.97 0.015 85 / 0.92); border-radius: 999px; box-shadow: var(--shadow);
  max-width: calc(100vw - 24px);
}
.pill a { text-decoration: none; color: var(--fg); }
.pill__logo { font-family: var(--font-display); font-size: 1.0625rem; padding: 0 14px 0 16px; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.pill__links { display: flex; }
.pill__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: 999px; font-weight: 500; font-size: 0.9375rem; white-space: nowrap;
  transition: background-color 0.3s;
}
.pill__links a:hover { background: var(--cream-2); }
.pill__btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--accent); color: var(--accent-fg) !important; font-weight: 700; font-size: 0.9375rem;
  transition: transform 0.3s var(--spring);
}
.pill__btn:hover { transform: scale(1.03); }

@media (max-width: 767px) {
  .pill { top: auto; bottom: 16px; left: 12px; right: 12px; translate: none; justify-content: space-between; max-width: none; }
  .pill__logo { display: none; }
  .pill__links { flex: 1; justify-content: space-around; }
  .pill__links a { padding: 0 8px; font-size: 0.875rem; }
  .pill__btn { padding: 0 14px; font-size: 0.875rem; }
}
@media (max-width: 400px) {
  .pill__links a { padding: 0 5px; font-size: 0.8125rem; }
  .pill__btn { padding: 0 12px; font-size: 0.8125rem; }
}

/* ---------- sky mechanism (hero + band) ---------- */
.sky {
  position: relative;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bot) 100%);
  /* mixed in oklab, not oklch: an oklch mix of orange and teal swings through olive green */
  --hill-back: color-mix(in oklab, var(--sky-bot) 55%, oklch(0.5 0.05 215));
  --hill-front: color-mix(in oklab, var(--sky-top) 30%, oklch(0.42 0.06 190));
  --lake: color-mix(in oklab, var(--sky-bot) 45%, oklch(0.58 0.08 200));
  --sun-x: 0.5; --sun-y: 0.2; --sun-c: var(--sun); --sun-glow: oklch(0.92 0.12 85 / 0.45);
}
.sky[data-sky="noc"]      { --sky-top: oklch(0.25 0.06 260); --sky-bot: oklch(0.35 0.06 240); --sun-c: oklch(0.93 0.03 250); --sun-glow: oklch(0.93 0.03 250 / 0.25); }
.sky[data-sky="usvit"]    { --sky-top: oklch(0.75 0.08 60);  --sky-bot: oklch(0.85 0.06 200); }
.sky[data-sky="rano"]     { --sky-top: oklch(0.85 0.06 220); --sky-bot: oklch(0.95 0.02 90); }
.sky[data-sky="den"]      { --sky-top: oklch(0.8 0.08 230);  --sky-bot: oklch(0.93 0.03 200); }
.sky[data-sky="podvecer"] { --sky-top: oklch(0.78 0.1 60);   --sky-bot: oklch(0.7 0.08 230); --sun-c: oklch(0.9 0.13 75); }
.sky[data-sky="sumrak"]   { --sky-top: oklch(0.45 0.09 290); --sky-bot: oklch(0.6 0.1 40); --sun-c: oklch(0.82 0.14 55); --sun-glow: oklch(0.8 0.14 50 / 0.4); }

.sky__stars {
  position: absolute; inset: 0 0 40% 0; pointer-events: none; opacity: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, var(--cream) 99%, transparent),
    radial-gradient(1px 1px at 22% 42%, var(--cream) 99%, transparent),
    radial-gradient(2px 2px at 34% 12%, var(--cream) 99%, transparent),
    radial-gradient(1px 1px at 47% 30%, var(--cream) 99%, transparent),
    radial-gradient(1.5px 1.5px at 58% 8%, var(--cream) 99%, transparent),
    radial-gradient(1px 1px at 66% 48%, var(--cream) 99%, transparent),
    radial-gradient(2px 2px at 74% 22%, var(--cream) 99%, transparent),
    radial-gradient(1px 1px at 86% 36%, var(--cream) 99%, transparent),
    radial-gradient(1.5px 1.5px at 93% 14%, var(--cream) 99%, transparent),
    radial-gradient(1px 1px at 5% 52%, var(--cream) 99%, transparent);
}
.sky[data-sky="noc"] .sky__stars { opacity: 0.9; }
.sky[data-sky="sumrak"] .sky__stars { opacity: 0.45; }

/* the sun lives in a size container so it can be placed with cqw/cqh, transform only */
.sky__track { position: absolute; container-type: size; pointer-events: none; }
.sky__sun {
  position: absolute; left: 0; top: 0;
  width: var(--sun-size, 96px); aspect-ratio: 1; border-radius: 50%;
  background: var(--sun-c);
  box-shadow: 0 0 0 14px color-mix(in oklch, var(--sun-glow) 50%, transparent), 0 0 80px 24px var(--sun-glow);
  transform: translate(calc(var(--sun-x) * (100cqw - var(--sun-size, 96px))), calc(var(--sun-y) * (100cqh - var(--sun-size, 96px) * 0.5)));
}
.sky__hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; pointer-events: none; }
.hill--back { fill: var(--hill-back); }
.hill--front { fill: var(--hill-front); }
.lake { fill: var(--lake); }
.glint { fill: none; stroke: var(--cream); stroke-opacity: 0.55; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.shore { fill: var(--bg); }

@media (prefers-reduced-motion: no-preference) {
  .sky { transition: --sky-top 2s ease, --sky-bot 2s ease; }
  .sky__stars { transition: opacity 2s ease; }
  .sky__sun { transition: transform 2s cubic-bezier(0.45, 0, 0.2, 1), background-color 2s ease, box-shadow 2s ease; }
  .band.sky { transition-duration: 1.2s; }
  .band .sky__stars, .band .sky__sun { transition-duration: 1.2s; }
}

/* ---------- hero ---------- */
.hero {
  overflow: clip;
  padding: 112px 0 clamp(120px, 15vw, 230px);
}
.hero .sky__track { inset: 92px 3% 16% 44%; }
.hero .sky__hills { height: clamp(96px, 13vw, 210px); }
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center;
}
.hero__card {
  grid-column: 1 / 8; grid-row: 1; position: relative; z-index: 2;
  padding: clamp(24px, 3.2vw, 52px);
  background: oklch(0.97 0.015 85 / 0.85); border-radius: var(--radius); box-shadow: var(--shadow);
}
/* long, 66-char headline: one notch below display-1 so it stays at 4 lines */
.hero__title { margin-top: 18px; font-size: clamp(2rem, 1.5rem + 2.6vw, 4.5rem); }
.hero__lead { margin-top: 20px; font-size: var(--step-1); max-width: 30em; color: var(--fg); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }

.skychip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--cream);
  font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: background-color 0.3s;
}
.skychip:hover { background: var(--cream-2); }
.skychip__dot { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(180deg, var(--sky-top), var(--sky-bot)); box-shadow: inset 0 0 0 1px oklch(0.28 0.03 220 / 0.15); }

.hero__cards { grid-column: 7 / 13; grid-row: 1; position: relative; z-index: 3; aspect-ratio: 1 / 1.04; margin-right: -2%; }
.hcard {
  position: absolute; margin: 0; padding: 10px 10px 0;
  background: var(--cream); border-radius: var(--radius); box-shadow: var(--shadow-float);
}
.hcard .media { border-radius: 20px; }
.hcard figcaption { font-family: var(--font-display); font-size: 0.9375rem; padding: 8px 8px 10px; color: var(--fg); }
.hcard--1 { width: 56%; left: 0; top: 9%; rotate: -4deg; z-index: 1; }
.hcard--2 { width: 52%; right: 0; top: 0; rotate: 3deg; z-index: 2; }
.hcard--3 { width: 40%; right: 15%; top: 57%; rotate: -2deg; z-index: 3; }

@media (prefers-reduced-motion: no-preference) {
  .hcard--1 { animation: card-in 1.2s cubic-bezier(0.2, 0.9, 0.3, 1.15) 0.25s both, drift-1 10s ease-in-out 1.5s infinite; }
  .hcard--2 { animation: card-in 1.2s cubic-bezier(0.2, 0.9, 0.3, 1.15) 0.4s both, drift-2 12s ease-in-out 1.6s infinite; }
  .hcard--3 { animation: card-in 1.2s cubic-bezier(0.2, 0.9, 0.3, 1.15) 0.55s both, drift-3 14s ease-in-out 1.8s infinite; }
  .hero__card { animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s both; }
  .hero .sky__sun { animation: sun-up 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero.is-off .hcard { animation-play-state: paused; }
}
@keyframes card-in { from { opacity: 0; transform: translateY(90px) rotate(7deg) scale(0.9); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
@keyframes sun-up { from { opacity: 0; translate: 0 120px; } }
@keyframes drift-1 { 0%, 100% { translate: 0 0; } 50% { translate: 6px -8px; } }
@keyframes drift-2 { 0%, 100% { translate: 0 0; } 50% { translate: -8px 7px; } }
@keyframes drift-3 { 0%, 100% { translate: 0 0; } 50% { translate: 7px 8px; } }

@media (min-width: 1024px) {
  .hero { min-height: max(720px, min(100svh, 1080px)); display: flex; align-items: center; }
  /* text column = 8 cols, photo stack = cols 8–12 and overlaps the card's last column.
     The headline and lead stop before that column (computed from the grid via cqi),
     so no word can run under the photos at any width. */
  .hero__inner { width: 100%; container-type: inline-size; }
  .hero__card { grid-column: 1 / 9; --pad: clamp(24px, 3.2vw, 52px); padding: var(--pad); }
  .hero__cards { grid-column: 8 / 13; }
  .hero__title, .hero__lead { max-width: calc(7 * (100cqi - 11 * var(--gutter)) / 12 + 7 * var(--gutter) - var(--pad) - 16px); }
  .hero__title { font-size: min(clamp(2rem, 1.5rem + 2.6vw, 4.5rem), 5.2cqi); }
}
@media (max-width: 1023px) {
  .hero { padding-top: 96px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .hero__card { grid-column: 1; }
  .hero__cards { grid-column: 1; grid-row: 2; width: min(100%, 620px); justify-self: center; margin-right: 0; aspect-ratio: 1 / 0.9; }
  .hero .sky__track { inset: 72px 4% 50% 50%; }
}
@media (max-width: 767px) {
  .hero { padding-top: 24px; padding-bottom: 96px; }
  .hero__inner { row-gap: 24px; }
  .hero .sky__track { inset: 12px 4% 62% 40%; }
  .sky { --sun-size: 72px; }
  .hero__cards { aspect-ratio: 1 / 0.74; width: 100%; }
  .hcard { padding: 7px 7px 0; border-radius: 22px; }
  .hcard .media { border-radius: 16px; }
  .hcard figcaption { font-size: 0.8125rem; padding: 6px 6px 8px; }
  .hcard--1 { width: 50%; left: 2%; top: 4%; }
  .hcard--2 { width: 56%; right: 0; top: 22%; }
  .hcard--3 { display: none; }
  .hero__actions .btn { width: 100%; }
  .skychip__long { display: none; }
}

/* ---------- media + missing-image placeholder ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--cream-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--45 { aspect-ratio: 4 / 5; }
.media--43 { aspect-ratio: 4 / 3; }
.media--11 { aspect-ratio: 1 / 1; }
.media.is-missing { background: radial-gradient(circle at 30% 30%, oklch(0.93 0.03 200), oklch(0.9 0.03 85)); }
.media.is-missing::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 40% at 72% 70%, oklch(0.97 0.015 85 / 0.7), transparent 70%);
}

/* ---------- reveals (hidden state only with html.motion) ---------- */
html.motion .reveal:not(.is-in) { opacity: 0; transform: translateY(24px) scale(0.98); }
html.motion .apt:not(.is-in) { opacity: 0; transform: translateY(48px); }
html.motion .place:not(.is-in) { opacity: 0; transform: translateX(-12px); }

/* ---------- calendar / date-scrub ---------- */
.cal .wrap { max-width: 1400px; }
.cal__head { max-width: 760px; }
.band {
  margin-top: 40px; height: clamp(170px, 19vw, 280px); border-radius: var(--radius); overflow: hidden;
  --sun-size: clamp(56px, 6vw, 84px);
}
.band .sky__track { inset: 10% 3% 22% 3%; }
.band .sky__hills { height: 58%; }
.band__tag {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  padding: 8px 16px; border-radius: 999px; background: oklch(0.97 0.015 85 / 0.92);
  font-family: var(--font-display); font-size: 1.0625rem; box-shadow: var(--shadow);
}
html:not(.js) .band__tag { display: none; }

.cal__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 28px; }
.cal__note { color: var(--muted); font-size: 0.9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 8px; min-height: 48px; padding: 12px 20px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--cream);
  font-weight: 700; cursor: pointer; transition: background-color 0.3s, color 0.3s, transform 0.3s var(--spring);
}
.chip small { font-weight: 400; font-size: 0.875rem; color: var(--muted); transition: color 0.3s; }
.chip:hover { background: var(--cream-2); transform: scale(1.03); }
.chip[aria-checked="true"] { background: var(--fg); color: var(--cream); border-color: var(--fg); }
.chip[aria-checked="true"] small { color: oklch(0.88 0.02 85); }

.strip {
  display: flex; margin-top: 16px; padding: 24px 2px 6px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin;
  -webkit-user-select: none; user-select: none;
}
.strip__fallback { padding: 16px 20px; border-radius: var(--radius-field); background: var(--cream-2); max-width: 60em; -webkit-user-select: text; user-select: text; }
.day {
  position: relative; flex: 1 0 44px; max-width: 56px; height: 64px; padding: 0;
  display: grid; place-content: center; justify-items: center; gap: 0;
  border: 0; border-radius: 16px; background: var(--cream-2); box-shadow: inset 0 0 0 2px var(--cream);
  color: var(--fg); cursor: pointer; scroll-snap-align: start; touch-action: manipulation;
  transition: background-color 0.2s, color 0.2s, border-radius 0.2s;
}
.day:hover { background: oklch(0.9 0.035 195); }
.day:focus-visible { z-index: 2; outline-offset: 2px; }
.day__wd { font-size: 0.75rem; font-weight: 700; line-height: 1; color: var(--muted); }
.day__n { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; }
.day__dots { display: flex; gap: 3px; height: 6px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.dot--wk { background: var(--accent-ink); }
.dot--season { background: var(--season); }
.day[data-month]::before {
  content: attr(data-month); position: absolute; left: 4px; top: -22px;
  font-size: 0.75rem; font-weight: 700; color: var(--muted); white-space: nowrap;
}
.day.is-today .day__wd { color: var(--accent-ink); }
.day.is-in { background: var(--accent); color: var(--accent-fg); border-radius: 0; box-shadow: none; }
.day.is-in .day__wd { color: var(--accent-fg); }
.day.is-in .dot--wk { background: var(--accent-fg); }
.day.is-start { border-radius: 16px 0 0 16px; }
.day.is-end { border-radius: 0 16px 16px 0; }
.day.is-start.is-open { border-radius: 16px; box-shadow: 0 0 0 3px var(--accent-ink) inset; }
.strip.is-dragging .day { cursor: ew-resize; }

.strip__help { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 0.875rem; color: var(--muted); }
.legend { display: inline-flex; align-items: center; gap: 8px; }
.legend--keys { flex-basis: 100%; }
@media (pointer: coarse) { .legend--keys { display: none; } }

.sum {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end;
  margin-top: 24px; padding: clamp(20px, 3vw, 40px); border-radius: var(--radius); background: var(--cream-2);
}
html:not(.js) .sum, html:not(.js) .strip__help { display: none; }
.sum__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.25; }
.sum__rows { margin-top: 14px; display: grid; gap: 6px; max-width: 520px; }
.sum__rows li { display: flex; justify-content: space-between; gap: 16px; font-size: 0.9375rem; }
.sum__rows li span:first-child { color: var(--muted); }
.sum__rows li.is-off span { color: var(--accent-ink); font-weight: 700; }
.sum__min { margin-top: 12px; color: var(--muted); font-size: 0.9375rem; }
.sum__total { text-align: right; display: grid; justify-items: end; gap: 4px; }
.sum__label { font-size: 0.875rem; color: var(--muted); }
.sum__price { font-family: var(--font-display); font-size: 2.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.sum.is-pending .sum__price { color: var(--muted); }

@media (pointer: fine) { .day { flex-basis: 40px; } }
@media (max-width: 767px) {
  .sum { grid-template-columns: minmax(0, 1fr); }
  .sum__total { text-align: left; justify-items: stretch; }
  .sum__total .btn { width: 100%; }
  .band__tag { font-size: 0.9375rem; }
}

/* ---------- apartments scrapbook ---------- */
.scrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 48px; }
.apt { position: relative; }
.scrap__col { display: grid; gap: 48px; align-content: start; }
.apt__body {
  position: relative; margin: -56px 16px 0; padding: 24px;
  background: var(--cream); border-radius: var(--radius); box-shadow: var(--shadow);
}
.apt__name { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.15; }
.apt__facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 0.9375rem; color: var(--muted); }
.apt__facts li { display: inline-flex; align-items: center; gap: 6px; }
.apt__facts .icon { color: var(--accent-ink); }
.apt__price { font-family: var(--font-display); font-size: 1.5rem; margin: 12px 0 8px; }
.apt__price small { font-family: var(--font-text); font-size: 0.875rem; color: var(--muted); }
.apt .link { margin-top: 8px; }

@media (min-width: 768px) {
  .scrap { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gutter); }
  .apt { transition: translate 0.4s var(--spring), rotate 0.4s var(--spring); }
  .scrap__col--l { grid-column: 1 / 8; grid-row: 1; position: relative; z-index: 1; }
  .scrap__col--r { grid-column: 7 / 13; grid-row: 1; position: relative; z-index: 2; padding-top: 56px; }
  .apt--1 { rotate: -1.5deg; }
  .apt--1 .apt__body { padding-right: 18%; }
  .apt--2 { rotate: 2deg; z-index: 2; }
  .apt--3 { margin-left: 8%; rotate: -1deg; z-index: 3; }
  .apt:hover, .apt:focus-within { translate: 0 -6px; rotate: 0deg; z-index: 4; }
  .extras { padding-right: 15%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .apt__body { margin-inline: 10px; padding: 20px; }
  .apt__name { font-size: 1.5rem; }
}

.apts { padding-top: calc(var(--section-y) * 0.6); }
.extras { margin-top: 8px; }
.extras__title { font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); }
.extras__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.extras__list li { padding: 10px 18px; border-radius: 999px; background: var(--cream-2); font-size: 0.9375rem; }

/* ---------- okolie ---------- */
.near { background: var(--cream-2); border-radius: 48px 48px 0 0; }
.near__grid { display: grid; gap: 40px; }
.places { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.place {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px;
  min-height: 64px; padding: 10px 24px; border: 1px solid oklch(0.8 0.025 85); border-radius: 999px; background: var(--cream);
}
.place__name { font-weight: 500; line-height: 1.3; }
.place__dist { grid-row: 1 / 3; grid-column: 2; font-family: var(--font-display); font-size: 1.25rem; }
.place__time { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--muted); }
@media (min-width: 768px) { .places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .near__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .near__head { grid-column: 1 / 5; }
  .places { grid-column: 5 / 13; }
}

/* ---------- pobyt ---------- */
.stay { background: var(--cream-2); padding-top: 0; }
.steps { display: grid; gap: 40px; margin-top: 56px; position: relative; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 20px; align-content: start; }
.step__num {
  grid-row: 1 / 3; width: 80px; height: 80px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--accent-ink);
  font-family: var(--font-display); font-size: 2rem; color: var(--accent-ink); position: relative; z-index: 1;
}
.step__title { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: 1.2; align-self: end; }
.step p { margin-top: 8px; max-width: 26em; }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 39px; top: 88px; bottom: -32px;
  border-left: 2px dashed oklch(0.75 0.04 195);
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
  .step { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .step__num { grid-row: auto; width: 120px; height: 120px; font-size: 2.75rem; margin-bottom: 24px; }
  .step__title { align-self: auto; }
  .step:not(:last-child)::after {
    left: calc(50% + 72px); right: calc(-50% + 72px - var(--gutter)); top: 60px; bottom: auto;
    border-left: 0; border-top: 2px dashed oklch(0.75 0.04 195);
  }
}

/* ---------- FAQ ---------- */
.faq { background: var(--cream-2); border-radius: 0 0 48px 48px; padding-top: 0; }
.faq__grid { display: grid; gap: 40px; }
.faq__list { display: grid; gap: 12px; }
.qa { border: 1px solid oklch(0.8 0.025 85); border-radius: 24px; background: var(--cream); transition: background-color 0.3s; }
.qa[open] { background: var(--cream-2); border-color: oklch(0.78 0.03 85); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 24px; cursor: pointer; font-weight: 700; list-style: none; border-radius: 24px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { color: var(--accent-ink); transition: transform 0.3s var(--spring); }
.qa[open] summary .icon { transform: rotate(45deg); }
.qa p { padding: 0 24px 20px; max-width: 40em; }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .faq__grid > h2 { grid-column: 1 / 5; }
  .faq__list { grid-column: 5 / 13; }
}

/* ---------- dopyt ---------- */
.ask__grid { display: grid; gap: 40px; }
.form { display: grid; gap: 20px; padding: clamp(20px, 3vw, 40px); border-radius: var(--radius); background: var(--cream-2); }
.form__row { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 500; font-size: 0.9375rem; }
.opt { color: var(--muted); font-weight: 400; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid var(--field); border-radius: var(--radius-field); background: var(--cream);
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: oklch(0.56 0.03 220); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--accent-ink); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field__err { color: var(--error); font-size: 0.875rem; font-weight: 500; }
.field--check { grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.field--check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent-ink); }
.field--check .field__err { grid-column: 2; }
.form__alt { font-size: 0.9375rem; color: var(--muted); text-align: center; }
.done { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: var(--cream-2); display: grid; gap: 12px; align-content: start; }
.done__icon { width: 48px; height: 48px; padding: 10px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); }
.done__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; }
.done__meta { color: var(--muted); }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .ask__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .ask__head { grid-column: 1 / 5; }
  .form, .done { grid-column: 6 / 13; grid-row: 1; }
  .done { align-self: start; }
}

/* ---------- footer ---------- */
.foot { padding: 64px 0 48px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.foot__grid { display: grid; gap: 32px; }
.foot p { display: flex; align-items: center; gap: 10px; }
.foot p + p { margin-top: 6px; }
.foot__name { font-family: var(--font-display); font-size: 1.375rem; margin-bottom: 8px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); }
.foot__demo { color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); display: block !important; }
.foot__demo b { color: var(--fg); }
.foot a { overflow-wrap: anywhere; }
@media (min-width: 768px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__links { align-content: start; justify-content: flex-end; }
  .foot__demo { grid-column: 1 / -1; }
}
@media (max-width: 767px) { .foot { padding-bottom: calc(48px + 88px); } .ask { padding-bottom: calc(var(--section-y) + 24px); } }

/* ---------- Safari: no clip-path, no backdrop-filter (none used); keep loops light ---------- */
html.is-safari .sky__sun { box-shadow: 0 0 60px 18px var(--sun-glow); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  .btn:hover, .chip:hover, .pill__btn:hover { transform: none; }
  .link:hover .icon { transform: none; }
  .apt:hover, .apt:focus-within { translate: none; }
}
