/* hero (ornament pod nadpisem), O nás se čtyřmi pečeťmi a razítkem, katalog zarovnaný do obsahu s mřížkou, oživená tlačítka (po o.css) */

/* ---------- hero ---------- */
.hero__text .orn { display: block; width: 130px; margin: 14px 0 10px; }
@media (max-width: 899px) { .hero__text .orn { margin: 10px auto 6px; width: 110px; } }
@media (min-width: 900px) { .hero__text .orn { width: 170px; margin: 18px 0 12px; } }

/* ---------- oživená tlačítka ---------- */
.btn--solid { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(145deg, #C99A84, var(--rose-deep)); transition: transform .35s cubic-bezier(.2, 1.3, .35, 1), box-shadow .35s; }
.btn--solid::after { content: ''; position: absolute; top: 0; bottom: 0; width: 56px; left: -90px; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-18deg); animation: sheen 5s ease-in-out infinite; }
.btn--solid:hover { transform: translateY(-3px); box-shadow: 0 20px 30px -14px rgba(156, 102, 80, 1), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn--solid:active { transform: translateY(0) scale(.97); }
.hero__cta .btn--solid, .finish .btn--solid, .plan--main .btn--solid, .studio__cta { gap: 12px; }
.hero__cta .btn--solid::before, .finish .btn--solid::before, .plan--main .btn--solid::before { content: "\e6a2"; font-family: "Phosphor-Light"; font-size: 20px; line-height: 1; animation: spin 7s linear infinite; }
.btn--line { transition: transform .35s cubic-bezier(.2, 1.3, .35, 1), background .3s, border-color .3s; }
.btn--line:hover { transform: translateY(-3px); }
.link { transition: color .3s, text-decoration-color .3s; }
.link:hover { color: var(--rose-deep); text-decoration-color: var(--rose-deep); }
@keyframes sheen { 0%, 55% { left: -90px; } 100% { left: 120%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn--solid::after, .btn--solid::before { animation: none !important; } }

/* ---------- O nás: čtyři body s pečetí ---------- */
.about__seal { display: inline-block; margin-bottom: 14px; }
.about__seal img { display: block; width: 84px; height: auto; filter: drop-shadow(0 12px 14px rgba(120, 60, 44, .32)); }
.bens { grid-template-columns: 1fr; gap: 14px; }
.ben { grid-template-columns: 76px 1fr; gap: 16px; align-items: center; padding: 18px 18px 18px 14px; }
.wseal { position: relative; display: grid; place-items: center; width: 76px; height: 76px; }
.wseal img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 8px 10px rgba(120, 60, 44, .28)); }
.wseal i { position: relative; width: auto; height: auto; background: none; font-size: 30px; color: rgba(160, 98, 88, .82); text-shadow: 0 1px 0 rgba(255, 255, 255, .6), 0 -1px 1px rgba(110, 54, 46, .4); }
.ben h3 { font-size: 22px; }
@media (min-width: 900px) {
  .bens { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .ben { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 30px 22px 28px; gap: 14px; }
  .wseal { width: 96px; height: 96px; }
  .wseal i { font-size: 38px; }
  .ben h3 { font-size: 24px; }
}
/* razítko: pečeť dopadne na kartu a mírně se usadí */
.js [data-reveal]:not(.in) .wseal, .js .about__seal:not(.in) { opacity: 0; }
.js .ben.in .wseal, .js .about__seal.in { animation: stamp 1s cubic-bezier(.2, .9, .3, 1.15) both; animation-delay: calc(var(--d, 0s) + .3s); }
.js .about__seal.in { animation-delay: .1s; }
.js .ben.in .wseal::after, .js .about__seal.in::after { content: ''; position: absolute; inset: 6%; border-radius: 50%; border: 2px solid rgba(196, 145, 122, .6); animation: stampring .9s ease-out both; animation-delay: calc(var(--d, 0s) + .62s); pointer-events: none; }
.about__seal { position: relative; }
.js .about__seal.in::after { inset: 4%; animation-delay: .42s; }
@keyframes stamp {
  0% { opacity: 0; transform: translateY(-46px) scale(1.7) rotate(-16deg); filter: blur(3px); }
  52% { opacity: 1; transform: translateY(0) scale(.93) rotate(3deg); filter: blur(0); }
  70% { transform: scale(1.05) rotate(-1.5deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes stampring { from { opacity: .9; transform: scale(.9); } to { opacity: 0; transform: scale(1.55); } }
@media (prefers-reduced-motion: reduce) { .js .ben.in .wseal, .js .about__seal.in, .js .wseal::after, .js .about__seal::after { animation: none !important; } .js [data-reveal]:not(.in) .wseal, .js .about__seal:not(.in) { opacity: 1; } }

/* ---------- katalog: zarovnaný do obsahu, možnost zobrazit vše jako mřížku ---------- */
.panels { --edge: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); }
.panels .crail, .panels .vrail { padding-left: var(--edge); padding-right: var(--edge); scroll-padding-inline: var(--edge); }
.panels .vgroup h4, .panels .vgroup > p { padding: 0 var(--edge); }
@media (min-width: 900px) { .panels .crail, .panels .vrail { padding-left: var(--edge); padding-right: var(--edge); scroll-padding-inline: var(--edge); } .panels .vgroup h4, .panels .vgroup > p { padding: 0 var(--edge); } .panels .hs-btn--prev { left: calc(var(--edge) - 28px); } .panels .hs-btn--next { right: calc(var(--edge) - 28px); } }
.pmore { display: flex; justify-content: center; margin-top: 8px; }
.pmore__b { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid rgba(74, 63, 51, .3); background: rgba(255, 252, 248, .7); font: 500 18px var(--serif); color: var(--ink); cursor: pointer; transition: background .3s, border-color .3s, transform .35s cubic-bezier(.2, 1.3, .35, 1); }
.pmore__b i { font-size: 20px; color: var(--rose-deep); transition: transform .4s var(--ease); }
.pmore__b:hover { background: #f6e6de; border-color: var(--rose-deep); transform: translateY(-2px); }
.pmore__b[aria-expanded="true"] i { transform: rotate(180deg); }
.panel.is-grid .crail { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; gap: 22px 18px; justify-content: flex-start; }
.panel.is-grid .hs-btn { display: none !important; }
.panel.is-grid .vgroup .vrail { flex-wrap: wrap; overflow: visible; }
@media (max-width: 899px) { .panel.is-grid .crail { gap: 16px 12px; } .panel.is-grid .crail .cc { width: calc((100% - 12px) / 2); } .panel.is-grid .crail--var .vc { width: calc((100% - 12px) / 2); } .panel.is-grid .crail--pal .pal, .panel.is-grid .crail--fun .fc { width: 100%; } }

@media (max-width: 899px) { .how__m { aspect-ratio: 1 / 1; object-position: 50% 30%; } }

/* O nás: body bez karet, přímo na pozadí */
.ben { background: none !important; box-shadow: none !important; }
@media (min-width: 900px) { .bens { margin-top: 56px; } .ben { padding: 8px 14px; } }
@media (max-width: 899px) { .ben { padding: 8px 0; } }

/* Co uvidí hosté: funkce pod průchodem na hnědém pozadí */
.tfeats { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 70px; padding-top: 50px; border-top: 1px solid rgba(255, 235, 222, .18); position: relative; z-index: 1; }
.tf { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; }
.tf h3 { font-weight: 500; font-size: 22px; line-height: 1.15; color: #FBF3EC; margin: 0; }
.tf p { margin: 5px 0 0; font-size: 17px; line-height: 1.45; color: rgba(246, 237, 230, .8); }
@media (min-width: 900px) {
  .tfeats { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 90px; padding-top: 64px; }
  .tf { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; padding: 8px 14px; }
  .tf h3 { font-size: 24px; }
}

/* funkce pod průchodem: kosočtvercový rámeček místo pečeti */
.tfi { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 6px 0; }
.tfi::before { content: ''; position: absolute; inset: 0; border: 1.5px solid #E9BFA7; transform: rotate(45deg); border-radius: 10px; background: radial-gradient(circle at 35% 30%, rgba(255, 235, 222, .22), rgba(255, 235, 222, .05)); box-shadow: 0 0 0 7px rgba(233, 191, 167, .09), 0 14px 26px -12px rgba(0, 0, 0, .55); }
.tfi i { position: relative; font-size: 30px; color: #F3D3BF; }
.js .tf:not(.in) .tfi { opacity: 0; }
.js .tf.in .tfi { animation: tfipop .9s cubic-bezier(.2, 1.2, .35, 1) both; animation-delay: calc(var(--d, 0s) + .25s); }
.js .tf.in .tfi::before { animation: tfispin 1.1s cubic-bezier(.2, .9, .3, 1) both; animation-delay: calc(var(--d, 0s) + .25s); }
@keyframes tfipop { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
@keyframes tfispin { from { transform: rotate(-135deg) scale(.7); } to { transform: rotate(45deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .js .tf.in .tfi, .js .tf.in .tfi::before { animation: none !important; } .js .tf:not(.in) .tfi { opacity: 1; } }
@media (min-width: 900px) { .tfi { width: 68px; height: 68px; margin: 8px 0 12px; } }

/* katalog na PC: okno carouselu stejně široké jako menu záložek, symetricky vystředěné */
@media (min-width: 900px) {
  .panels { width: var(--tw, 1100px); margin: 0 auto; }
  .panels .crail, .panels .vrail { padding-left: 0; padding-right: 0; scroll-padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 93%, transparent 100%); }
  .panel.is-grid .crail { -webkit-mask-image: none; mask-image: none; }
  .panels .vgroup h4, .panels .vgroup > p { padding: 0; }
  .panels .hs-btn--prev { left: -24px; }
  .panels .hs-btn--next { right: -24px; }
  .pmore { margin-top: 14px; }
}
