/* =========================================================
   Їжак Парк — стилі
   ========================================================= */

:root {
  --deep: #0b2540;
  --deep-2: #12365c;
  --sky: #2b8fd6;
  --sky-2: #5fb6ee;
  --ice: #eaf5fc;
  --snow: #fbfdff;
  --red: #ef3b36;
  --red-2: #ff6a3d;
  --yellow: #ffc533;
  --leaf: #06af2e;
  --text: #10243a;
  --muted: #5a6f86;
  --line: rgba(16, 36, 58, .1);

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px -20px rgba(11, 37, 64, .35);
  --shadow-sm: 0 8px 24px -12px rgba(11, 37, 64, .3);

  --font-head: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

main { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -.02em;
}
h2 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; }
h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 700; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- progress bar ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--yellow), var(--red));
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 0;
  background: var(--bg);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(239, 59, 54, .6); }
.btn:active { transform: scale(.96); }
.btn--lg { padding: 18px 32px; font-size: 18px; }
.btn--small { padding: 10px 18px; font-size: 15px; }
.btn--red { background: linear-gradient(135deg, var(--red), var(--red-2)); }
.btn--glass {
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}
.btn--glass:hover { background: rgba(255, 255, 255, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.btn--outline { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 2px var(--deep); }
.btn--outline:hover { background: var(--deep); color: #fff; box-shadow: none; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background .4s, color .4s, box-shadow .4s;
}
.header.is-scrolled {
  background: rgba(251, 253, 255, .78);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { height: 52px; width: auto; transition: transform .5s var(--ease), filter .4s; }
.header:not(.is-scrolled):not(.menu-open) .logo__mark { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.08); }
.logo__text { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo__text b { color: var(--leaf); font-weight: 800; margin-left: 2px; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  position: relative; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .9;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--red); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: -6% 0; z-index: -3; will-change: transform; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
  animation: heroZoom 14s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.18); } to { transform: scale(1.04); } }

.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 28, 50, .78) 0%, rgba(8, 28, 50, .45) 45%, rgba(8, 28, 50, 0) 75%),
    linear-gradient(0deg, rgba(8, 28, 50, .35), rgba(8, 28, 50, 0) 40%);
}
.snow { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.hero__content { padding: calc(var(--header-h) + 40px) 0 140px; will-change: transform, opacity; }

.status-chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
  font-size: 14px; font-weight: 600;
  animation: fadeDown .8s .2s var(--ease) both;
}
.status-chip__dot { width: 9px; height: 9px; border-radius: 50%; background: #9fb3c8; position: relative; }
.status-chip.is-open .status-chip__dot { background: #3ddc84; }
.status-chip.is-open .status-chip__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: ping 1.8s infinite;
}
@keyframes ping { to { transform: scale(2.8); opacity: 0; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-12px); } }

.hero__kicker {
  margin: 0 0 14px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 14px;
  color: var(--yellow);
}
.hero__title { font-size: clamp(44px, 7.6vw, 100px); font-weight: 900; line-height: .98; }
.hero__title .line { display: block; }
.line--accent {
  background: linear-gradient(90deg, #fff 0%, var(--sky-2) 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -200% center; } }

.hero__lead { max-width: 560px; margin: 24px 0 34px; font-size: clamp(17px, 1.6vw, 20px); opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 96px; translate: -50% 0;
  width: 28px; height: 46px; border-radius: 20px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7);
}
.scroll-hint span {
  position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.drift { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }

/* ---------- marquee ---------- */
.marquee {
  background: var(--deep);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  transform: rotate(-1.5deg) scale(1.03);
  margin: -10px 0 0;
  position: relative; z-index: 2;
}
.marquee__track {
  display: flex; gap: 28px; width: max-content;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 2.2vw, 26px); text-transform: uppercase;
  animation: marquee 32s linear infinite;
}
.marquee__track i { color: var(--yellow); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 90px 0 30px;
}
.stat { text-align: center; padding: 10px; }
.stat b {
  display: block;
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(48px, 6vw, 80px); line-height: 1;
  background: linear-gradient(180deg, var(--sky), var(--deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat small { font-size: .42em; margin-left: 4px; }
.stat p { margin: 10px 0 0; color: var(--muted); font-weight: 600; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section--ice { background: var(--ice); }
.section--deep { background: radial-gradient(120% 80% at 80% 0%, var(--deep-2), var(--deep)); color: #fff; overflow: hidden; }

.section__head { margin-bottom: 48px; max-width: 760px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__sub { color: var(--muted); font-size: 18px; margin: 16px 0 0; }
.section__sub a { color: var(--red); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 16px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 13px;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--yellow); }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- spotlight ---------- */
.spotlight { position: relative; }
.spotlight::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 45%);
  opacity: 0; transition: opacity .4s;
  z-index: 2;
}
.spotlight:hover::after { opacity: 1; }

/* ---------- bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 18px;
}
.card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card--xl { grid-column: span 2; grid-row: span 2; }
.card--tall { grid-row: span 2; }

.card--photo { position: relative; color: #fff; display: flex; align-items: flex-end; }
.card--photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.card--photo:hover img { transform: scale(1.07); }
.card--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(8, 28, 50, .85) 0%, rgba(8, 28, 50, .15) 55%, rgba(8, 28, 50, 0) 100%);
}
.card__body { position: relative; z-index: 2; padding: 24px; }
.card__body p { margin: 10px 0 0; opacity: .9; font-size: 16px; }
.tag {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}

.card--color { grid-column: span 2; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; }
.card--color p { margin: 8px 0 0; font-size: 15px; }
.card--blue { background: linear-gradient(140deg, var(--sky), var(--deep-2)); color: #fff; }
.card--yellow { background: linear-gradient(140deg, var(--yellow), #ff9d2e); color: var(--deep); }
.card__icon { font-size: 40px; margin-bottom: auto; transition: transform .5s var(--ease); }
.card:hover .card__icon { transform: rotate(-10deg) scale(1.15); }

/* ---------- story (sticky) ---------- */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: start; }
.story__media { position: sticky; top: calc(var(--header-h) + 30px); }
.story__frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--deep);
}
.story__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
  clip-path: inset(0 0 100% 0);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease), clip-path .9s var(--ease);
}
.story__frame img.is-active { opacity: 1; transform: scale(1); clip-path: inset(0 0 0 0); }
.story__counter {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px;
}

.story__steps { list-style: none; margin: 0; padding: 12vh 0; }
.step {
  min-height: 62vh;
  display: flex; flex-direction: column; justify-content: center;
  opacity: .28; transition: opacity .6s var(--ease);
}
.step.is-active { opacity: 1; }
.step__img { display: none; }
.step__num {
  font-family: var(--font-head); font-weight: 900; font-size: 64px; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--sky);
  margin-bottom: 14px;
}
.step.is-active .step__num { color: var(--sky); }
.step h3 { font-size: clamp(26px, 3vw, 38px); }
.step p { color: var(--muted); font-size: 18px; max-width: 460px; margin: 14px 0 0; }

/* ---------- prices ---------- */
.switch {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  width: min(620px, 100%); margin: 0 auto 44px; padding: 6px;
  border-radius: 999px; background: var(--ice);
  box-shadow: inset 0 0 0 1px var(--line);
}
.switch button {
  position: relative; z-index: 1; border: 0; background: none; padding: 14px 10px;
  font-weight: 800; border-radius: 999px; transition: color .35s; line-height: 1.2;
}
.switch button small { display: block; font-size: 11px; font-weight: 700; opacity: .7; }
.switch button[aria-selected="true"] { color: #fff; }
.switch__pill {
  position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 3);
  border-radius: 999px; background: var(--deep);
  transition: transform .5s var(--ease);
}
.switch[data-active="big"] .switch__pill { transform: translateX(100%); }
.switch[data-active="group"] .switch__pill { transform: translateX(200%); background: linear-gradient(135deg, #ff9d2e, var(--red)); }

/* вкладка «Групи»: ховаємо картки гірок і виводимо групову пропозицію на перший план */
#prices[data-mode="group"] .prices { display: none; }
#prices[data-mode="group"] .group-offer {
  margin-top: 0; padding: 40px 44px;
  box-shadow: inset 0 0 0 2px rgba(255, 157, 46, .6), var(--shadow);
  animation: fadeUp .5s var(--ease) both;
}
#prices[data-mode="group"] .group-offer h3 { font-size: 34px; }
#prices[data-mode="group"] .group-offer__price b { font-size: 60px; }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 34px 30px 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.price:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.price__name { margin: 0; font-weight: 800; font-size: 18px; color: var(--muted); }
.price__value {
  margin: 10px 0 6px;
  font-family: var(--font-head); font-weight: 900; font-size: clamp(46px, 5vw, 62px); line-height: 1;
}
.price__value small { font-size: .38em; font-weight: 700; }
.price__per { margin: 0 0 26px; color: var(--muted); }
.price__per b { color: var(--red); }
.price .btn { margin-top: auto; width: 100%; }

.price--best {
  background: linear-gradient(160deg, var(--deep-2), var(--deep));
  color: #fff;
  transform: scale(1.04);
  box-shadow: var(--shadow);
}
.price--best:hover { transform: scale(1.04) translateY(-8px); }
.price--best .price__name, .price--best .price__per { color: rgba(255, 255, 255, .75); }
.price--best .price__per b { color: var(--yellow); }
.price__badge {
  position: absolute; top: -14px; right: 24px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--yellow); color: var(--deep);
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  box-shadow: 0 8px 20px -8px rgba(255, 197, 51, .9);
  animation: wobble 3s 1s infinite;
}
@keyframes wobble { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-6deg); } 95% { transform: rotate(5deg); } }

.price__value span.is-bump { display: inline-block; animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: translateY(-6px) scale(1.06); } }

.perks {
  list-style: none; padding: 0; margin: 46px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px;
  font-weight: 700; color: var(--deep);
}

/* ---------- seasons ---------- */
.seasons { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.seasons h2 { margin-bottom: 30px; }
.season-toggle {
  display: inline-flex; gap: 6px; padding: 6px; margin-bottom: 30px;
  border-radius: 999px; background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.season-toggle button {
  border: 0; background: none; color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 800;
  transition: background .35s, color .35s;
}
.season-toggle button[aria-selected="true"] { background: #fff; color: var(--deep); }
.seasons[data-season="summer"] .season-toggle button[aria-selected="true"] { background: var(--yellow); }

.season-copy { animation: fadeUp .6s var(--ease) both; }
.season-copy h3 { margin-bottom: 12px; color: var(--sky-2); }
.seasons[data-season="summer"] .season-copy h3 { color: var(--yellow); }
.season-copy p { margin: 0; font-size: 18px; opacity: .85; max-width: 500px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

.seasons__media {
  position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.seasons__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.1) rotate(1deg);
  transition: opacity .9s var(--ease), transform 1.4s var(--ease);
}
.seasons__media img.is-active { opacity: 1; transform: none; }

/* ---------- gallery ---------- */
.gallery { columns: 4 220px; column-gap: 14px; }
.gallery__item {
  position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--ice);
  break-inside: avoid;
}
.gallery__item img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; }
.gallery__item::after {
  content: "＋"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 40px; color: #fff; background: rgba(11, 37, 64, .35);
  opacity: 0; transition: opacity .4s;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(6, 18, 32, .92);
}
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .3s; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 16px; animation: zoomIn .4s var(--ease); }
.lightbox__close, .lightbox__nav {
  position: absolute; border: 0; color: #fff; background: rgba(255, 255, 255, .12);
  width: 52px; height: 52px; border-radius: 50%; font-size: 26px; line-height: 1;
  transition: background .3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; translate: 0 -50%; font-size: 34px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.92); } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.faq details {
  background: #fff; border-radius: var(--radius-sm); margin-bottom: 12px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s;
}
.faq details[open] { box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative;
  font-weight: 800; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ice); color: var(--deep); font-size: 20px; font-weight: 700;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background: var(--red); color: #fff; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.faq details[open] p { animation: fadeUp .45s var(--ease); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: clamp(110px, 14vw, 180px) 0;
  isolation: isolate;
}
.cta-band__bg { position: absolute; inset: -20% 0; z-index: -2; will-change: transform; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 37, 64, .55), rgba(11, 37, 64, .8));
}
.cta-band h2 { font-size: clamp(34px, 6vw, 72px); font-weight: 900; }
.cta-band p { font-size: 20px; margin: 18px auto 34px; opacity: .9; max-width: 560px; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: stretch; }
.contacts h2 { margin-bottom: 30px; }
.contact-list { margin: 0 0 36px; display: grid; gap: 18px; }
.contact-list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-weight: 600; }
.contact-list dd { margin: 0; font-weight: 700; }
.contact-list a { color: var(--red); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.schedule__title { margin-bottom: 14px; font-size: 20px; }
.schedule { width: 100%; border-collapse: collapse; }
.schedule th, .schedule td { padding: 10px 14px; text-align: left; }
.schedule th { font-weight: 600; }
.schedule td { text-align: right; font-weight: 700; }
.schedule tr { border-radius: 10px; transition: background .3s; }
.schedule tr.is-today { background: var(--ice); }
.schedule tr.is-today th::after {
  content: "сьогодні"; margin-left: 10px; padding: 2px 8px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; vertical-align: 2px;
}
.schedule tr.is-today th { border-radius: 10px 0 0 10px; }
.schedule tr.is-today td { border-radius: 0 10px 10px 0; }

.contacts__map { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ice); }
.contacts__map iframe { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; padding: 24px; color: var(--muted); }
.map-fallback a { color: var(--red); font-weight: 800; }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: rgba(255, 255, 255, .75); padding: 50px 0 40px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer p { margin: 0; }
.logo--light { color: #fff; }
.footer__copy { font-size: 14px; opacity: .7; }

/* ---------- mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Izhak Cafe ---------- */
:root { --green: #01a12c; --green-2: #0b7a2a; }
.card--green { background: linear-gradient(140deg, var(--green), var(--green-2)); color: #fff; text-decoration: none; }
.card--cafe { flex-direction: row; align-items: center; justify-content: flex-start; gap: 22px; }
.card__logo { width: 92px; height: auto; border-radius: 16px; flex: none; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); transition: transform .5s var(--ease); }
.card--cafe:hover .card__logo { transform: rotate(-6deg) scale(1.06); }

.cafe { background: linear-gradient(160deg, var(--green) 0%, var(--green-2) 100%); color: #fff; overflow: hidden; }
.cafe__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; position: relative; }
.cafe__logo img {
  width: 100%; max-width: 420px; margin-inline: auto; border-radius: 36px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 10px rgba(255, 255, 255, .12);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.cafe .eyebrow--light { color: #ffe27a; }
.cafe h2 { margin-bottom: 20px; }
.cafe__lead { font-size: 18px; opacity: .9; max-width: 560px; margin: 0 0 34px; }
.cafe__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; pointer-events: none; }
.cafe__blob--1 { width: 420px; height: 420px; background: #ffe27a; top: -160px; right: -120px; }
.cafe__blob--2 { width: 360px; height: 360px; background: #5fe08a; bottom: -180px; left: -100px; }
.menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.menu__item {
  padding: 24px 20px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  transition: transform .5s var(--ease), background .4s;
}
.menu__item:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .2); }
.menu__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: #fff; font-size: 30px; margin-bottom: 16px; transition: transform .5s var(--ease); }
.menu__item:hover .menu__icon { transform: rotate(-10deg) scale(1.1); }
.menu__item h3 { font-size: 19px; margin-bottom: 8px; }
.menu__item p { margin: 0; font-size: 15px; opacity: .88; }

/* ---------- групові спуски ---------- */
.group-offer {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 26px;
  margin-top: 26px; padding: 26px 30px; border-radius: var(--radius);
  background: linear-gradient(120deg, #fff6dc, #ffe7c2);
  box-shadow: inset 0 0 0 1px rgba(255, 157, 46, .35), var(--shadow-sm);
}
.group-offer__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 32px; background: #fff; box-shadow: var(--shadow-sm); }
.group-offer__label { margin: 0 0 4px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #b85c00; }
.group-offer h3 { font-size: 26px; }
.group-offer__text > p:last-child { margin: 6px 0 0; color: var(--muted); font-weight: 600; }
.group-offer__price { text-align: right; }
.group-offer__price b { display: block; font-family: var(--font-head); font-size: 44px; font-weight: 900; line-height: 1; }
.group-offer__price small { font-size: .4em; }
.group-offer__price span { color: var(--muted); font-weight: 700; }

/* ---------- графік ---------- */
.schedule__weekdays th, .schedule__weekdays td { color: var(--muted); }
.schedule__note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- футер ---------- */
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__nav a { text-decoration: none; font-weight: 600; }
.footer__nav a:hover { color: #fff; }

/* ---------- блог: спільне ---------- */
.section--tight { padding: clamp(50px, 6vw, 80px) 0; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; flex-wrap: wrap; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.post-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.07); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card__meta { margin: 0 0 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.post-card h3 { font-size: 20px; line-height: 1.2; }
.post-card__body > p:not(.post-card__meta) { color: var(--muted); margin: 10px 0 18px; font-size: 15px; }
.post-card__more { margin-top: auto; font-weight: 800; color: var(--red); }
.empty { text-align: center; color: var(--muted); font-size: 18px; padding: 40px 0; }

.page { padding-top: var(--header-h); }
.header--solid { background: rgba(251, 253, 255, .9); }
.page-hero { padding: clamp(60px, 8vw, 100px) 0 10px; background: linear-gradient(180deg, var(--ice), var(--snow)); }
.page-hero h1 { font-size: clamp(36px, 6vw, 72px); font-weight: 900; }
.page-hero__lead { max-width: 620px; font-size: 19px; color: var(--muted); margin: 20px 0 0; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-weight: 800; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.pager span { background: var(--deep); color: #fff; box-shadow: none; }
.pager a:hover { background: var(--ice); }

.draft-banner { background: var(--yellow); color: var(--deep); text-align: center; padding: 10px 16px; font-weight: 800; }

/* ---------- стаття ---------- */
.article__hero { position: relative; color: #fff; min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.article__cover { position: absolute; inset: 0; z-index: -2; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 12s var(--ease) both; }
.article__hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 28, 50, .9) 0%, rgba(8, 28, 50, .35) 60%, rgba(8, 28, 50, .2) 100%); }
.article__head { padding: 120px 0 50px; }
.article__head h1 { font-size: clamp(32px, 5vw, 60px); font-weight: 900; max-width: 900px; animation: fadeUp .9s var(--ease) both; }
.article__back { display: inline-block; margin-bottom: 18px; color: #fff; text-decoration: none; font-weight: 700; opacity: .85; }
.article__back:hover { opacity: 1; }
.article__meta { margin: 16px 0 0; opacity: .85; font-weight: 600; }

.prose { max-width: 740px; margin: 0 auto; padding: 56px 0 20px; font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose > * { margin-bottom: 0; }
.prose > :first-child { margin-top: 0; }
.prose__lead { font-size: 21px; font-weight: 600; color: var(--deep); }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.5em; }
.prose h4 { font-size: 18px; margin-top: 1.4em; }
.prose a { color: var(--red); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--red); font-weight: 800; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 18px 24px; border-left: 4px solid var(--sky); background: var(--ice); border-radius: 0 14px 14px 0; font-style: italic; }
.prose figure { margin: 1.8em 0; }
.prose img { border-radius: 18px; width: 100%; }
.prose figcaption { margin-top: 10px; text-align: center; color: var(--muted); font-size: 15px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.prose code { background: var(--ice); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.callout { padding: 20px 24px 20px 62px; border-radius: 16px; background: #fff6dc; position: relative; box-shadow: inset 0 0 0 1px rgba(255, 157, 46, .3); }
.callout::before { content: "💡"; position: absolute; left: 20px; top: 18px; font-size: 24px; }
.callout p + p { margin-top: .5em; }

.article-cta {
  max-width: 900px; margin: 40px auto 90px; padding: 34px 38px; border-radius: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  background: linear-gradient(140deg, var(--deep-2), var(--deep)); color: #fff; box-shadow: var(--shadow);
}
.article-cta h2 { font-size: 30px; }
.article-cta p { margin: 8px 0 0; opacity: .85; }
.article-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .nav, .header__cta span { display: none; }
  .header__cta { margin-left: auto; }
  .burger {
    display: grid; gap: 6px; place-content: center;
    width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .16);
  }
  .header.is-scrolled .burger { background: var(--ice); }
  .burger span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
  .header.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .header.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .header.menu-open { background: var(--snow); color: var(--text); }
  .header.menu-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--snow); padding: 10px 16px 24px;
    box-shadow: 0 20px 40px -20px rgba(11, 37, 64, .4);
    animation: fadeDown .35s var(--ease);
  }
  .header.menu-open .nav a { padding: 14px 0; font-size: 20px; font-family: var(--font-head); border-bottom: 1px solid var(--line); }
  .header.menu-open .nav a::after { display: none; }

  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .story { gap: 40px; }
  .gallery { columns: 3 200px; }
  .cafe__inner { gap: 40px; }
  .menu { grid-template-columns: 1fr; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .group-offer { grid-template-columns: auto 1fr; }
  .group-offer__price { text-align: left; grid-column: 2; }
  .group-offer .btn { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .cafe__inner { grid-template-columns: 1fr; }
  .cafe__logo img { max-width: 240px; }
  .card--cafe { flex-direction: column; align-items: flex-start; gap: 12px; }
  .card__logo { width: 64px; border-radius: 12px; }
  .posts { grid-template-columns: 1fr; }
  .group-offer { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .group-offer__price { grid-column: auto; }
  .group-offer .btn { grid-column: auto; width: 100%; }
  .article__hero { min-height: 48vh; }
  .article__head { padding: 90px 0 34px; }
  .prose { font-size: 17px; padding-top: 36px; }
  .article-cta { padding: 26px 22px; margin-bottom: 50px; }
  .article-cta__actions .btn { flex: 1; }
  body { font-size: 16px; padding-bottom: 76px; }
  :root { --header-h: 64px; }
  .logo__mark { height: 42px; }
  .logo__text { font-size: 18px; }

  .hero__content { padding-bottom: 120px; }
  .hero__media img { object-position: 60% 30%; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(8, 28, 50, .5) 0%, rgba(8, 28, 50, .35) 40%, rgba(8, 28, 50, .8) 100%);
  }
  .hero__actions .btn { flex: 1 1 100%; }
  .scroll-hint { display: none; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 10px; padding-top: 60px; }

  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; gap: 12px; }
  .card--xl { grid-column: span 2; grid-row: span 2; }
  .card--tall { grid-column: span 2; grid-row: span 1; }
  .card__body { padding: 16px; }
  .card--color { grid-column: span 1; padding: 18px; }
  .card--color p { font-size: 14px; }
  .card--photo:not(.card--xl):not(.card--tall) h3 { font-size: 16px; }

  .story { grid-template-columns: 1fr; }
  .story__media { display: none; }
  .story__steps { padding: 0; }
  .step { min-height: 0; opacity: 1; margin-bottom: 48px; }
  .step__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
  .step__num { font-size: 44px; }

  .prices { grid-template-columns: 1fr; gap: 26px; }
  .price--best { transform: none; order: -1; }
  .price--best:hover { transform: translateY(-8px); }

  .seasons { grid-template-columns: 1fr; gap: 40px; }
  .seasons__media { aspect-ratio: 4 / 3; }

  .gallery { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; }

  .faq-wrap, .contacts { grid-template-columns: 1fr; gap: 30px; }
  .faq summary { font-size: 16px; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }

  .footer__inner { flex-direction: column; text-align: center; }

  .mobile-bar {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 253, 255, .9);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .snow { display: none; }
  .marquee__track { transform: none; }
}
