:root {
  --accent: #d9702f;
  --accent-strong: #f1b26d;
  --accent-soft: rgba(217, 112, 47, 0.12);
  --bg-start: #050505;
  --bg-end: #0b0b0b;
  --panel: rgba(13, 13, 13, 0.96);
  --panel-strong: rgba(18, 18, 18, 0.98);
  --panel-soft: rgba(255, 255, 255, 0.025);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f6f0e8;
  --muted: rgba(246, 240, 232, 0.6);
  --line: rgba(255, 255, 255, 0.06);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 112, 47, 0.16), transparent 24%),
    radial-gradient(circle at 90% 0%, rgba(241, 178, 109, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg-start), var(--bg-end));
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.app-shell {
  position: relative;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 16px 12px 104px;
  overflow: hidden;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
  opacity: 0.46;
}

.ambient-a {
  top: -100px;
  right: -40px;
  width: 260px;
  height: 260px;
  background: rgba(217, 112, 47, 0.11);
}

.ambient-b {
  top: 360px;
  left: -80px;
  width: 220px;
  height: 220px;
  background: rgba(241, 178, 109, 0.07);
}

.ambient-c {
  bottom: 120px;
  right: -120px;
  width: 300px;
  height: 300px;
  background: rgba(217, 112, 47, 0.06);
}

.topbar,
.hero-card,
.marquee-card,
.section-block,
.booking-shell,
.summary-card,
.tabbar,
.about-card,
.service-card,
.studio-card,
.slot-button,
.context-chip,
.step-dot,
.date-row,
.booking-form input,
.booking-form textarea {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.topbar {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  margin-bottom: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(10, 10, 10, 0.94);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pill,
.step-indicator,
.section-note,
.context-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-logo {
  width: 42px;
  height: 42px;
}

.topbar-copy {
  min-width: 0;
}

.eyebrow,
.section-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Syne", "Segoe UI", sans-serif;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

h1 {
  font-size: clamp(24px, 5vw, 34px);
}

h2 {
  font-size: clamp(34px, 9vw, 54px);
}

h3 {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.lead,
.screen-head p,
.studio-copy p,
.empty-state,
.booking-form label,
.summary-row span {
  color: var(--muted);
  line-height: 1.55;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.view-stack {
  display: block;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 14px;
  padding: 18px;
  border-radius: 30px;
  margin-bottom: 10px;
  background:
    linear-gradient(135deg, rgba(217, 112, 47, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(12, 12, 12, 0.98);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 8px;
}

.hero-actions {
  margin-top: 12px;
}

.hero-actions .primary-button {
  width: 100%;
}

.hero-aside {
  display: grid;
  gap: 10px;
}

.hero-kpi {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-kpi span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kpi strong {
  font-size: 14px;
  line-height: 1.4;
}

.marquee-card,
.section-block {
  padding: 14px;
  border-radius: 24px;
  margin-bottom: 10px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.section-label {
  margin: 0;
}

.marquee {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-width: max-content;
  padding: 12px 0;
  animation: marquee-slide 20s linear infinite;
}

.marquee-track span {
  color: var(--text);
  opacity: 0.78;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee-track span::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-left: 22px;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.16);
}

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

.studio-list,
.about-grid,
.service-grid,
.slots {
  display: grid;
  gap: 10px;
}

.studio-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border-radius: 24px;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.studio-card.choice-card {
  grid-template-columns: 64px minmax(0, 1fr) auto;
}

.studio-card.selected,
.service-card.selected,
.slot-button.selected,
.tab-button.active,
.step-dot.active {
  border-color: rgba(217, 112, 47, 0.35);
  background:
    linear-gradient(180deg, rgba(217, 112, 47, 0.14), rgba(217, 112, 47, 0.03)),
    rgba(18, 18, 18, 0.98);
}

.studio-card:hover,
.service-card:hover,
.slot-button:hover,
.secondary-button:hover,
.tab-button:hover,
.primary-button:hover {
  transform: translateY(-1px);
}

.studio-image {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.03);
}

.choice-card .studio-image {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.studio-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.studio-copy h3,
.studio-copy p {
  overflow-wrap: anywhere;
}

.studio-city {
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.studio-action,
.choice-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.choice-mark {
  width: 34px;
  height: 34px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.studio-action svg,
.tab-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-action {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border: 0;
  box-shadow: 0 10px 24px rgba(217, 112, 47, 0.2);
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 20px;
}

.about-card span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-card strong {
  font-size: 16px;
  line-height: 1.35;
}

.support-action {
  margin-top: 12px;
}

.support-action .primary-button {
  width: 100%;
}

.booking-shell {
  border-radius: 30px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    rgba(10, 10, 10, 0.97);
}

.booking-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.app-shell[data-tab="booking"] .booking-header {
  display: none;
}

.app-shell[data-tab="booking"] .topbar {
  display: none;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.step-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 999px;
  min-width: 0;
  min-height: 44px;
}

.step-dot.done {
  border-color: rgba(217, 112, 47, 0.22);
  background: rgba(217, 112, 47, 0.09);
}

.step-dot span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.step-dot small {
  display: none;
}

.step-screen {
  display: none;
  gap: 12px;
}

.step-screen.active {
  display: grid;
}

.screen-head {
  display: grid;
  gap: 4px;
}

.service-card {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 22px;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.service-kicker,
.service-meta {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.date-row {
  display: grid;
  gap: 8px;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  padding: 12px;
  border-radius: 20px;
}

.date-row label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.booking-form {
  display: grid;
  gap: 12px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.booking-form input,
.booking-form textarea,
#booking-date {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px 15px;
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  outline: none;
  font-size: 16px;
}

#booking-date {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  inline-size: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  text-align-last: center;
  padding-left: 40px;
  padding-right: 40px;
}

.booking-form textarea {
  min-height: 110px;
  resize: vertical;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
  color: rgba(246, 240, 232, 0.36);
}

.booking-form input:focus,
.booking-form textarea:focus,
#booking-date:focus {
  border-color: rgba(217, 112, 47, 0.34);
  box-shadow: 0 0 0 1px rgba(217, 112, 47, 0.22);
}

.slots {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.slot-button {
  width: 100%;
  padding: 14px 12px;
  border-radius: 18px;
  color: var(--text);
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.screen-actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.screen-actions > * {
  flex: 1;
}

.secondary-button,
.primary-button,
.tab-button {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.secondary-button,
.tab-button {
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.secondary-button,
.primary-button {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
}

.primary-button {
  border: 0;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 30px rgba(217, 112, 47, 0.24);
}

.primary-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.summary-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 24px;
}

.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.summary-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.summary-row strong {
  min-width: 0;
  flex: 1 1 auto;
  text-align: right;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.empty-state {
  padding: 22px 16px;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  text-align: center;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(calc(100% - 20px), 460px);
  padding: 8px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(10, 10, 10, 0.9);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-radius: 18px;
}

.tab-button span:last-child {
  font-size: 13px;
  font-weight: 700;
}

.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: currentColor;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1;
  width: 20px;
  height: 20px;
  margin: 0;
  filter: invert(84%) sepia(18%) saturate(824%) hue-rotate(340deg) brightness(102%) contrast(92%);
  cursor: pointer;
}

@media (max-width: 720px) {
  .app-shell {
    padding: 12px 10px 98px;
  }

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

  .stepper {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .topbar {
    border-radius: 20px;
  }

  .topbar-meta {
    display: none;
  }

  .marquee-track {
    gap: 18px;
  }

  .about-grid,
  .slots {
    grid-template-columns: 1fr;
  }

  .studio-card,
  .studio-card.choice-card {
    grid-template-columns: 72px minmax(0, 1fr) auto;
  }

  .studio-image {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .choice-card .studio-image {
    width: 72px;
    height: 72px;
  }

  .screen-actions {
    flex-direction: column;
  }

  #booking-date {
    width: 100%;
    max-width: 100%;
  }

  .context-chip {
    display: flex;
    width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .summary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .summary-row strong {
    width: 100%;
    text-align: left;
  }

  .tabbar {
    width: calc(100% - 16px);
    bottom: 8px;
  }
}
