/* Casento v2 — mobile conversion homepage */
:root {
  --bg: #080b0e;
  --bg-2: #0b0e11;
  --card: #11171c;
  --card-2: #151b21;
  --panel: #10161b;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #f8f6f1;
  --muted: #a8abb0;
  --cream: #f6d9b0;
  --cream-2: #f9e1bd;
  --cream-btn: #f7ddb8;
  --cream-ink: #111111;
  --green: #4ed38a;
  --gold-star: #f5c15d;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 20px;
  --pill: 999px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
  --script: 'Caveat', cursive;
  --cta-h: 64px;
  --pad-x: 24px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
em.accent {
  font-style: normal;
  color: var(--cream);
}

.app {
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  background: var(--bg);
  overflow-x: clip;
}
.app.has-sticky {
  padding-bottom: calc(88px + var(--safe-b));
}
@media (min-width: 1025px) {
  .app {
    max-width: 1200px;
  }
}

/* atmospheric bg on wizard */
.screen--scene {
  position: relative;
  isolation: isolate;
}
.screen--scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/img/bg-mountains.png') center/cover no-repeat;
  opacity: 0.28;
  z-index: -2;
  pointer-events: none;
}
.screen--scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 14, 0.72), rgba(8, 11, 14, 0.96) 55%, #080b0e);
  z-index: -1;
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  height: 72px;
  padding: 0 var(--pad-x);
  background: #080b0e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.brand {
  text-align: center;
  font-weight: 700;
  font-size: 1.625rem;
  letter-spacing: -0.01em;
  color: var(--text);
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
}
.cart-badge {
  position: relative;
}
.cart-badge .n {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--cream);
  color: #111;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.screen {
  display: none;
}
.screen.is-active {
  display: block;
  animation: in 0.25s ease;
}
@keyframes in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.wrap {
  padding: 8px 16px 20px;
}

.script {
  font-family: var(--script);
  color: var(--cream);
  font-weight: 600;
  line-height: 1.05;
}
.script--hero {
  font-size: 1.05rem;
  transform: rotate(-9deg);
  display: inline-block;
  text-align: center;
  line-height: 1.05;
  flex-shrink: 0;
  margin-top: 4px;
}
.script--side {
  font-size: 1.15rem;
  transform: rotate(-7deg);
  max-width: 110px;
  text-align: center;
}
.heart {
  display: inline-block;
}

/* Progress — mockup style with labels */
.prog {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 18px;
}
.prog__steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}
.prog__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 44px;
}
.prog__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: #1a1a1a;
  color: #aaa;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.prog__item.is-active .prog__dot,
.prog__item.is-done .prog__dot {
  background: var(--cream);
  border-color: var(--cream);
  color: #111;
}
.prog__name {
  font-size: 0.65rem;
  color: var(--muted);
}
.prog__item.is-active .prog__name {
  color: var(--cream);
}
.prog__line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 4px 18px;
}
.prog__line.is-on {
  background: var(--cream);
}
.prog__label {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

/* Buttons */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 100%;
  height: var(--cta-h);
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.12s ease, opacity 0.12s ease, filter 0.15s ease;
}
.btn:active {
  transform: scale(0.985);
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-cream,
.btn-primary {
  background: var(--cream-btn);
  color: var(--cream-ink);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}
@media (hover: hover) {
  .btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
  }
}
.btn-outline {
  background: #141a20;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  height: 54px;
  box-shadow: none;
}
.sticky {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 100%);
  bottom: 0;
  z-index: 60;
  padding: 10px 16px calc(12px + var(--safe-b));
  background: linear-gradient(180deg, transparent, rgba(8, 11, 14, 0.85) 30%, var(--bg));
}
.sticky .btn {
  height: 54px;
  font-size: 0.88rem;
}
@media (min-width: 1025px) {
  .sticky {
    width: min(1200px, 100%);
  }
}
.sticky .mini-trust {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.68rem;
  margin-top: 8px;
}
.sticky .mini-trust .sep {
  opacity: 0.4;
}

/* ===== LANDING HOME ===== */
.home {
  padding: 0 0 calc(28px + var(--safe-b));
}

.hero {
  position: relative;
  padding: 0;
  margin: 0;
  animation: heroIn 0.45s ease both;
}
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero,
  .screen.is-active {
    animation: none;
  }
}

/* Mobile: fotka = hero plocha, text přes ni, stejná výška jako dřív */
.hero__media {
  position: relative;
  z-index: 0;
  margin: 0;
  height: clamp(300px, 88vw, 360px);
  overflow: hidden;
  background: #0a0d10;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(8, 11, 14, 0.92) 0%,
      rgba(8, 11, 14, 0.72) 38%,
      rgba(8, 11, 14, 0.58) 62%,
      rgba(8, 11, 14, 0.82) 100%
    );
}

.hero__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px var(--pad-x) 18px;
  box-sizing: border-box;
}

.hero__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.72);
}

.hero__title {
  margin: 12px 0 0;
  max-width: 320px;
  font-size: clamp(2.2rem, 9.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hero__title-accent {
  color: var(--cream);
}

.hero__lead {
  margin: 12px 0 0;
  max-width: 300px;
  font-size: 1.05rem;
  line-height: 1.42;
  font-weight: 500;
  color: rgba(248, 246, 241, 0.95);
}

.hero__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: auto 0 10px;
}
.hero__price-od {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
}
.hero__price-val {
  font-size: clamp(2rem, 8.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cream);
  line-height: 1;
}

.hero__cta {
  margin-top: 0;
  max-width: 340px;
  width: 100%;
  height: 56px;
  font-size: 0.9rem;
}

/* Trust bar */
.trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 28px var(--pad-x) 0;
  padding: 8px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #0c1014;
}
.trust__col {
  text-align: left;
  padding: 16px 18px;
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 4px;
  align-items: center;
  justify-items: start;
  min-width: 0;
}
.trust__col + .trust__col::before {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  bottom: auto;
  width: auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.trust__col > .trust__stars {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 72px;
  margin: 0;
  padding: 0;
  grid-row: 1 / 3;
  grid-column: 1;
  justify-self: center;
  align-self: center;
}
.trust__col > .trust__stars .trust__stars-top,
.trust__col > .trust__stars .trust__stars-bot {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.trust__col > .trust__stars svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
}
.trust__col > .trust__stars svg path {
  fill: #f5c15d;
}
.review-card .trust__stars {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  width: auto;
  color: #f5c15d;
}
.review-card .trust__stars svg {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}
.review-card .trust__stars svg path {
  fill: #f5c15d;
}
.trust__ico {
  display: block;
  margin: 0;
  color: var(--text);
  width: 26px;
  height: 26px;
  grid-row: 1 / 3;
  grid-column: 1;
  justify-self: center;
  align-self: center;
}
.trust__col strong {
  display: block;
  width: auto;
  margin: 0;
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
  grid-column: 2;
  grid-row: 1;
}
.trust__col span {
  display: block;
  width: auto;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
  white-space: normal;
  grid-column: 2;
  grid-row: 2;
}
@media (min-width: 640px) {
  .trust {
    grid-template-columns: repeat(3, 1fr);
    padding: 24px 10px 26px;
  }
  .trust__col {
    text-align: center;
    padding: 4px 8px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 28px auto auto;
    justify-items: center;
    align-items: start;
    gap: 8px;
    column-gap: 0;
    row-gap: 0;
  }
  .trust__col + .trust__col::before {
    left: 0;
    right: auto;
    top: 10%;
    bottom: 10%;
    width: 1px;
    height: auto;
  }
  .trust__col > .trust__stars {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: auto;
    height: 28px;
    grid-row: auto;
    grid-column: auto;
    margin-bottom: 0;
  }
  .trust__col > .trust__stars .trust__stars-top,
  .trust__col > .trust__stars .trust__stars-bot {
    display: contents;
  }
  .trust__col > .trust__stars svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }
  .trust__ico {
    grid-row: auto;
    grid-column: auto;
    justify-self: center;
    width: 24px;
    height: 24px;
  }
  .trust__col strong,
  .trust__col span {
    width: 100%;
    grid-column: auto;
    grid-row: auto;
    white-space: nowrap;
  }
  .trust__col strong {
    font-size: 1rem;
    margin-top: 8px;
  }
  .trust__col span {
    font-size: 0.85rem;
  }
}
@media (min-width: 1025px) {
  .trust__col strong {
    font-size: 1.05rem;
  }
  .trust__col span {
    font-size: 0.9rem;
  }
  .trust__col > .trust__stars svg {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
  .trust__ico {
    width: 26px;
    height: 26px;
  }
}

/* How it works */
.how-wrap {
  margin: 36px var(--pad-x) 0;
  padding: 24px;
  background: #10161b;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.how-wrap__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 16px;
}
.how-wrap__head h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.how-wrap__sub {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: normal;
}

.how {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}
.how__card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 44px 18px 16px;
  text-align: left;
  min-width: 0;
  height: 104px;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  align-items: center;
  box-sizing: border-box;
}
.how__n {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.how__ico {
  display: block;
  margin: 0;
  color: var(--cream);
  width: 28px;
  height: 28px;
  grid-column: 1;
  grid-row: 1 / 3;
  justify-self: center;
}
.how__card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.25;
  grid-column: 2;
}
.how__card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
  grid-column: 2;
}
.how__arrow {
  display: none;
}
@media (min-width: 640px) {
  .how-wrap__head {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }
  .how-wrap__sub {
    white-space: nowrap;
    font-size: 0.75rem;
  }
  .how {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 6px;
    align-items: stretch;
  }
  .how__card {
    display: block;
    text-align: center;
    padding: 14px 8px 12px;
    height: auto;
    min-height: 148px;
  }
  .how__n {
    top: 8px;
    left: 8px;
    right: auto;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
  }
  .how__ico {
    margin: 4px auto 10px;
    width: 22px;
    height: 22px;
  }
  .how__card strong {
    font-size: 0.78rem;
    margin-bottom: 4px;
  }
  .how__card p {
    font-size: 0.68rem;
    line-height: 1.35;
  }
  .how__arrow {
    color: rgba(255, 255, 255, 0.35);
    align-self: center;
    display: grid;
    place-items: center;
  }
}

/* Reviews */
.reviews {
  margin: 36px var(--pad-x) 0;
  padding: 0;
}
.reviews-panel {
  padding: 24px;
  background: #131a21;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.reviews__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.reviews__head h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}
.review-card {
  min-width: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.review-card__top {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1a2229;
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.review-card img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.review-card .stars,
.review-card .trust__stars {
  color: var(--gold-star);
}
.review-card p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(248, 246, 241, 0.9);
  flex: 1;
}
.review-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: auto;
}
.review-card__name .ok {
  color: var(--gold-star);
  margin-left: 2px;
}
.reviews__actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}
.reviews__cta {
  max-width: 280px;
  height: 52px;
  font-size: 0.88rem;
}
@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .review-card {
    padding: 14px;
  }
  .review-card p {
    font-size: 0.78rem;
    line-height: 1.4;
  }
  .review-card__avatar,
  .review-card img {
    width: 40px;
    height: 40px;
  }
  .review-card__name {
    font-size: 0.82rem;
  }
}

.home-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 48px var(--pad-x) 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: rgba(246, 217, 176, 0.55);
}
.home-foot p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

/* Site footer */
.site-footer {
  display: none;
  margin: 28px var(--pad-x) 0;
  padding: 28px 22px calc(28px + var(--safe-b));
  background: #0d1116;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
}
.app:has([data-screen='landing'].is-active) .site-footer,
.app:has([data-screen='step1'].is-active) .site-footer,
.app:has([data-screen='step2'].is-active) .site-footer {
  display: block;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 22px;
}
.site-footer__logo {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.site-footer__tag {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}
.site-footer__mail {
  display: inline-block;
  color: var(--cream);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.site-footer__socials {
  display: flex;
  gap: 10px;
}
.site-footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text);
}
.site-footer__col h3 {
  margin: 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.site-footer__col a {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  padding: 5px 0;
  opacity: 0.88;
}
.site-footer__bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.site-footer__company {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 0.9rem;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.site-footer__legal a {
  color: var(--muted);
  font-size: 0.78rem;
}
.site-footer__copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}
.site-footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.site-footer__pay span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
}
@media (max-width: 700px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 420px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Review form fields */
.review-form {
  display: grid;
  gap: 12px;
}
.review-form__field {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(248, 246, 241, 0.78);
}
.review-form__field em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.7;
}
.review-form__field input,
.review-form__field select,
.review-form__field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c1014;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.review-form__field textarea {
  resize: none;
  min-height: 0;
  height: 88px;
  line-height: 1.4;
  overflow: hidden;
}
.review-form__field input::placeholder,
.review-form__field textarea::placeholder {
  color: rgba(168, 171, 176, 0.7);
}
.review-form__field input:focus,
.review-form__field select:focus,
.review-form__field textarea:focus {
  border-color: rgba(246, 217, 176, 0.55);
  box-shadow: 0 0 0 3px rgba(246, 217, 176, 0.1);
}
.review-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}
.review-form__status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.95rem;
  color: var(--green);
}
.review-form__status.is-error {
  color: #ff8b8b;
}
.review-form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}
.review-form__actions .btn {
  width: auto;
  min-width: 0;
  height: 46px;
  padding: 0 20px;
  font-size: 0.88rem;
  border-radius: 14px;
}
.review-form__actions .btn-primary {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

/* Desktop hero split */
@media (min-width: 1025px) {
  .home {
    padding-bottom: calc(48px + var(--safe-b));
  }
  .topbar {
    padding: 0 32px;
  }
  .hero {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: center;
    padding: 48px 32px 8px;
  }
  .hero__copy {
    order: 1;
    position: relative;
    inset: auto;
    padding: 0;
    display: block;
  }
  .hero__media {
    order: 2;
    height: 520px;
    border-radius: 20px;
    margin: 0;
  }
  .hero__media::before {
    display: none;
  }
  .hero__title {
    margin: 20px 0 0;
    font-size: 3.4rem;
    max-width: none;
  }
  .hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
  }
  .hero__lead {
    margin: 14px 0 0;
    max-width: 420px;
    font-size: 1.125rem;
    line-height: 1.45;
  }
  .hero__price {
    margin: 22px 0 0;
    gap: 10px;
  }
  .hero__price-od {
    font-size: 1.4rem;
  }
  .hero__price-val {
    font-size: 2.75rem;
  }
  .hero__cta {
    margin-top: 18px;
    height: 68px;
    font-size: 0.98rem;
  }
  .trust {
    margin: 36px 32px 0;
    padding: 26px 18px;
  }
  .how-wrap,
  .reviews,
  .home-foot,
  .site-footer {
    margin-left: 32px;
    margin-right: 32px;
  }
  .how-wrap {
    margin-top: 48px;
    padding: 30px 28px;
  }
  .reviews {
    margin-top: 48px;
    padding: 0;
  }
  .reviews-panel {
    padding: 30px 28px;
  }
  .home-foot {
    margin-top: 56px;
  }
  .site-footer {
    margin-top: 32px;
  }
  .how {
    gap: 14px;
    align-items: stretch;
  }
  .how__card {
    min-height: 200px;
    padding: 28px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .how__n {
    top: 14px;
    left: 14px;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
  .how__ico {
    width: 32px;
    height: 32px;
    margin: 8px auto 14px;
  }
  .how__card strong {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }
  .how__card p {
    font-size: 0.92rem;
    line-height: 1.45;
    max-width: 16em;
  }
  .how__arrow svg {
    width: 22px;
    height: 22px;
  }
  .reviews {
    padding: 0;
  }
  .reviews-panel {
    padding: 28px;
  }
  .reviews-grid {
    gap: 14px;
  }
  .review-card {
    padding: 20px;
    min-height: 200px;
  }
  .review-card p {
    font-size: 0.95rem;
    line-height: 1.45;
  }
  .review-card__avatar {
    width: 48px;
    height: 48px;
  }
}

.price {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 800;
}

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 12px;
}
.sec-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}
.sec-head .sub,
.sec-head a {
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}
.sec-head a {
  color: var(--cream);
}

.foot-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 8px;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.foot-line::before,
.foot-line::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--line);
}

/* ===== STEP 1 (base tokens; final overrides after shared .page-title) ===== */
.results {
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  border: 1px solid rgba(150, 175, 200, 0.35);
  border-radius: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(52vh, 440px);
  -webkit-overflow-scrolling: touch;
  background: #11171d;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 6;
  animation: resultsIn 0.16s ease;
}
@keyframes resultsIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.results button {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  border-bottom: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 500;
}
.results button:active,
.results button.is-on,
.results button[aria-selected='true'] {
  background: rgba(255, 255, 255, 0.08);
}
@media (hover: hover) {
  .results button:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}
.results img {
  width: 42px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: #222;
}

.results-empty {
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 22, 28, 0.85);
}
.results-empty strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.results-empty span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* keep shared step title/search for step2+ */
.page-title {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  margin-bottom: 14px;
}
.page-title h1 {
  margin: 0 0 6px;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
}
.page-title p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.search {
  position: relative;
  margin-bottom: 10px;
}
.search input {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(22, 22, 22, 0.92);
  color: #fff;
  padding: 0 42px;
  outline: none;
  font-size: 1rem;
}
.search input:focus {
  border-color: rgba(243, 215, 184, 0.55);
}
.search__ico,
.search__x {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #bbb;
}
.search__ico {
  left: 14px;
  pointer-events: none;
}
.search__x {
  right: 8px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  color: #fff;
}

.block-label {
  margin: 4px 0 10px;
  font-size: 0.92rem;
  font-weight: 700;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.pill {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 20, 20, 0.9);
  color: #cfcfcf;
  border-radius: var(--pill);
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.pill.is-on {
  border-color: var(--cream);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--cream);
}

.compat-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 8px;
  align-items: end;
  margin: 8px 0 16px;
  min-height: 120px;
}
.compat {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.compat strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}
.compat span {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}
.compat-visual {
  position: relative;
  text-align: right;
}
.compat-visual img {
  width: 110px;
  margin-left: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}
.compat-visual .script {
  position: absolute;
  left: -40px;
  top: 8px;
  font-size: 1rem;
  max-width: 100px;
}

/* ===== STEP 2 ===== */
.step2-layout,
.step2-main {
  display: block;
}
/* Mobile: kryt hned pod pokročilými úpravami (před sticky CTA) */
@media (max-width: 1024px) {
  .screen--step2 .step2-layout {
    display: flex;
    flex-direction: column;
    padding-bottom: 140px;
  }
  .screen--step2 .step2-main,
  .screen--step2 .wrap--step2 {
    display: contents;
  }
  .screen--step2 .wrap--step2 {
    padding: 0;
  }
  .screen--step2 .prog.prog--step2,
  .screen--step2 .page-title.page-title--step2,
  .screen--step2 .drop.drop--step2,
  .screen--step2 .photo-stage {
    margin-left: 24px;
    margin-right: 24px;
  }
  .screen--step2 .prog.prog--step2 {
    padding-top: 28px;
  }
  .screen--step2 .step2-hero {
    order: 2;
    margin-top: 20px;
  }
  .screen--step2 .sticky.sticky--step2 {
    order: 3;
  }
}
@media (max-width: 1024px) and (max-width: 359px) {
  .screen--step2 .prog.prog--step2,
  .screen--step2 .page-title.page-title--step2,
  .screen--step2 .drop.drop--step2,
  .screen--step2 .photo-stage {
    margin-left: 18px;
    margin-right: 18px;
  }
  .screen--step2 .prog.prog--step2 {
    padding-top: 22px;
  }
}
.step2-hero {
  display: block;
  margin: 18px 24px 0;
  border-radius: 20px;
  overflow: visible;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, #1a2229 0%, #0c1014 55%, #080b0e 100%);
}
.step2-hero__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.step2-hero__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 16, 20, 0.88);
  color: #f8f6f1;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 2;
}
.step2-hero__back[hidden] {
  display: none !important;
}
.step2-hero__back:disabled {
  opacity: 0.4;
  cursor: default;
  border-color: rgba(255, 255, 255, 0.12);
  color: #9a9ea3;
}
.step2-hero__back:disabled:hover {
  border-color: rgba(255, 255, 255, 0.12);
  color: #9a9ea3;
}
.step2-hero__back:hover {
  border-color: var(--cream, #f7ddb8);
  color: var(--cream, #f7ddb8);
}
.step2-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  z-index: 2;
  min-height: 44px;
}
.step2-hero__trash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
  border: 1.5px solid var(--cream, #f7ddb8);
  background: rgba(247, 221, 184, 0.16);
  color: var(--cream, #f7ddb8);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(247, 221, 184, 0.1);
}
.step2-hero__trash[hidden] {
  display: none !important;
}
.step2-hero__trash:hover,
.step2-hero__trash:focus-visible {
  background: rgba(247, 221, 184, 0.28);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(247, 221, 184, 0.18);
}
.step2-hero__trash:disabled {
  opacity: 1;
  cursor: pointer;
  border-color: var(--cream, #f7ddb8);
  background: rgba(247, 221, 184, 0.16);
  color: var(--cream, #f7ddb8);
}
.step2-hero__trash:disabled:hover {
  background: rgba(247, 221, 184, 0.28);
  border-color: #fff;
  color: #fff;
}
.step2-hero__mock.phone-scale {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: transparent;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.5));
}
.step2-hero__mock .phone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.step2-hero__mock .layer,
.step2-hero__mock .photo-slot,
.step2-hero__mock .photo-ghost,
.step2-hero__mock .design-slot,
.step2-hero__mock .photo-controls {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* Critical: global img{max-width:100%} was shifting photo/layers off the case */
.step2-hero__mock img,
.step2-hero__mock .layer,
.step2-hero__mock .photo-slot__img,
.step2-hero__mock .photo-ghost__img {
  max-width: none !important;
  max-height: none !important;
}
.step2-hero__mock .layer {
  /* Phone PNGs are already 1700×1700 with the case centered — fill the square */
  object-fit: fill;
  object-position: center center;
  user-select: none;
  z-index: 0;
}
.step2-hero__mock #layerInner {
  z-index: 0;
}
.step2-hero__mock .photo-ghost {
  z-index: 1;
  overflow: visible;
  opacity: 0.32;
}
.step2-hero__mock .photo-slot {
  z-index: 2;
  overflow: hidden;
  background: rgba(247, 221, 184, 0.08);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.step2-hero__mock #layerEdge {
  z-index: 3;
}
.step2-hero__mock #layerCam {
  z-index: 4;
}
.step2-hero__mock .photo-controls {
  z-index: 8;
  overflow: visible;
}
.step2-hero__mock .design-slot {
  z-index: 7;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.step2-hero__mock.has-photo {
  overflow: visible;
}
.step2-hero__mock .photo-controls__frame {
  position: absolute;
  margin: 0;
  border: 2px solid #3b82f6;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  transform-origin: center center;
  pointer-events: none;
}
.step2-hero__mock.is-photo-selected .photo-controls__frame {
  border-color: #f87171;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.45);
}
.step2-hero__mock .photo-controls__move {
  position: absolute;
  inset: 0;
  pointer-events: none;
  cursor: grab;
  touch-action: none;
}
.step2-hero__mock .photo-controls__move.is-dragging {
  cursor: grabbing;
}
.step2-hero__mock .photo-handle {
  position: absolute;
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  border: 2px solid #3b82f6;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  touch-action: none;
  z-index: 2;
  cursor: pointer;
}
.step2-hero__mock .photo-handle--nw {
  left: -8px;
  top: -8px;
  cursor: nwse-resize;
}
.step2-hero__mock .photo-handle--ne {
  right: -8px;
  top: -8px;
  cursor: nesw-resize;
}
.step2-hero__mock .photo-handle--sw {
  left: -8px;
  bottom: -8px;
  cursor: nesw-resize;
}
.step2-hero__mock .photo-handle--se {
  right: -8px;
  bottom: -8px;
  cursor: nwse-resize;
}
.step2-hero__mock .photo-handle--rot {
  left: 50%;
  top: -40px;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #1d4ed8;
  cursor: grab;
}
.step2-hero__mock .photo-handle--rot::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 16px;
  margin-left: -1px;
  background: #3b82f6;
  pointer-events: none;
}
.step2-hero__mock .photo-slot__img,
.step2-hero__mock .photo-ghost__img {
  position: absolute;
  /* left/top/width/height set in JS from phone.bbox % */
  object-fit: contain;
  object-position: center center;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
  max-width: none !important;
  max-height: none !important;
}
#phoneMock.is-preview .photo-ghost,
#phoneMock.is-preview #photoGhostWrap {
  display: none !important;
}
.step2-hero__mock .photo-slot__img[hidden],
.step2-hero__mock .photo-ghost[hidden],
.step2-hero__mock .photo-controls[hidden] {
  display: none !important;
}
.wrap--step2 {
  padding: 28px 24px 140px;
}
@media (max-width: 359px) {
  .wrap--step2 {
    padding: 22px 18px 140px;
  }
  .step2-hero {
    margin-left: 18px;
    margin-right: 18px;
  }
}
.page-title.page-title--step2 {
  display: block;
  margin: 28px 0 0;
  grid-template-columns: none;
}
.page-title.page-title--step2 h1 {
  margin: 0;
  font-size: clamp(2.2rem, 9vw, 2.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #f8f6f1;
}
.page-title.page-title--step2 .page-title__sub {
  margin: 14px 0 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #c2c4c7;
}
.drop.drop--step2 {
  margin-top: 22px;
}
.drop__ico {
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  color: #f8f6f1;
}
.tool svg {
  display: block;
  margin: 0 auto;
}
.wrap--step2 .photo-stage {
  margin-top: 14px;
}
.wrap--step2 .tools {
  margin-top: 0;
}
.sticky.sticky--step2 {
  padding: 12px 24px calc(14px + var(--safe-b));
}
.sticky.sticky--step2 .btn {
  height: 64px;
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 15px;
}
.sticky.sticky--step2 .btn:disabled {
  background: #3a3c3e;
  color: #85898d;
  opacity: 0.85;
  box-shadow: none;
}
.sticky.sticky--step2 .mini-trust {
  font-size: 0.72rem;
  color: #a7aaad;
  gap: 12px;
  margin-top: 10px;
  justify-content: center;
}
.sticky.sticky--step2 .mini-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 359px) {
  .sticky.sticky--step2 {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.drop {
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 26px 16px;
  text-align: center;
  margin-bottom: 14px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
}
.drop .ico {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.drop strong {
  display: block;
  margin-bottom: 4px;
}
.drop span {
  color: var(--muted);
  font-size: 0.82rem;
}

.photo-stage {
  margin-bottom: 8px;
}
.photo-layout {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: start;
}
.thumb {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
}
.mock-wrap {
  position: relative;
}
.mock {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
}
.mock__user {
  position: absolute;
  inset: 16% 20% 14% 20%;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  z-index: 1;
}
.mock__frame {
  position: relative;
  z-index: 2;
  width: 100%;
}
.mock-note {
  margin: 8px 0 0;
  font-size: 1.2rem;
}
.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 10px;
}
.tool {
  height: 64px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(22, 22, 22, 0.92);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 8px;
}
.tool span {
  font-size: 1rem;
}
.adv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cream);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 0.88rem;
  margin: 10px 0 0;
}
.adv-link[aria-expanded='true'] .adv-link__chev {
  transform: rotate(90deg);
}
.adv-link__chev {
  transition: transform 0.2s ease;
}
.adv-panel {
  margin-top: 12px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 22, 28, 0.92);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.adv-panel[hidden] {
  display: none !important;
}
.adv-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
}
.adv-tab {
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 11, 14, 0.7);
  color: #b8bbc0;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0 2px;
}
.adv-tab.is-on {
  background: var(--cream, #f7ddb8);
  color: #111;
  border-color: transparent;
}
.adv-pane {
  display: none;
  flex-direction: column;
  gap: 12px;
}
.adv-pane.is-on {
  display: flex;
}
.adv-pane[hidden] {
  display: none !important;
}
.adv-hint {
  margin: 0;
  font-size: 0.78rem;
  color: #a8abb0;
  line-height: 1.35;
}
.adv-field input[type='text'],
.adv-field input[type='search'] {
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0c1014;
  color: #f8f6f1;
  padding: 0 12px;
  font: inherit;
  font-weight: 500;
}
.adv-field input[type='color'] {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #0c1014;
  padding: 4px;
}
.adv-color-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.adv-color {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e8e6e1;
}
.adv-mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.adv-mini {
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0c1014;
  color: #f8f6f1;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 650;
  cursor: pointer;
}
.adv-mini.is-on {
  background: rgba(247, 221, 184, 0.22);
  border-color: var(--cream, #f7ddb8);
  color: var(--cream, #f7ddb8);
}
.adv-shape-grid,
.adv-emoji-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.adv-shape,
.adv-emoji {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0c1014;
  color: #f8f6f1;
  font-size: 1.25rem;
  cursor: pointer;
}
.adv-emoji:hover,
.adv-shape:hover {
  border-color: var(--cream, #f7ddb8);
}
.design-layer,
.draw-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.design-layer {
  overflow: visible;
}
.draw-canvas {
  z-index: 3;
  touch-action: none;
}
.draw-canvas.is-active {
  pointer-events: auto;
  cursor: crosshair;
}
.design-item {
  position: absolute;
  z-index: 2;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
  white-space: pre;
  line-height: 1.1;
}
.design-item.is-selected {
  outline: none;
  z-index: 5;
}
.design-item__body {
  position: relative;
  z-index: 1;
}
.item-controls {
  position: absolute;
  inset: -10px;
  border: 2px solid #3b82f6;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  box-sizing: border-box;
  pointer-events: none;
  z-index: 2;
}
.item-controls__move {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}
.design-item .photo-handle {
  pointer-events: auto;
  z-index: 3;
}
.design-item--draw .design-item__body {
  width: 100%;
}
.design-item--draw .design-item__body img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}
.design-item--text {
  font-family: Montserrat, sans-serif;
  max-width: 70%;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.design-item--draw {
  line-height: 0;
}
.design-item--draw img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.design-item--shape {
  box-sizing: border-box;
}
.adv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  color: #e8e6e1;
  font-size: 0.82rem;
  font-weight: 600;
}
.adv-field span {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.adv-field em {
  font-style: normal;
  font-weight: 500;
  color: #a8abb0;
  font-size: 0.75rem;
}
.adv-field select {
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0c1014;
  color: #f8f6f1;
  padding: 0 12px;
  font: inherit;
  font-weight: 500;
}
.adv-field--range input[type='range'] {
  width: 100%;
  accent-color: var(--cream, #f7ddb8);
  height: 28px;
}
.adv-actions {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}
.adv-actions__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: auto;
  min-height: 48px;
  padding: 10px 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.88rem;
}
.adv-actions__btn small {
  font-size: 0.7rem;
  font-weight: 500;
  color: #9a9ea3;
}
.adv-reset {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cream, #f7ddb8);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== STEP 3 ===== */
.step3-layout,
.step3-main {
  display: block;
}
@media (max-width: 1024px) {
  .screen--step3 .step3-layout {
    display: flex;
    flex-direction: column;
    padding-bottom: 140px;
  }
  .screen--step3 .step3-main,
  .screen--step3 .wrap--step3 {
    display: contents;
  }
  .screen--step3 .wrap--step3 {
    padding: 0;
  }
  .screen--step3 .prog.prog--step3,
  .screen--step3 .page-title.page-title--step3,
  .screen--step3 .step3-price,
  .screen--step3 .step3-usp {
    margin-left: 24px;
    margin-right: 24px;
  }
  .screen--step3 .prog.prog--step3 {
    padding-top: 28px;
  }
  /* Mobile order: title/price → photo → USP bullets → CTA */
  .screen--step3 .prog.prog--step3,
  .screen--step3 .page-title.page-title--step3,
  .screen--step3 .step3-price {
    order: 1;
  }
  .screen--step3 .step3-hero {
    order: 2;
    margin: 20px 24px 0;
  }
  .screen--step3 .step3-usp {
    order: 3;
    margin-top: 18px;
  }
  .screen--step3 .sticky.sticky--step3 {
    order: 4;
  }
}
@media (max-width: 359px) {
  .screen--step3 .prog.prog--step3,
  .screen--step3 .page-title.page-title--step3,
  .screen--step3 .step3-price,
  .screen--step3 .step3-usp {
    margin-left: 18px;
    margin-right: 18px;
  }
  .screen--step3 .step3-hero {
    margin-left: 18px;
    margin-right: 18px;
  }
}
.wrap--step3 {
  padding: 28px 24px 140px;
}
.page-title.page-title--step3 {
  display: block;
  margin: 22px 0 0;
}
.page-title.page-title--step3 h1 {
  margin: 0;
  font-size: clamp(2.2rem, 9vw, 2.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #f8f6f1;
}
.page-title.page-title--step3 .page-title__sub {
  margin: 14px 0 0;
  font-size: 1.02rem;
  line-height: 1.4;
  color: #c2c4c7;
}
.step3-price {
  margin: 22px 0 0;
  font-size: clamp(1.55rem, 5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f7ddb8;
}
.step3-usp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0 0;
}
.step3-usp__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.step3-usp__ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  border-radius: 10px;
  background: rgba(247, 221, 184, 0.12);
  color: #f7ddb8;
}
.step3-usp__item strong {
  font-size: 0.72rem;
  font-weight: 750;
  color: #f8f6f1;
  line-height: 1.25;
}
.step3-usp__item > span:last-child {
  font-size: 0.65rem;
  color: #9ea2a7;
  line-height: 1.3;
}
.step3-quote {
  margin: 0 0 14px;
  text-align: center;
  font-family: Caveat, 'Segoe Script', cursive;
  font-size: clamp(1.55rem, 5.5vw, 2.05rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: #f7ddb8;
}
.sticky.sticky--step3 {
  padding: 12px 24px calc(14px + var(--safe-b));
}
.sticky.sticky--step3 .btn {
  height: 64px;
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 15px;
}
.sticky.sticky--step3 .mini-trust {
  font-size: 0.72rem;
  color: #a7aaad;
  gap: 12px;
  margin-top: 10px;
  justify-content: center;
}
.sticky.sticky--step3 .mini-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.step3-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 24px 0;
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
  background: #0c1014;
}
.step3-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 14, 0.35) 0%, rgba(8, 11, 14, 0.55) 100%),
    url('../assets/img/bg-mountains.png') center / cover no-repeat;
  pointer-events: none;
}
.step3-hero__stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 28px 16px;
  box-sizing: border-box;
}
.step3-hero #phoneMock,
.step3-hero .step2-hero__mock {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  flex-shrink: 0;
}
#phoneMock.is-preview {
  pointer-events: none;
}
#phoneMock.is-preview .photo-controls,
#phoneMock.is-preview .photo-handle,
#phoneMock.is-preview .item-controls {
  display: none !important;
}
@media (max-width: 420px) {
  .step3-usp {
    grid-template-columns: 1fr;
  }
  .step3-usp__item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .step3-usp__ico {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

.ready {
  text-align: center;
}
.ready h1 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}
.ready .lead {
  margin: 0 auto 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  max-width: 34ch;
}
.ready__img {
  position: relative;
  margin: 8px auto 10px;
  width: min(280px, 78vw);
}
.ready__img img {
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55));
}
.ready__img .script {
  position: absolute;
  left: -8%;
  top: 18%;
  font-size: 1.15rem;
  max-width: 110px;
  text-align: left;
}
.usp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 16px 0;
}
.usp article {
  text-align: center;
}
.usp strong {
  display: block;
  font-size: 0.72rem;
  margin: 4px 0 2px;
}
.usp span {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  line-height: 1.25;
}
.accordion {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
}
.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion__body {
  padding: 0 14px 14px;
  border-top: 1px solid var(--line);
}

/* ===== CART ===== */
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.cart-head h1 {
  margin: 0;
  font-size: 1.8rem;
}
.cart-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.cart-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}
.cart-card h3 {
  margin: 0 0 2px;
  font-size: 0.95rem;
}
.cart-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.cart-card .price {
  margin: 0;
  color: var(--cream);
  font-size: 1rem;
  font-weight: 800;
}
.cart-card .rm {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  background: #0c0c0c;
  border-radius: 999px;
  padding: 4px 6px;
}
.qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: #222;
  color: #fff;
  cursor: pointer;
}

.summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 12px 0;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  color: #ddd;
  font-size: 0.92rem;
}
.summary-row .free {
  color: var(--green);
  font-weight: 700;
}
.summary-row--total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 800;
}
.summary-row--total span:last-child {
  color: var(--cream);
}

.pay-title {
  margin: 14px 0 8px;
  font-size: 0.78rem;
  color: var(--muted);
}
.pay-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.pay-row span {
  border: 1px solid var(--line);
  border-radius: 10px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 0.58rem;
  color: #bbb;
  background: #101010;
}
.lock-note {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.72rem;
  margin: 6px 0 10px;
}
.packeta-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--card);
  margin: 10px 0;
}
.packeta-box p {
  margin: 0 0 8px;
  font-size: 0.86rem;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  padding: 16px;
}
.sheet {
  width: min(420px, 100%);
  max-height: min(92dvh, 780px);
  overflow: auto;
  background: #121212;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  position: relative;
}
.sheet__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.badge {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  border: 1px solid rgba(243, 215, 184, 0.4);
  border-radius: 999px;
  padding: 4px 8px;
}
.sheet h2 {
  margin: 10px 0 4px;
  font-size: 1.3rem;
  line-height: 1.2;
}
.sheet .sub {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.upsell-hero {
  margin: 10px 0 8px;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f1ea;
}
.upsell-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}
.sheet.sheet--upsell {
  display: flex;
  flex-direction: column;
  width: min(400px, 100%);
  max-height: min(92dvh, 720px);
  overflow: hidden;
  padding: 12px 14px 14px;
  box-sizing: border-box;
}
.sheet.sheet--upsell h2 {
  margin: 6px 0 2px;
  font-size: clamp(1.05rem, 3.8vw, 1.22rem);
}
.sheet.sheet--upsell .sub {
  margin: 0 0 6px;
  font-size: 0.82rem;
}
.sheet.sheet--upsell .upsell-hero {
  flex: 1 1 auto;
  min-height: 0;
  margin: 4px 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sheet.sheet--upsell .upsell-hero img {
  width: auto;
  max-width: 100%;
  max-height: min(42dvh, 280px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.sheet.sheet--upsell .ba-note {
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  line-height: 1.2;
  flex-shrink: 0;
}
.sheet.sheet--upsell .btn {
  flex-shrink: 0;
  height: 48px;
  font-size: 0.88rem;
}
.sheet.sheet--upsell #upsellYes {
  margin-bottom: 6px !important;
}
@media (max-height: 700px) {
  .sheet.sheet--upsell {
    padding: 10px 12px 12px;
    max-height: 94dvh;
  }
  .sheet.sheet--upsell .upsell-hero img {
    max-height: min(38dvh, 240px);
  }
}
@media (max-height: 560px) {
  .sheet.sheet--upsell .ba-note {
    display: none;
  }
  .sheet.sheet--upsell .upsell-hero img {
    max-height: min(32dvh, 180px);
  }
  .sheet.sheet--upsell .btn {
    height: 44px;
  }
}
.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 8px;
  position: relative;
}
.ba figure {
  margin: 0;
  position: relative;
}
.ba img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.ba figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 700;
}
.ba__arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  z-index: 2;
}
.ba-note {
  text-align: right;
  margin: 0 0 10px;
  font-size: 1.15rem;
}
.offer {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(243, 215, 184, 0.35);
  margin-bottom: 12px;
}
.offer strong {
  display: block;
  font-size: 0.86rem;
}
.offer span {
  color: var(--muted);
  font-size: 0.72rem;
}
.offer em {
  font-style: normal;
  color: var(--cream);
  font-weight: 800;
  white-space: nowrap;
}
.modal-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
  text-align: center;
}
.modal-trust strong {
  display: block;
  font-size: 0.62rem;
  margin-top: 4px;
  line-height: 1.25;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + var(--safe-b));
  transform: translateX(-50%);
  z-index: 120;
  background: #1d1d1d;
  border: 1px solid var(--line);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  max-width: 90vw;
}
.toast.is-on {
  opacity: 1;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.55);
}
.drawer__panel {
  width: min(300px, 84vw);
  height: 100%;
  background: #0e0e0e;
  border-right: 1px solid var(--line);
  padding: 20px 16px;
}
.drawer__panel button,
.drawer__panel a {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #fff;
  padding: 14px 0;
  cursor: pointer;
  font-size: 1rem;
}

@media (min-width: 481px) {
  .app {
    border-left: 1px solid #111;
    border-right: 1px solid #111;
  }
}

/* ===== REVIEW MODAL (overrides .modal/.sheet) ===== */
.modal.review-modal {
  background: rgba(8, 11, 14, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  place-items: center;
  padding: 12px 16px;
  overflow: hidden;
  overscroll-behavior: none;
}
.review-modal__panel {
  width: min(420px, 100%);
  max-height: none;
  overflow: hidden;
  margin: 0 auto;
  padding: 18px 18px 16px;
  position: relative;
  background: linear-gradient(180deg, #171e25 0%, #10161b 55%, #0c1014 100%);
  border: 1px solid rgba(246, 217, 176, 0.22);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}
@media (min-width: 1025px) {
  .review-modal__panel {
    width: min(640px, 92vw);
    padding: 24px 28px 20px;
  }
  .review-modal__panel h2 {
    font-size: 1.55rem;
    margin: 10px 0 6px;
  }
  .review-modal__intro {
    font-size: 1rem;
    margin-bottom: 14px;
  }
  .review-form__field textarea {
    height: 96px;
  }
  .review-form__actions .btn {
    height: 48px;
    padding: 0 24px;
    font-size: 0.92rem;
  }
}
.review-modal__panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #f6d9b0, transparent);
  opacity: 0.85;
}
.review-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}
.review-modal__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f6d9b0;
  border: 1px solid rgba(246, 217, 176, 0.35);
  background: rgba(246, 217, 176, 0.08);
  border-radius: 999px;
  padding: 5px 10px;
}
.review-modal__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f8f6f1;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.review-modal__panel h2 {
  margin: 10px 0 6px;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #f8f6f1;
  line-height: 1.15;
}
.review-modal__intro {
  margin: 0 0 12px;
  color: #a8abb0;
  font-size: 0.95rem;
  line-height: 1.4;
}

body.review-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}


/* ===== STEP 1 FINAL (wins over shared .page-title / .search) ===== */
.screen[data-screen='step1'] {
  overflow-x: hidden;
}
.wrap--step1 {
  position: relative;
  padding: 0 24px 148px;
  overflow: visible;
  max-width: 520px;
  margin: 0 auto;
}
@media (max-width: 359px) {
  .wrap--step1 {
    padding: 0 18px 148px;
  }
}
@media (min-width: 430px) {
  .wrap--step1 {
    max-width: 400px;
  }
}

/* Mobile: fotka jako pozadí od progressu až po kompatibilitu */
.step1-banner {
  position: relative;
  margin: 0 -24px 0;
  overflow: visible;
  isolation: isolate;
}
@media (max-width: 359px) {
  .step1-banner {
    margin: 0 -18px 0;
  }
}
.step1-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  background: #0a0d10;
  pointer-events: none;
}
.step1-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.step1-banner__media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 11, 14, 0.9) 0%,
    rgba(8, 11, 14, 0.72) 28%,
    rgba(8, 11, 14, 0.62) 55%,
    rgba(8, 11, 14, 0.88) 100%
  );
}
.step1-banner__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 24px 28px;
  box-sizing: border-box;
}
@media (max-width: 359px) {
  .step1-banner__copy {
    padding: 22px 18px 24px;
  }
}

.prog--funnel {
  display: block !important;
  margin: 0;
  gap: 0;
}
.prog--funnel .prog__label {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #d8d8d8;
  white-space: nowrap;
}
.prog--funnel .prog__steps {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}
.prog--funnel .prog__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-width: 0;
  flex: 0 0 auto;
  gap: 0;
}
.prog--funnel .prog__dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #8c9299;
  font-size: 0.95rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  flex: 0 0 auto;
}
.prog--funnel .prog__item.is-active .prog__dot,
.prog--funnel .prog__item.is-done .prog__dot {
  background: #f7ddb8;
  border-color: #f7ddb8;
  color: #111;
  box-shadow: 0 0 10px rgba(247, 221, 184, 0.45);
}
.prog--funnel .prog__line {
  flex: 1 1 auto;
  height: 4px;
  margin: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: visible;
  align-self: center;
}
.prog--funnel .prog__line.is-on {
  background: #f7ddb8;
  box-shadow:
    0 0 6px rgba(247, 221, 184, 0.55),
    0 0 14px rgba(247, 221, 184, 0.28);
}
.prog--funnel .prog__line.is-partial {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}
.prog--funnel .prog__line.is-partial::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 58%;
  border-radius: 999px;
  background: #f7ddb8;
  box-shadow:
    0 0 6px rgba(247, 221, 184, 0.7),
    0 0 14px rgba(247, 221, 184, 0.4);
  pointer-events: none;
}
.prog--funnel .prog__name {
  display: none !important;
}

.page-title.page-title--step1 {
  display: block;
  position: relative;
  margin: 28px 0 0;
  max-width: none;
  grid-template-columns: none;
}
.page-title.page-title--step1 h1 .title-plain {
  color: #f8f6f1;
}
.page-title.page-title--step1 .page-title__sub {
  display: block;
  margin: 18px 0 0;
  max-width: 320px;
  font-size: clamp(1.05rem, 4.2vw, 1.2rem);
  line-height: 1.35;
  color: #c2c4c7;
  font-weight: 500;
  font-family: var(--font);
}
@media (max-width: 359px) {
  .page-title.page-title--step1 h1 {
    font-size: 2.5rem;
  }
}

.search-wrap {
  position: relative;
  margin-top: 24px;
  z-index: 12;
}
.wrap--step1 .results,
.wrap--step1 .results-empty {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin-top: 0;
  z-index: 20;
  max-height: min(42vh, 360px);
  overflow-x: hidden;
  overflow-y: auto;
}
.search.search--xl {
  position: relative;
  margin: 0;
  z-index: 5;
}
.search.search--xl input {
  width: 100%;
  height: 80px;
  border-radius: 18px;
  border: 2px solid rgba(150, 175, 200, 0.5);
  background: rgba(17, 22, 28, 0.88);
  color: #fff;
  padding: 0 52px 0 58px;
  outline: none;
  font-size: clamp(1rem, 4.6vw, 1.35rem);
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  -webkit-appearance: none;
  appearance: none;
}
.search.search--xl input::-webkit-search-cancel-button,
.search.search--xl input::-webkit-search-decoration,
.search.search--xl input::-webkit-search-results-button,
.search.search--xl input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search.search--xl input:placeholder-shown {
  padding-right: 20px;
}
.search.search--xl input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  opacity: 1;
  white-space: nowrap;
}
.search.search--xl input:focus {
  border-color: #f7ddb8;
  box-shadow: 0 0 0 3px rgba(247, 221, 184, 0.08);
}
.search.search--xl .search__ico {
  left: 20px;
  color: #fff;
  display: grid;
  place-items: center;
}
.search.search--xl .search__x {
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.35rem;
  color: #fff;
}
@media (max-width: 389px) {
  .search.search--xl input {
    height: 68px;
    padding: 0 44px 0 48px;
    font-size: 1rem;
    border-radius: 16px;
  }
  .search.search--xl input:placeholder-shown {
    padding-right: 16px;
  }
  .search.search--xl .search__ico {
    left: 14px;
  }
  .search.search--xl .search__ico svg {
    width: 22px;
    height: 22px;
  }
  .search.search--xl .search__x {
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 1.15rem;
  }
}
@media (max-width: 359px) {
  .search.search--xl input {
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    padding: 0 40px 0 44px;
  }
  .search.search--xl .search__ico {
    left: 12px;
  }
}

.wrap--step1 .block-label {
  margin: 34px 0 14px;
  font-size: 1.45rem;
  font-weight: 700;
  color: #f8f6f1;
}
.pills.pills--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 0;
  position: relative;
  z-index: 3;
}
.pills.pills--grid .pill {
  height: 54px;
  padding: 0 12px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(17, 22, 28, 0.92);
  color: #f8f6f1;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}
.pills.pills--grid .pill.is-on {
  border: 2px solid #f7ddb8;
  background: rgba(247, 221, 184, 0.08);
  color: #f7ddb8;
  box-shadow: none;
}
.pill__mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: inherit;
  opacity: 0.92;
}
.pill__mark--s,
.pill__mark--mi {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (max-width: 359px) {
  .pills.pills--grid {
    grid-template-columns: 1fr;
  }
}

.wrap--step1 .compat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 34px 0 0;
  max-width: 280px;
  position: relative;
  z-index: 2;
}
.wrap--step1 .compat__ico {
  flex-shrink: 0;
  color: #fff;
  margin-top: 2px;
}
.wrap--step1 .compat strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #f8f6f1;
}
.wrap--step1 .compat span {
  display: block;
  color: #a8abb0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.sticky.sticky--step1 {
  padding: 12px 24px calc(14px + var(--safe-b));
}
.sticky.sticky--step1 .btn {
  height: 68px;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  border-radius: 15px;
  text-transform: uppercase;
}
.sticky.sticky--step1 .btn:disabled {
  background: #3a3c3e;
  color: #85898d;
  opacity: 0.85;
  box-shadow: none;
}
.sticky.sticky--step1 .mini-trust {
  font-size: 0.72rem;
  color: #a7aaad;
  gap: 12px;
  margin-top: 10px;
  justify-content: center;
}
.sticky.sticky--step1 .mini-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 359px) {
  .sticky.sticky--step1 {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Step1 desktop — two columns + hero photo */
.step1-hero {
  display: none;
}
.step1-layout {
  display: block;
}
.step1-main {
  display: block;
}

@media (min-width: 1025px) {
  .screen--step1.screen--scene::before,
  .screen--step1.screen--scene::after {
    opacity: 0;
    background: none;
  }

  .screen--step1.is-active {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .screen--step1 .step1-layout {
    display: grid;
    grid-template-columns: minmax(400px, 480px) minmax(380px, 1fr);
    gap: 36px;
    align-items: stretch;
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 28px 16px;
    height: calc(100vh - 72px);
    min-height: calc(100vh - 72px);
    max-height: calc(100vh - 72px);
    box-sizing: border-box;
  }

  .screen--step1 .step1-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding-top: 0;
  }

  .screen--step1 .wrap--step1 {
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .screen--step1 .step1-banner {
    margin: 0;
  }

  .screen--step1 .step1-banner__media {
    display: none;
  }

  .screen--step1 .step1-banner__copy {
    position: static;
    inset: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }

  .screen--step1 .prog--funnel .prog__label {
    margin-bottom: 10px;
    font-size: 0.88rem;
  }

  .screen--step1 .page-title.page-title--step1 {
    margin-top: 18px;
  }

  .screen--step1 .page-title.page-title--step1 h1 {
    max-width: none;
    font-size: clamp(2.1rem, 2.6vw, 2.55rem);
    line-height: 1.02;
    color: #f7ddb8;
  }

  .screen--step1 .page-title.page-title--step1 h1 .title-plain {
    color: #f8f6f1;
  }

  .screen--step1 .page-title.page-title--step1 h1 .accent {
    color: #f7ddb8;
  }

  .screen--step1 .page-title.page-title--step1 .page-title__sub {
    margin-top: 10px;
    max-width: 380px;
    color: #a8abb0;
    font-size: 0.95rem;
  }

  .screen--step1 .search-wrap {
    position: relative;
    margin-top: 16px;
    flex-shrink: 0;
    z-index: 5;
  }

  .screen--step1 .search.search--xl {
    position: relative;
    margin-top: 0;
    flex-shrink: 0;
  }

  .screen--step1 .search.search--xl input {
    height: 56px;
    font-size: 1.05rem;
    border-radius: 14px;
    border-color: rgba(247, 221, 184, 0.45);
    padding: 0 48px 0 50px;
  }

  .screen--step1 .search.search--xl .search__ico {
    left: 16px;
  }

  .screen--step1 .search.search--xl .search__ico svg {
    width: 22px;
    height: 22px;
  }

  .screen--step1 .results,
  .screen--step1 .results-empty {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    margin-top: 0;
    max-height: min(280px, 32vh);
    overflow-y: auto;
  }

  .screen--step1 .results button {
    min-height: 56px;
    font-size: 1rem;
    padding: 8px 12px;
  }

  .screen--step1 .results img {
    width: 34px;
    height: 44px;
  }

  .screen--step1 .wrap--step1 .block-label {
    margin: 16px 0 10px;
    font-size: 1.05rem;
  }

  .screen--step1 .pills.pills--grid {
    gap: 8px;
    flex-shrink: 0;
  }

  .screen--step1 .pills.pills--grid .pill {
    height: 44px;
    font-size: 0.85rem;
    border-color: rgba(247, 221, 184, 0.35);
  }

  .screen--step1 .wrap--step1 .compat {
    margin-top: 14px;
    max-width: 340px;
    gap: 10px;
  }

  .screen--step1 .wrap--step1 .compat__ico {
    width: 26px;
    height: 26px;
  }

  .screen--step1 .wrap--step1 .compat strong {
    font-size: 0.98rem;
    margin-bottom: 2px;
  }

  .screen--step1 .wrap--step1 .compat span {
    font-size: 0.8rem;
  }

  .screen--step1 .sticky.sticky--step1 {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    max-width: none;
    bottom: auto;
    margin-top: auto;
    padding: 12px 0 0;
    background: transparent;
    z-index: 1;
    flex-shrink: 0;
  }

  .screen--step1 .sticky.sticky--step1 .btn {
    height: 54px;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  .screen--step1 .sticky.sticky--step1 .mini-trust {
    margin-top: 8px;
    font-size: 0.68rem;
  }

  .screen--step1 .step1-hero {
    display: block;
    position: relative;
    top: auto;
    align-self: stretch;
    height: auto;
    max-height: none;
    min-height: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #11161b;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }

  .screen--step1 .step1-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
  }

  .app:has(.screen--step1.is-active) {
    max-width: 1200px;
  }

  .app.has-sticky:has(.screen--step1.is-active) {
    padding-bottom: 0;
  }

  .app:has(.screen--step1.is-active) .site-footer {
    margin-top: 12px;
  }

  /* ===== STEP 2 DESKTOP ===== */
  .screen--step2.screen--scene::before,
  .screen--step2.screen--scene::after {
    opacity: 0;
    background: none;
  }

  .screen--step2.is-active {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .screen--step2 .step2-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 28px 16px;
    height: calc(100vh - 72px);
    min-height: calc(100vh - 72px);
    max-height: calc(100vh - 72px);
    box-sizing: border-box;
  }

  .screen--step2 .step2-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: 100%;
  }

  .screen--step2 .wrap--step2 {
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: auto;
    flex: 1 1 auto;
    min-height: 0;
  }

  .screen--step2 .page-title.page-title--step2 {
    display: block;
    margin: 22px 0 0;
    grid-template-columns: none;
  }

  .screen--step2 .page-title.page-title--step2 h1 {
    margin: 0;
    font-size: clamp(2.1rem, 2.6vw, 2.55rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: #f8f6f1;
  }

  .screen--step2 .page-title.page-title--step2 .page-title__sub {
    margin: 12px 0 0;
    font-size: 0.95rem;
    color: #a8abb0;
    line-height: 1.35;
  }

  .screen--step2 .drop.drop--step2 {
    margin-top: 22px;
    padding: 28px 20px;
    border: 1.5px dashed rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    background: rgba(17, 22, 28, 0.55);
  }

  .screen--step2 .drop__ico {
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    color: #f8f6f1;
  }

  .screen--step2 .photo-stage:not([hidden]) {
    display: block;
    margin-top: 14px;
  }

  .screen--step2 .tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0;
  }

  .screen--step2 .tool {
    height: 72px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(17, 22, 28, 0.92);
    font-size: 0.78rem;
    gap: 6px;
  }

  .screen--step2 .adv-link {
    display: inline-flex;
  }

  .screen--step2 #aiPanel.adv-panel {
    display: flex;
  }

  .screen--step2 #aiPanel.adv-panel[hidden] {
    display: none !important;
  }

  .screen--step2 .sticky.sticky--step2 {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    max-width: none;
    bottom: auto;
    margin-top: auto;
    padding: 12px 0 0;
    background: transparent;
    z-index: 1;
    flex-shrink: 0;
  }

  .screen--step2 .sticky.sticky--step2 .btn {
    height: 54px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .screen--step2 .sticky.sticky--step2 .mini-trust {
    margin-top: 8px;
    font-size: 0.68rem;
    color: #a7aaad;
    gap: 12px;
    justify-content: center;
  }

  .screen--step2 .sticky.sticky--step2 .mini-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .screen--step2 .step2-hero {
    display: flex;
    position: relative;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0;
    padding: 24px;
    border-radius: 24px;
    overflow: visible;
    background:
      radial-gradient(ellipse 70% 60% at 50% 45%, #1a2229 0%, #0c1014 55%, #080b0e 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }

  .screen--step2 .step2-hero__mock {
    width: min(100%, calc(100vh - 200px), 520px);
    max-width: none;
    margin: 0 auto;
    flex-shrink: 0;
  }

  .screen--step2 .step2-hero__back {
    height: 46px;
    padding: 0 22px;
    font-size: 0.92rem;
  }

  .app:has(.screen--step2.is-active) {
    max-width: 1200px;
  }

  .app.has-sticky:has(.screen--step2.is-active) {
    padding-bottom: 0;
  }

  .app:has(.screen--step2.is-active) .site-footer {
    margin-top: 12px;
  }

  /* ===== STEP 3 DESKTOP ===== */
  .screen--step3.screen--scene::before,
  .screen--step3.screen--scene::after {
    opacity: 0;
    background: none;
  }

  .screen--step3.is-active {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .screen--step3 .step3-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 28px;
    align-items: stretch;
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 28px 16px;
    height: calc(100vh - 72px);
    min-height: calc(100vh - 72px);
    max-height: calc(100vh - 72px);
    box-sizing: border-box;
  }

  .screen--step3 .step3-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: 100%;
  }

  .screen--step3 .wrap--step3 {
    max-width: none;
    margin: 0;
    padding: 8px 0 0;
    overflow: auto;
    flex: 1 1 auto;
    min-height: 0;
  }

  .screen--step3 .page-title.page-title--step3 h1 {
    font-size: clamp(2.1rem, 2.6vw, 2.55rem);
  }

  .screen--step3 .sticky.sticky--step3 {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    max-width: none;
    bottom: auto;
    margin-top: auto;
    padding: 12px 0 0;
    background: transparent;
    z-index: 1;
    flex-shrink: 0;
  }

  .screen--step3 .sticky.sticky--step3 .btn {
    height: 54px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .screen--step3 .step3-hero {
    display: flex;
    position: relative;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #0c1014;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }

  .screen--step3 .step3-hero__stack {
    width: 100%;
    height: 100%;
    padding: 24px;
  }

  .screen--step3 .step3-hero #phoneMock,
  .screen--step3 .step3-hero .step2-hero__mock {
    width: min(100%, calc(100vh - 200px), 520px);
    max-width: none;
  }

  .app:has(.screen--step3.is-active) {
    max-width: 1200px;
  }

  .app.has-sticky:has(.screen--step3.is-active) {
    padding-bottom: 0;
  }

  .app:has(.screen--step3.is-active) .site-footer {
    margin-top: 12px;
  }
}
