/* ==========================================================================
   Péče o zákazníky
   ========================================================================== */

:root {
  --shadow-feature: 0 5px 25px rgb(0 0 0 / 0.08);
  --shadow-shot: 0 5px 20px rgb(0 0 0 / 0.05);
  --f-stats: "Manrope", system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   Hero — text uprostřed, zprávy zákazníků po stranách
   -------------------------------------------------------------------------- */
.care-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: var(--header-h);
}

.care-hero__blob {
  max-width: none;
}

/* Ellipse 138 (567 px) a 139 (453 px) z Figmy — blob-lavender.svg má kruh 559 px */
.care-hero__blob--left {
  width: 1650px;
  left: calc(50% - 340.5px - 825px);
  top: -167.5px;
}

.care-hero__blob--right {
  width: 1318px;
  left: calc(50% + 493.5px - 659px);
  top: -432.5px;
}

.care-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding-block: 2.5rem 1.5rem;
  text-align: center;
}

.care-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 41.25rem; /* 660px */
}

.care-hero__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: var(--lh-hero);
  color: var(--c-ink);
}

.care-hero__title-muted {
  display: block;
  max-width: 12ch;
  margin-inline: auto;
  color: var(--c-ink-60);
}

.care-hero__lead {
  max-width: 30rem; /* 480px */
}

@media (min-width: 67.5em) {
  .care-hero {
    min-height: 46.875rem; /* 750px */
  }

  .care-hero__inner {
    justify-content: space-between;
    min-height: calc(46.875rem - var(--header-h));
    padding-block: 3.125rem;
  }

  .care-hero__content {
    padding-top: 5rem;
  }

  /* Oblast bublin přes celou šířku; --x je posun od středu (viz HTML) */
  .care-hero__bubbles {
    --bubbles-left: 0;
    --bubbles-right: 0;
    --bubbles-top: 6.25rem;
  }
}

/* --------------------------------------------------------------------------
   Čísla (tmavý pruh)
   -------------------------------------------------------------------------- */
.stats {
  padding-block: var(--section-y);
  background: var(--c-ink);
  color: var(--c-white);
  text-align: center;
}

.stats__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 1.5rem + 2vw, 3.125rem);
}

.stats__title {
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.2;
  text-wrap: balance;
}

.stats__title span {
  display: block;
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 0.25rem + 2.5vw, 3.125rem);
}

.stats__item {
  display: flex;
  flex-direction: column-reverse; /* hodnota nad popiskem, v DOM dt → dd */
  justify-content: flex-end; /* u column-reverse = zarovnání nahoru */
  align-items: center;
  gap: 0.625rem;
  font-family: var(--f-stats);
}

.stats__item dt {
  font-size: var(--fs-body);
  line-height: 1.09;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.stats__item dd {
  font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.125rem);
  line-height: 1.037;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--c-lime);
}

/* --------------------------------------------------------------------------
   Co umí — karty s ukázkami
   -------------------------------------------------------------------------- */
.features__title .section-title__soft {
  display: block;
}

.features__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.75rem);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0.75rem;
  border-radius: var(--r-xl);
  background: var(--c-white);
  box-shadow: var(--shadow-feature);
}

.feature:first-child {
  box-shadow: var(--shadow-card);
}

.feature__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: clip;
  padding: 1.5rem 1rem;
  border-radius: var(--r-lg);
  background: var(--c-surface);
}

.feature__media--chat {
  justify-content: flex-start;
  height: 20rem;
  padding: 1.75rem 1rem 0;
}

.feature__chat {
  flex: none;
}

.feature__media--top {
  justify-content: flex-start;
}

.feature__shot {
  width: 100%;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-shot);
}

.feature__body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0.5rem 0.5rem 0.75rem;
}

.feature__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.feature__text--padded {
  padding: 0.625rem;
}

.feature__title {
  max-width: 18.75rem; /* 300px */
  line-height: 1.2;
}

.feature__cta {
  align-self: flex-end;
  background: var(--c-forest-2);
}

/* Ukázka zdrojů znalostí (dekorativní) */
.sources {
  display: grid;
  width: min(21.875rem, 100%); /* 350px */
}

.source {
  position: relative; /* jednotné vrstvení v pořadí DOM (opacity jinak mění pořadí) */
  grid-area: 1 / 1;
  align-self: start;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  width: calc(100% - 3.125rem);
  min-height: 6.1875rem; /* 99px */
  margin-left: 1.5625rem;
  padding: 0.9375rem;
  border-radius: var(--r-md);
  background: var(--c-white);
  box-shadow: 0 4px 7.5px rgb(0 0 0 / 0.1);
  opacity: 0.5;
}

.source--lower {
  margin-top: 6rem;
}

.source--front {
  width: 100%;
  min-height: 7.1875rem; /* 115px */
  margin: 2.5rem 0 0;
  box-shadow: 0 5px 10px rgb(0 0 0 / 0.05);
  opacity: 1;
}

.source__check {
  display: flex;
  flex: none;
  padding: 3px;
  border: 1px solid var(--c-lime-border);
  border-radius: var(--r-md);
  background: var(--c-lime);
}

.source__check img {
  width: 0.75rem;
  height: 0.75rem;
}

.source__text {
  display: flex;
  flex-direction: column;
  gap: 0.8125rem;
  min-width: 0;
  font-size: 0.625rem;
}

.source__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--fs-body);
}

@media (min-width: 64em) {
  .features__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.875rem;
  }

  .feature {
    height: 31.25rem; /* 500px */
    padding: 1.25rem;
    border-radius: var(--r-3xl);
  }

  .feature--wide {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 2.5rem;
  }

  .feature--wide > * {
    flex: 1 1 0;
    min-width: 0;
  }

  .feature--stacked .feature__media {
    flex: 1 1 0;
    min-height: 0;
    padding: 1.875rem;
  }

  .feature__media--chat {
    height: auto;
    padding: 3.125rem 0 0;
  }

  .feature__media--center {
    padding: 0 1.25rem;
  }

  .feature__body {
    justify-content: space-between;
    padding: 1.25rem 0;
  }

  .feature__body--center {
    justify-content: center;
    padding: 0;
  }

  .feature__body > .feature__text {
    flex: 1;
    justify-content: center;
    padding-inline: 1.25rem;
  }

  .feature__body--center > .feature__text {
    flex: none;
    padding-inline: 0;
  }

  .feature__cta {
    margin-inline: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   Kanály — kam agenty napojíme (levý sloupec sticky)
   -------------------------------------------------------------------------- */
.channels {
  padding-block: calc(var(--section-y) / 2);
}

.channels__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.channels__title .section-title__soft {
  display: block;
}

.channels__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.channel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.channel__head {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
}

.channel__row {
  display: flex;
  align-items: flex-start;
  gap: 1.875rem;
}

.channel__row p {
  flex: 1;
}

.channel__arrow {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  transform: rotate(90deg);
}

.product-icon .channel__meta {
  height: auto;
}

.channel-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.channel-cta__title {
  max-width: 11em;
  color: var(--c-forest-2);
}

.channel-cta__btn {
  background: var(--c-forest-2);
}

@media (min-width: 40em) {
  .channel-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    min-height: 9rem; /* 144px */
  }
}

@media (min-width: 64em) {
  .channels__inner {
    grid-template-columns: minmax(0, 1fr) 46.875rem; /* 750px */
    gap: 0.9375rem;
  }

  .channels__aside,
  .channels__list {
    padding-block: 3.125rem;
  }

  .channels__title {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}
