/* =========================================================
   Olga Bondarenko — landing
   Палітра взята з креативу: бірюза OliLab + фіолетовий + чорнило
   ========================================================= */

:root {
  --bg: #F7F4F1;
  --bg-2: #EFEAE5;
  --paper: #FFFFFF;
  --ink: #161417;
  --ink-2: #4A4550;
  --muted: #8A8490;
  --line: #DCD5DD;

  --teal: #2B8A90;
  --teal-2: #4FB3B5;
  --teal-deep: #1C6468;
  --teal-soft: #E3F1F1;

  --violet: #7A3FBF;
  --violet-deep: #55248F;
  --violet-soft: #F0E6FA;

  --f-display: 'Playfair Display', 'Times New Roman', serif;
  --f-body: 'Manrope', 'Helvetica Neue', sans-serif;
  --f-script: 'Marck Script', cursive;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
main { overflow-x: clip; }
/* легка зернистість паперу */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.5 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
b, strong { font-weight: 700; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }

.script {
  font-family: var(--f-script);
  color: var(--violet);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
}

/* ---------- titles (як у прикладі: великий заголовок + рукописне слово) ---------- */
.title {
  position: relative;
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(36px, 6.4vw, 84px);
  line-height: .95;
  letter-spacing: -.01em;
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 14ch;
  display: flex;
  flex-direction: column;
}
.title__script {
  font-size: .62em;
  transform: rotate(-6deg);
  transform-origin: left bottom;
  margin: 0 0 -.18em .3em;
  position: relative;
  z-index: 1;
}
.title__script--after { margin: -.12em 0 0 1.4em; align-self: flex-start; }
.title--light { color: #fff; }
.title--light .title__script { color: #C9A8F0; }

/* ---------- buttons (як у креативі: бірюзова пігулка + коло зі стрілкою) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--teal-2), var(--teal) 45%, var(--teal-deep));
  color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 10px 30px -10px rgba(43, 138, 144, .7), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(43, 138, 144, .8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn__arrow {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.85);
  display: grid; place-items: center;
  transition: transform .3s var(--ease), background .3s;
}
.btn__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__arrow { transform: translateX(3px); background: rgba(255,255,255,.15); }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -14px rgba(0,0,0,.35); }
.btn--light .btn__arrow { border-color: currentColor; }
.btn--xl { font-size: 15px; padding: 10px 10px 10px 32px; }
.btn--xl .btn__arrow { width: 50px; height: 50px; }

.link-under {
  font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(var(--violet), var(--violet)) left bottom / 100% 1.5px no-repeat;
  padding-bottom: 3px;
  transition: background-size .3s var(--ease), color .2s;
}
.link-under:hover { color: var(--violet); background-size: 40% 1.5px; }

/* ---------- glowing ring (мотив підсвіченого логотипу клініки) ---------- */
.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(79, 179, 181, .75);
  box-shadow: 0 0 40px 6px rgba(79, 179, 181, .35), inset 0 0 40px 6px rgba(79, 179, 181, .25);
  pointer-events: none;
}

/* ================= HEADER ================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-scrolled, .header.is-open {
  background: rgba(247, 244, 241, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo__mark { font-family: var(--f-script); font-size: 30px; color: var(--violet); line-height: 1; }
.logo__text { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 700; }

.nav { display: flex; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.nav a {
  font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink-2);
  position: relative; padding: 4px 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.lang__btn {
  border: 0; background: transparent; color: var(--muted);
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  padding: 6px 11px; border-radius: 999px; transition: background .25s, color .25s;
}
.lang__btn.is-active { background: var(--violet); color: #fff; }
.header__ig { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--teal); transition: background .2s; }
.header__ig:hover { background: var(--teal-soft); }
.header__ig svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.header__ig svg .fill { fill: currentColor; stroke: none; }

.burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.is-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
.is-open .burger span:last-child { top: 19px; transform: rotate(-45deg); }

/* ================= HERO ================= */
.hero { position: relative; padding: clamp(110px, 14vw, 150px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hero__glow--teal { width: 520px; height: 520px; background: rgba(79, 179, 181, .22); top: 20%; right: -160px; }
.hero__glow--violet { width: 420px; height: 420px; background: rgba(122, 63, 191, .12); bottom: -120px; left: -140px; }

.hero__name {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.02em;
  display: flex; flex-direction: column;
  position: relative; z-index: 2;
}
.hero__first { font-size: clamp(54px, 12.4vw, 168px); animation: rise 1s var(--ease) both; }
.hero__last {
  font-size: clamp(42px, 10.2vw, 140px);
  color: var(--violet);
  align-self: flex-end;
  animation: rise 1s .12s var(--ease) both;
}
.hero__script {
  display: block;
  font-size: clamp(40px, 7vw, 96px);
  transform: rotate(-7deg);
  margin: clamp(-46px, -3.2vw, -18px) 0 0 clamp(6px, 9vw, 130px);
  position: relative; z-index: 3;
  color: var(--teal);
  text-shadow: 0 0 2px var(--bg), 0 0 6px var(--bg), 0 0 12px var(--bg);
  width: max-content;
  animation: write 1.2s .5s var(--ease) both;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-top: clamp(-40px, -3vw, -10px);
}
.hero__meta { padding-bottom: 12px; display: flex; flex-direction: column; gap: 20px; }
.hero__tag {
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal);
  display: flex; align-items: center; gap: 12px;
}
.hero__tag::before { content: ''; width: 38px; height: 1.5px; background: currentColor; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2);
}
.badge b { font-family: var(--f-display); font-size: 17px; color: var(--violet); }

.hero__photo { position: relative; margin: 0; }
.hero__photo img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 12%;
  border-radius: 200px 200px 18px 18px;
  box-shadow: 0 40px 70px -40px rgba(60, 30, 90, .45);
}
.hero__photo .ring { width: 118%; aspect-ratio: 1; left: -9%; top: -14%; z-index: 0; animation: breathe 6s ease-in-out infinite; }

.hero__text { padding-bottom: 12px; display: flex; flex-direction: column; gap: 18px; }
.lead-caps {
  font-weight: 800; font-size: 15px; line-height: 1.35; text-transform: uppercase; letter-spacing: .02em;
  padding-left: 48px; position: relative;
}
.lead-caps::before { content: ''; position: absolute; left: 0; top: .65em; width: 36px; height: 1.5px; background: var(--violet); }
.hero__desc { font-size: 15px; color: var(--ink-2); }
.hero__desc b { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 6px; }

/* ================= MARQUEE ================= */
.marquee {
  overflow: hidden;
  background: linear-gradient(100deg, var(--teal-deep), var(--teal) 50%, var(--teal-2));
  color: #fff; padding: 18px 0;
  transform: rotate(-1.2deg); margin: 0 -10px;
  box-shadow: 0 12px 30px -16px rgba(28, 100, 104, .7);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; }
.marquee span { font-family: var(--f-display); font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; font-style: italic; white-space: nowrap; padding: 0 22px; }
.marquee i { font-style: normal; color: #D9C2F5; font-size: 18px; }

/* ================= HELP ================= */
.help__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.help__photo { position: relative; margin: 0; max-width: 420px; }
.help__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.help__photo figcaption {
  position: absolute; right: -24px; bottom: -22px;
  background: var(--paper); padding: 14px 22px; border-radius: 14px;
  font-size: 26px; transform: rotate(-4deg);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.3);
}
.lined-list { border-top: 1px solid var(--line); counter-reset: help; }
.lined-list li {
  counter-increment: help;
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(16px, 1.5vw, 18px); font-weight: 500;
  transition: padding .3s var(--ease), color .3s;
}
.lined-list li::before {
  content: counter(help, decimal-leading-zero);
  font-family: var(--f-display); font-style: italic; font-size: 14px; color: var(--teal); min-width: 22px;
}
.lined-list li:hover { padding-left: 10px; color: var(--violet); }

.statement {
  margin-top: 44px;
  font-weight: 800; text-transform: uppercase; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.35;
  padding-left: 48px; position: relative; max-width: 34ch;
}
.statement::before { content: ''; position: absolute; left: 0; top: .65em; width: 36px; height: 1.5px; background: var(--violet); }
.swash { width: min(340px, 80%); margin: 14px 0 0 30px; fill: none; stroke: var(--violet); stroke-width: 2; stroke-linecap: round; }

/* ================= STATS ================= */
.stats { padding: 0 0 clamp(20px, 4vw, 40px); }
.stats__grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.stat { padding: 28px 20px 26px; display: flex; flex-direction: column; gap: 8px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; color: var(--violet); white-space: nowrap; }
.stat:nth-child(even) b { color: var(--teal); }
.stat span { font-size: 13px; color: var(--ink-2); line-height: 1.4; }

/* ================= PRICES ================= */
.prices .title { margin-bottom: 24px; }
.prices__note { max-width: 560px; color: var(--ink-2); margin-bottom: 36px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tab {
  border: 1.5px solid var(--violet); background: transparent; color: var(--violet);
  padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 700;
  transition: background .25s, color .25s;
}
.tab:hover { background: var(--violet-soft); }
.tab.is-active { background: var(--violet); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 20px 40px -32px rgba(60, 30, 90, .35);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  animation: cardIn .6s calc(var(--i) * 70ms) var(--ease) both;
}
.card:hover { transform: translateY(-4px); border-color: var(--violet-soft); box-shadow: 0 30px 50px -30px rgba(60, 30, 90, .45); }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--teal-soft); display: grid; place-items: center; color: var(--teal); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.price {
  font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--violet-deep);
  background: var(--violet-soft); padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.card__title { font-family: var(--f-display); font-weight: 700; font-size: 21px; line-height: 1.2; }
.card__text { font-size: 14px; color: var(--ink-2); flex: 1; }
.card__link {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); width: 100%;
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--teal);
}
.card__link .btn__arrow { width: 32px; height: 32px; border-color: currentColor; margin-left: auto; }
.card__link .btn__arrow svg { width: 15px; height: 15px; }
.card:hover .card__link .btn__arrow { background: var(--teal); color: #fff; border-color: var(--teal); }
.card--custom { background: linear-gradient(150deg, var(--violet-soft), #fff 70%); border: 1.5px dashed rgba(122, 63, 191, .35); }
.card__script { font-size: 64px; line-height: .8; height: 54px; }
.card--custom .card__link { color: var(--violet); }
.card--custom:hover .card__link .btn__arrow { background: var(--violet); border-color: var(--violet); }

/* ================= MEETING (dark) ================= */
.meeting { background: var(--ink); color: #fff; overflow: hidden; }
.meeting::before {
  content: ''; position: absolute; width: 700px; height: 700px; right: -260px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 63, 191, .35), transparent 65%);
}
.meeting::after {
  content: ''; position: absolute; width: 600px; height: 600px; left: -240px; bottom: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 138, 144, .35), transparent 65%);
}
.meeting .container { position: relative; z-index: 1; }
.meeting__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 20px; }
.meeting__head .title { margin-bottom: 0; }
.meeting__intro { color: rgba(255,255,255,.7); max-width: 420px; justify-self: end; }
.meeting__photo { margin: 50px 0 0; }
.meeting__photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 22px; filter: saturate(.9); }
.meeting__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.18); }
.meeting__list li { padding: 26px 24px 10px 0; display: flex; flex-direction: column; gap: 14px; }
.meeting__list li + li { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }
.num { font-family: var(--f-display); font-style: italic; font-size: 22px; color: var(--teal-2); }
.meeting__list p { font-size: 17px; line-height: 1.45; font-weight: 500; }
.quote { margin: clamp(60px, 8vw, 100px) auto 0; max-width: 900px; text-align: center; position: relative; }
.quote::before {
  content: '“'; display: block; font-family: var(--f-display); font-size: 120px; line-height: .6; color: var(--violet); margin-bottom: 10px;
}
.quote p { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(24px, 3.4vw, 42px); line-height: 1.25; }

/* ================= STORY ================= */
.story__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.story__head .title { margin-bottom: 0; }
.story__intro { font-family: var(--f-display); font-style: italic; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; color: var(--violet-deep); }
.story__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 100px); align-items: start; }
.story__text { display: flex; flex-direction: column; gap: 18px; color: var(--ink-2); }
.story__photo { margin: 0 0 18px; position: relative; }
.story__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.story__photo figcaption {
  position: absolute; left: -14px; bottom: 22px; transform: rotate(-5deg);
  background: var(--paper); padding: 10px 20px; border-radius: 14px; font-size: 26px;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.3);
}
.story__text p:first-child { font-size: 18px; color: var(--ink); font-weight: 500; }

.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 1.5px; background: linear-gradient(var(--teal), var(--violet)); }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 32px; padding-bottom: 32px; position: relative; }
.timeline li::after {
  content: ''; position: absolute; left: 86px; top: 7px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--teal);
}
.timeline li:nth-child(even)::after { border-color: var(--violet); }
.timeline__k { font-family: var(--f-display); font-weight: 700; font-style: italic; font-size: 17px; color: var(--teal); padding-top: 2px; }
.timeline h3 { font-family: var(--f-display); font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.timeline p { font-size: 15px; color: var(--ink-2); }

/* ================= ACHIEVEMENTS ================= */
.achievements { background: var(--bg-2); }
.ach__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.ach__photo { margin: 0; position: relative; max-width: 420px; }
.ach__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); box-shadow: 0 0 0 2px var(--teal-2), 0 0 50px 6px rgba(79, 179, 181, .3); }
.ach__badge {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  background: var(--paper); padding: 10px 22px; border-radius: 999px; white-space: nowrap;
  font-size: 14px; color: var(--ink-2); box-shadow: 0 14px 30px -16px rgba(0,0,0,.35);
}
.ach__badge b { font-family: var(--f-display); font-size: 20px; color: var(--violet); margin-right: 4px; }
.ach__list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.ach { display: flex; flex-direction: column; gap: 8px; }
.ach .num { color: var(--violet); }
.ach h3 { font-size: 16px; font-weight: 800; line-height: 1.3; }
.ach p { font-size: 14px; color: var(--ink-2); }

/* ================= PARTNERS ================= */
.partners__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pcard {
  position: relative; overflow: hidden;
  border-radius: 26px; padding: clamp(28px, 4vw, 48px);
  color: #fff; display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
}
.pcard > * { position: relative; z-index: 1; }
.pcard::before { content: ''; position: absolute; width: 380px; aspect-ratio: 1; border-radius: 50%; right: -120px; top: -120px; border: 2px solid rgba(255,255,255,.3); box-shadow: 0 0 60px rgba(255,255,255,.18), inset 0 0 60px rgba(255,255,255,.12); }
.pcard--teal { background: linear-gradient(150deg, var(--teal-2), var(--teal) 40%, var(--teal-deep)); }
.pcard--violet { background: linear-gradient(150deg, #9A63D8, var(--violet) 45%, var(--violet-deep)); }
.pcard__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 16px; margin-bottom: 6px; box-shadow: 0 20px 40px -24px rgba(0,0,0,.5); }
.pcard__label { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.pcard__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; }
.pcard p { opacity: .92; max-width: 44ch; }
.pcard .btn { margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); font-weight: 600; font-size: 14px; background: rgba(255,255,255,.08); }
.checks { display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.checks li::before {
  content: ''; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: rgba(255,255,255,.95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A3FBF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ================= CONTACTS ================= */
.contacts { padding-top: 0; }
.contacts__box {
  position: relative; overflow: hidden;
  background: var(--paper);
  border-radius: 32px;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  box-shadow: 0 40px 80px -60px rgba(60, 30, 90, .5);
}
.ring--big { width: 760px; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .55; }
.contacts__box > *:not(.ring) { position: relative; z-index: 1; }
.contacts__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 6vw, 76px); line-height: .95; max-width: 14ch; }
.contacts__motto { font-size: clamp(28px, 3.6vw, 46px); transform: rotate(-3deg); margin: 4px 0 6px; }
.contacts__text { max-width: 460px; color: var(--ink-2); }
.contacts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; max-width: 780px; }
.contacts__or { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }

/* ---------- лід-форма ---------- */
.lead {
  width: 100%; max-width: 760px; margin-top: 10px;
  text-align: left;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 30px 60px -45px rgba(60, 30, 90, .45);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.lead__grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field__label i { color: var(--violet); font-style: normal; }
.field input:not(.iti__search-input), .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field select {
  padding-right: 44px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B8A90' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:not(.iti__search-input)::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:not(.iti__search-input):hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:not(.iti__search-input):focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--paper); border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft);
}
.field__error { display: none; font-size: 13px; color: #B3261E; }
.field.is-invalid input:not(.iti__search-input) { border-color: #B3261E; background: #FDF3F2; }
.field.is-invalid .field__error { display: block; }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px;
  border: 1.5px solid var(--line); background: var(--paper);
  transition: background .2s, border-color .2s;
}
.check input:checked + .check__box {
  background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--violet);
}
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px var(--violet-soft); border-color: var(--violet); }
.check.is-invalid .check__box { border-color: #B3261E; }
.field__error--consent { margin-top: -8px; padding-left: 34px; }
.lead.consent-invalid .field__error--consent { display: block; }

/* поле телефону з вибором країни (intl-tel-input) */
.iti--lead { width: 100%; display: block; }
.iti--lead .iti__country-container { padding: 0 0 0 6px; }
.iti--lead .iti__selected-country { border-radius: 12px 0 0 12px; }
.iti--lead .iti__selected-country:hover, .iti--lead .iti__selected-country:focus-visible { background: rgba(43, 138, 144, .08); }
.iti__dropdown-content {
  border: 1px solid var(--line) !important;
  border-radius: 14px;
  box-shadow: 0 24px 50px -24px rgba(60, 30, 90, .45) !important;
  overflow: hidden;
  font-family: var(--f-body); font-size: 14px;
}
.iti__search-input {
  font: inherit; font-size: 14px; color: var(--ink);
  border: 0 !important; border-bottom: 1px solid var(--line) !important;
  outline: none;
}
.iti__country.iti__highlight { background: var(--teal-soft); }
.iti__country-list { max-height: 260px; }

.lead__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__submit { border: 0; margin-top: 4px; }
.lead.is-sending .lead__submit { opacity: .7; pointer-events: none; }
.lead.is-sending .btn__arrow svg { animation: nudge .8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }
.lead__status { font-size: 14px; color: #B3261E; text-align: center; }
.lead__status:empty { display: none; }
.lead__note { font-size: 13px; color: var(--muted); text-align: center; }
.ig {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 12px; border-radius: 16px;
  background: var(--bg); text-decoration: none; transition: background .25s, transform .25s var(--ease);
}
.ig b { color: var(--violet); font-size: 15px; }
.ig span { font-size: 13px; color: var(--muted); }
.ig:hover { background: var(--violet-soft); transform: translateY(-2px); }
.address { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); text-decoration: none; margin-top: 6px; }
.address:hover { color: var(--teal); }
.address svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--teal); stroke-width: 1.8; }

/* ================= FOOTER ================= */
.footer { padding: 36px 0 44px; font-size: 13px; color: var(--muted); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__script { font-size: 24px; }
.footer a { text-decoration: none; font-weight: 700; }
.footer a:hover { color: var(--violet); }

/* ================= FLOATING CTA ================= */
.float-cta {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 20px; border-radius: 999px;
  background: linear-gradient(120deg, var(--teal-2), var(--teal) 45%, var(--teal-deep)); color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(28, 100, 104, .7);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease);
}
.float-cta .btn__arrow { width: 36px; height: 36px; }
.float-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ================= MOTION ================= */
/* контент видно одразу; при скролі лише м'яко «доїжджає» на місце */
.reveal { transform: translateY(22px); transition: transform .9s var(--ease); }
.reveal.is-in { transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes write { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 -10% 0 0); } }
@keyframes breathe { 0%, 100% { opacity: .65; transform: scale(1); } 50% { opacity: 1; transform: scale(1.02); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { transform: none; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav a { font-size: 12px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .meeting__list { grid-template-columns: repeat(2, 1fr); }
  .meeting__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .meeting__list li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
}

@media (max-width: 920px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(247, 244, 241, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav a { font-size: 18px; font-family: var(--f-display); font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .header.is-open .nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .header__actions { margin-left: auto; }

  .hero__grid { grid-template-columns: 1fr 1fr; margin-top: 10px; }
  .hero__photo { grid-row: span 2; }
  .hero__meta { padding-bottom: 0; align-self: start; padding-top: 30px; }
  .hero__text { grid-column: 2; padding-bottom: 0; }

  .help__grid, .story__grid, .ach__grid { grid-template-columns: 1fr; }
  .help__photo { max-width: 360px; }
  .story__photo { max-width: 460px; }
  .story__photo figcaption { left: 12px; }
  .ach__photo { max-width: 340px; justify-self: center; width: 100%; }
  .meeting__head, .story__head { grid-template-columns: 1fr; }
  .meeting__intro { justify-self: start; }
  .partners__grid { grid-template-columns: 1fr; }
  .pcard { min-height: 0; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .logo__text { display: none; }
  .header__ig { display: none; }

  .hero { padding-top: 96px; }
  .hero__last { align-self: flex-start; }
  .hero__script { margin-top: -14px; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__photo { grid-row: auto; max-width: 320px; width: 100%; justify-self: center; margin-top: 20px; }
  .hero__text { grid-column: auto; }
  .hero__meta { padding-top: 0; order: 3; }

  .cards { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 14px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:last-child { grid-column: span 2; border-left: 0; }

  .meeting__list { grid-template-columns: 1fr; }
  .meeting__list li, .meeting__list li + li { padding: 22px 0 18px; border-left: 0; }
  .meeting__list li + li { border-top: 1px solid rgba(255,255,255,.12); }

  .help__photo figcaption { right: 10px; font-size: 22px; }
  .timeline::before { left: 70px; }
  .timeline li { grid-template-columns: 70px 1fr; gap: 26px; }
  .timeline li::after { left: 64px; }
  .timeline__k { font-size: 15px; }
  .timeline h3 { font-size: 19px; }

  .ach__list { grid-template-columns: 1fr; gap: 26px; }
  .contacts__grid { grid-template-columns: 1fr; }
  .lead__grid { grid-template-columns: 1fr; }
  .lead { border-radius: 18px; }
  .contacts__box { border-radius: 24px; }
  .btn--xl { font-size: 13px; padding-left: 22px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .float-cta { right: 12px; bottom: 12px; }
}

/* ================= THANK-YOU PAGE ================= */
.thanks { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; }
.thanks__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(32px, 7vw, 100px); align-items: center; }
.thanks__photo { position: relative; margin: 0; }
.thanks__photo img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 12%;
  border-radius: 200px 200px 18px 18px; box-shadow: 0 40px 70px -40px rgba(60, 30, 90, .45);
}
.thanks__photo .ring { width: 118%; aspect-ratio: 1; left: -9%; top: -14%; animation: breathe 6s ease-in-out infinite; }
.thanks__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.thanks__script { font-size: clamp(48px, 7vw, 88px); color: var(--teal); transform: rotate(-6deg); transform-origin: left bottom; margin-bottom: -10px; }
.thanks__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 5.6vw, 72px); line-height: .95; letter-spacing: -.01em; text-wrap: balance; }
.thanks__text { font-size: 17px; color: var(--ink-2); max-width: 46ch; }
.thanks__ig { max-width: 640px; margin-bottom: 10px; }
.thanks__ig .ig { background: var(--paper); box-shadow: 0 10px 24px -18px rgba(60, 30, 90, .35); }
.thanks .contacts__or { margin-top: 10px; }

@media (max-width: 760px) {
  .thanks { padding-top: 96px; min-height: 0; }
  .thanks__grid { grid-template-columns: 1fr; }
  .thanks__photo { max-width: 260px; justify-self: center; }
  .thanks__body { align-items: stretch; text-align: center; }
  .thanks__body .btn { align-self: center; }
  .thanks__script { align-self: center; transform: rotate(-5deg); transform-origin: center; }
  .thanks__text { margin: 0 auto; }
  .thanks__ig { grid-template-columns: 1fr; }
}

/* ================= COOKIE CONSENT ================= */
.consent-backdrop {
  position: fixed; inset: 0; z-index: 59;
  background: rgba(22, 20, 23, .38);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s;
}
.consent-backdrop.is-visible { opacity: 1; }
.consent {
  position: fixed; z-index: 60;
  left: 50%; top: 50%;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 32px); overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 28px 24px;
  box-shadow: 0 40px 80px -30px rgba(60, 30, 90, .55);
  display: flex; flex-direction: column; gap: 12px;
  text-align: center;
  opacity: 0; transform: translate(-50%, -46%) scale(.97);
  transition: opacity .3s, transform .35s var(--ease);
}
.consent.is-visible { opacity: 1; transform: translate(-50%, -50%); }
.consent__title { font-family: var(--f-display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.consent__title::before { content: '🍪'; display: block; font-size: 34px; margin-bottom: 8px; }
.consent__text { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.consent__btn {
  border-radius: 999px; padding: 12px 14px;
  font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.consent__btn:hover { transform: translateY(-1px); }
.consent__btn--accept { border: 0; color: #fff; background: linear-gradient(120deg, var(--teal-2), var(--teal) 45%, var(--teal-deep)); }
.consent__btn--reject { border: 1.5px solid var(--line); background: transparent; color: var(--ink); }
.consent__btn--reject:hover { border-color: var(--ink-2); }
body.has-consent-banner .float-cta { opacity: 0; pointer-events: none; }

.footer__links { display: inline-flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer__links a[data-cookie-settings] { font-weight: 600; }

@media (max-width: 640px) {
  .consent { padding: 24px 18px 18px; }
  .consent__actions { grid-template-columns: 1fr; }
}
