/* Rivoj Group — entrance, product frames, page cut */

.cut {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #12100e;
  color: #f6f3ee;
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}
.cut span {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  opacity: 0;
  transition: opacity 0.35s ease 0.15s;
}
.cut span i { font-style: normal; color: #f0a01a; }
body.is-cut .cut,
body.is-enter .cut {
  transform: scaleY(1);
  pointer-events: auto;
}
body.is-cut .cut span,
body.is-enter .cut span { opacity: 1; }
body.is-enter .cut {
  transform-origin: bottom;
  animation: cut-out 0.7s cubic-bezier(0.76, 0, 0.24, 1) 0.05s both;
}
@keyframes cut-out {
  from { transform: scaleY(1); }
  to { transform: scaleY(0); }
}

.group-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header));
  padding: clamp(1.2rem, 3vw, 2rem) 0;
  overflow: clip;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(240, 160, 26, 0.22), transparent 60%),
    linear-gradient(165deg, #efe6d8 0%, #f6f3ee 42%, #f3ece3 100%);
}
.group-hero .hero-atmosphere { inset: 0; }
.group-hero .hero-mesh { display: none; }
.hero-sweep {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -30%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 250, 240, 0.55), transparent);
  transform: skewX(-12deg);
  animation: sweep 7.5s ease-in-out 1.2s infinite;
  pointer-events: none;
}
@keyframes sweep {
  0% { transform: translateX(0) skewX(-12deg); opacity: 0; }
  18% { opacity: 1; }
  55% { opacity: 0; }
  100% { transform: translateX(420%) skewX(-12deg); opacity: 0; }
}
.group-scene {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: var(--shell);
  margin-inline: auto;
}
.group-copy h1 {
  margin: 0.35rem 0 0;
  font-family: var(--font-d);
  font-weight: 560;
  font-size: clamp(2.7rem, 5.4vw, 4.7rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.group-hero .mask-line > span {
  transform: translateY(110%);
  animation: line-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.group-hero .mask-line:nth-child(2) > span { animation-delay: 0.08s; }
.group-hero .mask-line:nth-child(3) > span { animation-delay: 0.16s; }
@keyframes line-rise { to { transform: none; } }
.group-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-d);
}
.group-lead {
  max-width: 34rem;
  margin: 1.15rem 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  color: var(--ink-2);
}
.group-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}
.group-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.group-facts li {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(18, 16, 14, 0.14);
}
.group-facts strong {
  font-family: var(--font-d);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 560;
  letter-spacing: -0.03em;
}
.group-facts span { color: var(--ink-2); font-size: 0.82rem; }

.stage {
  position: relative;
  width: min(100%, 520px);
  height: auto;
  margin-left: auto;
}
.desk {
  color: #14110e;
  background: #171411;
  border-radius: 1.25rem;
  padding: 0.7rem;
  box-shadow: 0 28px 60px rgba(40, 24, 8, 0.22);
}
.desk-bar, .desk-kassa p, .desk-floor > p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  color: #f6f3ee;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.desk-bar { padding: 0.35rem 0.45rem 0.7rem; }
.desk-bar span { color: #f0a01a; letter-spacing: 0; font-family: var(--font-d); font-size: 1.05rem; text-transform: none; }
.desk-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0.55rem; }
.desk-kassa, .desk-folio {
  background: #fffcf7;
  border-radius: 0.85rem;
  padding: 0.75rem 0.8rem 0.55rem;
}
.desk-kassa p, .desk-floor > p { color: #8a4f06; padding: 0 0.15rem 0.35rem; letter-spacing: 0.12em; }
.desk-kassa em, .desk-folio em { font-style: normal; color: #3d6b32; }
.desk-kassa div, .desk-folio div {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.42rem 0;
  border-top: 1px solid rgba(18, 16, 14, 0.1);
  font-size: 0.92rem;
  font-weight: 600;
  color: #14110e;
}
.desk-kassa div span, .desk-folio div span { min-width: 0; }
.desk-kassa b, .desk-folio b { font-weight: 700; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.desk-bar b { min-width: 0; }
.desk-bar span { max-width: 58%; margin-left: 0.5rem; text-align: right; line-height: 1.15; }
.desk-kassa .is-sum, .desk-folio .is-sum {
  margin-top: 0.15rem;
  font-family: var(--font-d);
  font-size: 1.05rem;
}
.desk-floor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  align-content: start;
}
.desk-floor > p { grid-column: 1 / -1; }
.desk-floor-only { background: transparent; }
.desk-room {
  display: grid;
  gap: 0.12rem;
  padding: 0.55rem 0.6rem;
  border-radius: 0.7rem;
  background: #f4efe6;
  transition: background 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.desk-room span { font-family: var(--font-d); font-size: 1.25rem; color: #14110e; line-height: 1; }
.desk-room em { font-style: normal; font-size: 0.68rem; font-weight: 700; color: #8a4f06; }
.desk-room.is-live {
  background: #f0a01a;
  transform: translateY(-3px);
}
.desk-room.is-live em { color: #14110e; }
.desk-note {
  margin: 0.55rem 0.2rem 0.15rem;
  color: #f0a01a;
  font-size: 0.82rem;
  font-weight: 700;
}
.desk-folio { margin-top: 0.55rem; }
.desk-folio div:nth-child(2) { animation: folio-glow 4.8s ease-in-out infinite; }
@keyframes folio-glow {
  0%, 70%, 100% { background: transparent; }
  82% { background: rgba(240, 160, 26, 0.28); }
}
.stage-card {
  border-radius: 1.15rem;
  background: rgba(255, 252, 247, 0.94);
  box-shadow: 0 24px 60px rgba(40, 24, 8, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.stage-shop {
  position: absolute;
  top: 8px;
  right: 0;
  z-index: 1;
  width: 74%;
  padding: 0.95rem 1rem 0.8rem;
  animation: card-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.stage-shop header,
.stage-hotel header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
.stage-card header b { font-size: 0.95rem; }
.stage-card header em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a4f06;
}
.stage-row {
  display: flex;
  justify-content: space-between;
  padding: 0.48rem 0;
  border-top: 1px solid rgba(18, 16, 14, 0.08);
  font-size: 0.92rem;
  animation: row-in 0.6s ease both;
}
.stage-row:nth-child(2) { animation-delay: 0.45s; }
.stage-row:nth-child(3) { animation-delay: 0.7s; }
.stage-row:nth-child(4) { animation-delay: 0.95s; }
.stage-shop footer {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(18, 16, 14, 0.16);
  font-size: 1rem;
}
.stage-shop footer strong { font-family: var(--font-d); font-size: 1.35rem; }
.stage-hotel {
  position: absolute;
  left: 0;
  top: 196px;
  z-index: 2;
  width: 70%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  padding: 0.8rem;
  animation: card-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}
.stage-hotel header { grid-column: 1 / -1; }
.stage-room {
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0.6rem;
  border-radius: 0.65rem;
  background: #f6f1e8;
}
.stage-room span { font-family: var(--font-d); font-size: 1.15rem; }
.stage-room em { font-style: normal; font-size: 0.68rem; font-weight: 700; }
.stage-room.is-in em { color: #8a4f06; }
.stage-room.is-clean { animation: pulse-room 2.8s ease-in-out infinite; }
.stage-room.is-ready em { color: #3d6b32; }
.stage-room.is-due em { color: #8a4f06; }
.stage-seal {
  position: absolute;
  right: 6%;
  bottom: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0;
  border-radius: 50%;
  background: #12100e;
  color: #f6f3ee;
  font-family: var(--font-d);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.04em;
  box-shadow: 0 16px 30px rgba(18, 16, 14, 0.28);
  animation: seal-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}
.stage-seal small {
  display: block;
  margin-top: 0.1rem;
  font-family: var(--font-b, "DM Sans", sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0a01a;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes row-in {
  from { transform: translateX(8px); }
  to { transform: none; }
}
@keyframes seal-in {
  from { opacity: 0; transform: scale(0.6) rotate(-12deg); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse-room {
  0%, 100% { background: #f6f1e8; }
  50% { background: #f3ddb4; }
}

.proof h2, .group-hero ~ .band .band-head h2, .group-hero ~ .product-stage .band-head h2 {
  margin: 0;
  font-family: var(--font-d);
  font-weight: 560;
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 16em;
}
.group-hero ~ .band { padding: clamp(2.4rem, 4.5vw, 3.6rem) 0; }
.home-hero ~ .band .band-head,
.home-hero ~ .product-stage .band-head {
  max-width: 38rem;
  margin-bottom: 1.25rem;
}
.home-hero ~ .band .band-head .lead,
.home-hero ~ .product-stage .band-head .lead { max-width: 34rem; }
.home-hero ~ .product-stage { padding: clamp(2.4rem, 4.5vw, 3.6rem) 0; }
.home-hero ~ .product-stage .product-frame { min-height: 0; }
@media (min-width: 701px) {
  .home-hero ~ .product-stage .product-frame { min-height: 36rem; }
}
.home-hero ~ .band + .band,
.home-hero ~ .product-stage,
.home-hero ~ .band + .product-stage { border-top: 1px solid rgba(18, 16, 14, 0.08); }
#ishonch.band { border-top: 0; }
.group-hero ~ .band .mask-line > span,
.group-hero ~ .product-stage .mask-line > span { transform: none; }
#ishonch.band { padding-top: clamp(2rem, 4vw, 3rem); }
.proof {
  display: grid;
  gap: 1.5rem;
  padding: 0;
  align-items: center;
  border-top: 1px solid var(--line);
}
.proof-num {
  margin: 0;
  font-family: var(--font-d);
  font-size: clamp(4.5rem, 14vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
}
.proof-num em { font-style: normal; color: var(--amber); }
.proof p { margin: 0.6rem 0 0; max-width: 28rem; color: var(--ink-2); }

.work-steps, .systems {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.work-steps article, .systems article {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.work-steps h3, .systems h3 {
  margin: 0.2rem 0 0.35rem;
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.work-steps p, .systems p { margin: 0; color: var(--ink-2); max-width: 38rem; }

.product-stage {
  padding: clamp(3rem, 8vw, 6.5rem) 0;
}
.product-grid {
  display: grid;
  gap: 1rem;
}
.product-frame {
  position: relative;
  display: grid;
  align-content: end;
  min-height: min(78vh, 640px);
  padding: 1.4rem;
  overflow: hidden;
  text-decoration: none;
  color: #f6f3ee;
  background: #171411;
  border-radius: 1.4rem;
  isolation: isolate;
}
.product-frame::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(420px 260px at var(--mx, 70%) var(--my, 20%), rgba(240, 160, 26, 0.45), transparent 60%);
  transition: opacity 0.4s ease;
  z-index: -1;
}
.product-frame.is-market {
  background:
    linear-gradient(165deg, rgba(18, 16, 14, 0.15), rgba(18, 16, 14, 0.72)),
    radial-gradient(500px 280px at 80% 0%, rgba(240, 160, 26, 0.35), transparent 55%),
    #1c1712;
}
.product-frame.is-hotel {
  background:
    linear-gradient(165deg, rgba(18, 16, 14, 0.2), rgba(18, 16, 14, 0.78)),
    radial-gradient(500px 280px at 10% 100%, rgba(240, 160, 26, 0.28), transparent 55%),
    #14181c;
}
.product-frame h2 {
  margin: 0.2rem 0 0.45rem;
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  max-width: 10ch;
}
.product-frame p { margin: 0; max-width: 28rem; color: rgba(246, 243, 238, 0.78); }
.product-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0a01a;
}
.product-go {
  display: inline-flex;
  margin-top: 1.2rem;
  font-weight: 700;
}
.frame-ui {
  position: absolute;
  right: -4%;
  top: 8%;
  width: min(46%, 280px);
  border-radius: 0.9rem;
  background: rgba(255, 252, 247, 0.94);
  color: #12100e;
  padding: 0.75rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  transform: translateY(12px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-frame:hover .frame-ui { transform: translateY(0) rotate(-1.5deg); }
.frame-ui b { display: block; font-size: 0.78rem; margin-bottom: 0.45rem; }
.frame-line, .frame-room {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-top: 1px solid rgba(18, 16, 14, 0.08);
  font-size: 0.78rem;
}
.frame-rooms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}
.frame-room {
  display: grid;
  border: 0;
  padding: 0.45rem;
  border-radius: 0.45rem;
  background: #f6f1e8;
}
.frame-room em { font-style: normal; color: #8a4f06; font-size: 0.68rem; font-weight: 700; }

@media (min-width: 900px) {
  .group-scene { grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); }
  .proof { grid-template-columns: 0.8fr 1.2fr; align-items: center; }
  .work-steps, .systems { grid-template-columns: 1fr 1fr; }
  .work-steps article:nth-child(odd),
  .systems article:nth-child(odd) { padding-right: 2rem; }
  .product-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .group-hero { min-height: 0; align-items: start; }
  .group-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem 0.55rem;
  }
  .group-facts strong { font-size: clamp(0.98rem, 3.6vw, 1.35rem); }
  .group-facts span { font-size: 0.72rem; line-height: 1.25; }
  .stage { height: auto; max-width: none; width: 100%; margin: 0.4rem 0 0; }
}
@media (max-width: 639px) {
  .desk-split { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .frame-ui { position: relative; right: auto; top: auto; width: auto; margin-bottom: 1.2rem; }
  .product-frame { align-content: start; min-height: 0; }
  .stage-shop { width: 78%; }
  .stage-hotel { width: 74%; top: 178px; }
}

.hero.hero-with-desk .hero-mesh { display: none; }
.hero.hero-with-desk .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.05fr);
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.desk-kassa [data-sale].is-live {
  background: rgba(240, 160, 26, 0.42);
  border-radius: 0.4rem;
  margin: 0 -0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

@media (max-width: 899px) {
  .hero.hero-with-desk .hero-layout { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .cut, body.is-enter .cut { animation: none; transition: none; transform: scaleY(0); }
  .frame-ui, .hero-sweep, .desk-room.is-live, .desk-folio div:nth-child(2) { animation: none; transform: none; }
  .group-hero .mask-line > span { animation: none; transform: none; }
}

.home-hero {
  background:
    radial-gradient(700px 420px at 78% 40%, rgba(240, 160, 26, 0.28), transparent 62%),
    #12100e;
  color: #f6f3ee;
}
.home-hero .group-kicker { color: #f0a01a; }
.home-hero .group-lead { color: rgba(246, 243, 238, 0.72); }
.home-hero .group-copy h1 { font-size: clamp(3.2rem, 6.4vw, 6rem); color: #f6f3ee; }
.home-hero .group-facts li { border-top-color: rgba(246, 243, 238, 0.16); }
.home-hero .group-facts span { color: rgba(246, 243, 238, 0.62); }
.home-hero .btn-fill { background: #f0a01a; color: #14110e; box-shadow: 0 16px 40px rgba(240, 160, 26, 0.28); }
.home-hero .btn-fill:hover { background: #ffc14d; color: #14110e; }
.home-hero .btn-line { background: transparent; color: #f6f3ee; border-color: rgba(246, 243, 238, 0.28); }
.home-hero .stage { perspective: 900px; }
.home-hero .book-card .desk-kassa,
.home-hero .book-card .desk-floor { min-height: 220px; }
.home-hero .desk {
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(18, 16, 14, 0.08);
  background: #f6f3ee;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: march 22s linear infinite;
}
.marquee span {
  font-family: var(--font-d);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.marquee span::before { content: "· "; color: #c4740a; }
@keyframes march { to { transform: translateX(-50%); } }
#ishonch {
  background: #171411;
  color: #f6f3ee;
}
#ishonch .eyebrow, #ishonch .proof-num em { color: #f0a01a; }
#ishonch h2, #ishonch .proof-num { color: #f6f3ee; }
#ishonch .proof p { color: rgba(246, 243, 238, 0.72); }
#ishonch .proof { border-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .home-hero .desk { animation: none; }
}
.cal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.cal div {
  min-height: 3.6rem;
  padding: 0.5rem 0.55rem;
  border-radius: 0.65rem;
  background: #f4efe6;
  color: #14110e;
}
.cal b {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a4f06;
}
.cal i { font-style: normal; font-weight: 700; font-size: 0.82rem; }
.cal .is-phone { background: #f0a01a; }
.cal .is-phone b { color: #14110e; }
.cal .is-site { background: #24201c; color: #f6f3ee; }
.cal .is-site b { color: #f0a01a; }
.cal .is-walk { box-shadow: inset 0 0 0 2px #14110e; }
.flow-grid { display: grid; gap: 0.8rem; }
.money-board {
  display: grid;
  align-content: center;
  gap: 0.8rem;
  padding: 1.2rem 1.3rem;
  border-radius: 1.25rem;
  background: #171411;
  color: #f6f3ee;
}
.money-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.money-list li { display: grid; gap: 0.1rem; padding-top: 0.55rem; border-top: 1px solid rgba(246,243,238,.14); }
.money-list b { font-family: var(--font-d); font-size: 1.6rem; letter-spacing: -0.04em; }
.money-list span, .money-board > p { color: rgba(246,243,238,.72); margin: 0; }
.kind-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.kind-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.kind-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #f6f3ee;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.kind-row label:has(input:checked) {
  border-color: #f0a01a;
  background: rgba(240, 160, 26, 0.16);
}
.contact-form .kind-row input[type="radio"] {
  width: 1.05rem;
  height: 1.05rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: #f0a01a;
  border: 0;
  background: transparent;
  box-shadow: none;
}
@media (min-width: 800px) {
  .flow-grid { grid-template-columns: 1fr 1fr; }
}
.hotel-show .mask-line > span { transform: none; }
.book {
  display: grid;
  gap: 1rem;
  align-items: start;
}
.book-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.book-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(18, 16, 14, 0.1);
  background: rgba(255, 252, 247, 0.55);
}
.book-steps b {
  grid-row: span 2;
  align-self: center;
  font-family: var(--font-d);
  font-size: 1.15rem;
}
.book-steps span { font-weight: 700; }
.book-steps small { color: var(--ink-3); }
.book-steps li.is-on {
  background: #171411;
  color: #f6f3ee;
  border-color: #171411;
}
.book-steps li.is-on small { color: #f0a01a; }
.book-card { display: none; }
.hotel-show .band-head { margin-bottom: 1.5rem; }
.hotel-show .band-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  max-width: 22ch;
  line-height: 1.08;
}
.hotel-show .lead { margin-top: 0.7rem; }
.flow-grid .desk { min-height: 292px; }
.flow-grid .book-card .desk-kassa,
.flow-grid .book-card .desk-folio,
.flow-grid .book-card .cal,
.flow-grid .book-card .desk-floor { min-height: 168px; }
.book-card.is-on { display: block; animation: card-swap 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes card-swap { from { transform: translateY(8px); } to { transform: none; } }
.vs { display: grid; gap: 0.7rem; }
.vs-row {
  display: grid;
  gap: 0.6rem;
  opacity: 1;
  transform: none;
}
.vs-row.is-on .vs-good,
.vs-row.is-on .vs-bad { box-shadow: 0 16px 36px rgba(18, 16, 14, 0.12); }
.vs-bad b { text-decoration: none; }
.vs-bad, .vs-good {
  border-radius: 1rem;
  padding: 1rem 1.05rem 1.1rem;
}
.vs-bad { background: #efe8de; color: #6f675f; }
.vs-good { background: #171411; color: #f6f3ee; }
.vs-bad small, .vs-good small {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.vs-bad small { color: #8a3b2a; }
.vs-good small { color: #f0a01a; }
.vs-bad b, .vs-good b {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-d);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 560;
  letter-spacing: -0.03em;
}
.vs-bad b { color: #8a3b2a; }
.vs-good b { color: #f6f3ee; }
.vs-bad span, .vs-good span { display: block; max-width: 36rem; }
.edge-grid {
  display: grid;
  gap: 0.8rem;
}
.desk-folio [data-folio-line].is-live,
.desk-kassa [data-close-line].is-on {
  background: rgba(240, 160, 26, 0.42);
  border-radius: 0.4rem;
  margin: 0 -0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
@media (min-width: 800px) {
  .vs-row { grid-template-columns: 1fr 1fr; }
  .edge-grid { grid-template-columns: 1fr 1fr; }
  .edge-grid .desk:last-child { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .book { grid-template-columns: 230px minmax(0, 1fr); }
  .edge-grid { grid-template-columns: 1.1fr 0.9fr 0.9fr; }
  .edge-grid .desk:last-child { grid-column: auto; }
}

.role-grid { display: grid; gap: 0.8rem; }
.role-card {
  background: #171411;
  color: #f6f3ee;
  border-radius: 1.25rem;
  padding: 1.15rem 1.2rem 0.35rem;
}
.role-card .eyebrow { color: #f0a01a; }
.role-list { list-style: none; margin: 0.85rem 0 0; padding: 0; }
.role-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(246, 243, 238, 0.14);
}
.role-list b {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}
.role-list span { color: rgba(246, 243, 238, 0.72); }
.limit-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.limit-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(18, 16, 14, 0.08);
}
.limit-list b {
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}
.limit-list span { color: var(--ink-2); }
.role-card { height: 100%; }
#kun .desk, #filial .desk { max-width: 640px; }
@media (min-width: 900px) {
  #kun .shell, #filial .shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    gap: clamp(1.4rem, 3vw, 2.8rem);
    align-items: center;
  }
  #kun .band-head, #filial .band-head { margin-bottom: 0; }
  #kun .desk, #filial .desk { max-width: none; }
}
@media (min-width: 800px) {
  .role-grid { grid-template-columns: 1fr 1fr; }
  .limit-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 699px) {
  .group-copy h1,
  .home-hero .group-copy h1 { font-size: clamp(2.15rem, 11vw, 3rem); }
  .group-lead { margin-top: 0.85rem; font-size: 0.98rem; }
  .group-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .group-actions .btn {
    width: 100%;
    min-height: 3rem;
    padding-inline: 0.75rem;
  }
  .group-actions .btn:first-child:nth-last-child(3) { grid-column: 1 / -1; }
  .home-hero .book-card .desk-kassa,
  .home-hero .book-card .desk-floor { min-height: 0; }
  .group-hero { padding-top: 0.35rem; }
  .flow-grid .desk { min-height: 0; }
  .kind-row { display: grid; grid-template-columns: 1fr 1fr; }
  .kind-row label { justify-content: center; min-height: 2.85rem; }
  .home-hero ~ .product-stage .product-frame { min-height: 0; }
}
