:root {
  --primary: #7C63F8;
  --primary-hover: #6A4FEF;
  --dark: #252A3D;
  --light-bg: #F7F6FF;
  --pill-bg: #F2EFFF;
  --line: #E4E3DE;
  --text-secondary: #555555;
  --text-muted: #888888;
  --star: #F5B301;
  --white-btn-hover: #F0EEFF;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(40px, 4.5vw, 64px);
  --rail: clamp(10px, 2vw, 20px);
  --rail-x: calc(max((100% - 1180px) / 2, 0px) + var(--rail));
  --grid-size: 32px;
  --grid-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1.5 1.5 13 13'%3E%3Cpath fill='%23252A3D' d='M7.4 2h1.2v4.6L6.6 8.6H2V7.4h4.1L7.4 6.1z'/%3E%3Cpath fill='%23252A3D' d='M8.6 14H7.4V9.4l2-2H14v1.2H9.9L8.6 9.9z'/%3E%3C/svg%3E") center / 10px 10px no-repeat, linear-gradient(#fff, #fff) 0 9px / 100% 2px no-repeat, linear-gradient(#fff, #fff) 9px 0 / 2px 100% no-repeat;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--dark);
  font-family: Manrope, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-hover);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.sprite {
  display: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  display: block;
  width: auto;
  height: clamp(20px, 1.8vw, 24px);
}

/* Mřížka jako na designee.cz: svislé linky po stranách, linky mezi sekcemi, značky v průsečících */

body::before {
  content: "";
  position: fixed;
  inset-block: 0;
  inset-inline: var(--rail-x);
  z-index: 5;
  pointer-events: none;
  border-inline: 1px solid var(--line);
}

.ruled {
  position: relative;
  border-top: 1px solid var(--line);
}

.ruled::before,
.ruled::after {
  content: "";
  position: absolute;
  top: -10px;
  z-index: 6;
  width: 20px;
  height: 20px;
  pointer-events: none;
  background: var(--grid-mark);
}

.ruled::before {
  left: calc(var(--rail-x) - 9px);
}

.ruled::after {
  right: calc(var(--rail-x) - 9px);
}

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  --grid-line: rgba(124, 99, 248, 0.05);
  --grid-line-sweep: rgba(124, 99, 248, 0.09);
  /* mřížka je po stranách plná, za textem uprostřed jen lehce */
  -webkit-mask-image:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.45) 30%, rgba(0, 0, 0, 0.45) 70%, #000 100%),
    linear-gradient(180deg, #000 30%, transparent 90%);
  mask-image:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.45) 30%, rgba(0, 0, 0, 0.45) 70%, #000 100%),
    linear-gradient(180deg, #000 30%, transparent 90%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.grid-bg--dark {
  --grid-line: rgba(255, 255, 255, 0.03);
  --grid-line-sweep: rgba(255, 255, 255, 0.06);
  -webkit-mask-image: radial-gradient(70% 65% at 50% 45%, #000 35%, transparent 85%);
  mask-image: radial-gradient(70% 65% at 50% 45%, #000 35%, transparent 85%);
  -webkit-mask-composite: source-over;
  mask-composite: add;
}

.grid-bg__base,
.grid-bg__sweep {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  transform: translateZ(0);
}

.grid-bg__sweep {
  --grid-line: var(--grid-line-sweep);
  opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 50%, transparent 100%);
  -webkit-mask-size: 55% 100%;
  mask-size: 55% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
  .grid-bg__sweep {
    animation: grid-sweep 5s linear infinite;
  }
}

@keyframes grid-sweep {
  0% { opacity: 0; -webkit-mask-position: -55% 0; mask-position: -55% 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; -webkit-mask-position: 155% 0; mask-position: 155% 0; }
}

@media (min-width: 640px) {
  :root { --grid-size: 44px; }
}

@media (min-width: 1024px) {
  :root { --grid-size: 56px; }
}

.stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.stars svg {
  display: block;
}

/* Tlačítka */

.btn {
  width: 100%;
  max-width: 420px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.2;
  transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.btn svg {
  flex: none;
}

.btn--primary {
  background: linear-gradient(90deg, #9179F9, var(--primary));
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(124, 99, 248, 0.65);
}

.btn--primary:hover {
  background: linear-gradient(90deg, #8168F5, var(--primary-hover));
  color: #fff;
  box-shadow: 0 16px 32px -12px rgba(124, 99, 248, 0.75);
  transform: translateY(-1px);
}

.btn--white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.45);
}

.btn--white:hover {
  background: var(--white-btn-hover);
  color: var(--primary-hover);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.55);
  transform: translateY(-1px);
}

.btn--outline {
  padding: 16px 28px;
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
}

.btn--outline:hover {
  background: var(--light-bg);
}

/* Hlavička + hero */

.hero-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 15% 0%, rgba(124, 99, 248, 0.10), transparent 70%),
    radial-gradient(45% 40% at 90% 5%, rgba(145, 121, 249, 0.10), transparent 70%),
    #fff;
}

.hero-wrap > .header,
.hero-wrap > .hero {
  position: relative;
  z-index: 1;
}

.header {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 3vw, 40px) var(--gutter) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
  text-align: left;
}

.trust__avatars {
  display: flex;
  align-items: center;
}

.trust__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  overflow: hidden;
  position: relative;
}

.trust__avatar + .trust__avatar {
  margin-left: -13px;
}

.trust__avatar:nth-child(1) { z-index: 4; background: #E6E3FB; }
.trust__avatar:nth-child(2) { z-index: 3; background: #D9D5F8; }
.trust__avatar:nth-child(3) { z-index: 2; background: #CCC6F4; }
.trust__avatar:nth-child(4) { z-index: 1; background: #BFB8F0; }

.trust__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust__rating {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust__google {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.trust__google svg {
  width: 17px;
  height: 17px;
}

.hero {
  padding: clamp(18px, 2vw, 24px) var(--gutter) clamp(36px, 4vw, 56px);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--primary);
  font-weight: 700;
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.3;
}

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex: none;
}

.hero__title {
  margin: clamp(20px, 2vw, 28px) 0 0;
  max-width: 1060px;
  font-size: clamp(32px, calc(21px + 2.5vw), 57px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__title span {
  color: var(--primary);
}

.hero__lead {
  margin: clamp(18px, 1.8vw, 26px) 0 0;
  max-width: 860px;
  font-size: clamp(17px, calc(14px + 0.48vw), 21px);
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 500;
  text-wrap: pretty;
}

/* Video */

.video {
  width: 100%;
  max-width: 860px;
  margin-top: clamp(28px, 3vw, 44px);
}

.video__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 14px;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .video__hint {
    animation: hint-bounce 1.4s ease-in-out infinite;
  }
}

@keyframes hint-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--dark);
}

.player--hero {
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(124, 99, 248, 0.14),
    0 30px 80px -28px rgba(124, 99, 248, 0.55),
    0 10px 30px -12px rgba(37, 42, 61, 0.25);
}

.player__thumb,
.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player__thumb {
  object-fit: cover;
}

.player__btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.player__btn:focus-visible {
  outline-offset: -4px;
}

.play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.22), 0 12px 30px rgba(37, 42, 61, 0.35);
}

.play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.play--lg {
  width: clamp(72px, 7vw, 100px);
  height: clamp(72px, 7vw, 100px);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.22), 0 18px 44px rgba(37, 42, 61, 0.4);
}

.play--lg svg {
  width: 38%;
  height: 38%;
  margin-left: 8%;
}

.player__length {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(37, 42, 61, 0.78);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}

/* Hlavní CTA */

.cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: clamp(28px, 3vw, 40px);
}

.cta__note {
  margin: 0;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* Sekce */

.section {
  padding: var(--section-y) var(--gutter);
}

.section--light {
  background: var(--light-bg);
}

.section__title {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
  font-size: clamp(28px, calc(19px + 1.45vw), 40px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* Video recenze */

.video-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(32px, 4vw, 56px);
}

.video-review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 14px 32px -24px rgba(37, 42, 61, 0.18);
}

.video-review__body {
  padding: 20px 12px 14px;
}

.video-review__name {
  font-weight: 800;
  font-size: 19px;
  line-height: 1.3;
}

.video-review__company {
  margin-top: 2px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

.video-review__quote {
  display: flex;
  gap: 14px;
  margin: 16px 0 0;
}

.video-review__quote::before {
  content: "";
  width: 3px;
  border-radius: 3px;
  background: var(--primary);
  flex: none;
}

.video-review__quote p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
}

/* Případovky pod video recenzemi */

.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 4vw, 48px) clamp(20px, 2.4vw, 32px);
  margin-top: clamp(48px, 4.5vw, 60px);
}

.section__title--sub {
  margin-top: clamp(44px, 5vw, 72px);
  font-size: clamp(24px, calc(17px + 1.1vw), 32px);
}

.case {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(60px, 6vw, 72px) clamp(24px, 3vw, 36px) clamp(26px, 3vw, 34px);
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(48, 33, 102, 0.95) 0%, rgba(58, 42, 122, 0.9) 45%, rgba(76, 58, 152, 0.74) 100%),
    var(--case-img) center / cover no-repeat,
    #33236B;
  box-shadow: 0 18px 40px -26px rgba(37, 42, 61, 0.5);
}

.case__logo {
  position: absolute;
  top: -20px;
  left: clamp(24px, 3vw, 36px);
  display: flex;
  align-items: center;
  height: 52px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 16px -10px rgba(37, 42, 61, 0.35);
}

.case__logo img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 150px;
  object-fit: contain;
}

.case__title {
  margin: 0;
  font-size: clamp(24px, calc(17px + 1.3vw), 33px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.case__text {
  margin: 14px 0 0;
  font-size: clamp(16px, calc(14px + 0.3vw), 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 24px 0 0;
  list-style: none;
}

.case__tags li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

/* Psané recenze */

.google-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
}

.reviews {
  columns: 3 290px;
  column-gap: 20px;
  margin-top: clamp(32px, 4vw, 56px);
}

.review {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 28px -22px rgba(37, 42, 61, 0.16);
}

.review__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pill-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex: none;
  overflow: hidden;
}

.review__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review__who {
  min-width: 0;
}

.review__name {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
}

.review__web {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.review__web:hover {
  color: var(--primary);
}

.review__google {
  flex: none;
  align-self: flex-start;
  margin-left: auto;
}

.review .stars {
  margin-top: 14px;
}

.review__text {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

.reviews__more {
  display: none;
  justify-content: center;
  margin-top: 8px;
}

/* Závěrečné CTA */

.final {
  background: #fff;
  padding: clamp(12px, 1.6vw, 16px) calc(var(--rail-x) + clamp(12px, 1.6vw, 16px));
}

.final__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  padding: clamp(64px, 8vw, 112px) var(--gutter);
  background-image:
    radial-gradient(at 30% 30%, rgba(139, 92, 246, 0.5) 0%, transparent 55%),
    radial-gradient(at 75% 35%, rgba(167, 139, 250, 0.42) 0%, transparent 50%),
    radial-gradient(at 60% 90%, rgba(124, 99, 248, 0.5) 0%, transparent 55%),
    radial-gradient(at 15% 85%, rgba(99, 102, 241, 0.4) 0%, transparent 50%),
    radial-gradient(at 0% 100%, rgba(10, 4, 24, 0.8) 0%, transparent 55%),
    radial-gradient(at 100% 0%, rgba(10, 4, 24, 0.7) 0%, transparent 50%),
    linear-gradient(135deg, #1E0A3C 0%, #120726 50%, #1E0A3C 100%);
  background-size: 200% 200%;
  background-position: 50%;
}

.final__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final__title {
  margin: 0;
  font-size: clamp(28px, calc(19px + 1.6vw), 42px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}

.final__text {
  margin: clamp(18px, 2vw, 24px) 0 0;
  max-width: 720px;
  font-size: clamp(17px, calc(14px + 0.4vw), 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  text-wrap: pretty;
}

.final .btn {
  margin-top: clamp(28px, 3vw, 40px);
}

.final__guarantee {
  margin: 16px 0 0;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  text-wrap: pretty;
}

/* Stránka rezervace konzultace */

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.6vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(15px, 1.2vw, 16px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-muted);
}

.steps__item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.steps__item + .steps__item::before {
  content: "";
  width: clamp(12px, 3vw, 36px);
  height: 2px;
  margin-right: clamp(0px, 1vw, 10px);
  border-radius: 2px;
  background: var(--line);
}

.steps__item.is-current::before {
  background: var(--primary);
}

.steps__dot {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #EEEDF3;
  font-size: 15px;
}

.steps__item.is-done,
.steps__item.is-current {
  color: var(--primary);
}

.steps__item.is-done .steps__dot {
  background: var(--pill-bg);
}

.steps__item.is-current .steps__dot {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(124, 99, 248, 0.18);
}

.steps__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero__title--booking {
  max-width: 900px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: clamp(18px, 2vw, 24px) 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.facts svg {
  color: var(--primary);
}

.booking {
  width: 100%;
  max-width: 1000px;
  margin-top: clamp(24px, 3vw, 36px);
  scroll-margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(124, 99, 248, 0.14),
    0 30px 80px -36px rgba(124, 99, 248, 0.45),
    0 10px 30px -16px rgba(37, 42, 61, 0.2);
}

.booking__placeholder {
  min-height: clamp(460px, 52vw, 640px);
  margin: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed rgba(124, 99, 248, 0.35);
  border-radius: 10px;
  background: var(--light-bg);
  color: var(--text-secondary);
  font-size: 15px;
}

.booking__placeholder svg {
  color: var(--primary);
}

.booking__placeholder strong {
  font-size: 18px;
  color: var(--dark);
}

.booking__note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.agenda {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  margin: clamp(32px, 4vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}

.agenda__item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px -22px rgba(37, 42, 61, 0.16);
}

.agenda__num {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pill-bg);
  color: var(--primary);
  font-weight: 800;
}

.agenda__title {
  margin: 16px 0 0;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.agenda__text {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.agenda__note {
  margin: clamp(24px, 3vw, 32px) auto 0;
  max-width: 620px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.cases--stats {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.case__value {
  font-size: clamp(44px, calc(30px + 2vw), 58px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.cases--stats .case__title {
  margin-top: 10px;
  font-size: clamp(20px, calc(16px + 0.6vw), 24px);
  color: #D9D0FF;
}

.cases--stats + .reviews {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  align-items: start;
  gap: 20px;
  margin-top: clamp(20px, 2.4vw, 32px);
}

.cases--stats + .reviews .review {
  margin: 0;
}

.faq {
  max-width: 760px;
  margin: clamp(28px, 3.5vw, 44px) auto 0;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: clamp(17px, calc(15px + 0.3vw), 19px);
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  flex: none;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  color: var(--primary);
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  margin: 0;
  padding: 0 0 22px;
  max-width: 660px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Patička */

.footer {
  background: #fff;
  padding: 28px var(--gutter);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer .logo {
  height: 18px;
}

.footer__copy {
  font-size: 14px;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--primary);
}

/* Sticky lišta (jen mobil) */

.sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(37, 42, 61, 0.08);
  box-shadow: 0 -10px 30px -16px rgba(37, 42, 61, 0.25);
}

.sticky .btn {
  display: flex;
  max-width: none;
  padding: 16px 20px;
  font-size: 16px;
  box-shadow: none;
  transform: none;
}

/* Fade-in sekcí při scrollu */

/* Dotazník v pop-upu. Bez display: none, ať se iframe načte a změří už při načtení stránky.
   Karta je průhledná: bílou kartu s rohy si kreslí dotazník sám uvnitř iframu.
   form_embed.js dává iframu inline visibility: visible, takže zavřený pop-up musí být i mimo obrazovku (a inert), jinak neviditelný iframe chytá kliky. */
.survey {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: rgba(26, 26, 46, 0.72);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-200vw);
}

.survey.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.survey__card {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: auto;
}

.survey__close {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.survey__close:hover {
  background: var(--pill-bg);
  color: var(--primary);
}

/* Úzký iframe (pod 640 px) přepne dotazník do mobilního rozložení: hranatý bílý blok s průhledným okrajem a odtržená patička.
   Bílá zaoblená karta to sjednotí; záporný okraj rámu ořízne průhledný okraj dotazníku na minimum. */
@media (max-width: 699.98px) {
  .survey {
    padding: 8px;
  }

  .survey__card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
  }

  .survey__frame {
    margin: -14px -12px 0;
  }

  .survey__close {
    top: 4px;
    right: 4px;
    background: var(--light-bg);
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .survey {
    transition: opacity 180ms ease, visibility 0s linear 180ms, transform 0s linear 180ms;
  }

  .survey.is-open {
    transition: opacity 180ms ease;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 400ms ease-out, transform 400ms ease-out;
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Mobil */

@media (max-width: 639.98px) {
  .js .reviews:not(.is-expanded) .review:nth-child(n+7) {
    display: none;
  }

  .js .reviews__more {
    display: flex;
  }

  .sticky-on .sticky {
    display: block;
  }

  .sticky-on body {
    padding-bottom: calc(77px + env(safe-area-inset-bottom));
  }
  .trust {
    gap: 10px;
  }

  .trust__avatar {
    width: 34px;
    height: 34px;
  }

  .trust__avatar + .trust__avatar {
    margin-left: -11px;
  }

  .trust__google {
    gap: 6px;
    font-size: 13px;
  }

  .trust__google svg {
    width: 15px;
    height: 15px;
  }

  .trust .stars svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 439.98px) {
  .steps {
    gap: 6px;
    font-size: 14px;
  }

  .steps__item {
    gap: 6px;
  }

  .steps__item + .steps__item::before {
    width: 10px;
    margin-right: 1px;
  }

  .steps__dot {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
}

@media (max-width: 359.98px) {
  .steps {
    gap: 5px;
    font-size: 12px;
  }

  .steps__item + .steps__item::before {
    width: 8px;
  }

  .steps__dot {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .trust {
    flex-direction: column;
    gap: 8px;
  }

  .trust__rating {
    align-items: center;
  }
}
