/* ─────────────────────────────────────────
   Palmira Istra · dark premium · dual realm
   Base = hub photos: charcoal metal + wood glow
   ───────────────────────────────────────── */

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

/* Shared — charcoal metal from hub renders */
:root {
  --black: #0d0d0d;
  --metal: #1a1a1b;
  --metal-2: #222224;
  --wood: #8b6914;
  --text: #f0ebe3;
  --muted: #9a9288;
  --line: rgba(255, 255, 255, 0.07);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Water defaults — html starts on water */
  --bg: #0f1218;
  --surface: #161c24;
  --accent: #48cae4;
  --accent-dim: rgba(72, 202, 228, 0.1);
  --glow: rgba(72, 202, 228, 0.45);
  --led: linear-gradient(90deg, transparent, #48cae4, #7dd3e8, #48cae4, transparent);
  --btn-fg: #0f1218;
  --veil: linear-gradient(95deg, rgba(10, 14, 22, 0.92) 0%, rgba(10, 14, 22, 0.62) 50%, rgba(10, 14, 22, 0.88) 100%);
  --kicker: #7dd3e8;
}

/* Land — warm wood deck + amber LED */
[data-realm="land"] {
  --bg: #12100d;
  --surface: #1c1812;
  --accent: #d4a574;
  --accent-dim: rgba(212, 165, 116, 0.12);
  --glow: rgba(255, 184, 0, 0.35);
  --led: linear-gradient(90deg, transparent, #c9956b, #ffb800, #c9956b, transparent);
  --btn-fg: #12100d;
  --veil: linear-gradient(95deg, rgba(14, 10, 8, 0.92) 0%, rgba(14, 10, 8, 0.58) 50%, rgba(14, 10, 8, 0.88) 100%);
  --kicker: #e8c99a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg, #0f1218);
  color: var(--text, #f0ebe3);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background 0.5s var(--ease);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.is-locked {
  overflow: hidden;
}

/* ── Legal pages ── */
.legal-body {
  min-height: 100vh;
}

.legal-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.legal-header {
  margin-bottom: 2rem;
}

.legal-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--kicker);
  text-decoration: none;
}

.legal-back:hover {
  color: var(--accent);
}

.legal-kicker {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kicker);
  margin-bottom: 0.75rem;
}

.legal-header h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.legal-lead {
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-content section {
  margin-bottom: 1.75rem;
}

.legal-content h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal-content p + p {
  margin-top: 0.75rem;
}

.legal-content ul {
  margin: 0.75rem 0 0 1.1rem;
}

.legal-content li + li {
  margin-top: 0.35rem;
}

.legal-content a {
  color: var(--kicker);
  text-decoration: none;
}

.legal-content a:hover {
  color: var(--accent);
}

.legal-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.legal-footer a {
  color: var(--kicker);
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-footer a:hover {
  color: var(--accent);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ── Logo mark (sun / arch from hub) ── */
.logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--accent, #48cae4);
  margin-bottom: 0.5rem;
}

.logo-mark-sm {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0;
  color: var(--accent);
  transition: color 0.5s;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 1.65rem;
}

.brand-tag {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--kicker);
  padding-left: 0.75rem;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
.gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
}

.gate-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.gate-bg-water {
  background: rgba(15, 18, 24, 0.92);
  opacity: 0.22;
}

.gate-bg-land {
  background: rgba(18, 16, 13, 0.92);
}

.gate:hover .gate-bg-water {
  opacity: 0.08;
}

.gate-panel.gate-water:hover ~ .gate-bg-water,
.gate-panels:has(.gate-water:hover) ~ .gate-bg-water {
  opacity: 0.35;
}

.gate-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 2rem;
  width: 100%;
  max-width: 760px;
}

.gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.gate-brand {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.gate-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: -1.25rem;
}

.gate-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  width: min(720px, 100%);
  background: var(--line);
  border: 1px solid var(--line);
}

.gate-panel {
  position: relative;
  min-height: 220px;
  border: 0;
  background: rgba(26, 26, 27, 0.88);
  backdrop-filter: blur(12px);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.4s var(--ease), box-shadow 0.4s;
  overflow: hidden;
}

.gate-water:hover {
  background: rgba(15, 22, 30, 0.92);
  box-shadow: inset 0 -2px 0 #48cae4;
}

.gate-land:hover {
  background: rgba(22, 16, 10, 0.92);
  box-shadow: inset 0 -2px 0 #d4a574;
}

.gate-label {
  position: relative;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gate-water .gate-label {
  color: #48cae4;
}

.gate-land .gate-label {
  color: #d4a574;
}

.gate-hint {
  position: relative;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(16px);
  transition: background 0.4s var(--ease), box-shadow 0.4s;
}

.header.is-scrolled {
  background: rgba(8, 8, 8, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header-wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.realm-toggle {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--metal-2);
  flex-shrink: 0;
}

.realm-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.realm-btn.is-active {
  background: var(--accent);
  color: var(--btn-fg);
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.header-book {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--btn-fg);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.4s, box-shadow 0.4s;
  box-shadow: 0 0 24px var(--glow);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.burger i {
  display: block;
  width: 14px;
  height: 1px;
  background: var(--text);
}

.header-line {
  height: 2px;
  background: var(--led);
  box-shadow: 0 0 20px var(--glow);
  opacity: 0.85;
  transition: background 0.5s, box-shadow 0.5s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #1e3a4a;
}

.hero-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.14);
  transform-origin: center center;
  transition: opacity 0.8s var(--ease);
}

.hero-photo.is-water {
  opacity: 1;
  object-position: 70% center;
}

[data-realm="land"] .hero-photo.is-water {
  opacity: 0;
}

[data-realm="land"] .hero-photo.is-land {
  opacity: 1;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.38);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--veil);
  transition: background 0.5s;
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.empty-msg {
  padding: 2rem;
  text-align: center;
}

.hero-wrap {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.kicker {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--kicker);
  margin-bottom: 1.25rem;
  transition: color 0.5s;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  transition: color 0.5s;
}

.hero-copy {
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero-stat-value {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  transition: color 0.5s;
}

.hero-stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  opacity: 0.5;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

.cta-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.cta-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--btn-fg);
  cursor: pointer;
  box-shadow: 0 0 32px var(--glow);
  transition: background 0.4s, box-shadow 0.4s, transform 0.2s;
}

.cta:hover {
  transform: translateY(-1px);
}

.cta-wide {
  width: 100%;
}

/* ── Marquee ── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-track span::after {
  content: "·";
  margin-left: 3rem;
  color: var(--accent);
  opacity: 0.6;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Perks ── */
.block-perks {
  background: linear-gradient(180deg, var(--surface), transparent);
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.perk-card {
  padding: 2rem 1.5rem;
  background: var(--bg);
  transition: background 0.4s;
}

.perk-card:hover {
  background: var(--metal-2);
}

.perk-num {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.perk-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.65rem;
}

.perk-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Gallery strip ── */
.block-gallery {
  padding-top: 3rem;
  overflow: hidden;
}

.gallery-strip {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.gallery-strip::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
  transition: transform 0.7s var(--ease), filter 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.02);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

/* ── CTA band ── */
.block-cta {
  padding: 4rem 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  transition: background 0.5s;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  border: 1px solid var(--line);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.cta-band-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, var(--accent-dim), transparent 60%);
  pointer-events: none;
}

.cta-band-copy {
  position: relative;
  max-width: 28rem;
}

.cta-band-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  margin-bottom: 0.65rem;
}

.cta-band-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Blocks ── */
.block {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.block-wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.block-head {
  margin-bottom: 2.5rem;
}

.block-head h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4.5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.block-lead {
  max-width: 32rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ── Featured cards ── */
.block-featured {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.featured-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  transition: background 0.4s;
  cursor: pointer;
}

.featured-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.featured-card:hover {
  background: var(--metal-2);
}

.featured-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.9);
  transition: transform 0.7s var(--ease), filter 0.4s;
}

.featured-card:hover .featured-img img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.02) brightness(0.95);
}

.featured-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--btn-fg);
}

.featured-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-tag {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.featured-body h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.featured-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.featured-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.featured-book {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.featured-book:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ── Steps ── */
.block-steps {
  background: var(--surface);
  transition: background 0.5s;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step-card {
  padding: 2rem 1.5rem;
  background: var(--bg);
  transition: background 0.4s;
}

.step-card:hover {
  background: var(--metal-2);
}

.step-num {
  display: block;
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  transition: color 0.5s, opacity 0.5s;
}

.step-card:hover .step-num {
  opacity: 0.7;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Reviews ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.review-card {
  padding: 2rem 1.75rem;
  background: var(--surface);
  transition: background 0.4s;
  position: relative;
}

.review-card:hover {
  background: var(--metal-2);
}

.review-quote {
  display: block;
  font-family: var(--display);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: 0.5rem;
}

.review-text {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.review-name {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-activity {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.reviews-empty-wrap {
  display: flex;
  justify-content: center;
}

.reviews-empty {
  text-align: center;
  padding: 3.5rem 2rem;
  max-width: 28rem;
  border: 1px dashed var(--line);
  background: var(--surface);
}

.reviews-empty-icon {
  display: block;
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 1rem;
}

.reviews-empty-title {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 0.65rem;
}

.reviews-empty-text {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.faq-item {
  background: var(--surface);
  transition: background 0.3s;
}

.faq-item[open] {
  background: var(--metal-2);
}

.faq-item summary {
  padding: 1.25rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Service menu ── */
.block-menu {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.menu-item {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: pointer;
  border: 0;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
}

.menu-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.menu-item:hover {
  background: var(--metal-2);
  box-shadow: inset 3px 0 0 var(--accent);
}

.menu-num {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  align-self: start;
  padding-top: 0.15rem;
}

.menu-info {
  min-width: 0;
}

.menu-tag {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.menu-info h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.menu-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 38rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  flex-shrink: 0;
  text-align: right;
}

.menu-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.menu-book {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.menu-book:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  background: var(--surface);
  transition: background 0.4s;
}

.card:hover {
  background: var(--metal-2);
}

.card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.08) brightness(0.92);
  transition: transform 0.6s var(--ease), filter 0.4s;
}

.card:hover .card-img img {
  transform: scale(1.03);
  filter: saturate(0.95) contrast(1.05) brightness(0.96);
}

.card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.card-tag {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.card-body h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.card-body p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.card-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* ── Booking ── */
.block-book {
  background: var(--surface);
  transition: background 0.5s;
}

.book-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.book-info h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.book-contact {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.book-phone {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  transition: color 0.25s;
}

.book-phone:hover {
  color: var(--accent);
}

.book-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.book-messengers a {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.book-messengers a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.book-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.book-status {
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  min-height: 0;
}

.book-status:not([hidden]) {
  min-height: 2.75rem;
  margin-bottom: 0.25rem;
}

.book-status.is-success {
  color: var(--accent);
  background: var(--accent-dim);
}

.book-status.is-error {
  color: #ffb4b4;
  background: rgba(255, 80, 80, 0.12);
}

.book-note {
  font-size: 0.75rem;
  text-align: center;
  margin-top: -0.25rem;
}

.book-note a {
  color: var(--kicker);
  text-decoration: none;
}

.book-note a:hover {
  color: var(--accent);
}

.book-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.book-consent-check {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.12rem;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
  opacity: 1;
  position: static;
}

.book-consent.is-error .book-consent-text {
  color: #ffb4b4;
}

.book-consent-text {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted);
}

.book-consent-text a {
  color: var(--kicker);
  text-decoration: none;
}

.book-consent-text a:hover {
  color: var(--accent);
}

.book-form {
  display: grid;
  gap: 1.15rem;
}

.book-form label {
  display: grid;
  gap: 0.5rem;
}

.book-form label > span {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(240, 235, 227, 0.78);
}

.book-form input:not(.book-consent-check),
.book-form select {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1.1rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.book-form select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239a9288' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  cursor: pointer;
}

.book-form input::placeholder {
  color: rgba(154, 146, 136, 0.75);
}

.book-form input:focus,
.book-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.phone-field {
  display: grid;
  gap: 0.5rem;
}

.phone-input {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 50px;
  padding: 0 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.phone-input:focus-within {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.phone-prefix {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  flex-shrink: 0;
  user-select: none;
}

.phone-input input {
  flex: 1;
  min-width: 0;
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.75rem 0;
  box-shadow: none;
}

.phone-input input:focus {
  box-shadow: none;
  background: transparent;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.5s;
}

.footer-wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.footer-kicker {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kicker);
  margin-bottom: 1rem;
}

.footer-phone {
  display: inline-block;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  transition: color 0.25s;
}

.footer-phone:hover {
  color: var(--accent);
}

.footer-text {
  font-size: 0.82rem;
  line-height: 1.55;
  margin-bottom: 0.35rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-social a {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.footer-docs {
  display: grid;
  gap: 0.55rem;
}

.footer-docs a {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-docs a:hover {
  color: var(--text);
}

.footer-rule {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.15);
}

.footer-rule summary {
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.footer-rule summary::-webkit-details-marker {
  display: none;
}

.footer-rule summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 300;
}

.footer-rule[open] summary::after {
  content: "×";
}

.footer-rule ul {
  padding: 0 0.9rem 0.85rem 1.35rem;
  display: grid;
  gap: 0.45rem;
}

.footer-rule li {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.footer-nav {
  display: grid;
  gap: 0.55rem;
}

.footer-nav a {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ── Sticky mobile bar ── */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
  pointer-events: none;
}

.sticky-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-book {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--accent);
  color: var(--btn-fg);
  box-shadow: 0 0 24px var(--glow);
}

.sticky-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 0.25s, color 0.25s;
}

.sticky-icon svg {
  width: 20px;
  height: 20px;
}

.sticky-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Service sheet ── */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.sheet.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}

.sheet-panel {
  position: relative;
  width: min(440px, 100%);
  max-height: min(88vh, 680px);
  overflow: auto;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s var(--ease);
}

.sheet.open .sheet-panel {
  transform: none;
}

.sheet-x {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.55);
  color: var(--text);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}

.sheet-x:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.sheet-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg);
  border-radius: 1.25rem 1.25rem 0 0;
}

.sheet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.sheet-body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.sheet-tag {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kicker);
  margin-bottom: 0.5rem;
}

.sheet-body h3 {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 0.65rem;
}

.sheet-time {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.sheet-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sheet-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.sheet-book {
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .sheet {
    align-items: center;
  }
}

/* ── Mobile ── */
@media (max-width: 800px) {
  .gate-panels {
    grid-template-columns: 1fr;
  }

  .gate-panel {
    min-height: 160px;
  }

  .header-wrap {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 0;
    gap: 0.75rem;
  }

  .brand {
    order: 1;
    gap: 0.55rem;
  }

  .brand-logo {
    height: 1.35rem;
  }

  .brand-tag {
    font-size: 0.5rem;
    letter-spacing: 0.18em;
    padding-left: 0.55rem;
  }

  .burger {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .realm-toggle {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .header-book {
    display: none;
  }

  .nav {
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s, opacity 0.35s, padding 0.35s;
    padding: 0;
  }

  .nav.is-open {
    max-height: 320px;
    opacity: 1;
    padding: 0.5rem 0 0.75rem;
  }

  .hero-stats {
    gap: 1.25rem 2rem;
  }

  .featured-grid,
  .steps-grid,
  .reviews-grid,
  .perks-grid {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.25rem;
  }

  .cta-band-actions {
    width: 100%;
  }

  .cta-band-actions .cta {
    flex: 1;
  }

  .book-row {
    grid-template-columns: 1fr;
  }

  .sticky-bar {
    display: flex;
  }

  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .menu-item {
    grid-template-columns: 2.5rem 1fr;
    grid-template-rows: auto auto;
    gap: 0.85rem 1rem;
    padding: 1rem;
  }

  .menu-action {
    grid-column: 2 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
  }

  .menu-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .book-split {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  .marquee-track,
  .hero-scroll span {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
