

/* ═══ Terms page — warning callout ═══ */
.terms-warn {
  border-left: 4px solid #D46A1E;
  background: #FFF4EC;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
  line-height: 1.55;
  color: #3A2A12
}

.terms-warn strong {
  color: #A33E00
}

.about-dark .terms-warn {
  background: rgba(255, 255, 255, .06);
  border-left-color: #FFB067;
  color: #F5E9D6
}

.about-dark .terms-warn strong {
  color: #FFB067
}

.pg-about .terms-body ul,
.pg-about .terms-body p {
  color: var(--ink);
  line-height: 1.65;
  font-size: 15px
}

.pg-about .about-dark .terms-body ul,
.pg-about .about-dark .terms-body p {
  color: rgba(255, 255, 255, .86)
}

.pg-about .terms-body ul {
  padding-left: 22px;
  margin: 8px 0 18px
}

.pg-about .terms-body ul li {
  margin-bottom: 6px
}

.pg-about .terms-body h3 {
  font-family: var(--fd, inherit);
  font-size: 18px;
  margin: 24px 0 8px;
  color: inherit
}

.pg-about .terms-body a {
  color: var(--orange);
  text-decoration: underline
}

.pg-about .about-dark .terms-body a {
  color: #FFB067
}

.pg-about .terms-meta {
  font-size: 12px;
  opacity: .7;
  margin-top: 8px;
  letter-spacing: .3px
}

/* ═══ About page — layout, icons, reveal animations ═══ */
.pg-about .home-sec,
.pg-about .about-sec {
  padding: 48px 24px
}

.pg-about .home-sec-inner {
  max-width: 1180px;
  margin: 0 auto
}

.pg-about .about-head {
  padding: 28px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 20px;
  flex-wrap: nowrap
}

.pg-about .about-head>.home-sec-title {
  margin: 0;
  text-align: left
}

.pg-about .about-head.center {
  justify-content: center;
  text-align: center
}

.pg-about .about-head-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 90, 31, .1);
  color: var(--orange);
  border-radius: 14px;
  flex-shrink: 0
}

.pg-about .about-head-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.75
}

.pg-about .about-dark .about-head-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff
}

.pg-about .about-lead {
  font-size: 15px;
  line-height: 1.75;
  color: #4b5563;
  max-width: 820px;
  margin: 0 0 28px
}

.pg-about .about-dark .about-lead {
  color: rgba(255, 255, 255, .72)
}

.pg-about .about-grid-5,
.pg-about .about-grid-3,
.pg-about .about-grid-4 {
  display: grid;
  gap: 16px
}

.pg-about .about-grid-5 {
  grid-template-columns: repeat(5, 1fr)
}

.pg-about .about-grid-4 {
  grid-template-columns: repeat(4, 1fr)
}

.pg-about .about-grid-3 {
  grid-template-columns: repeat(3, 1fr)
}

.pg-about .card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.pg-about .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -10px rgba(18, 20, 23, .18);
  border-color: rgba(255, 255, 255, .72)
}

.pg-about .about-grid-5 .card {
  text-align: center
}

.pg-about .about-step-num {
  font-family: var(--fd);
  font-size: 26px;
  color: var(--orange);
  text-align: center;
  letter-spacing: -.5px;
  line-height: 1;
  margin-bottom: 10px
}

.pg-about .about-mini-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 90, 31, .1);
  color: var(--orange);
  border-radius: 10px;
  margin-bottom: 10px
}

.pg-about .about-mini-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75
}

.pg-about .about-money-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: start
}

.pg-about .about-money-card {
  background: #1b1e22;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 24px
}

/* Pruh o aplikaci (push upozornění / aplikace jezdce) pod mřížkou karet */
.pg-about .about-push {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 20px 22px;
  background: #121417;
  color: #fff;
  border-radius: 14px
}

.pg-about .about-push-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 90, 31, .16);
  color: #ff5a1f
}

.pg-about .about-push-icon svg {
  width: 22px;
  height: 22px
}

.pg-about .about-push h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px
}

.pg-about .about-push p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
  margin: 0;
  max-width: 720px
}

.pg-about .about-push .btn {
  white-space: nowrap
}

.pg-about .about-cta {
  text-align: center
}

.pg-about .about-cta .home-sec-title {
  color: #fff
}

/* Reveal — scroll-triggered card cascade */
.pg-about .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .7s cubic-bezier(.22, .61, .36, 1)
}

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

.pg-about .pop-grid>.reveal:nth-child(1),
.pg-about .about-grid-5>.reveal:nth-child(1),
.pg-about .about-grid-4>.reveal:nth-child(1),
.pg-about .about-grid-3>.reveal:nth-child(1) {
  transition-delay: .05s
}

.pg-about .pop-grid>.reveal:nth-child(2),
.pg-about .about-grid-5>.reveal:nth-child(2),
.pg-about .about-grid-4>.reveal:nth-child(2),
.pg-about .about-grid-3>.reveal:nth-child(2) {
  transition-delay: .13s
}

.pg-about .pop-grid>.reveal:nth-child(3),
.pg-about .about-grid-5>.reveal:nth-child(3),
.pg-about .about-grid-4>.reveal:nth-child(3),
.pg-about .about-grid-3>.reveal:nth-child(3) {
  transition-delay: .21s
}

.pg-about .pop-grid>.reveal:nth-child(4),
.pg-about .about-grid-5>.reveal:nth-child(4),
.pg-about .about-grid-4>.reveal:nth-child(4) {
  transition-delay: .29s
}

.pg-about .pop-grid>.reveal:nth-child(5),
.pg-about .about-grid-5>.reveal:nth-child(5) {
  transition-delay: .37s
}

.pg-about .pop-grid>.reveal:nth-child(6) {
  transition-delay: .45s
}

.pg-about .pop-grid>.reveal:nth-child(7) {
  transition-delay: .53s
}

.pg-about .pop-grid>.reveal:nth-child(8) {
  transition-delay: .61s
}

.pg-about .pop-grid>.reveal:nth-child(9) {
  transition-delay: .69s
}

@media (max-width: 1024px) {
  .pg-about .about-grid-5 {
    grid-template-columns: repeat(3, 1fr)
  }

  .pg-about .about-grid-4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .pg-about .about-grid-3 {
    grid-template-columns: repeat(2, 1fr)
  }

  .pg-about .about-money-grid {
    grid-template-columns: 1fr;
    gap: 24px
  }
}

@media (max-width: 640px) {

  .pg-about .home-sec,
  .pg-about .about-sec {
    padding: 32px 16px
  }

  .pg-about .about-head {
    padding: 20px 0;
    gap: 14px
  }

  .pg-about .about-head-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px
  }

  .pg-about .about-head-icon svg {
    width: 24px;
    height: 24px
  }

  .pg-about .about-grid-5,
  .pg-about .about-grid-4,
  .pg-about .about-grid-3 {
    grid-template-columns: 1fr
  }

  .pg-about .about-push {
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 18px 16px
  }

  .pg-about .about-push .btn {
    grid-column: 1 / -1;
    width: 100%;
    white-space: normal
  }
}

@media (prefers-reduced-motion: reduce) {
  .pg-about .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }
}

/* ═══ Contact page — dark form card inputs ═══ */
.contact-dark-card .inp {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .15);
  color: #fff
}

.contact-dark-card .inp:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, .1);
  outline: none
}

.contact-dark-card .inp::placeholder {
  color: rgba(255, 255, 255, .3)
}

/* ── Spodní lišta s ikonami (mobile only) — #home, #about, #lektori, katalogy ── */
.about-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .about-sticky-cta {
    display: flex;
    align-items: stretch;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    z-index: 800;
    padding: 0 4px env(safe-area-inset-bottom);
    background: #111111;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .about-sticky-cta.hidden {
    display: none;
  }

  .about-sticky-cta .tab {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 9px 2px 8px;
    color: #d6d8dc;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .about-sticky-cta .tab img {
    width: 30px;
    height: 30px;
    display: block;
  }

  .about-sticky-cta .tab span {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-align: center;
  }

  .about-sticky-cta .tab-cta span {
    color: #FF501A;
  }

  /* aktivní stránka: oranžová linka nahoře + popisek */
  .about-sticky-cta .tab[aria-current="page"] {
    color: #FF501A;
  }

  .about-sticky-cta .tab[aria-current="page"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22%;
    right: 22%;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: #FF501A;
    pointer-events: none;
  }

  .about-sticky-cta .tab:active img {
    transform: scale(.92);
  }

  .about-sticky-cta .tab:focus-visible {
    outline: 2px solid #FF501A;
    outline-offset: -2px;
    border-radius: 8px;
  }

  #pg-about,
  #pg-home,
  #pg-lektori,
  #pg-lektor {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 359px) {
  .about-sticky-cta {
    padding-inline: 0;
  }

  .about-sticky-cta .tab {
    padding-inline: 0;
  }

  .about-sticky-cta .tab span {
    font-size: 8.5px;
    letter-spacing: 0;
  }
}