/* Vida Saludable: єдиний файл стилів (світла тема, пресет B: Light Split) */

:root {
  --vida-bg: #FBF7F0;
  --vida-surface: #FFFFFF;
  --vida-soft: #E6F3F0;
  --vida-tone: #0B7A75;
  --vida-tone-hover: #085F5B;
  --vida-sun: #F2B544;
  --vida-ink: #1A1A2A;
  --vida-muted: #4A4F5C;
  --vida-line: #DDD5C6;
  --vida-on-dark: #F4F1EA;
  --vida-gradient: linear-gradient(135deg, #0B7A75 0%, #3BA99C 100%);
  --vida-shadow: 0 10px 28px rgba(26, 26, 42, 0.09);
  --vida-radius: 16px;
  --vida-radius-sm: 10px;
  --vida-pad: 10dvh;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;
}

/* ===== Міжсторінкові переходи ===== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.35s ease both vida-vt-out; }
::view-transition-new(root) { animation: 0.45s ease both vida-vt-in; }
@keyframes vida-vt-out { to { opacity: 0; } }
@keyframes vida-vt-in { from { opacity: 0; } }

/* ===== База ===== */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--vida-ink);
  background: var(--vida-bg);
}
img { max-width: 100%; display: block; }
a { color: var(--vida-tone); }
a:hover { color: var(--vida-tone-hover); }
:focus-visible { outline: 3px solid var(--vida-sun); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--vida-ink);
  text-transform: none;
}
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.vida-h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.vida-h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.vida-h3-alt { font-size: 1.3rem; }
.vida-lead { font-size: 1.1rem; color: var(--vida-muted); max-width: 52ch; }
.vida-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vida-tone);
  font-weight: 700;
  margin: 0 0 0.8em;
}
.vida-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--vida-ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.vida-skip:focus { left: 8px; }
.vida-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.vida-sec { padding-block: var(--vida-pad); }
.vida-sec-tint { background: var(--vida-soft); }
.vida-sec-head { margin-bottom: 36px; max-width: 760px; }
.vida-sec-head .vida-lead { margin-bottom: 0; }
.vida-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--vida-tone);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  margin-bottom: 12px;
}

/* ===== Кнопки (статичні, без зсуву) ===== */
.vida-btn-main {
  display: inline-block;
  background: var(--vida-tone);
  color: #fff;
  padding: 14px 26px;
  border-radius: var(--vida-radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.vida-btn-main:hover { background: var(--vida-tone-hover); color: #fff; box-shadow: 0 0 0 4px rgba(11, 122, 117, 0.18); }
.vida-btn-main:active { transform: scale(0.98); }
.vida-btn-line {
  display: inline-block;
  color: var(--vida-tone);
  border: 2px solid var(--vida-tone);
  padding: 12px 24px;
  border-radius: var(--vida-radius-sm);
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.25s ease;
}
.vida-btn-line:hover { background: var(--vida-soft); color: var(--vida-tone-hover); }
.vida-btn-light {
  display: inline-block;
  background: #fff;
  color: var(--vida-tone-hover);
  padding: 14px 26px;
  border-radius: var(--vida-radius-sm);
  text-decoration: none;
  font-weight: 700;
  transition: box-shadow 0.25s ease;
}
.vida-btn-light:hover { color: var(--vida-tone-hover); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35); }
.vida-action-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }

/* ===== Header ===== */
.vida-site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--vida-surface);
  border-bottom: 1px solid var(--vida-line);
  box-shadow: 0 1px 0 var(--vida-line);
  transition: box-shadow 0.3s ease;
}
.vida-site-head:focus-within { box-shadow: 0 8px 24px rgba(26, 26, 42, 0.12); }
.vida-head-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.vida-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--vida-ink);
}
.vida-logo-mark { width: 36px; height: 36px; flex: none; }
.vida-logo-disc { fill: var(--vida-tone); }
.vida-logo-wave { stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.vida-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.vida-menu-check { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.vida-menu-label { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.vida-menu-label span { display: block; width: 26px; height: 2px; background: var(--vida-ink); border-radius: 2px; }
.vida-menu-check:focus-visible ~ .vida-menu-label { outline: 3px solid var(--vida-sun); outline-offset: 2px; }
.vida-nav-wrap { display: flex; gap: 26px; align-items: center; }
.vida-nav-wrap a {
  color: var(--vida-ink);
  text-decoration: none;
  font-weight: 700;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.vida-nav-wrap a:hover, .vida-nav-wrap a[aria-current="page"] { color: var(--vida-tone); border-color: var(--vida-tone); }
.vida-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--vida-gradient);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
  animation: vida-grow linear both;
  animation-timeline: scroll(root);
}
@keyframes vida-grow { to { transform: scaleX(1); } }

/* ===== Announcement ===== */
.vida-top-band { background: var(--vida-tone); color: #fff; font-size: 0.95rem; }
.vida-top-band p { margin: 0; padding: 10px 20px; text-align: center; }
.vida-top-band a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.vida-top-band a:hover { color: var(--vida-sun); }

/* ===== Split hero ===== */
.vida-split-hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: min(82dvh, 640px);
  background: var(--vida-surface);
}
.vida-split-copy { padding: var(--vida-pad) 6vw; display: flex; flex-direction: column; justify-content: center; }
.vida-split-media { margin: 0; position: relative; overflow: hidden; }
.vida-split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===== Marquee (декоративна стрічка) ===== */
.vida-marquee {
  overflow: hidden;
  background: var(--vida-soft);
  border-block: 1px solid var(--vida-line);
  padding: 14px 0;
}
.vida-marquee-track { display: flex; width: max-content; animation: vida-marquee 38s linear infinite; }
.vida-marquee:hover .vida-marquee-track { animation-play-state: paused; }
.vida-marquee-track span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--vida-ink);
  padding-inline: 22px;
  white-space: nowrap;
}
.vida-marquee-track span::after { content: "•"; color: var(--vida-tone); margin-left: 44px; }
@keyframes vida-marquee { to { transform: translateX(-50%); } }

/* ===== Band + clip-reveal ===== */
.vida-band-section { background: var(--vida-bg); }
.vida-lane-photo { margin: 0; height: 45vh; min-height: 260px; overflow: hidden; }
.vida-lane-photo img { width: 100%; height: 100%; object-fit: cover; }
@supports (animation-timeline: view()) {
  .vida-lane-photo {
    animation: vida-clip-in linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }
}
@keyframes vida-clip-in {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}
.vida-columns3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-block: calc(var(--vida-pad) * 0.8);
}
.vida-col-rule { border-top: 3px solid var(--vida-tone); padding: 20px 4px 0; }
.vida-col-rule p { color: var(--vida-muted); }

/* ===== Masonry tiles ===== */
.vida-tile-masonry { columns: 3; column-gap: 24px; }
.vida-tile {
  break-inside: avoid;
  background: var(--vida-surface);
  border: 1px solid var(--vida-line);
  border-radius: var(--vida-radius);
  box-shadow: var(--vida-shadow);
  padding: 24px;
  margin: 0 0 24px;
}
.vida-tile p { color: var(--vida-muted); margin-bottom: 0; }
.vida-tile-img {
  margin: -24px -24px 18px;
  height: 200px;
  overflow: hidden;
  border-radius: var(--vida-radius) var(--vida-radius) 0 0;
}
.vida-tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.vida-tile-ico { margin-bottom: 12px; }

/* ===== Steps track ===== */
.vida-step-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}
.vida-step {
  flex: 1;
  position: relative;
  border-top: 2px dashed var(--vida-tone);
  padding-top: 0;
}
.vida-step-dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--vida-surface);
  border: 2px solid var(--vida-tone);
  color: var(--vida-tone);
  font-weight: 700;
  margin-top: -19px;
  margin-bottom: 14px;
}
.vida-step-current { border-top-style: solid; border-top-width: 3px; }
.vida-step-current .vida-step-dot { background: var(--vida-sun); border-color: var(--vida-sun); color: var(--vida-ink); }
.vida-step p { color: var(--vida-muted); }

/* ===== CTA strip ===== */
.vida-cta-strip { background: var(--vida-tone); color: #fff; padding-block: calc(var(--vida-pad) * 0.8); }
.vida-cta-strip h2 { color: #fff; margin: 0; max-width: 24ch; }
.vida-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }

/* ===== Page hero ===== */
.vida-page-hero {
  background: var(--vida-surface);
  border-bottom: 1px solid var(--vida-line);
  padding-block: calc(var(--vida-pad) * 0.9) calc(var(--vida-pad) * 0.6);
}
.vida-page-hero .vida-lead { margin-bottom: 0; }

/* ===== About ===== */
.vida-about-split { display: grid; grid-template-columns: 1fr 1fr; background: var(--vida-surface); }
.vida-about-media { margin: 0; position: relative; overflow: hidden; min-height: 420px; }
.vida-about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vida-about-copy { padding: var(--vida-pad) 6vw; align-self: center; }
.vida-about-copy p { color: var(--vida-muted); }
.vida-include-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.vida-include-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--vida-surface);
  border: 1px solid var(--vida-line);
  border-radius: var(--vida-radius);
  padding: 22px;
}
.vida-include-item .vida-icon { margin-bottom: 0; }
.vida-include-item p { color: var(--vida-muted); margin-bottom: 0; }
.vida-process-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.vida-process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: var(--vida-surface);
  padding: 20px;
  border-radius: var(--vida-radius-sm);
  border: 1px solid var(--vida-line);
}
.vida-process-step p { color: var(--vida-muted); margin-bottom: 0; }
.vida-proc-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--vida-tone);
  color: #fff;
  font-weight: 700;
}
.vida-principle-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vida-principle {
  background: var(--vida-surface);
  border-left: 4px solid var(--vida-tone);
  padding: 22px;
  border-radius: var(--vida-radius-sm);
  box-shadow: var(--vida-shadow);
}
.vida-principle p { color: var(--vida-muted); margin-bottom: 0; }
.vida-acc-stack { display: grid; gap: 14px; max-width: 860px; }
.vida-acc {
  background: var(--vida-surface);
  border: 1px solid var(--vida-line);
  border-radius: var(--vida-radius-sm);
  padding: 18px 22px;
}
.vida-acc summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); font-size: 1.1rem; color: var(--vida-ink); }
.vida-acc[open] summary { color: var(--vida-tone); }
.vida-acc p { margin: 12px 0 0; color: var(--vida-muted); }

/* ===== Reserve ===== */
.vida-reserve-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.vida-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vida-info-card {
  background: var(--vida-surface);
  border: 1px solid var(--vida-line);
  border-radius: var(--vida-radius);
  padding: 24px;
  box-shadow: var(--vida-shadow);
}
.vida-info-card p { color: var(--vida-muted); }
.vida-num-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.vida-num-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 0.95rem; }
.vida-num-list li span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.vida-num-list li:nth-child(1) span { background: var(--vida-sun); color: var(--vida-ink); }
.vida-num-list li:nth-child(2) span { background: var(--vida-tone); color: #fff; }
.vida-num-list li:nth-child(3) span { background: var(--vida-soft); color: var(--vida-tone-hover); }
.vida-num-list li:nth-child(4) span { background: var(--vida-ink); color: #fff; }
.vida-form-panel {
  background: var(--vida-surface);
  border: 1px solid var(--vida-line);
  border-radius: var(--vida-radius);
  padding: 32px;
  box-shadow: var(--vida-shadow);
}
.vida-form-panel .vida-h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.vida-field { display: grid; gap: 6px; margin-bottom: 18px; }
.vida-field label { font-weight: 700; }
.vida-field input,
.vida-field textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--vida-line);
  border-radius: var(--vida-radius-sm);
  background: #fff;
  color: var(--vida-ink);
}
.vida-field input:focus,
.vida-field textarea:focus { border-color: var(--vida-tone); outline: 3px solid rgba(11, 122, 117, 0.2); }
.vida-check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 22px;
  font-size: 0.95rem;
}
.vida-check-row input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--vida-tone); }
.vida-faq-list { display: grid; gap: 14px; max-width: 820px; }
.vida-faq-list details {
  background: var(--vida-surface);
  border: 1px solid var(--vida-line);
  border-radius: var(--vida-radius-sm);
  padding: 18px 22px;
}
.vida-faq-list summary { font-weight: 700; cursor: pointer; }
.vida-faq-list p { margin: 10px 0 0; color: var(--vida-muted); }

/* ===== Legal ===== */
.vida-legal-page { min-height: 100vh; }
.vida-legal-body {
  width: min(860px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: calc(var(--vida-pad) * 0.8);
}
.vida-legal-body h2 { margin-top: 1.6em; }

/* ===== Thank ===== */
.vida-thank-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; background: var(--vida-surface); }
.vida-thank-media { margin: 0; position: relative; overflow: hidden; min-height: 320px; }
.vida-thank-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vida-thank-copy { padding: var(--vida-pad) 6vw; align-self: center; }
.vida-thank-copy p { color: var(--vida-muted); }

/* ===== Footer ===== */
.vida-foot { background: var(--vida-ink); color: var(--vida-on-dark); padding-block: 48px 24px; }
.vida-foot a { color: var(--vida-on-dark); }
.vida-foot a:hover { color: var(--vida-sun); }
.vida-foot .vida-brand { color: var(--vida-on-dark); }
.vida-foot .vida-logo-disc { fill: var(--vida-sun); }
.vida-foot .vida-logo-wave { stroke: var(--vida-ink); }
.vida-foot-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}
.vida-foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.vida-foot-links a { text-decoration: underline; text-underline-offset: 3px; }
.vida-foot-addr { font-style: normal; font-size: 0.95rem; }
.vida-foot-base {
  width: min(1180px, calc(100% - 40px));
  margin: 32px auto 0;
  border-top: 1px solid rgba(244, 241, 234, 0.2);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
}
.vida-foot-base p { margin: 0; }
.vida-disclaimer { max-width: 70ch; }

/* ===== Cookie banner ===== */
.vida-cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--vida-ink);
  color: var(--vida-on-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2);
}
.vida-cookie-bar p { margin: 0; font-size: 0.95rem; }
.vida-cookie-actions { display: flex; gap: 10px; }
.vida-cookie-btn {
  font: inherit;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--vida-radius-sm);
  border: 2px solid var(--vida-on-dark);
  background: transparent;
  color: var(--vida-on-dark);
  cursor: pointer;
}
.vida-cookie-btn:hover { box-shadow: 0 0 0 3px rgba(244, 241, 234, 0.25); }
.vida-cookie-yes { background: var(--vida-sun); border-color: var(--vida-sun); color: var(--vida-ink); }

/* ===== Stagger reveal (лише з класом .js) ===== */
.js [data-vida-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js [data-vida-reveal].is-in { opacity: 1; transform: none; }

/* ===== Адаптивність ===== */
@media (max-width: 1000px) {
  .vida-tile-masonry { columns: 2; }
  .vida-principle-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .vida-menu-label { display: flex; }
  .vida-nav-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: var(--vida-surface);
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--vida-line);
    box-shadow: var(--vida-shadow);
  }
  .vida-menu-check:checked ~ .vida-nav-wrap { display: flex; }
  .vida-split-hero { grid-template-columns: 1fr; }
  .vida-split-copy { padding: 56px 20px; }
  .vida-split-media { height: 300px; }
  .vida-split-media img { position: static; height: 300px; }
  .vida-columns3 { grid-template-columns: 1fr; }
  .vida-step-track { flex-direction: column; gap: 22px; }
  .vida-step { border-top: 0; border-left: 2px dashed var(--vida-tone); padding: 0 0 0 24px; }
  .vida-step-current { border-left-style: solid; border-left-width: 3px; }
  .vida-step-dot { margin-top: 0; margin-left: -43px; }
  .vida-about-split { grid-template-columns: 1fr; }
  .vida-about-media { min-height: 280px; }
  .vida-about-copy { padding: 56px 20px; }
  .vida-include-grid { grid-template-columns: 1fr; }
  .vida-reserve-layout { grid-template-columns: 1fr; }
  .vida-thank-wrap { grid-template-columns: 1fr; }
  .vida-thank-media { min-height: 260px; }
  .vida-thank-copy { padding: 56px 20px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .vida-tile-masonry { columns: 1; }
  .vida-principle-row { grid-template-columns: 1fr; }
  .vida-info-grid { grid-template-columns: 1fr; }
  .vida-form-panel { padding: 22px; }
  .vida-cookie-bar { padding: 14px 16px; }
  .vida-cookie-actions { width: 100%; }
  .vida-cookie-btn { flex: 1; }
  .vida-lane-photo { height: 40vh; }
}

/* ===== 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-vida-reveal] { opacity: 1 !important; transform: none !important; }
}