/* =========================================================
   Спільна система оформлення кейсів v.studio.

   Одна мова на три сайти: капсули, арки, білі картки на
   теплому сірому, лаймовий акцент і заголовок у два голоси —
   капс гротеском, друга строка курсивним серифом.

   Кожен кейс підмішує свій пастельний колір через --pastel,
   решта лишається спільною.
   ========================================================= */

:root {
  --sand:    #ededea;
  --sand-2:  #e3e3df;
  --white:   #ffffff;
  --ink:     #232322;
  --ink-2:   #2f2f2d;
  --muted:   #6f6f6b;
  --faint:   #9d9d97;
  --rule:    rgba(35, 35, 34, 0.12);

  --lime:    #8ef224;
  --lime-2:  #6fd60e;
  --pastel:   #bfc9f7;         /* кейс перевизначає обидва */
  --pastel-2: #b9e3f0;

  --r:       28px;
  --r-sm:    18px;
  --pill:    999px;

  --pad:     clamp(18px, 5vw, 64px);
  --gap:     clamp(18px, 3vw, 34px);

  --f-caps:  'Onest', system-ui, sans-serif;
  --f-serif: 'Literata', Georgia, serif;
  --f-ui:    'Golos Text', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--ink); color: var(--white);
  padding: 12px 18px; border-radius: var(--pill); font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--pad); }

/* липка шапка накривала б заголовок при переході по якорю */
section[id] { scroll-margin-top: 92px; }

/* =========================================================
   Шапка
   ========================================================= */
.head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px var(--pad);
  background: var(--sand);
  border-bottom: 1px solid var(--rule);
}

.logo {
  display: grid;
  font-family: var(--f-caps);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.logo i { font-style: normal; color: var(--muted); }

.head-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
  max-width: 30ch;
}

.head-cta { margin-inline-start: auto; }

/* кругла кнопка-іконка */
.round {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(150deg, #35352f 0%, var(--ink) 70%);
  color: var(--white);
  font-size: 19px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.round:hover {
  background: linear-gradient(150deg, var(--lime) 0%, var(--lime-2) 100%);
  color: var(--ink);
  transform: translateY(-2px);
}
.round-sm { width: 40px; height: 40px; font-size: 16px; }

/* =========================================================
   Капсули
   ========================================================= */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 30px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--f-ui);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}
.pill:hover { transform: translateY(-2px); }

.pill-dark {
  background: linear-gradient(150deg, #35352f 0%, var(--ink) 70%);
  color: var(--white);
}
.pill-dark:hover { background: linear-gradient(150deg, var(--lime) 0%, var(--lime-2) 100%); color: var(--ink); }

.pill-lime {
  background: linear-gradient(150deg, var(--lime) 0%, var(--lime-2) 100%);
  color: var(--ink);
}
.pill-lime:hover { background: var(--ink); color: var(--white); }

.pill-line { background: none; border-color: var(--rule); color: var(--ink); }
.pill-line:hover { border-color: var(--ink); background: var(--white); }

.pill-sm { padding: 11px 20px; font-size: 14px; }

/* =========================================================
   Заголовок у два голоси
   ========================================================= */
.duo {
  margin: 0;
  text-align: center;
  line-height: 1.0;
}
.duo b {
  display: block;
  font-family: var(--f-caps);
  font-weight: 800;
  font-size: clamp(30px, 6vw, 62px);
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.duo i {
  display: block;
  margin-top: 4px;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 5.6vw, 58px);
  letter-spacing: -0.01em;
}
.duo-left { text-align: left; }

/* курсив попереду: «Підкресліть СВОЮ ІДЕНТИЧНІСТЬ» */
.duo-flip { display: flex; flex-direction: column; }
.duo-flip i { order: -1; margin: 0 0 2px; }

.lede {
  margin: 18px auto 0;
  max-width: 54ch;
  text-align: center;
  color: var(--muted);
  font-size: 16.5px;
}
.duo-left + .lede { margin-inline: 0; text-align: left; }

/* =========================================================
   Блоки
   ========================================================= */
.band { padding: clamp(38px, 7vw, 92px) 0; }
.band-tight { padding: clamp(26px, 4vw, 52px) 0; }

.card {
  background: var(--white);
  border-radius: var(--r);
  padding: clamp(20px, 3vw, 32px);
}

.card-dark {
  background: linear-gradient(158deg, #34342f 0%, var(--ink) 62%);
  color: var(--white);
}
.card-dark .muted { color: #a4a49e; }

/* Велика пастельна арка. Два шари: м'яке світло згори й перехід
   між спорідненими відтінками — плоска заливка на такому розмірі
   виглядає порожньою. */
.arch {
  background:
    radial-gradient(72% 46% at 50% 6%, rgba(255, 255, 255, 0.62), transparent 70%),
    linear-gradient(163deg, var(--pastel) 0%, var(--pastel-2) 100%);
  border-radius: 999px 999px var(--r) var(--r);
  padding: clamp(34px, 6vw, 76px) clamp(20px, 4vw, 56px) clamp(24px, 4vw, 48px);
  text-align: center;
}

.chip {
  display: inline-block;
  padding: 7px 16px;
  border-radius: var(--pill);
  background: linear-gradient(150deg, var(--lime) 0%, var(--lime-2) 100%);
  font-size: 13px;
  font-weight: 500;
}

.kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   Гармошка
   ========================================================= */
.acc { display: grid; gap: 10px; }

.acc details {
  background: var(--white);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.acc summary {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 20px clamp(18px, 3vw, 28px);
  font-family: var(--f-caps);
  font-weight: 700;
  font-size: clamp(14px, 1.7vw, 17px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: '↓';
  display: grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sand);
  font-size: 15px;
  transition: transform 0.24s var(--ease), background 0.24s var(--ease);
}
.acc details[open] summary::after {
  transform: rotate(180deg);
  background: linear-gradient(150deg, var(--lime) 0%, var(--lime-2) 100%);
}
.acc .acc-body { padding: 0 clamp(18px, 3vw, 28px) 22px; color: var(--muted); }

/* =========================================================
   Підвал
   ========================================================= */
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--pad);
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--muted);
}
.foot-mark { font-family: var(--f-caps); font-weight: 800; color: var(--ink); text-decoration: none; }
.foot-mark i { font-style: normal; color: var(--muted); }

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



/* =========================================================
   Овальний медіа-блок
   ========================================================= */
.oval {
  margin: 0;
  border-radius: 999px;
  overflow: hidden;
  background: var(--sand-2);
}
.oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

/* =========================================================
   Капсула з обличчям
   ========================================================= */
.pill-face {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px 26px 7px 7px;
  border: 1px solid var(--rule);
  border-radius: var(--pill);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.pill-face:hover { border-color: var(--ink); transform: translateY(-2px); }
.pill-face img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--lime);
}

/* =========================================================
   Капсула всередині капсули — як у картках послуг
   ========================================================= */
.nest {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border-radius: var(--pill);
  background: linear-gradient(150deg, #35352f 0%, var(--ink) 70%);
}
.nest a, .nest button {
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: none;
  color: var(--white);
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nest .nest-main { border-color: rgba(255, 255, 255, 0.35); }
.nest .nest-main:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.nest .nest-alt:hover { color: var(--lime); }

/* =========================================================
   Лаймові капсули поверх великого напису
   ========================================================= */
.tags { position: relative; display: grid; justify-items: center; gap: 10px; }
.tag {
  display: inline-block;
  padding: 9px 22px;
  border-radius: var(--pill);
  background: linear-gradient(150deg, var(--lime) 0%, var(--lime-2) 100%);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.tag-white { background: var(--white); font-family: var(--f-serif); font-style: italic; }

@media (min-width: 760px) {
  .tags-loose { display: block; min-height: 190px; }
  .tags-loose .tag { position: absolute; }
  .tags-loose .tag:nth-of-type(1) { top: 0; left: 4%; rotate: -3deg; }
  .tags-loose .tag:nth-of-type(2) { top: 12%; right: 6%; rotate: 2.5deg; }
  .tags-loose .tag:nth-of-type(3) { bottom: 6%; left: 22%; rotate: 1.5deg; }
  .tags-loose .tag:nth-of-type(4) { bottom: 0; right: 18%; rotate: -2deg; }
}
