/* ==========================================================
   Gaya Hidup Sehat — тема руху (light, organic blob preset)
   ========================================================== */

:root {
  --mv-bg: #FBF8F1;
  --mv-surface: #FFFFFF;
  --mv-tone: #1F7A6D;
  --mv-tone-hover: #155F54;
  --mv-ink: #1A1A2A;
  --mv-muted: #4A4F5C;
  --mv-mint: #DDEFE9;
  --mv-sand: #F6E9C8;
  --mv-sun: #F2B84B;
  --mv-line: #D9D4C7;
  --mv-edge: #EFEBE1;
  --mv-foot-bg: #1D3A35;
  --mv-foot-ink: #F3F7F5;
  --mv-foot-soft: #C9E4DB;
  --mv-gradient: linear-gradient(135deg, #1F7A6D 0%, #4FB39B 100%);
  --mv-shadow-soft: 0 6px 20px rgba(26, 26, 42, 0.08);
  --mv-shadow-form: 0 12px 40px rgba(0, 0, 0, 0.12);
  --mv-radius: 16px;
  --mv-section-y: 10dvh;
  --font-display: 'Nunito', Georgia, serif;
  --font-body: 'Fira Sans', system-ui, Arial, sans-serif;
}

/* ---------- Міжсторінкові переходи ---------- */
@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; } }

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--mv-bg);
  color: var(--mv-ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--mv-ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--mv-tone); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; }

:focus-visible {
  outline: 3px solid var(--mv-tone);
  outline-offset: 3px;
}

.mv-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mv-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.mv-section {
  position: relative;
  padding: var(--mv-section-y) 20px;
  overflow: clip;
}
.mv-section-tint {
  background: linear-gradient(180deg, #F1F8F5 0%, var(--mv-bg) 100%);
}

.mv-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--mv-tone);
  background: var(--mv-mint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.mv-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--mv-muted);
  max-width: 36em;
}

.mv-sec-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.mv-sec-head .mv-lead { margin: 0 auto; }
.mv-sec-head .mv-eyebrow { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.mv-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 241, 0.95);
  border-bottom: 1px solid var(--mv-line);
}
.mv-head-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mv-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mv-ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.mv-logo-blob {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  background: var(--mv-gradient);
  color: #fff;
  border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
}
.mv-logo-blob svg { width: 28px; height: 28px; }
.mv-brand-light { color: var(--mv-foot-ink); }

.mv-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.mv-nav a {
  color: var(--mv-ink);
  text-decoration: none;
  font-weight: 700;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.mv-nav a:hover {
  color: var(--mv-tone);
  border-bottom-color: var(--mv-tone);
}

.mv-nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.mv-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.mv-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--mv-ink);
  border-radius: 2px;
}
.mv-nav-toggle:focus-visible + .mv-burger {
  outline: 3px solid var(--mv-tone);
  outline-offset: 3px;
}

/* Прогрес-бар сторінки (scroll-driven) */
.mv-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 100%;
  background: var(--mv-tone);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
@supports (animation-timeline: scroll()) {
  .mv-progress {
    animation: mv-grow linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes mv-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- Декоративний шар (blob) ---------- */
.mv-decor-field {
  position: absolute;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  z-index: 0;
}
.mv-parallax {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.mv-blob {
  position: absolute;
  width: min(44vw, 460px);
  aspect-ratio: 1;
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  animation: mv-drift 26s ease-in-out infinite alternate;
}
.mv-blob-a {
  top: -8%;
  left: -10%;
  background: var(--mv-mint);
}
.mv-blob-b {
  bottom: -14%;
  right: -8%;
  width: min(40vw, 400px);
  background: var(--mv-sand);
  animation-duration: 34s;
  animation-delay: -8s;
}
.mv-blob-c {
  top: 30%;
  left: 45%;
  width: 260px;
  background: #CFE8E0;
  opacity: 0.4;
  animation-duration: 22s;
}
@keyframes mv-drift {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(50px, -30px) rotate(22deg); }
}

/* ---------- Hero ---------- */
.mv-hero-wrap {
  position: relative;
  overflow: clip;
  padding: var(--mv-section-y) 20px;
  background: linear-gradient(160deg, #FBF8F1 0%, #E4F2EC 100%);
}
.mv-hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.mv-hero-media { position: relative; }
.mv-hero-blob {
  position: relative;
  overflow: hidden;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  aspect-ratio: 1 / 1;
  box-shadow: var(--mv-shadow-form);
  max-width: 560px;
  margin-left: auto;
}
.mv-hero-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Soft hero (reserve) */
.mv-soft-hero {
  position: relative;
  overflow: clip;
  padding: calc(var(--mv-section-y) * 0.8) 20px 4dvh;
  background: linear-gradient(180deg, #F1F8F5 0%, var(--mv-bg) 100%);
}
.mv-soft-hero .mv-wrap { z-index: 1; }

/* ---------- Кнопки / pill ---------- */
.mv-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.mv-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--mv-tone);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--mv-tone);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.mv-pill:hover {
  background: var(--mv-tone-hover);
  border-color: var(--mv-tone-hover);
  color: #fff;
  transform: scale(1.03);
}
.mv-pill:active { transform: scale(0.98); }
.mv-pill-ghost {
  background: transparent;
  color: var(--mv-tone);
}
.mv-pill-ghost:hover {
  background: var(--mv-mint);
  color: var(--mv-tone-hover);
  border-color: var(--mv-tone-hover);
}
.mv-blob-pill {
  display: inline-block;
  padding: 10px 20px;
  background: var(--mv-surface);
  border: 1px solid var(--mv-line);
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--mv-ink);
}

/* ---------- Плитки / картки ---------- */
.mv-tile-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.mv-tile {
  background: var(--mv-surface);
  border: 1px solid var(--mv-edge);
  border-radius: var(--mv-radius);
  padding: 28px 24px;
  box-shadow: var(--mv-shadow-soft);
}
.mv-tile-icon,
.mv-info-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  background: var(--mv-mint);
  color: var(--mv-tone);
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  transition: border-radius 0.6s ease;
}
.mv-tile-icon svg,
.mv-info-icon svg {
  width: 34px;
  height: 34px;
}
.mv-tile:hover .mv-tile-icon {
  border-radius: 45% 55% 35% 65% / 55% 45% 60% 40%;
}
.mv-tile p { color: var(--mv-muted); margin: 0; }

/* ---------- Split (зображення + текст) ---------- */
.mv-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.mv-split-media { margin: 0; }
.mv-split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  clip-path: ellipse(50% 46% at 55% 50%);
}
.mv-split-copy p { color: var(--mv-muted); }

/* ---------- Кроки ---------- */
.mv-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mv-steps-four {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.mv-steps-wave {
  position: absolute;
  top: 42px;
  left: 16.7%;
  width: 66.6%;
  height: 40px;
  z-index: 0;
  pointer-events: none;
  display: none;
}
.mv-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}
.mv-step-num {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  background: var(--mv-gradient);
  border-radius: 55% 45% 48% 52% / 50% 50% 50% 50%;
  box-shadow: var(--mv-shadow-soft);
}
.mv-step p { color: var(--mv-muted); }

/* ---------- Wave band (bg2) ---------- */
.mv-wave-band {
  position: relative;
  overflow: clip;
  padding: calc(var(--mv-section-y) * 1.3) 20px;
  color: #fff;
  background: #14302C;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
}
.mv-band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.mv-band-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(20, 48, 44, 0.92), rgba(20, 48, 44, 0.72));
}
.mv-band-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.mv-band-inner h2 { color: #fff; }
.mv-band-inner p { color: #EAF5F1; }

/* ---------- CTA strip ---------- */
.mv-cta-strip {
  position: relative;
  overflow: clip;
  padding: calc(var(--mv-section-y) * 1.2) 20px;
  background: var(--mv-sand);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  text-align: center;
}
.mv-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.mv-cta-inner p { color: var(--mv-ink); }
.mv-cta-inner .mv-pill { margin-top: 12px; }

/* ---------- Pull quote ---------- */
.mv-pull {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 32px;
  background: var(--mv-surface);
  border-left: 4px solid var(--mv-tone);
  border-radius: 28px;
  box-shadow: var(--mv-shadow-soft);
}
.mv-pull p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--mv-ink);
  margin: 0 0 12px;
}
.mv-pull cite {
  font-style: normal;
  color: var(--mv-muted);
}

/* ---------- About: список для стовпців ---------- */
.mv-steps-four .mv-step-num { width: 76px; height: 76px; }

/* ---------- Reserve: інфо-картки ---------- */
.mv-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.mv-info-card {
  background: var(--mv-surface);
  border: 1px solid var(--mv-edge);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--mv-shadow-soft);
}
.mv-info-card h3 { margin-bottom: 14px; }
.mv-info-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.mv-info-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--mv-muted);
}
.mv-dot {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}
.mv-dot-a { background: #1F7A6D; }
.mv-dot-b { background: #9A5418; }
.mv-dot-c { background: #3D5A9E; }
.mv-dot-d { background: #7A3E9D; }

/* ---------- Форма ---------- */
.mv-form-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--mv-surface);
  border-radius: 28px;
  box-shadow: var(--mv-shadow-form);
  padding: clamp(24px, 4vw, 44px);
}
.mv-form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
.mv-form-field label {
  font-weight: 700;
  color: var(--mv-ink);
}
.mv-form-field input,
.mv-form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--mv-ink);
  background: #FFFFFF;
  border: 1.5px solid #6B7280;
  border-radius: 8px;
  padding: 13px 14px;
}
.mv-form-field textarea { resize: vertical; min-height: 120px; }
.mv-form-field input:focus,
.mv-form-field textarea:focus {
  outline: 3px solid var(--mv-tone);
  outline-offset: 2px;
  border-color: var(--mv-tone);
}
.mv-form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 6px 0 24px;
  color: var(--mv-muted);
  font-size: 0.98rem;
}
.mv-form-consent input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 5px;
  accent-color: var(--mv-tone);
}
.mv-submit {
  width: 100%;
  font-size: 1.05rem;
  cursor: pointer;
}

/* ---------- FAQ ---------- */
.mv-faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.mv-faq-item {
  background: var(--mv-surface);
  border: 1px solid var(--mv-edge);
  border-radius: var(--mv-radius);
  padding: 18px 22px;
}
.mv-faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--mv-ink);
  list-style: none;
}
.mv-faq-item summary::-webkit-details-marker { display: none; }
.mv-faq-item p {
  margin: 10px 0 0;
  color: var(--mv-muted);
}

/* ---------- Thank ---------- */
.mv-thank {
  position: relative;
  min-height: 70dvh;
  display: grid;
  align-items: center;
  padding: var(--mv-section-y) 20px;
  overflow: clip;
}
.mv-thank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.mv-thank-copy p { color: var(--mv-muted); }
.mv-thank-media { margin: 0; }
.mv-thank-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  box-shadow: var(--mv-shadow-form);
}

/* ---------- Legal ---------- */
.mv-legal {
  min-height: 100vh;
  padding: var(--mv-section-y) 20px;
}
.mv-legal-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.mv-legal-head { margin-bottom: 36px; }
.mv-legal-block { margin-bottom: 40px; }
.mv-legal-block p { color: var(--mv-muted); }
.mv-legal-back { margin-top: 24px; }
#cookies { scroll-margin-top: 90px; }

/* ---------- Footer ---------- */
.mv-foot {
  background: var(--mv-foot-bg);
  color: var(--mv-foot-ink);
  padding: 44px 20px 28px;
}
.mv-foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  justify-items: start;
}
.mv-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}
.mv-foot-links a {
  color: var(--mv-foot-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mv-foot-links a:hover { color: #FFFFFF; }
.mv-disclaimer {
  margin: 0;
  max-width: 60ch;
  color: var(--mv-foot-soft);
  font-size: 0.95rem;
}
.mv-copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--mv-foot-soft);
}

/* ---------- Cookie-банер ---------- */
.mv-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #1A1A2A;
  color: #FFFFFF;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
}
.mv-cookie[hidden] { display: none; }
.mv-cookie-text {
  margin: 0;
  max-width: 720px;
  font-size: 0.95rem;
}
.mv-cookie-text a { color: #9FE3D1; }
.mv-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mv-cookie-btn {
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid #7FD1BD;
  background: #7FD1BD;
  color: #10231F;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}
.mv-cookie-btn:hover {
  background: #A8E6D5;
  border-color: #A8E6D5;
}
.mv-cookie-btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.mv-cookie-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

/* ---------- Анімаційний шар: reveal ---------- */
.js .mv-rise {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--mv-delay, 0ms);
}
.js .mv-rise.is-in {
  opacity: 1;
  transform: none;
}

/* Плавна поява секцій при вході у viewport (лише з підтримкою view()) */
@supports (animation-timeline: view()) {
  .mv-view-fade {
    animation: mv-fade-in linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
}
@keyframes mv-fade-in {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* ---------- Адаптивність ---------- */
@media (min-width: 900px) {
  .mv-steps-wave { display: block; }
  .mv-steps:not(.mv-steps-four) { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .mv-hero-grid,
  .mv-split,
  .mv-thank-grid {
    grid-template-columns: 1fr;
  }
  .mv-hero-blob { margin: 0 auto; max-width: 440px; }
  .mv-split-media { max-width: 480px; width: 100%; margin: 0 auto; }
  .mv-steps { grid-template-columns: 1fr; }
  .mv-steps-four { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .mv-burger { display: flex; }
  .mv-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--mv-surface);
    padding: 8px 20px 16px;
    box-shadow: var(--mv-shadow-soft);
    border-bottom: 1px solid var(--mv-line);
  }
  .mv-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--mv-edge);
  }
  .mv-nav-toggle:checked ~ .mv-nav { display: flex; }
}

@media (max-width: 420px) {
  .mv-head-inner { padding: 12px 16px; }
  .mv-brand { font-size: 1rem; gap: 10px; }
  .mv-logo-blob { width: 40px; height: 40px; flex-basis: 40px; }
  .mv-pill { padding: 12px 22px; }
  .mv-cookie { padding: 16px; }
  .mv-form-card { border-radius: 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html { view-transition-name: none; }
}