/* ============================================================
   MŮJ VELÍN — DESIGN SYSTÉM
   ============================================================ */

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

/* ── PROMĚNNÉ ─────────────────────────────────────────────── */
:root {
  /* Barvy */
  --color-primary: #E3287D;
  --color-primary-light: #f0a0c8;
  --color-secondary: #2D867C;
  --color-secondary-dark: #1F5F58;
  --color-bg: #FFFFFF;
  --color-bg-pink: #FBEAF0;
  --color-bg-teal: #EDF7F4;
  --color-text: #333333;
  --color-muted: #6B7280;
  --color-accent: #2D867C;
  --color-border: rgba(51, 51, 51, 0.1);
  --color-white: #FFFFFF;

  /* Spacing škála */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Typografie */
  --font-heading: 'Yeseva One', serif;
  --font-body: 'DM Sans', sans-serif;
  --text-base: 1rem;
  --line-height-body: 1.7;
  --line-height-heading: 1.2;

  /* Layout */
  --container-max: 1280px;
  --container-width: 85%;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 8px 30px rgba(51, 51, 51, 0.08);
  --shadow-card: 0 4px 20px rgba(51, 51, 51, 0.06);
  --shadow-image: 0 14px 34px rgba(51, 51, 51, 0.28);
}

/* ── ZÁKLAD ───────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: var(--line-height-body);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* ── TYPOGRAFIE ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.25rem, 4.2vw + 1rem, 3.75rem);
}

h2 {
  font-size: clamp(1.875rem, 2.6vw + 1rem, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
}

h4 {
  font-size: clamp(1.1rem, 0.6vw + 1rem, 1.25rem);
}

p {
  font-size: 1rem;
  max-width: 65ch;
}

.text-muted {
  color: var(--color-muted);
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.accent {
  color: var(--color-primary);
}

.bg-teal {
  background: var(--color-bg-teal);
}

.bg-pink {
  background: var(--color-bg-pink);
}

/* ── LAYOUT ───────────────────────────────────────────────── */
.container {
  width: var(--container-width);
  max-width: var(--container-max);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-8);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-7);
}

.section-head p {
  color: var(--color-muted);
  margin-inline: auto;
}

/* ── TLAČÍTKA ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--color-secondary-dark);
}

.btn-ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-ghost:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-white:hover {
  background: var(--color-bg-pink);
}

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
}

.nav-inner {
  width: var(--container-width);
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}

.wordmark-icon {
  width: 38px;
  height: 38px;
}

.wordmark-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 1.0625rem;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--color-primary);
}

.nav-cta {
  text-decoration: none;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.0625rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin-inline: auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5) var(--space-6);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-link {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu .nav-cta {
  text-align: center;
  margin-top: var(--space-3);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--color-bg-teal) 0%, #ffffff 55%, var(--color-bg-pink) 100%);
  overflow: hidden;
}

.hero-inner {
  width: var(--container-width);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-block: var(--space-8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-eyebrow {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
  min-height: 1.6em;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--color-primary);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero h1 {
  margin-bottom: var(--space-4);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.hero-note {
  margin-top: var(--space-5);
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Vizuál heroa: barevný tvar za mockupem + jemný pohyb */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
  transition: transform 0.1s linear;
}

.hero-blob {
  position: absolute;
  right: -6%;
  bottom: -10%;
  width: 62%;
  height: 62%;
  background: var(--color-primary);
  opacity: 0.14;
  border-radius: 50%;
  z-index: 0;
}

.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: var(--space-2) var(--space-4);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-secondary);
  animation: chip-float 5s ease-in-out infinite;
}

.hero-chip i {
  color: var(--color-secondary);
}

.chip-tracking {
  top: -14px;
  right: -26px;
  animation: float-tracking 5s ease-in-out infinite;
  animation-delay: 0.2s;
}

.chip-hours {
  top: 20%;
  right: -48px;
  animation: float-hours 5s ease-in-out infinite;
  animation-delay: 0.9s;
}

.chip-clients {
  top: 24%;
  left: -42px;
  animation: float-clients 5s ease-in-out infinite;
  animation-delay: 1.5s;
}

.chip-todos {
  bottom: 25%;
  left: -20px;
  animation: float-todos 5s ease-in-out infinite;
  animation-delay: 0.6s;
}

.chip-reports {
  bottom: 6%;
  right: -16px;
  animation: float-reports 5s ease-in-out infinite;
  animation-delay: 1.2s;
}

@keyframes float-tracking {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes float-hours {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes float-clients {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes float-todos {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes float-reports {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 900px) {
  .hero-chip {
    display: none;
  }
}

.hero-frame {
  position: relative;
  z-index: 1;
  max-width: 88%;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-image);
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-frame img {
  width: 100%;
  height: auto;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: var(--space-7);
    text-align: center;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }
}

/* ── ÚVODNÍ SEKCE PODSTRÁNEK ──────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--color-bg-teal) 0%, #ffffff 55%, var(--color-bg-pink) 100%);
  overflow: hidden;
}

.page-hero-inner {
  width: var(--container-width);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-block: var(--space-8);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.page-hero h1 {
  margin-bottom: var(--space-4);
}

.page-hero p {
  color: var(--color-muted);
}

.page-hero-visual {
  position: relative;
}

.page-hero-visual img {
  position: relative;
  z-index: 1;
  margin-inline: auto;
}

.page-hero-blob {
  position: absolute;
  left: -6%;
  bottom: -10%;
  width: 62%;
  height: 62%;
  background: var(--color-primary);
  opacity: 0.14;
  border-radius: 50%;
  z-index: 0;
}

.page-hero-inner--stacked {
  grid-template-columns: 1fr;
  gap: 14px;
  text-align: center;
}

.page-hero-inner--stacked .page-hero-visual {
  max-width: 640px;
  margin-inline: auto;
}

.page-hero-inner--stacked p {
  max-width: 640px;
  margin-inline: auto;
}

.page-hero-inner--stacked .page-hero-visual img {
  max-width: 640px;
  width: 100%;
}

@media (max-width: 860px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
    padding-block: var(--space-7);
    text-align: center;
  }
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: var(--space-5);
}

.scroll-cue i {
  color: var(--color-primary);
  font-size: 1.25rem;
  animation: scroll-cue-bounce 1.6s ease-in-out infinite;
}

.scroll-cue i:nth-child(1) {
  animation-delay: 0s;
}

.scroll-cue i:nth-child(2) {
  animation-delay: 0.15s;
  opacity: 0.7;
}

.scroll-cue i:nth-child(3) {
  animation-delay: 0.3s;
  opacity: 0.45;
}

@keyframes scroll-cue-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* ── JEZDÍCÍ PROUŽEK ──────────────────────────────────────── */
.ticker-strip {
  background: var(--color-primary);
  padding: var(--space-4) 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-white);
  font-weight: 500;
}

.ticker-star {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 var(--space-7);
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ── VLNKOVÝ PŘECHOD MEZI SEKCEMI ─────────────────────────── */
.wave-divider {
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 48px;
}

/* Varianta pro přechod z gradientu: vlnka se položí přes spodek
   předchozí sekce, aby nevznikal barevný pruh */
.wave-divider--overlap {
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── KARTY FUNKCÍ (Proč Velín) ────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-pink);
  color: var(--color-primary);
  font-size: 2.75rem;
  margin-bottom: var(--space-4);
}

.feature-card-icon i {
  transform: translate(-9px, -7px);
  transition: transform 0.25s ease;
}

.feature-card:hover .feature-card-icon i {
  transform: translate(-9px, -7px) rotate(-14deg);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
}

.feature-card p {
  color: var(--color-muted);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-7);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 600;
}

.link-arrow:hover {
  color: var(--color-secondary-dark);
}

.feature-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ── PRO KOHO ─────────────────────────────────────────────── */
.section-lg {
  padding-block: calc(var(--space-8) + var(--space-6));
}

.pro-koho-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-8);
  align-items: start;
}

.pro-koho-text h2 {
  margin-bottom: var(--space-5);
}

.pro-koho-text p {
  color: var(--color-muted);
  margin-top: var(--space-4);
}

.pro-koho-text p.pro-koho-highlight {
  font-weight: 600;
  color: var(--color-primary);
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-4);
  margin: var(--space-6) 0;
}

.pro-koho-bento-wrap {
  position: relative;
}

.pro-koho-blob {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 55%;
  height: 55%;
  background: var(--color-primary);
  opacity: 0.14;
  border-radius: 50%;
  z-index: 0;
}

.pro-koho-bento {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 130px);
  gap: var(--space-4);
}

.pro-koho-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.pro-koho-tile img {
  transition: transform 0.35s ease;
}

.pro-koho-tile:hover img {
  transform: rotate(-6deg) scale(1.2);
}

.tile-a {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.tile-b {
  grid-column: 3;
  grid-row: 1;
}

.tile-c {
  grid-column: 4;
  grid-row: 1;
}

.tile-h {
  grid-column: 3 / 5;
  grid-row: 2;
}

.tile-d {
  grid-column: 4;
  grid-row: 3;
}

.tile-e {
  grid-column: 1;
  grid-row: 3;
}

.tile-f {
  grid-column: 2 / 4;
  grid-row: 3;
}

.pro-koho-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-pink);
  color: var(--color-primary-light);
  font-size: 2rem;
}

.pro-koho-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-a img,
.tile-b img {
  object-position: center 15%;
}

.tile-h img {
  object-position: center top;
}

.pro-koho-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-3);
  background: linear-gradient(0deg, rgba(227, 40, 125, 0.85) 0%, rgba(227, 40, 125, 0) 60%);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pro-koho-tile:hover .pro-koho-overlay {
  opacity: 1;
}

@media (max-width: 860px) {
  .pro-koho-wrap {
    grid-template-columns: 1fr;
  }

  .pro-koho-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 150px);
  }

  .tile-a,
  .tile-b,
  .tile-c,
  .tile-d,
  .tile-e,
  .tile-f,
  .tile-h {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ── NÁHLED APPKY ─────────────────────────────────────────── */
.showcase-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.showcase-switch-btn {
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.showcase-switch-btn.is-active {
  background: var(--color-secondary);
  color: var(--color-white);
}

.app-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.carousel-track {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.carousel-slide {
  position: relative;
  flex-shrink: 0;
  width: 190px;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  opacity: 0.55;
  transform: scale(0.85);
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease, width 0.35s ease;
}

.carousel-slide img {
  width: 100%;
}

.carousel-slide.is-active {
  width: 460px;
  opacity: 1;
  transform: scale(1);
  box-shadow: var(--shadow-image);
  z-index: 1;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  color: var(--color-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--color-bg-pink);
}

@media (max-width: 700px) {
  .carousel-slide {
    width: 70px;
  }

  .carousel-slide.is-active {
    width: 160px;
  }

  .carousel-track {
    gap: var(--space-2);
  }

  .app-carousel {
    gap: var(--space-2);
  }
}

/* ── LIGHTBOX ─────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--space-7);
  background: rgba(26, 26, 26, 0.9);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-image);
}

.lightbox-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.lightbox-close:hover {
  background: var(--color-bg-pink);
}

/* ── ZÁVĚREČNÉ CTA ────────────────────────────────────────── */
.cta-band {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

.cta-band h2 {
  color: var(--color-white);
}

.cta-band p {
  margin: var(--space-4) auto var(--space-6);
  color: var(--color-white);
  opacity: 0.92;
}

/* ── HOTSPOT SCÉNA (Co to umí) ────────────────────────────── */
.hotspot-scene {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
}

.hotspot-bg-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-image);
}

.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.hotspot-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-card);
  color: var(--color-white);
  font-size: 1.1875rem;
  transition: transform 0.2s ease;
}

.hotspot-btn:hover {
  transform: scale(1.12);
}

.hotspot-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(227, 40, 125, 0.35);
  animation: hs-pulse 2s ease-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes hs-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}

.hotspot-popup {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: var(--space-3);
  min-width: 260px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 30;
}

.hotspot-popup.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hotspot-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--color-white);
}

.hotspot-popup img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
}

.hotspot-popup-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}

.hotspot[data-dir="down"] .hotspot-popup {
  bottom: auto;
  top: calc(100% + 14px);
  transform: translateX(-50%) translateY(-8px);
}

.hotspot[data-dir="down"] .hotspot-popup.active {
  transform: translateX(-50%) translateY(0);
}

.hotspot[data-dir="down"] .hotspot-popup::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: var(--color-white);
}

.hotspot[data-dir="left"] .hotspot-popup {
  bottom: auto;
  top: 50%;
  left: auto;
  right: calc(100% + 14px);
  transform: translateY(-50%) translateX(8px);
}

.hotspot[data-dir="left"] .hotspot-popup.active {
  transform: translateY(-50%) translateX(0);
}

.hotspot[data-dir="left"] .hotspot-popup::after {
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-top-color: transparent;
  border-left-color: var(--color-white);
}

.hotspot[data-dir="right"] .hotspot-popup {
  bottom: auto;
  top: 50%;
  left: calc(100% + 14px);
  transform: translateY(-50%) translateX(-8px);
}

.hotspot[data-dir="right"] .hotspot-popup.active {
  transform: translateY(-50%) translateX(0);
}

.hotspot[data-dir="right"] .hotspot-popup::after {
  top: 50%;
  left: auto;
  right: 100%;
  transform: translateY(-50%);
  border-top-color: transparent;
  border-right-color: var(--color-white);
}

@media (max-width: 700px) {
  .hotspot-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9375rem;
  }

  .hotspot-ring {
    width: 38px;
    height: 38px;
  }

  .hotspot-popup {
    min-width: 110px;
    max-width: 170px;
    padding: var(--space-2) var(--space-3);
  }

  .hotspot-popup img {
    display: none;
  }
}

/* ── REFERENCE (Co to umí) ────────────────────────────────── */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.ref-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ref-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.ref-quote-icon {
  color: var(--color-primary-light);
  font-size: 1.75rem;
  margin-bottom: var(--space-3);
}

.ref-excerpt {
  color: var(--color-muted);
  flex: 1;
}

.ref-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-secondary);
  cursor: pointer;
}

.ref-more:hover {
  color: var(--color-secondary-dark);
}

.ref-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.ref-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.ref-author-name {
  font-weight: 600;
  color: var(--color-text);
}

.ref-author-role {
  font-size: 0.875rem;
  color: var(--color-muted);
}

@media (max-width: 860px) {
  .ref-grid {
    grid-template-columns: 1fr;
  }
}

/* ── VIDEO PLACEHOLDERY (Co to umí) ───────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-placeholder:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.video-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-pink);
  color: var(--color-primary);
  font-size: 1.5rem;
  padding-left: 4px;
  transition: transform 0.25s ease;
}

.video-placeholder:hover .video-play {
  transform: scale(1.1);
}

.video-label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

@media (max-width: 860px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* ── MODAL S CELOU REFERENCÍ ──────────────────────────────── */
.ref-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: rgba(26, 26, 26, 0.55);
}

.ref-modal.is-open {
  display: flex;
}

.ref-modal-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-image);
  padding: var(--space-7);
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
}

.ref-modal-card .ref-quote-icon {
  font-size: 2.25rem;
}

.ref-modal-text {
  color: var(--color-muted);
  white-space: pre-line;
}

.ref-modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-pink);
  color: var(--color-primary);
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.ref-modal-close:hover {
  background: var(--color-primary-light);
}

/* ── PATIČKA ──────────────────────────────────────────────── */
.footer {
  background: var(--color-bg-teal);
  padding-top: var(--space-8);
  padding-bottom: var(--space-6);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  align-items: start;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}

.footer-photo {
  position: relative;
  width: 195px;
}

.footer-photo-frame {
  width: 195px;
  height: 195px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-image);
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-pink);
  color: var(--color-primary-light);
  font-size: 3rem;
}

.footer-photo-badge {
  position: absolute;
  right: -9px;
  bottom: -9px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  padding: 6px;
}

.footer-photo-badge svg {
  width: 100%;
  height: 100%;
}

.footer-contact,
.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact h4,
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.footer-contact a,
.footer-col a {
  text-decoration: none;
  color: var(--color-muted);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-contact a:hover,
.footer-col a:hover {
  color: var(--color-primary);
}

.footer-contact-name {
  font-weight: 600;
  color: var(--color-text);
}

.footer-col p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  max-width: none;
}

.footer-col a i,
.footer-contact a i {
  font-size: 0.75rem;
  margin-right: var(--space-1);
  color: var(--color-primary);
}

.footer-social-row {
  display: flex;
  gap: var(--space-3);
}

.footer-social-row a i {
  font-size: 2.25rem;
  margin-right: 0;
}

.footer-social-row a {
  color: var(--color-text);
}

.footer-social-row a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer-top-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  color: var(--color-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.footer-top-btn:hover {
  background: var(--color-bg-pink);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.footer-bottom-links a {
  text-decoration: none;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-photo {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-photo {
    margin-inline: auto;
  }

  .footer-social-row {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

/* ── CENÍK – PAGE HERO VARIANTA ───────────────────────────── */
.page-hero--cenik .page-hero-inner {
  padding-bottom: calc(var(--space-8) + 24px);
}

.page-hero--cenik .page-hero-text {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.page-hero--cenik .page-hero-text p {
  color: var(--color-muted);
  margin-inline: auto;
  margin-top: var(--space-4);
}

/* ── CENÍK – PRICING GRID ─────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-7) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

/* Zvýrazněná varianta – roční předplatné */
.pricing-card--featured {
  background: linear-gradient(145deg, var(--color-bg-pink) 0%, var(--color-white) 60%);
  border: 2px solid var(--color-primary);
  box-shadow: 0 8px 40px rgba(227, 40, 125, 0.16);
}

.pricing-card--featured:hover {
  box-shadow: 0 14px 50px rgba(227, 40, 125, 0.24);
}

/* Štítek "Ušetříš" */
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: var(--space-1) var(--space-5);
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Hlavička karty */
.pricing-card-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Ikona – stejný styl jako .feature-card-icon na Domů / Co to umí */
.pricing-plan-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-pink);
  color: var(--color-primary);
  font-size: 2.75rem;
  flex-shrink: 0;
  margin-bottom: var(--space-2);
}

.pricing-plan-icon i {
  transform: translate(-9px, -7px);
  transition: transform 0.25s ease;
}

.pricing-card:hover .pricing-plan-icon i {
  transform: translate(-9px, -7px) rotate(-14deg);
}

.pricing-plan-icon--teal {
  background: var(--color-bg-teal);
  color: var(--color-secondary);
}

.pricing-plan-icon--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Hvězdička – tmavě růžová ikona, světle růžové kolečko */
.pricing-plan-icon--star {
  background: var(--color-bg-pink);
  color: var(--color-primary);
}

/* Název plánu */
.pricing-plan-name {
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.5rem);
  color: var(--color-text);
  margin: 0;
}

/* Cena */
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw + 1rem, 2.75rem);
  color: var(--color-primary);
  line-height: 1;
}

.pricing-card--featured .pricing-amount {
  color: var(--color-primary);
}

.pricing-unit {
  font-size: 1rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* Perioda */
.pricing-period {
  font-size: 0.875rem;
  color: var(--color-secondary);
  font-weight: 600;
  max-width: none;
  margin: 0;
}

/* Popis */
.pricing-desc {
  color: var(--color-muted);
  font-size: 0.9375rem;
  max-width: none;
  flex-grow: 1;
  margin: 0;
}

/* Tlačítko */
.pricing-btn {
  width: 100%;
  margin-top: auto;
  text-align: center;
}

/* ── CENÍK – FEATURES BOX ─────────────────────────────────── */
.features-box {
  max-width: 860px;
  margin-inline: auto;
  background: var(--color-bg-teal);
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius);
  padding: var(--space-7) var(--space-8);
  box-shadow: 0 4px 24px rgba(45, 134, 124, 0.1);
}

/* ── CENÍK – FEATURES LIST ────────────────────────────────── */
.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4) var(--space-8);

}

.features-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

.features-list-item i {
  color: var(--color-secondary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── CENÍK – RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  /* Na tabletu a mobilu – zvýrazněná karta na vrch */
  .pricing-card--featured {
    order: -1;
  }
}

@media (max-width: 640px) {
  .features-box {
    padding: var(--space-5) var(--space-4);
  }
  .features-list {
    grid-template-columns: 1fr;
  }
}

