/*
 * Storied — стилі сайту.
 * Токени та значення взяті з дизайн-пакета (design handoff), відтворені піксельно.
 */

:root {
  --bg: #F8F5F1;
  --surface: #EFEAE5;
  --ink: #000000;
  --ink-85: rgba(0, 0, 0, .85);
  --ink-70: rgba(0, 0, 0, .70);
  --ink-55: rgba(0, 0, 0, .55);
  --taupe: #9E8772;
  --terracotta: #C65125;
  --green: #1E3A2B;
  --green-hover: #2a4d3a;
  --white: #FFFFFF;
  --font-sans: 'Manrope', sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --pad-x: clamp(20px, 4vw, 48px);
}

/* ---------- База ---------- */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--taupe); }
img { display: block; max-width: 100%; }

.text-link { text-decoration: underline; }

/* ---------- Scroll reveal (стан ставиться тільки з JS) ---------- */

[data-reveal] { transition: opacity .7s ease, transform .7s ease, filter .9s ease; }
[data-io="out"] { opacity: 0; transform: translateY(18px); }
[data-reveal="blur"][data-io="out"] { filter: blur(10px); }
[data-io="in"] { opacity: 1; transform: none; filter: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.fade-up { animation: fadeUp .8s ease both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  [data-parallax] { translate: none !important; }
}

/* ---------- Контейнери та секції ---------- */

.container { max-width: 1200px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.container--narrow { max-width: 820px; }
.container--prose { max-width: 740px; }
.container--quote { max-width: 900px; }
.container--sm { max-width: 700px; }

.section { padding: clamp(64px, 10vh, 120px) 0; }
.section--tall { padding: clamp(80px, 12vh, 140px) 0; }
.section--quote { padding: clamp(80px, 14vh, 160px) 0; }
.section--final-cta { padding: clamp(80px, 13vh, 150px) 0; }
.section--flush-top { padding-top: 0; }

.bg-white { background: var(--white); }
.bg-surface { background: var(--surface); }

/* ---------- Типографіка ---------- */

.label-caps {
  margin: 0;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.section-title--spaced { margin-bottom: 48px; }

.section-sub {
  margin: 16px 0 48px;
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-70);
}

.serif-display {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 34px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s ease;
}
.btn:hover { background: var(--green-hover); color: var(--white); transform: translateY(-1px); }

.btn--sm { min-height: 48px; padding: 13px 30px; font-size: 15px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: all .2s ease;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ---------- Хедер ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(248, 245, 241, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.site-nav { display: flex; gap: clamp(16px, 2.5vw, 36px); font-size: 15px; font-weight: 500; }
.nav-link { padding-bottom: 3px; border-bottom: 1.5px solid transparent; transition: border-color .2s ease; }
.nav-link.is-active { border-bottom-color: var(--taupe); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: none; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; padding: 0;
}
.burger-bar { display: block; width: 22px; height: 2px; background: var(--ink); transition: all .25s ease; }
.menu-open .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger-bar:nth-child(2) { opacity: 0; }
.menu-open .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 49;
  background: var(--bg);
  flex-direction: column; justify-content: center;
  padding: clamp(24px, 8vw, 48px);
}
.menu-open .mobile-menu { display: flex; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu-link { font-family: var(--font-serif); font-size: 40px; padding: 10px 0; }
.mobile-menu-note { margin: 40px 0 0; font-size: 14px; color: var(--ink-70); }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .burger { display: flex; }
}
@media (min-width: 861px) {
  .mobile-menu { display: none !important; }
}

body.scroll-locked { overflow: hidden; }

/* ---------- Головна: hero ---------- */

.hero {
  padding: clamp(120px, 16vh, 180px) 0 0;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-copy { text-align: center; }
.hero-copy .label-caps { margin: 0 0 20px; }

.hero-title {
  margin: 0 auto;
  max-width: 16ch;
  font-size: clamp(40px, 6.4vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-sub {
  margin: 24px auto 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--ink-70);
}

.hero-cta { margin-top: 36px; display: flex; justify-content: center; }

.hero-strip { margin-top: clamp(48px, 8vh, 88px); clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.hero-strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 48vw), 1fr)); gap: 0; }
.hero-strip-grid img,
.hero-strip-grid video { width: 100%; height: clamp(280px, 42vh, 460px); object-fit: cover; }

/* ---------- Головна: editorial ---------- */

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.editorial-photo { width: 100%; max-width: 360px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.editorial-photo--left { justify-self: start; margin-top: clamp(0px, 4vw, 64px); }
.editorial-photo--right { justify-self: end; margin-bottom: clamp(0px, 4vw, 64px); }

.editorial-title {
  margin: 0;
  text-align: center;
  font-size: clamp(40px, 5.5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}

.editorial-lifestyle {
  width: 100%;
  height: clamp(300px, 55vh, 560px);
  object-fit: cover;
  border-radius: 16px;
  margin-top: clamp(48px, 7vw, 96px);
}

/* ---------- Головна: для кого ---------- */

.section-title--audience { max-width: 20ch; }

.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 20px; }

.audience-card {
  background: var(--surface);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.audience-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--taupe);
}
.audience-card h3 { margin: 0; font-size: 22px; font-weight: 500; }
.audience-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-70); }

/* ---------- Головна: підхід ---------- */

.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.approach-photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 16px; }
.approach-text { margin: 20px 0 0; font-size: 18px; line-height: 1.55; color: var(--ink-70); }
.approach-text + .approach-text { margin-top: 16px; }
.approach-cta { margin-top: 32px; }

/* ---------- Головна: що на вас чекає ---------- */

.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(24px, 3vw, 48px); }
.promise-icon { color: var(--taupe); }
.promise-card h3 { margin: 16px 0 10px; font-size: 22px; font-weight: 500; }
.promise-card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-70); }

/* ---------- Відгуки ---------- */

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }

.testimonial-card {
  margin: 0;
  background: var(--surface);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-stars { color: var(--terracotta); letter-spacing: 3px; font-size: 15px; }
.case-label {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
}
.testimonial-card blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.testimonial-card figcaption { margin-top: auto; }
.testimonial-name { display: block; font-weight: 600; font-size: 15px; }
.testimonial-role { display: block; font-size: 14px; color: var(--ink-70); margin-top: 2px; }
.testimonial-tag { display: block; font-size: 13px; color: var(--taupe); margin-top: 6px; font-weight: 600; }

/* ---------- Головна: галерея результату ---------- */

.section-sub--result { max-width: 60ch; }

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  grid-auto-rows: clamp(220px, 30vh, 320px);
  gap: 16px;
}
.result-grid img,
.result-grid video { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }
.result-feature { position: relative; grid-column: span 2; min-width: 0; border-radius: 14px; overflow: hidden; }
.result-caption {
  position: absolute; left: 24px; bottom: 20px;
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  text-shadow: 0 1px 14px rgba(0, 0, 0, .45);
}
@media (max-width: 640px) {
  .result-feature { grid-column: span 1; }
}

/* ---------- Головна: цитата ---------- */

.quote-figure { margin: 0 auto; text-align: center; }
.quote-figure blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.quote-figure figcaption {
  margin-top: 24px;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
}

/* ---------- Головна: для родини ---------- */

.family-section { padding: 0 0 clamp(80px, 12vh, 140px); }
.family-title {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
.family-text { margin: 24px 0 0; font-size: 18px; line-height: 1.55; color: var(--ink-70); }
.family-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }

/* ---------- Пакети ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.pricing-card--featured { background: var(--taupe); color: var(--white); }

.pricing-card h3 { margin: 0; font-size: 22px; font-weight: 500; }
.pricing-price { margin: 8px 0 0; font-size: clamp(32px, 3vw, 40px); font-weight: 600; letter-spacing: -0.02em; }
.pricing-desc { margin: 12px 0 20px; font-size: 15px; line-height: 1.5; opacity: .75; }

.pricing-features {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
}
.pricing-features li { display: flex; gap: 10px; }
.pricing-tick { color: var(--taupe); flex-shrink: 0; }
.pricing-card--featured .pricing-tick { color: rgba(255, 255, 255, .7); }

.pricing-cta {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  background: var(--ink);
  color: var(--white);
  transition: opacity .2s ease;
}
.pricing-cta:hover { opacity: .85; color: var(--white); }
.pricing-card--featured .pricing-cta { background: var(--white); color: var(--ink); }
.pricing-card--featured .pricing-cta:hover { color: var(--ink); }

.pricing-note { margin: 24px 0 0; font-size: 13px; color: var(--ink-55); }

/* ---------- FAQ (accordion) ---------- */

.faq-title { margin: 0 0 40px; }
.faq-title--mini { margin: 0 0 32px; font-size: clamp(26px, 3vw, 34px); }
.faq-list { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid rgba(0, 0, 0, .12); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  min-height: 44px;
}
.faq-icon {
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--taupe);
  transition: transform .3s ease;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.is-open .faq-body { grid-template-rows: 1fr; }
.faq-body-inner { overflow: hidden; }
.faq-body-inner p { margin: 0; padding: 0 0 22px; font-size: 16px; line-height: 1.55; color: var(--ink-70); max-width: 60ch; }

/* ---------- Фінальний CTA ---------- */

.final-cta { text-align: center; }
.final-cta-title {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}
.final-cta .hero-cta { margin-top: 36px; }

.final-cta-photos {
  margin-top: clamp(48px, 7vw, 80px);
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  flex-wrap: wrap;
}
.final-cta-photos img {
  width: clamp(180px, 26vw, 320px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}
/* Нахили фото — після reveal-правил, щоб transform зберігався в обох станах */
.tilt-left { transform: rotate(-2.5deg); }
.tilt-down { transform: translateY(14px); }
.tilt-right { transform: rotate(2.5deg); }

/* ---------- Футер ---------- */

.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(0, 0, 0, .08);
  padding: clamp(48px, 7vw, 80px) 0 32px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: clamp(28px, 4vw, 56px); }
.footer-brand-name { font-family: var(--font-serif); font-style: italic; font-size: 26px; }
.footer-brand p { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-70); }
.footer-brand-desc { max-width: 32ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col-title {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
  margin-bottom: 6px;
}
.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-55);
}

/* ---------- Сторінка «Як це працює» ---------- */

.page-hero { padding: clamp(130px, 18vh, 190px) 0 clamp(56px, 8vh, 90px); }
.page-hero--blog { padding-bottom: clamp(48px, 7vh, 80px); }

.page-hero .label-caps { margin: 0 0 20px; }
.page-title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(38px, 5.8vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.page-title--full { max-width: none; }
.page-sub {
  margin: 24px 0 0;
  max-width: 56ch;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--ink-70);
}
.page-sub--blog { max-width: 54ch; }

.project-hero-photo {
  width: 100%;
  height: clamp(280px, 48vh, 520px);
  object-fit: cover;
  margin-top: clamp(48px, 7vw, 80px);
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 100%);
}

.steps-section { padding: clamp(48px, 8vh, 100px) 0; }
.step-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(16px, 3vw, 32px);
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.step-number {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--taupe);
  line-height: 1;
}
.step-row h2 { margin: 0; font-size: 22px; font-weight: 500; }
.step-row p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-70); max-width: 58ch; }

.privacy-section { padding: clamp(48px, 8vh, 100px) 0; background: var(--green); color: var(--bg); }
.privacy-title { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.02em; line-height: 1.15; }
.privacy-text { margin: 24px 0 0; font-size: 17px; line-height: 1.6; color: rgba(248, 245, 241, .8); }
.privacy-photo { width: 100%; max-height: 480px; object-fit: cover; border-radius: 16px; }

.duties-section { padding: clamp(56px, 9vh, 110px) 0; }
.duties-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 20px; }
.duty-card { background: var(--surface); border-radius: 14px; padding: 36px; }
.duty-card h2 { margin: 0 0 20px; font-size: clamp(24px, 2.6vw, 30px); font-weight: 500; letter-spacing: -0.02em; }
.duty-card ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  font-size: 16px; line-height: 1.5;
}
.duty-card li { display: flex; gap: 12px; }
.duty-dash { color: var(--taupe); }

/* «Як це працює»: подарункова презентація */

.gift-section { padding: clamp(56px, 9vh, 110px) 0; }
.gift-section .label-caps { margin: 0 0 16px; }
.gift-section .section-sub { margin-bottom: 40px; }
.gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  grid-auto-rows: clamp(260px, 36vh, 400px);
  gap: 16px;
}
.gift-grid img,
.gift-grid video { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }
.gift-note { margin: 20px 0 0; font-size: 13px; color: var(--ink-55); }

.mini-faq-section { padding: clamp(40px, 7vh, 90px) 0; }

.project-cta { padding: clamp(64px, 10vh, 130px) 0; text-align: center; }
.project-cta-title {
  margin: 0 auto;
  max-width: 20ch;
  font-size: clamp(32px, 4.6vw, 54px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}
.project-cta .hero-cta { margin-top: 32px; }

/* ---------- Блог ---------- */

.articles-section { padding: 0 0 clamp(80px, 12vh, 140px); }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }

.article-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease;
}
.article-card:hover { transform: translateY(-4px); }
.article-card:hover .article-card-more { color: var(--taupe); }
.article-card-photo { width: 100%; height: 220px; object-fit: cover; }
.article-card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.article-card h2 { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.3; }
.article-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-70); }
.article-card-more {
  margin-top: auto;
  align-self: start;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--taupe);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.draft-label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
}

/* ---------- Стаття ---------- */

.article-page { padding: clamp(130px, 18vh, 190px) 0 clamp(80px, 12vh, 140px); }
.article-back {
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--taupe);
  min-height: 44px;
}
.article-page .draft-label { display: block; margin: 16px 0 12px; }
.article-title { margin: 0; font-size: clamp(32px, 4.6vw, 48px); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; }
.article-photo { width: 100%; height: clamp(240px, 40vh, 420px); object-fit: cover; border-radius: 14px; margin: 32px 0; }
.article-body { font-size: 17px; line-height: 1.7; color: var(--ink-85); display: flex; flex-direction: column; gap: 20px; }
.article-body p { margin: 0; }

.article-cta { margin-top: 48px; padding: 32px; background: var(--surface); border-radius: 12px; text-align: center; }
.article-cta p { margin: 0 0 20px; font-family: var(--font-serif); font-style: italic; font-size: 24px; }

/* ---------- Контакти ---------- */

.contact-section { padding: clamp(130px, 18vh, 190px) 0 clamp(80px, 12vh, 140px); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.contact-intro { margin: 24px 0 0; max-width: 48ch; font-size: 18px; line-height: 1.55; color: var(--ink-70); }
.contact-photo { width: 100%; max-width: 440px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; margin-top: 40px; }
.contact-phone { margin: 24px 0 0; font-size: 15px; color: var(--ink-70); }
.contact-note { margin: 8px 0 0; font-size: 14px; color: var(--ink-55); }

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14px; font-weight: 600; }
.form-optional { font-weight: 400; color: var(--ink-55); }

.form-input {
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, .18);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
}
.form-input:focus { outline: 2px solid var(--taupe); outline-offset: 1px; }
.form-input.is-invalid { border-color: var(--terracotta); }
textarea.form-input { resize: vertical; min-height: 110px; }

.form-error { font-size: 13px; color: var(--terracotta); }
.form-error[hidden] { display: none; }

.form-consent { display: flex; flex-direction: column; gap: 6px; }
.form-consent label { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }

.form-submit { min-height: 52px; padding: 15px 30px; }
.form-submit[disabled] { opacity: .7; cursor: default; transform: none; }
.form-note { margin: 0; font-size: 13px; color: var(--ink-55); }

.contact-success { padding: clamp(150px, 22vh, 220px) 0 clamp(100px, 15vh, 160px); text-align: center; }
.success-check {
  display: inline-flex;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  align-items: center; justify-content: center;
  font-size: 26px;
}
.success-title { margin: 28px 0 0; font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.02em; line-height: 1.15; }
.success-text { margin: 20px auto 0; max-width: 44ch; font-size: 18px; line-height: 1.55; color: var(--ink-70); }
.contact-success .btn { margin-top: 36px; }

.contact-testimonials { padding: 0 0 clamp(80px, 12vh, 140px); }
.contact-testimonials-title { margin: 0 0 32px; font-size: clamp(24px, 2.8vw, 30px); font-weight: 500; letter-spacing: -0.02em; }
.testimonial-card--compact blockquote { font-size: 16px; }
.testimonial-caption { margin-top: auto; font-size: 14px; }
.testimonial-caption .testimonial-name { display: inline; }
.testimonial-caption .testimonial-role-inline { color: var(--ink-70); }

/* ---------- Legal-сторінки ---------- */

.legal-page { padding: clamp(130px, 18vh, 190px) 0 clamp(80px, 12vh, 140px); }
.legal-title { margin: 0; font-size: clamp(32px, 4.6vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.legal-notice {
  margin: 20px 0 0;
  padding: 14px 18px;
  background: var(--surface);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-70);
}
.legal-sections { margin-top: 40px; display: flex; flex-direction: column; gap: 32px; font-size: 16px; line-height: 1.6; color: var(--ink-85); }
.legal-sections h2 { margin: 0 0 10px; font-size: 20px; font-weight: 600; }
.legal-sections p { margin: 0; }
