:root {
  --spoke-bg: #FBF7F0;
  --spoke-surface: #FFFFFF;
  --spoke-tone: #0E6E73;
  --spoke-tone-hover: #0A5558;
  --spoke-ink: #1A1A2A;
  --spoke-muted: #4A4A5A;
  --spoke-line: #DCD2C2;
  --spoke-sun: #F2A900;
  --spoke-deep: #12303A;
  --spoke-gradient: linear-gradient(160deg, #0E6E73 0%, #14828A 100%);
  --spoke-shadow: 0 6px 18px rgba(18, 48, 58, 0.10);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', Tahoma, Arial, sans-serif;
}

/* ---------- View transitions (Крок 1) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.35s ease both vt-out; }
::view-transition-new(root) { animation: 0.45s ease both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- @property for mesh gradient ---------- */
@property --spoke-mx {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 20%;
}
@property --spoke-my {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 30%;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--spoke-bg);
  color: var(--spoke-ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--spoke-tone); }
a:hover { color: var(--spoke-tone-hover); }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--spoke-ink);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--spoke-sun); outline-offset: 3px; }

.spoke-main { display: block; }
.spoke-section { padding: 10dvh 6vw; position: relative; }
.spoke-section-tint { background: var(--spoke-surface); }
.spoke-section > h2 { margin-bottom: 1.2rem; }

/* ---------- Buttons (статичні, лише колір при hover) ---------- */
.spoke-cta-btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: var(--spoke-tone);
  color: #FFFFFF;
  text-decoration: none;
  border: 2px solid var(--spoke-tone);
  border-radius: 3px;
  font-weight: 700;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.spoke-cta-btn:hover {
  background: var(--spoke-tone-hover);
  border-color: var(--spoke-tone-hover);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(14, 110, 115, 0.18);
}
.spoke-cta-btn-ghost {
  background: transparent;
  color: var(--spoke-tone);
}
.spoke-cta-btn-ghost:hover {
  background: var(--spoke-tone);
  color: #FFFFFF;
}

/* ---------- Header ---------- */
.spoke-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 6vw;
  background: var(--spoke-surface);
  border-bottom: 1px solid var(--spoke-line);
}
.spoke-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--spoke-ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.spoke-logo-svg { width: 2rem; height: 2rem; color: var(--spoke-tone); flex: none; }
.spoke-main-nav { display: flex; gap: 1.6rem; }
.spoke-main-nav a {
  color: var(--spoke-ink);
  text-decoration: none;
  font-size: 0.98rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.spoke-main-nav a:hover,
.spoke-main-nav a[aria-current="page"] {
  color: var(--spoke-tone);
  border-bottom-color: var(--spoke-tone);
}
.spoke-toggle-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.spoke-toggle-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.spoke-toggle-label span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--spoke-ink);
}
.spoke-progress {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 3px;
  background: var(--spoke-tone);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .spoke-progress {
    animation: spoke-progress-grow linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes spoke-progress-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 820px) {
  .spoke-toggle-label { display: flex; }
  .spoke-main-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    gap: 0.9rem;
    background: var(--spoke-surface);
    padding: 1rem 6vw 1.4rem;
    border-bottom: 1px solid var(--spoke-line);
  }
  .spoke-toggle-input:checked ~ .spoke-main-nav { display: flex; }
  .spoke-toggle-input:focus-visible ~ .spoke-toggle-label {
    outline: 3px solid var(--spoke-sun);
    outline-offset: 3px;
  }
}

/* ---------- Intro (editorial split hero) ---------- */
.spoke-intro {
  display: grid;
  grid-template-columns: minmax(0, 33%) minmax(0, 67%);
  min-height: 78dvh;
}
.spoke-vstrip {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: var(--spoke-gradient);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6dvh 1.4rem;
}
.spoke-vstrip span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}
.spoke-intro-media {
  position: relative;
  overflow: clip;
  display: flex;
  align-items: center;
  padding: 8dvh 6vw;
  color: #FFFFFF;
  isolation: isolate;
}
.spoke-intro-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.spoke-intro-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(18, 48, 58, 0.92), rgba(18, 48, 58, 0.55));
  pointer-events: none;
}
.spoke-mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--spoke-mx) var(--spoke-my), rgba(242, 169, 0, 0.38), transparent 42%),
    radial-gradient(circle at 85% 15%, rgba(14, 110, 115, 0.55), transparent 50%),
    radial-gradient(circle at 20% 90%, rgba(242, 169, 0, 0.18), transparent 45%);
  animation: spoke-mesh-drift 24s ease-in-out infinite alternate;
}
@keyframes spoke-mesh-drift {
  from { --spoke-mx: 15%; --spoke-my: 25%; }
  to { --spoke-mx: 70%; --spoke-my: 60%; }
}
.spoke-intro-copy {
  position: relative;
  z-index: 3;
  max-width: 40rem;
}
.spoke-intro-copy h1 { color: #FFFFFF; }
.spoke-kicker {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #F3EEE4;
  margin-bottom: 0.8rem;
}
.spoke-intro-sub {
  color: #F3EEE4;
  font-size: 1.1rem;
  margin-bottom: 1.6rem;
}

/* ---------- Marquee ---------- */
.spoke-marquee {
  overflow: hidden;
  background: var(--spoke-deep);
  color: #F3EEE4;
  padding: 1rem 0;
}
.spoke-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.6rem;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.15rem;
  animation: spoke-marquee-run 36s linear infinite;
}
.spoke-marquee:hover .spoke-marquee-track { animation-play-state: paused; }
.spoke-marquee-item { color: #FFFFFF; }
@keyframes spoke-marquee-run {
  to { transform: translateX(-50%); }
}

/* ---------- Pull quote ---------- */
.spoke-pull { text-align: center; background: var(--spoke-bg); padding: 6dvh 6vw; }
.spoke-pull-quote {
  position: relative;
  max-width: 60rem;
  margin: 0 auto;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  line-height: 1.5;
  color: var(--spoke-tone);
}
.spoke-pull-quote::before,
.spoke-pull-quote::after {
  font-size: 3rem;
  line-height: 0;
  color: var(--spoke-sun);
  vertical-align: -0.4em;
}
.spoke-pull-quote::before { content: "\201C"; margin-inline-end: 0.2em; }
.spoke-pull-quote::after { content: "\201D"; margin-inline-start: 0.2em; }

/* ---------- Split blocks ---------- */
.spoke-split {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  gap: 5vw;
  align-items: center;
}
.spoke-split-reverse { grid-template-columns: minmax(0, 55%) minmax(0, 45%); }
.spoke-split-figure { margin: 0; }
.spoke-split-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}
.spoke-split-figure figcaption {
  font-size: 0.9rem;
  color: var(--spoke-muted);
  margin-top: 0.6rem;
}
.spoke-split-copy p { color: var(--spoke-ink); }

/* ---------- Icon lists ---------- */
.spoke-kicker-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.9rem;
}
.spoke-kicker-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.spoke-feature-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--spoke-tone);
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}
.spoke-kicker-list .spoke-feature-icon { margin-bottom: 0; width: 38px; height: 38px; }

/* ---------- Feature grid (magazine) ---------- */
.spoke-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}
.spoke-feature-lead {
  position: relative;
  overflow: clip;
  min-height: 420px;
  color: #FFFFFF;
  border-radius: 3px;
  display: flex;
  align-items: flex-end;
  margin: 0;
}
.spoke-feature-lead img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.spoke-feature-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(18, 48, 58, 0.94), rgba(18, 48, 58, 0.15));
  pointer-events: none;
}
.spoke-feature-lead-copy {
  position: relative;
  z-index: 2;
  padding: 2rem;
}
.spoke-feature-lead-copy h3 { color: #FFFFFF; }
.spoke-feature-lead-copy p { color: #F3EEE4; margin: 0; }
.spoke-feature-stack { display: grid; gap: 1.5rem; }
.spoke-feature-item {
  background: var(--spoke-surface);
  border-top: 3px solid var(--spoke-tone);
  padding: 1.5rem;
  box-shadow: var(--spoke-shadow);
  margin: 0;
}
.spoke-feature-item p { margin: 0; color: var(--spoke-muted); }

/* ---------- Steps ---------- */
.spoke-steps-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.spoke-step {
  position: relative;
  overflow: clip;
  padding: 2rem;
  border-inline-start: 1px solid var(--spoke-line);
  margin: 0;
}
.spoke-step:first-child { border-inline-start: none; }
.spoke-step-num {
  position: absolute;
  top: -0.2em;
  inset-inline-end: 0.3rem;
  z-index: 0;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  opacity: 0.07;
  color: var(--spoke-tone);
  pointer-events: none;
}
.spoke-step-body { position: relative; z-index: 1; }
.spoke-step-body p { color: var(--spoke-muted); }

/* ---------- Strip (CTA) ---------- */
.spoke-strip {
  background: #F3EBDD;
  text-align: center;
  padding: 10dvh 6vw;
}
.spoke-strip-title { font-size: clamp(2rem, 4vw, 3rem); }
.spoke-strip p { color: var(--spoke-muted); margin-bottom: 1.6rem; }

/* ---------- Stats (expert) ---------- */
.spoke-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.spoke-stat { padding: 1rem; border-top: 3px solid var(--spoke-tone); }
.spoke-stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--spoke-tone);
  line-height: 1.1;
}
.spoke-stat-label { color: var(--spoke-muted); font-size: 0.95rem; }

/* ---------- Reserve: booking cards ---------- */
.spoke-page-hero {
  padding: 8dvh 6vw 5dvh;
  background: var(--spoke-surface);
  border-bottom: 1px solid var(--spoke-line);
}
.spoke-page-hero p { max-width: 46rem; color: var(--spoke-muted); font-size: 1.1rem; }
.spoke-booking-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.spoke-booking-card {
  background: var(--spoke-surface);
  border-top: 3px solid var(--spoke-tone);
  padding: 1.6rem;
  box-shadow: var(--spoke-shadow);
  margin: 0;
}
.spoke-booking-card p { color: var(--spoke-muted); }
.spoke-numlist {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: spoke-n;
}
.spoke-numlist li {
  position: relative;
  padding-inline-start: 2.4rem;
  margin-bottom: 0.7rem;
  min-height: 1.8rem;
}
.spoke-numlist li::before {
  counter-increment: spoke-n;
  content: counter(spoke-n);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--spoke-tone);
}
.spoke-numlist li:nth-child(4n+2)::before { background: var(--spoke-deep); }
.spoke-numlist li:nth-child(4n+3)::before { background: #8A5A00; }
.spoke-numlist li:nth-child(4n+4)::before { background: #3D4A7A; }

/* ---------- Booking form ---------- */
.spoke-booking-form {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
  background: var(--spoke-surface);
  padding: 2rem;
  border: 1px solid var(--spoke-line);
  border-radius: 3px;
}
.spoke-field { display: grid; gap: 0.4rem; }
.spoke-field label { font-weight: 700; }
.spoke-field input,
.spoke-field textarea {
  font: inherit;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #8F8571;
  border-radius: 3px;
  background: #FFFFFF;
  color: var(--spoke-ink);
}
.spoke-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.spoke-consent input { margin-top: 0.4rem; }
.spoke-booking-form .spoke-cta-btn { justify-self: start; cursor: pointer; }
.spoke-contact { text-align: center; margin: 2.5dvh 0; }

/* ---------- FAQ ---------- */
.spoke-faq { max-width: 760px; margin: 0 auto; }
.spoke-faq-item {
  border-bottom: 1px solid var(--spoke-line);
  padding: 1.1rem 0;
}
.spoke-faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--spoke-ink);
}
.spoke-faq-item p { margin: 0.7rem 0 0; color: var(--spoke-muted); }

/* ---------- Legal & thanks ---------- */
.spoke-legal {
  min-height: 100vh;
  padding: 6dvh 6vw;
}
.spoke-legal-body { max-width: 820px; margin: 0 auto; }
.spoke-legal-body h2 { margin-top: 2rem; font-size: 1.5rem; }
.spoke-legal-body p { color: var(--spoke-ink); }
.spoke-thanks {
  min-height: 70dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8dvh 6vw;
}
.spoke-thanks-figure { margin: 0 auto 2rem; max-width: 520px; }
.spoke-thanks-figure img { width: 100%; border-radius: 3px; aspect-ratio: 4 / 3; object-fit: cover; }
.spoke-thanks p { color: var(--spoke-muted); max-width: 40rem; margin: 0 auto 1.8rem; }

/* ---------- Footer ---------- */
.spoke-footer {
  background: var(--spoke-deep);
  color: #F3EEE4;
  padding: 6dvh 6vw 3dvh;
}
.spoke-footer a { color: #F3EEE4; }
.spoke-footer a:hover { color: var(--spoke-sun); }
.spoke-footer .spoke-logo-svg { color: var(--spoke-sun); }
.spoke-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.spoke-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.spoke-footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.spoke-disclaimer {
  margin: 2.5dvh 0 1rem;
  font-size: 0.92rem;
  color: #E4DED2;
}
.spoke-copy {
  margin: 0;
  font-size: 0.85rem;
  color: #D8D2C6;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
}

/* ---------- Cookie banner ---------- */
.spoke-cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 6vw;
  background: var(--spoke-surface);
  border-top: 3px solid var(--spoke-tone);
  box-shadow: 0 -6px 20px rgba(18, 48, 58, 0.15);
}
.spoke-cookie-banner[hidden] { display: none; }
.spoke-cookie-text { margin: 0; color: var(--spoke-ink); }
.spoke-cookie-actions { display: flex; gap: 0.8rem; }
.spoke-cookie-accept,
.spoke-cookie-decline {
  font: inherit;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid var(--spoke-tone);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.spoke-cookie-accept { background: var(--spoke-tone); color: #FFFFFF; }
.spoke-cookie-accept:hover { background: var(--spoke-tone-hover); border-color: var(--spoke-tone-hover); }
.spoke-cookie-decline { background: transparent; color: var(--spoke-tone); }
.spoke-cookie-decline:hover { background: var(--spoke-tone); color: #FFFFFF; }

/* ---------- Stagger reveal (JS-група) ---------- */
.js [data-spoke-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js [data-spoke-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .spoke-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spoke-booking-cards { grid-template-columns: 1fr; }
  .spoke-steps-row { grid-template-columns: 1fr; }
  .spoke-step { border-inline-start: none; border-top: 1px solid var(--spoke-line); }
  .spoke-step:first-child { border-top: none; }
}

@media (max-width: 760px) {
  .spoke-intro { grid-template-columns: 1fr; min-height: auto; }
  .spoke-vstrip { writing-mode: horizontal-tb; padding: 1.1rem 6vw; }
  .spoke-vstrip span { font-size: 1.2rem; }
  .spoke-intro-media { padding: 7dvh 6vw; }
  .spoke-split,
  .spoke-split-reverse,
  .spoke-feature-grid { grid-template-columns: 1fr; }
  .spoke-feature-lead { min-height: 340px; }
  .spoke-booking-form { padding: 1.4rem; }
  .spoke-cookie-banner { flex-direction: column; align-items: stretch; }
}

@media (max-width: 420px) {
  .spoke-stat-row { grid-template-columns: 1fr; }
  .spoke-footer-inner { flex-direction: column; align-items: flex-start; }
  .spoke-cookie-actions { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html { view-transition-name: none; }
  .js [data-spoke-reveal] { opacity: 1; transform: none; }
}