/* LifePeak Journeys — editorial, emerald */

:root {
  --ink: #0B3D2E;
  --ink-dark: #07261D;
  --accent: #1C8A5A;
  --accent-dark: #146B46;
  --accent-bright: #3DDC97;
  --accent-soft: #E6F4EC;
  --text: #1C2420;
  --text-soft: #3D4A44;
  --text-muted: #6B7872;
  --bg: #FFFFFF;
  --bg-soft: #F3F7F4;
  --border: #D7E3DB;
  --border-soft: #E8F0EA;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 61, 46, 0.06);
  --shadow: 0 8px 28px rgba(11, 61, 46, 0.08);
  --max-w: 760px;
  --max-w-wide: 1140px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  background: var(--ink);
  border-bottom: 1px solid var(--ink-dark);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  display: block;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text__name {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #F3F7F4;
  letter-spacing: -0.02em;
}
.logo-text__sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8FCBB0;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.site-nav a {
  color: #D5E8DC;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #fff; }

.badge-reclame {
  display: inline-block;
  padding: 5px 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  user-select: none;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 4px auto;
}

/* Article */
.article {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.article__meta-dot {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.article__title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.article__hero {
  position: relative;
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
}
.article__hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article__hero figcaption {
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 2px 0;
}
.article__lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.article__lead strong { color: var(--text); font-weight: 700; }
.article__divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 48px 0 40px;
}

/* TOC / extras */
.toc {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px 24px 18px;
  margin: 28px 0 8px;
}
.toc h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.toc ol {
  list-style: none;
  display: grid;
  gap: 8px;
}
.toc a {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.4;
}
.toc a:hover { color: var(--accent-dark); }
.toc__n {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  color: var(--accent);
  min-width: 28px;
}

.panel {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  margin: 22px 0;
}
.panel h2, .panel h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
}
.panel p { font-size: 16px; color: var(--text-soft); margin-bottom: 10px; }
.panel p:last-child { margin-bottom: 0; }

.who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 8px;
}
.who__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  background: #fff;
}
.who__item h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.who__item p { font-size: 14px; color: var(--text-soft); line-height: 1.55; }

/* Cards */
.cards { display: flex; flex-direction: column; gap: 56px; }
.card { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 96px; }
.card__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
}
.card__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card__meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.card__head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 4px;
}
.card__number {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 0.95;
  color: var(--accent);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  min-width: 72px;
}
.card__title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  padding-top: 6px;
}
.card__body { display: flex; flex-direction: column; gap: 14px; }
.card__body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}
.note {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}
.note strong { font-weight: 700; }

.card__cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 4px;
  padding: 14px 22px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.15s ease;
  line-height: 1.3;
}
.card__cta:hover { background: var(--accent-dark); }
.card__cta:active { transform: translateY(1px); }
.card__cta::after { content: "→"; font-size: 16px; line-height: 1; }

/* FAQ */
.faq { margin-top: 8px; }
.faq h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 18px;
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--text-soft);
}

/* Legal / inner */
.legal {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 72px;
}
.legal__title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.legal h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 12px;
}
.legal p, .legal li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.legal ul { margin: 8px 0 18px 22px; }
.legal li { margin-bottom: 4px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal a:hover { color: var(--accent-dark); }
.legal address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 8px 0 18px;
}
.legal__hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 28px;
  background: var(--bg-soft);
}
.legal__hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* Contact form */
.form {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}
.form label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  display: grid;
  gap: 6px;
}
.form input,
.form textarea,
.form select {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  width: 100%;
}
.form textarea { min-height: 140px; resize: vertical; }
.form button {
  justify-self: start;
  padding: 14px 22px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.form button:hover { background: var(--accent-dark); }
.form__ok {
  display: none;
  background: var(--accent-soft);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 15px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #E5E7EB;
  margin-top: 64px;
  padding: 56px 24px 32px;
}
.site-footer__inner { max-width: var(--max-w-wide); margin: 0 auto; }
.site-footer__columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.site-footer__col p,
.site-footer__col li {
  font-size: 14px;
  line-height: 1.65;
  color: #C5D6CC;
}
.site-footer__col p + h4 { margin-top: 24px; }
.site-footer__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer__list a { color: #C5D6CC; }
.site-footer__list a:hover { color: #fff; }
.site-footer__contact-block + .site-footer__contact-block { margin-top: 16px; }
.site-footer__contact-block a { color: #fff; }
.site-footer__copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #8AA396;
}

/* Cookie bar */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--ink-dark);
  color: #E8F0EA;
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 80;
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.cookie.is-on { display: flex; }
.cookie p { font-size: 14px; line-height: 1.5; }
.cookie p a { color: var(--accent-bright); text-decoration: underline; }
.cookie button {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  min-height: 44px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .site-header__inner { padding: 12px 16px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ink-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 18px;
    gap: 14px;
  }
  .site-nav.is-open { display: flex; }
  .nav-toggle { display: inline-block; }
  .badge-reclame { display: none; }
  .article { padding: 36px 20px 56px; }
  .article__divider { margin: 36px 0 32px; }
  .cards { gap: 44px; }
  .card__head { gap: 14px; }
  .card__number { font-size: 44px; min-width: 56px; }
  .who { grid-template-columns: 1fr; }
  .legal { padding: 36px 20px 56px; }
  .site-footer { padding: 44px 20px 28px; margin-top: 48px; }
  .site-footer__columns { grid-template-columns: 1fr; gap: 32px; }
  .cookie { flex-direction: column; align-items: stretch; }
}

@media (max-width: 420px) {
  .card__cta { justify-content: center; font-size: 13px; }
  .logo-text__name { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card__cta { transition: none; }
}
