/* =====================================================================
   Bosko Terapia — konsultacje: bezpłatna telefoniczna i „Pierwsza konsultacja” (v2.10.1)
   ---------------------------------------------------------------------
   • .bk-duo      — /oferta/: dwie karty obok siebie (komputer) / jedna pod drugą (telefon)
   • .bk-first    — karta „Pierwsza konsultacja” (pierwsza oferta na /oferta/, lewa kolumna)
   • .bk-feature  — karta bezpłatnej konsultacji telefonicznej na /oferta/ (prawa kolumna)
   • .bk-cta      — dyskretne zaproszenie na stronie głównej
   • .bk-chip, .bk-tile, .bk-steps — elementy podstrony /oferta/konsultacje/
   • .bk-form-note — notka nad formularzem /kontakt/ (wstawia ją bosko-konsultacje.js)

   Kolory, kroje i krzywa ruchu pochodzą z systemu strony (Tailwind: pine, sand, linen, sage, honey,
   mist, ink; Fraunces + Manrope; ease-calm). Plik dołącza React (<link precedence>) na stronach,
   które zawierają te elementy — także przy przejściach bez przeładowania.
   ===================================================================== */

:root {
  --bk-ease: cubic-bezier(.22, .61, .36, 1);
  --bk-display: var(--font-display), "Iowan Old Style", Georgia, serif;
}

/* ------------------------------------------------------------------ /oferta/: dwie karty konsultacji (2.10.1) */
/* Pod nagłówkiem strony, przed obszarami pomocy: „Pierwsza konsultacja” (płatna, w gabinecie) i bezpłatna konsultacja
   telefoniczna. Komputer (≥1024 px): obok siebie, równej wysokości, cena i przyciski na dole kart; telefon i tablet:
   jedna pod drugą (najpierw „Pierwsza konsultacja”). */

.bk-duo {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.bk-first,
.bk-feature {
  min-width: 0;
}

/* ---- „Pierwsza konsultacja” — budowa karty oferty (article > h3 > a, opis, „więcej”): cenę (.bc-price) i przycisk
   zakupu (.bc-pay) dokłada bosko-ceny.js z danych panelu; poniżej tylko wygląd tych elementów w ciemnej karcie */

.bk-first {
  display: flex;
}

.bk-first__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.75rem 1.25rem 1.5rem;
  border-radius: 1.75rem 3rem 1.75rem 1.75rem;
  color: rgb(251 247 241);
  background:
    radial-gradient(90% 80% at 0% 0%, rgb(61 110 98 / .55) 0%, rgb(61 110 98 / 0) 60%),
    radial-gradient(70% 70% at 100% 100%, rgb(184 127 60 / .2) 0%, rgb(184 127 60 / 0) 65%),
    linear-gradient(150deg, rgb(33 60 54) 0%, rgb(26 47 43) 62%, rgb(23 42 38) 100%);
  box-shadow:
    0 2px 6px rgb(26 47 43 / .12),
    0 30px 60px -40px rgb(26 47 43 / .6);
  transition: transform .7s var(--bk-ease), box-shadow .7s var(--bk-ease);
}

/* cienka obwódka: miód → przezroczystość → szałwia */
.bk-first__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgb(227 186 128 / .7), rgb(227 186 128 / 0) 38%, rgb(176 201 171 / 0) 62%, rgb(176 201 171 / .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.bk-first__card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 10px rgb(26 47 43 / .14),
    0 38px 70px -38px rgb(26 47 43 / .66);
}

.bk-first__label {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin: 0 0 1rem;
  font-family: inherit;
  font-variation-settings: normal;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(227 186 128);
}

.bk-first__label-line {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: rgb(209 158 86 / .8);
}

.bk-first__article {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.bk-first__title,
.bk-feature__title {
  font-size: clamp(1.75rem, 1.4rem + 1.1vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.bk-first__title {
  color: rgb(254 252 250);
}

.bk-first__link {
  color: inherit;
}

.bk-first__text {
  margin-top: .875rem;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgb(251 247 241 / .8);
}

.bk-first__points {
  display: grid;
  gap: .5rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.bk-first__point {
  display: flex;
  gap: .65rem;
  font-size: .94rem;
  line-height: 1.5;
  color: rgb(251 247 241 / .88);
}

.bk-first__check {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: .2rem;
  color: rgb(227 186 128);
}

.bk-first__more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  justify-self: start;
  gap: .5rem;
  margin-top: 1.25rem;
  font-size: .95rem;
  font-weight: 600;
  color: rgb(254 252 250);
  text-decoration: underline;
  text-decoration-color: rgb(227 186 128 / 0);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .3em;
  transition: text-decoration-color .4s var(--bk-ease);
}

/* bez ceny w panelu: „Zobacz szczegóły” na dole karty */
.bk-first__points + .bk-first__more {
  margin-top: auto;
}

.bk-first__more svg {
  color: rgb(227 186 128);
}

.bk-first__card:hover .bk-first__more {
  text-decoration-color: rgb(227 186 128 / .8);
}

/* cena i przycisk zakupu z panelu (bosko-ceny.js) — na dole ciemnej karty */
.bk-first .bc-price {
  margin-top: auto;
  padding-top: 1.125rem;
  border-top: 1px solid rgb(251 247 241 / .14);
}

.bk-first article[data-bc-layout="pay"] {
  grid-template-rows: auto auto auto 1fr;   /* zapas wysokości nad ceną — przyciski na dole karty */
}

.bk-first .bc-price__line,
.bk-first .bc-price__amount,
.bk-first .bc-price__text {
  color: rgb(254 252 250);
}

.bk-first .bc-price__amount {
  font-size: clamp(1.75rem, 1.5rem + .9vw, 2.15rem);
  line-height: 1.1;
}

.bk-first .bc-price__prefix,
.bk-first .bc-price__meta,
.bk-first .bc-sep {
  color: rgb(251 247 241 / .72);
}

.bk-first .bc-pay {
  min-height: 2.875rem;
  margin-top: 1.25rem;
  padding: .7rem 1.4rem;
  border-color: transparent;
  background-color: rgb(254 252 250);
  color: rgb(33 60 54);
  font-size: .97rem;
  font-weight: 600;
  box-shadow: 0 12px 26px -14px rgb(0 0 0 / .5);
  transition: background-color .3s var(--bk-ease), transform .3s var(--bk-ease), box-shadow .3s var(--bk-ease);
}

.bk-first .bc-pay:hover {
  border-color: transparent;
  background-color: rgb(255 255 255);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgb(0 0 0 / .55);
}

.bk-first article[data-bc-layout="pay"][data-bc-stack] > .bc-pay {
  margin-top: 1rem;
}

/* ---- bezpłatna konsultacja telefoniczna */

.bk-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.25rem 1.5rem;
  border: 1px solid rgb(207 223 203 / .85);
  border-radius: 1.75rem 3rem 1.75rem 1.75rem;
  background:
    radial-gradient(85% 120% at 100% 0%, rgb(253 246 236) 0%, rgb(253 246 236 / 0) 62%),
    radial-gradient(70% 90% at 0% 100%, rgb(230 238 228 / .95) 0%, rgb(230 238 228 / 0) 68%),
    linear-gradient(155deg, rgb(243 247 242) 0%, rgb(254 252 250) 55%, rgb(251 247 241) 100%);
  box-shadow:
    0 1px 2px rgb(34 48 44 / .04),
    0 26px 52px -36px rgb(33 60 54 / .32),
    inset 0 1px 0 rgb(255 255 255 / .8);
}

/* ziarno jak w sekcjach strony (.grain), wygaszone w stronę tekstu */
.bk-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  background-image: radial-gradient(rgb(34 48 44 / .05) 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(115deg, transparent 10%, #000 70%);
  mask-image: linear-gradient(115deg, transparent 10%, #000 70%);
}

/* łuki w rogu — echo „łukowych” kształtów zdjęć i fali rozmowy */
.bk-feature__arcs {
  position: absolute;
  z-index: -1;
  top: -2.5rem;
  right: -2.5rem;
  width: 11rem;
  height: 11rem;
  color: rgb(227 186 128);
  opacity: .5;
  pointer-events: none;
  transform-origin: 100% 0;
  transition: transform 1.4s var(--bk-ease), opacity 1.4s var(--bk-ease);
}

.bk-feature:hover .bk-feature__arcs {
  opacity: .72;
  transform: rotate(-5deg) scale(1.04);
}

.bk-feature__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.bk-feature__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem 1rem;
}

.bk-feature__title {
  color: rgb(26 47 43);
}

.bk-feature__tagline {
  margin-top: .875rem;
  max-width: 30rem;
  font-family: var(--bk-display);
  font-variation-settings: "SOFT" 60;
  font-weight: 400;
  font-size: clamp(1.15rem, 1.02rem + .5vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: rgb(41 75 67);
  text-wrap: balance;
}

/* odręczne podkreślenie jak pod słowem „zrozumienia” na stronie głównej */
.bk-underline-word {
  position: relative;
  white-space: nowrap;
}

.bk-underline {
  position: absolute;
  left: 0;
  bottom: -.3em;
  width: 100%;
  height: .38em;
  color: rgb(227 186 128);
  pointer-events: none;
}

.bk-feature__text {
  margin-top: .875rem;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgb(88 103 98);
}

/* przyciski na dole karty (równa wysokość z „Pierwszą konsultacją”) */
.bk-feature__actions {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

/* plakietka „Bezpłatnie · do 20 minut” */
.bk-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .8rem .3rem .35rem;
  border-radius: 999px;
  background: rgb(254 252 250 / .92);
  box-shadow:
    inset 0 0 0 1px rgb(227 186 128 / .6),
    0 8px 18px -12px rgb(154 103 48 / .5);
  color: rgb(123 82 38);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .005em;
  white-space: nowrap;
}

.bk-badge__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgb(248 233 211);
  color: rgb(154 103 48);
}

.bk-badge__icon svg {
  width: .875rem;
  height: .875rem;
}

@media (min-width: 640px) {
  .bk-first__card,
  .bk-feature {
    padding: 2rem 2.25rem;
    border-radius: 1.75rem 3.5rem 1.75rem 1.75rem;
  }

  .bk-feature__arcs {
    top: -3rem;
    right: -3rem;
    width: 14rem;
    height: 14rem;
  }

  .bk-feature__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .bk-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .bk-first__card,
  .bk-feature {
    padding: 2.25rem 2.5rem;
  }
}

/* ------------------------------------------------------------------ zaproszenie na stronie głównej */

.bk-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 3rem;
  padding: 1.375rem;
  border: 1px solid rgb(226 213 195 / .75);
  border-radius: 1.5rem;
  background: rgb(254 252 250 / .86);
  box-shadow:
    0 1px 2px rgb(34 48 44 / .04),
    0 10px 28px -16px rgb(34 48 44 / .16);
  transition: border-color .5s var(--bk-ease), box-shadow .5s var(--bk-ease);
}

.bk-cta:hover {
  border-color: rgb(227 186 128 / .6);
  box-shadow:
    0 1px 2px rgb(34 48 44 / .04),
    0 18px 36px -22px rgb(34 48 44 / .24);
}

.bk-cta__lead {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.bk-cta__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgb(248 233 211 / .85);
  box-shadow: inset 0 0 0 1px rgb(227 186 128 / .45);
  color: rgb(154 103 48);
  transition: transform .6s var(--bk-ease);
}

.bk-cta__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.bk-cta:hover .bk-cta__icon {
  transform: rotate(-8deg);
}

.bk-cta__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgb(88 103 98);
}

.bk-cta__text strong {
  display: block;   /* pytanie w osobnym wierszu, zaproszenie pod nim */
  font-weight: 600;
  color: rgb(26 47 43);
}

.bk-cta__actions {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: .375rem;
}

@media (min-width: 640px) {
  .bk-cta {
    padding: 1.5rem 1.5rem 1.25rem;
  }

  .bk-cta__actions {
    flex-direction: row;
    align-items: center;
    padding-left: 3.75rem;   /* wyrównanie z tekstem (ikona + odstęp) */
  }
}

@media (min-width: 1024px) {
  .bk-cta {
    margin-top: 3.5rem;
  }
}

/* jeden wiersz dopiero wtedy, gdy pytanie i zaproszenie mieszczą się bez łamania */
@media (min-width: 1200px) {
  .bk-cta {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 1.125rem 1.125rem 1.125rem 1.375rem;
    border-radius: 2rem;
  }

  .bk-cta__lead {
    flex: 1 1 auto;
    align-items: center;
  }

  .bk-cta__actions {
    padding-left: 0;
  }
}

/* ------------------------------------------------------------------ podstrona /oferta/konsultacje/ */

.bk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.bk-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .95rem .5rem .75rem;
  border: 1px solid rgb(41 75 67 / .14);
  border-radius: 999px;
  background: rgb(254 252 250 / .78);
  color: rgb(33 60 54);
  font-size: .875rem;
  line-height: 1.25;
}

.bk-chip svg {
  flex: none;
  width: 1rem;
  height: 1rem;
  color: rgb(108 144 104);
}

.bk-chip--accent {
  border-color: rgb(227 186 128 / .65);
  background: rgb(253 246 236);
  color: rgb(123 82 38);
  font-weight: 600;
}

.bk-chip--accent svg {
  color: rgb(184 127 60);
}

.bk-hero-actions {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-top: 2rem;
}

.bk-hero-call {
  font-size: .97rem;
  color: rgb(88 103 98);
}

.bk-chips + .bk-hero-call {
  margin-top: 1.25rem;
}

.bk-link {
  font-weight: 600;
  color: rgb(41 75 67);
  text-decoration: underline;
  text-decoration-color: rgb(227 186 128);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .22em;
  transition: color .3s var(--bk-ease), text-decoration-color .3s var(--bk-ease);
}

.bk-link:hover {
  color: rgb(50 92 82);
  text-decoration-color: rgb(184 127 60);
}

.bk-tiles {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bk-tile {
  display: flex;
  gap: 1rem;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid rgb(204 224 234 / .7);
  border-radius: 1.5rem;
  background: rgb(254 252 250 / .85);
  transition: border-color .5s var(--bk-ease), box-shadow .5s var(--bk-ease);
}

.bk-tile:hover {
  border-color: rgb(204 224 234);
  box-shadow:
    0 1px 2px rgb(34 48 44 / .04),
    0 16px 32px -24px rgb(34 48 44 / .28);
}

.bk-tile__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .875rem;
  background: rgb(230 238 228);
  color: rgb(68 93 65);
}

.bk-tile__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.bk-tile--accent .bk-tile__icon {
  background: rgb(248 233 211);
  color: rgb(154 103 48);
}

.bk-tile__label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgb(154 103 48);
}

.bk-tile__value {
  display: block;
  margin-top: .3rem;
  font-family: var(--bk-display);
  font-variation-settings: "SOFT" 40;
  font-size: 1.2rem;
  line-height: 1.3;
  color: rgb(26 47 43);
}

.bk-tile__hint {
  display: block;
  margin-top: .25rem;
  font-size: .9rem;
  line-height: 1.5;
  color: rgb(88 103 98);
}

.bk-steps {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.bk-step {
  display: flex;
  gap: 1rem;
  padding: .9rem 0;
  border-top: 1px solid rgb(226 213 195 / .85);
}

.bk-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.bk-step__num {
  flex: none;
  width: 2rem;
  font-family: var(--bk-display);
  font-size: 1.125rem;
  line-height: 1.5;
  color: rgb(184 127 60);
}

.bk-step__text {
  font-size: .97rem;
  line-height: 1.65;
  color: rgb(88 103 98);
}

.bk-step__text strong {
  font-weight: 600;
  color: rgb(26 47 43);
}

@media (min-width: 640px) {
  .bk-hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .bk-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bk-tile--wide {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------------ notka nad formularzem (/kontakt/) */

.bk-form-note {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  margin: 0 0 1.75rem;
  padding: 1rem 1.125rem;
  border: 1px solid rgb(227 186 128 / .55);
  border-radius: 1.125rem;
  background: rgb(253 246 236);
  font-size: .9375rem;
  line-height: 1.55;
  color: rgb(88 103 98);
  animation: bk-note-in .5s var(--bk-ease) both;
}

.bk-form-note__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgb(248 233 211);
  color: rgb(154 103 48);
}

.bk-form-note__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.bk-form-note strong {
  display: block;
  margin-bottom: .125rem;
  font-weight: 600;
  color: rgb(26 47 43);
}

@keyframes bk-note-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ ruch ograniczony */

@media (prefers-reduced-motion: reduce) {
  .bk-first__card,
  .bk-first__more,
  .bk-first .bc-pay,
  .bk-feature__arcs,
  .bk-cta,
  .bk-cta__icon,
  .bk-tile,
  .bk-link {
    transition: none;
  }

  .bk-first__card:hover,
  .bk-first .bc-pay:hover,
  .bk-feature:hover .bk-feature__arcs,
  .bk-cta:hover .bk-cta__icon {
    transform: none;
  }

  .bk-form-note {
    animation: none;
  }
}

/* ------------------------------------------------------------------ wąskie ekrany: etykieta przycisku w jednym wierszu */

@media (max-width: 399px) {
  .bk-btn {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
    text-align: center;
    text-wrap: balance;
  }

  .bk-btn.text-\[1\.02rem\] {
    font-size: .97rem;
  }

  .bk-feature,
  .bk-first__card {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .bk-cta {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
  }

  .bk-steps-box {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 359px) {
  .bk-btn svg {
    display: none;   /* strzałka jest ozdobą — na najwęższych ekranach ustępuje miejsca etykiecie */
  }

  .bk-feature,
  .bk-first__card {
    padding-left: .875rem;
    padding-right: .875rem;
  }

  .bk-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
