:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #12110f;
  --bg-card: rgba(22, 18, 15, 0.82);
  --bg-card-solid: #171411;
  --bg-overlay: rgba(7, 6, 5, 0.7);
  --text-primary: #f5f0e8;
  --text-secondary: #b5a797;
  --text-muted: #7d7267;
  --accent-warm: #d8c0a0;
  --accent-strong: #ead6b8;
  --accent-glow: rgba(216, 192, 160, 0.24);
  --border: rgba(216, 192, 160, 0.14);
  --border-strong: rgba(216, 192, 160, 0.32);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.22);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 72px;
  --transition-base: 0.3s ease;
  --transition-slow: 0.45s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  background:
    radial-gradient(circle at top, rgba(216, 192, 160, 0.12), transparent 34%),
    linear-gradient(180deg, #0d0c0a 0%, #090909 100%);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 30%),
    radial-gradient(circle at bottom right, rgba(216, 192, 160, 0.08), transparent 28%);
}

body.theme-home-light {
  background:
    radial-gradient(circle at top, rgba(227, 214, 193, 0.55), transparent 30%),
    linear-gradient(180deg, #eee3d3 0%, #e6d7c5 100%);
}

body.theme-home-light::before {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), transparent 34%),
    radial-gradient(circle at bottom right, rgba(196, 173, 146, 0.12), transparent 26%);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

input,
textarea {
  appearance: none;
}

.app-shell {
  width: min(100%, 480px);
  margin: 0 auto;
  min-height: 100svh;
  padding: 0 var(--space-md) calc(120px + env(safe-area-inset-bottom, 0px));
  position: relative;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 0 14px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: var(--space-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.topbar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.86), rgba(10, 10, 10, 0.2));
  z-index: -1;
  pointer-events: none;
}

.topbar-logo {
  display: none;
  justify-self: center;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.topbar-logo span {
  color: var(--accent-warm);
}

.topbar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(216, 192, 160, 0.12);
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

#menu-toggle {
  grid-column: 3;
}

#save-entry {
  display: none;
}

.topbar-icon:active,
.topbar-icon.active {
  transform: scale(0.96);
  border-color: var(--border-strong);
  background: rgba(216, 192, 160, 0.08);
}

.topbar-back.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
}

.menu-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.menu-panel__sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100%;
  padding: calc(20px + env(safe-area-inset-top, 0px)) var(--space-lg) calc(32px + env(safe-area-inset-bottom, 0px));
  background:
    linear-gradient(180deg, rgba(22, 18, 15, 0.92), rgba(10, 10, 10, 0.96)),
    url('../../assets/images/base.jpg') center / cover no-repeat;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  box-shadow: var(--shadow);
}

.menu-panel__sheet::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.18), rgba(10, 10, 10, 0.84));
}

.menu-panel__head,
.menu-links,
.menu-socials {
  position: relative;
  z-index: 1;
}

.menu-panel__head {
  display: flex;
  justify-content: space-between;
}

.menu-panel.is-open {
  pointer-events: auto;
}

.menu-panel.is-open .menu-panel__overlay {
  opacity: 1;
}

.menu-panel.is-open .menu-panel__sheet {
  transform: translateX(0);
}

.save-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.save-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.save-panel__sheet {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 0;
  width: min(100%, 480px);
  padding: 10px var(--space-lg) calc(22px + env(safe-area-inset-bottom, 0px));
  border-radius: 30px 30px 0 0;
  border: 1px solid rgba(216, 192, 160, 0.18);
  border-bottom: 0;
  background:
    radial-gradient(circle at top right, rgba(216, 192, 160, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(24, 20, 17, 0.98), rgba(10, 10, 10, 0.98));
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, 100%);
  transition: transform var(--transition-slow);
}

.save-panel.is-open {
  pointer-events: auto;
}

.save-panel.is-open .save-panel__overlay {
  opacity: 1;
}

.save-panel.is-open .save-panel__sheet {
  transform: translate(-50%, 0);
}

.save-panel__handle {
  width: 44px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.save-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
}

.save-panel__head h2 {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 36px);
  font-weight: 400;
  line-height: 1.08;
}

.save-panel__copy,
.save-panel__hint {
  margin-top: var(--space-md);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.save-panel__actions {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.menu-links {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.menu-link {
  text-align: left;
  padding: 14px 0;
  font-size: 17px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-socials {
  margin-top: auto;
  display: flex;
  gap: var(--space-lg);
  color: var(--text-secondary);
  font-size: 13px;
}

.screen-stack {
  position: relative;
}

.screen {
  display: none;
  min-height: calc(100svh - 96px);
  padding-bottom: var(--space-2xl);
  opacity: 0;
  transform: translateY(18px);
}

.screen.screen-active {
  display: block;
  animation: screenFadeIn 0.45s ease forwards;
}

@keyframes screenFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.screen-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.is-hidden {
  display: none !important;
}

.screen-header,
.section-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.screen-eyebrow,
.section-eyebrow {
  color: var(--accent-warm);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.screen-title,
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
}

.screen-title {
  font-size: clamp(34px, 9vw, 48px);
}

.screen-title--inner,
.section-title {
  font-size: clamp(30px, 7.5vw, 40px);
}

.screen-copy {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.hero-card,
.placeholder-card,
.service-list-item,
.upload-placeholder,
.lead-summary,
.floating-audio,
.selection-card,
.style-card,
.input,
.textarea,
.checkbox-row,
.service-detail-empty,
.scene-wrapper {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(25, 21, 18, 0.88), rgba(18, 16, 14, 0.9));
}

.home-atmosphere-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 22px rgba(66, 49, 34, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #fffaf3;
  transition:
    transform var(--transition-base),
    background var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.home-atmosphere-btn:active {
  transform: scale(0.98);
}

.home-atmosphere-btn.active {
  background: rgba(214, 191, 157, 0.28);
  border-color: rgba(255, 241, 220, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 0 0 1px rgba(222, 197, 163, 0.2),
    0 14px 30px rgba(180, 143, 97, 0.24);
}

.home-atmosphere-btn.loading {
  opacity: 0.76;
  pointer-events: none;
}

.home-atmosphere-btn__icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 16px;
  line-height: 1;
}

.home-atmosphere-btn__copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.home-atmosphere-btn__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.home-atmosphere-btn__hint {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  color: rgba(255, 248, 239, 0.82);
}

body.theme-home-light .topbar::after {
  background: linear-gradient(to bottom, rgba(241, 232, 219, 0.94), rgba(241, 232, 219, 0.4));
}

body.theme-home-light .topbar-logo,
body.theme-home-light .menu-link,
body.theme-home-light .menu-socials,
body.theme-home-light .btn-link,
body.theme-home-light .screen-copy,
body.theme-home-light .screen-eyebrow {
  color: #33261c;
}

body.theme-home-light .home-atmosphere-btn {
  background: rgba(74, 55, 38, 0.34);
  border-color: rgba(255, 241, 220, 0.34);
  color: #fff9f2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 26px rgba(68, 48, 32, 0.18);
}

body.theme-home-light .project-example-cta {
  color: #2b2018;
  background: rgba(255, 250, 243, 0.78);
  border-color: rgba(143, 117, 88, 0.13);
  box-shadow: 0 10px 26px rgba(120, 94, 66, 0.08);
}

body.theme-home-light .project-example-cta small {
  color: rgba(69, 51, 38, 0.72);
}

body.theme-home-light .topbar-icon {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(120, 94, 66, 0.12);
  color: #33261c;
}

.hero-card__visual {
  position: relative;
  aspect-ratio: 4 / 5;
}

.hero-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 10%, rgba(16, 13, 11, 0.84) 100%);
}

.hero-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card__body {
  padding: 0 var(--space-lg) var(--space-xl);
  margin-top: -72px;
  position: relative;
  z-index: 1;
}

.home-screen {
  min-height: calc(100svh - 96px);
}

.home-screen__content {
  gap: 20px;
}

.home-hero-card {
  border: none;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.home-hero-card__visual {
  position: relative;
  aspect-ratio: 0.54 / 1;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(95, 71, 49, 0.12);
}

.home-hero-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 249, 242, 0.04) 0%, rgba(255, 247, 238, 0.08) 42%, rgba(83, 63, 44, 0.16) 66%, rgba(32, 22, 15, 0.72) 100%);
  z-index: 1;
}

.home-hero-card__visual img {
  width: 100%;
  height: 100%;
  object-position: center top;
}

.home-hero-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 22px 24px;
}

.home-screen__eyebrow {
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}

.home-screen__title {
  color: #fff6ec;
  font-size: clamp(34px, 8.2vw, 48px);
  line-height: 1;
  max-width: 100%;
  margin-bottom: 12px;
  text-wrap: balance;
}

.home-screen__copy {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  max-width: 19ch;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}

body.theme-home-light .home-screen__eyebrow,
body.theme-home-light .home-screen__copy {
  color: #ffffff;
}

.home-primary-actions {
  gap: 10px;
  margin-top: 6px;
}

.btn-stage-realization {
  background: linear-gradient(180deg, rgba(235, 219, 198, 0.82), rgba(203, 177, 145, 0.9));
  color: #241a12;
}

.home-stage-copy {
  color: #5a4636;
  font-size: 13px;
  line-height: 1.6;
  text-wrap: balance;
  margin-top: 2px;
}

.home-screen .btn.btn-solid {
  min-height: 56px;
  background: rgba(255, 250, 243, 0.9);
  color: #2b2018;
  border: 1px solid rgba(143, 117, 88, 0.12);
  box-shadow: 0 10px 26px rgba(120, 94, 66, 0.08);
}

.home-demo-entry {
  margin-top: -4px;
}

.project-example-cta {
  width: 100%;
  min-height: 72px;
  padding: 16px 18px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  text-align: left;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top right, rgba(216, 192, 160, 0.13), transparent 36%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(216, 192, 160, 0.16);
  box-shadow: var(--shadow-soft);
}

.project-example-cta strong,
.project-example-cta small {
  display: block;
}

.project-example-cta strong {
  font-size: 15px;
  font-weight: 600;
}

.project-example-cta small {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.45;
}

.project-example-cta > span:last-child {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #20160f;
  background: linear-gradient(180deg, #ead7b9, #c9a06d);
}

.project-example-grid {
  display: grid;
  gap: var(--space-md);
}

.project-example-card {
  min-height: 230px;
  padding: 20px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-lg);
  background:
    radial-gradient(circle at top right, rgba(216, 192, 160, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(12, 10, 8, 0.78);
  border: 1px solid rgba(216, 192, 160, 0.16);
  box-shadow: var(--shadow-soft);
}

.project-example-card h3 {
  margin-top: 8px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
}

.project-example-card p:not(.screen-eyebrow) {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.primary-actions,
.screen-actions {
  display: grid;
  gap: var(--space-sm);
}

.btn {
  min-height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.62;
  pointer-events: none;
}

.btn-solid {
  background: linear-gradient(180deg, #e3d1b7 0%, #cdb08a 100%);
  color: #231910;
  font-weight: 600;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 600;
}

.btn-link {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 40px;
}

.btn-full {
  width: 100%;
}

.home-lighting {
  padding-top: var(--space-md);
}

.light-context-summary {
  display: flex;
}

.bathroom-light-scene {
  aspect-ratio: 4 / 5.35;
  min-height: 430px;
  overflow: hidden;
}

.bathroom-light-scene .scene-img {
  transition:
    opacity 420ms ease,
    filter 420ms ease,
    transform 420ms ease;
}

.bathroom-light-scene[data-mode="day"] .scene-img {
  filter: brightness(1.02) saturate(1.02) contrast(1);
}

.bathroom-light-scene[data-mode="night"] .scene-img {
  filter: brightness(0.54) saturate(0.9) contrast(1.02);
}

.bathroom-light-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms ease, transform 420ms ease, filter 420ms ease;
}

.bathroom-light-layer--main {
  background:
    radial-gradient(circle at 50% 5%, rgba(255, 244, 222, 0.78) 0, rgba(255, 239, 208, 0.3) 18%, rgba(255, 239, 208, 0.06) 34%, transparent 54%);
}

.bathroom-light-layer--mirror {
  background:
    radial-gradient(circle at 49.5% 31%, rgba(255, 230, 184, 0.88) 0, rgba(255, 218, 170, 0.48) 9%, rgba(255, 218, 170, 0.15) 15%, transparent 20%);
  filter: blur(4px);
}

.bathroom-light-layer--niche {
  background:
    radial-gradient(circle at 89% 39%, rgba(255, 210, 150, 0.18) 0, rgba(255, 210, 150, 0.08) 14%, transparent 24%),
    linear-gradient(90deg, transparent 0 73%, rgba(255, 205, 152, 0.9) 79%, rgba(255, 205, 152, 0.38) 86%, transparent 94%);
  filter: blur(6px);
}

.bathroom-light-layer--vanity {
  background:
    linear-gradient(180deg, transparent 0 67%, rgba(255, 214, 166, 0.72) 74%, rgba(255, 214, 166, 0.26) 79%, transparent 86%);
  filter: blur(5px);
}

.bathroom-light-layer.active {
  opacity: 1;
}

.bathroom-light-scene[data-render-mode="real"] .bathroom-light-layer {
  opacity: 0 !important;
}

.bathroom-light-scene[data-mode="night"] .bathroom-light-layer {
  transform: scale(1.01);
}

.bathroom-light-scene[data-mode="night"] .bathroom-light-layer--main.active {
  opacity: 0.94;
}

.bathroom-light-scene[data-mode="night"] .bathroom-light-layer--mirror.active {
  opacity: 1;
}

.bathroom-light-scene[data-mode="night"] .bathroom-light-layer--niche.active,
.bathroom-light-scene[data-mode="night"] .bathroom-light-layer--vanity.active {
  opacity: 0.96;
}

.bathroom-light-scene[data-mode="day"] .bathroom-light-layer--main.active {
  opacity: 0.48;
}

.bathroom-light-scene[data-mode="day"] .bathroom-light-layer--mirror.active {
  opacity: 0.56;
}

.bathroom-light-scene[data-mode="day"] .bathroom-light-layer--niche.active,
.bathroom-light-scene[data-mode="day"] .bathroom-light-layer--vanity.active {
  opacity: 0.42;
}

.bathroom-light-scene[data-render-mode="real"] .scene-img {
  filter: none !important;
  transform: none !important;
}

.bathroom-light-scene[data-render-mode="real"] .bathroom-light-layer {
  opacity: 0 !important;
  display: none;
}

.bathroom-light-scene__overlay {
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.68), rgba(10, 10, 10, 0.2) 42%, transparent 72%);
}

.bathroom-light-scene[data-mode="night"] .bathroom-light-scene__overlay {
  background:
    linear-gradient(to top, rgba(7, 7, 8, 0.82), rgba(11, 10, 12, 0.44) 42%, rgba(9, 9, 10, 0.12) 72%);
}

.bathroom-light-scene[data-mode="day"] .bathroom-light-scene__overlay {
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.18) 42%, transparent 72%);
}

.bathroom-light-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(241, 222, 197, 0.18);
  background: rgba(17, 14, 12, 0.66);
  color: #fff3e0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bathroom-mode-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.toggle-pill {
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(216, 192, 160, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 244, 230, 0.76);
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.toggle-pill.active {
  background: linear-gradient(180deg, rgba(227, 209, 183, 0.2), rgba(205, 176, 138, 0.12));
  border-color: rgba(227, 209, 183, 0.34);
  color: #fff5e6;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.bathroom-light-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bathroom-light-card {
  min-height: 112px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(216, 192, 160, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(20, 17, 15, 0.88);
  display: grid;
  gap: 10px;
  align-content: space-between;
  text-align: left;
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.bathroom-light-card.active {
  border-color: rgba(232, 214, 191, 0.34);
  background:
    radial-gradient(circle at top right, rgba(216, 192, 160, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(236, 218, 193, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(20, 17, 15, 0.92);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(216, 192, 160, 0.06) inset;
}

.bathroom-light-card__code {
  color: rgba(255, 232, 205, 0.54);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bathroom-light-card__title {
  color: #fff4e3;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.bathroom-light-card__state {
  color: rgba(255, 241, 222, 0.66);
  font-size: 12px;
  line-height: 1.3;
}

.bathroom-light-card.active .bathroom-light-card__state {
  color: rgba(241, 220, 191, 0.94);
}

#screen-light-preview .screen-header {
  gap: 8px;
}

#screen-light-preview .scene-wrapper {
  aspect-ratio: 4 / 5.4;
  min-height: 440px;
}

#screen-light-preview .scene-overlay {
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.62), rgba(10, 10, 10, 0.18) 46%, transparent 74%);
}

#screen-light-preview .scene-wrapper[data-render-mode="real"] .light-layer {
  display: none !important;
  opacity: 0 !important;
}

#screen-light-preview .scene-wrapper[data-render-mode="real"] .scene-overlay {
  background: transparent !important;
  pointer-events: none;
}

#screen-light-preview .scene-wrapper[data-render-mode="real"] .scene-img {
  filter: none !important;
  mix-blend-mode: normal !important;
}

#screen-light-preview.is-bathroom-contemporary .scene-overlay {
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.42), rgba(10, 10, 10, 0.1) 46%, transparent 74%);
}

#screen-light-preview.is-bathroom-soft-loft .scene-overlay {
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.34), rgba(10, 10, 10, 0.08) 46%, transparent 74%);
}

#screen-light-preview .screen-actions {
  margin-top: 20px;
}

.style-light-demo {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.style-light-demo.is-hidden {
  display: none;
}

.style-light-demo__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.style-light-chip {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(216, 192, 160, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 244, 230, 0.76);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color var(--transition-base), background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.style-light-chip.active {
  border-color: rgba(227, 209, 183, 0.34);
  background: linear-gradient(180deg, rgba(227, 209, 183, 0.2), rgba(205, 176, 138, 0.12));
  color: #fff5e6;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.style-light-demo__label {
  margin: 0;
  color: rgba(255, 244, 228, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.reality-guide {
  display: grid;
  gap: 16px;
}

.reality-slider-card,
.reality-scale-card,
.reality-status-card,
.reality-summary-item {
  border-radius: 22px;
  border: 1px solid rgba(216, 192, 160, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(12, 10, 8, 0.78);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.reality-slider-card {
  padding: 18px 16px 16px;
  display: grid;
  gap: 16px;
}

.reality-slider-card__head,
.reality-status-card__head,
.reality-scale-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.reality-slider-card__head h3,
.reality-status-card__head h3,
.reality-scale-card__head h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.reality-slider-card__head p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

.reality-slider-card__head strong,
.reality-status-card__badge,
.reality-scale-card__head strong {
  color: #fff4e3;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.range-slider {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  background: transparent;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  touch-action: pan-y;
}

.range-slider::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 244, 226, 0.08);
  background:
    linear-gradient(90deg, rgba(226, 190, 140, 0.95) 0%, rgba(226, 190, 140, 0.95) var(--range-fill, 0%), rgba(255, 255, 255, 0.09) var(--range-fill, 0%), rgba(255, 255, 255, 0.09) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -5px 12px rgba(0, 0, 0, 0.2);
}

.range-slider::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  margin-top: -10px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff7ea 0 18%, transparent 20%),
    linear-gradient(180deg, #f1dcc0 0%, #bd8f58 100%);
  border: 2px solid rgba(34, 25, 18, 0.72);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.34),
    0 0 0 7px rgba(216, 192, 160, 0.1);
  -webkit-appearance: none;
}

.range-slider::-moz-range-track {
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 244, 226, 0.08);
  background: rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -5px 12px rgba(0, 0, 0, 0.2);
}

.range-slider::-moz-range-progress {
  height: 12px;
  border-radius: 999px;
  background: rgba(226, 190, 140, 0.95);
}

.range-slider::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff7ea 0 18%, transparent 20%),
    linear-gradient(180deg, #f1dcc0 0%, #bd8f58 100%);
  border: 2px solid rgba(34, 25, 18, 0.72);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.34),
    0 0 0 7px rgba(216, 192, 160, 0.1);
}

.range-slider__scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.reality-scale-card {
  padding: 18px 16px 16px;
  display: grid;
  gap: 16px;
}

.reality-status-card {
  padding: 20px 18px;
  display: grid;
  gap: 14px;
  background:
    radial-gradient(circle at top right, rgba(216, 192, 160, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(12, 10, 8, 0.78);
}

.reality-status-card[data-status="realistic"],
.reality-status-card[data-status="complex"],
.reality-status-card[data-status="individual"] {
  border-color: rgba(118, 182, 140, 0.3);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(118, 182, 140, 0.08) inset;
}

.reality-status-card[data-status="needs-review"],
.reality-status-card[data-status="budget"] {
  border-color: rgba(219, 182, 110, 0.28);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(219, 182, 110, 0.08) inset;
}

.reality-status-card[data-status="high-risk"] {
  border-color: rgba(205, 120, 92, 0.3);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(205, 120, 92, 0.08) inset;
}

.reality-zone-meter {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
}

.reality-zone-meter__track {
  display: block;
  width: 100%;
  height: 20px;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      rgba(91, 160, 111, 0.98) 0%,
      rgba(184, 185, 91, 0.98) 38%,
      rgba(214, 133, 82, 0.98) 68%,
      rgba(196, 92, 76, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.16);
  position: relative;
  overflow: hidden;
}

.reality-zone-meter__track::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02) 42%, transparent);
  pointer-events: none;
}

.reality-zone-meter__divider {
  position: absolute;
  top: 50%;
  width: 2px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.92), rgba(255, 248, 236, 0.28));
  box-shadow:
    0 0 0 1px rgba(18, 15, 12, 0.16),
    0 0 18px rgba(255, 235, 208, 0.18);
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

.reality-zone-meter__divider--first {
  left: 33.33%;
}

.reality-zone-meter__divider--second {
  left: 66.66%;
}

.reality-zone-meter__indicator {
  position: absolute;
  top: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(18, 15, 12, 0.76);
  border: 1px solid rgba(255, 243, 226, 0.22);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    0 0 0 8px rgba(255, 255, 255, 0.04);
  transform: translate(-50%, -50%);
  transition: left var(--transition-slow), transform var(--transition-slow);
  display: grid;
  place-items: center;
  z-index: 3;
}

.reality-zone-meter__indicator-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff7ea 0%, #e2bf8d 100%);
  box-shadow: 0 0 16px rgba(255, 221, 173, 0.34);
}

.reality-zone-meter__labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.reality-zone-meter__label {
  color: rgba(255, 243, 230, 0.74);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.reality-zone-meter__label--review {
  text-align: center;
}

.reality-zone-meter__label--ok {
  text-align: right;
}

.reality-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.reality-summary-item {
  padding: 14px;
  display: grid;
  gap: 6px;
}

.reality-summary-item span {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.reality-summary-item strong {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.35;
}

.reality-status-card__comment {
  color: rgba(255, 247, 235, 0.88);
  line-height: 1.65;
}

.reality-status-card__note {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.scene-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card-solid);
}

.scene-gradient,
.scene-img,
.scene-overlay,
.light-layer {
  position: absolute;
  inset: 0;
}

.scene-gradient {
  z-index: 0;
  background: linear-gradient(135deg, #2a2015 0%, #3d3020 40%, #2a2015 100%);
  transition: opacity 0.4s ease-in-out;
}

.scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.4s ease-in-out;
}

#scene-img-a {
  z-index: 2;
}

#scene-img-b {
  z-index: 1;
  opacity: 0;
}

.scene-overlay {
  z-index: 3;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.5), transparent 50%);
}

.light-layer {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  mix-blend-mode: screen;
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
  transform: scale(1.015);
  filter: blur(18px);
}

.light-layer.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.light-overlay-track {
  --overlay-fallback:
    radial-gradient(circle at 28% 30%, rgba(255, 218, 158, 0.4) 0%, rgba(255, 218, 158, 0.18) 12%, transparent 28%),
    radial-gradient(circle at 50% 28%, rgba(255, 214, 145, 0.36) 0%, rgba(255, 214, 145, 0.16) 10%, transparent 24%),
    radial-gradient(circle at 72% 30%, rgba(255, 218, 158, 0.4) 0%, rgba(255, 218, 158, 0.18) 12%, transparent 28%);
  background-image: var(--overlay-image, var(--overlay-fallback));
}

.light-overlay-spots {
  --overlay-fallback:
    radial-gradient(circle at 20% 18%, rgba(255, 230, 190, 0.32) 0%, rgba(255, 230, 190, 0.14) 8%, transparent 20%),
    radial-gradient(circle at 38% 16%, rgba(255, 230, 190, 0.28) 0%, rgba(255, 230, 190, 0.12) 8%, transparent 18%),
    radial-gradient(circle at 56% 17%, rgba(255, 230, 190, 0.32) 0%, rgba(255, 230, 190, 0.14) 8%, transparent 20%),
    radial-gradient(circle at 74% 18%, rgba(255, 230, 190, 0.28) 0%, rgba(255, 230, 190, 0.12) 8%, transparent 18%);
  background-image: var(--overlay-image, var(--overlay-fallback));
}

.light-overlay-cove {
  --overlay-fallback:
    linear-gradient(to right, rgba(255, 204, 129, 0.16), rgba(255, 225, 190, 0.05) 20%, rgba(255, 225, 190, 0.05) 80%, rgba(255, 204, 129, 0.16)),
    linear-gradient(to bottom, rgba(255, 218, 158, 0.2), transparent 20%, transparent 80%, rgba(255, 191, 112, 0.14));
  background-image: var(--overlay-image, var(--overlay-fallback));
}

.light-overlay-task {
  --overlay-fallback:
    radial-gradient(circle at 84% 38%, rgba(255, 228, 186, 0.4) 0%, rgba(255, 228, 186, 0.14) 18%, transparent 32%),
    radial-gradient(circle at 76% 56%, rgba(255, 208, 140, 0.24) 0%, rgba(255, 208, 140, 0.1) 12%, transparent 28%);
  background-image: var(--overlay-image, var(--overlay-fallback));
}

.light-overlay-shelf {
  --overlay-fallback:
    radial-gradient(circle at 18% 64%, rgba(255, 199, 125, 0.2) 0%, rgba(255, 199, 125, 0.08) 14%, transparent 26%),
    radial-gradient(circle at 18% 74%, rgba(255, 220, 176, 0.22) 0%, rgba(255, 220, 176, 0.09) 14%, transparent 26%),
    linear-gradient(90deg, rgba(255, 210, 148, 0.14) 0%, transparent 24%, transparent 100%);
  background-image: var(--overlay-image, var(--overlay-fallback));
}

.light-overlay-accent {
  --overlay-fallback:
    radial-gradient(circle at 64% 68%, rgba(255, 196, 120, 0.18) 0%, rgba(255, 196, 120, 0.08) 12%, transparent 24%),
    radial-gradient(circle at 86% 70%, rgba(255, 220, 176, 0.22) 0%, rgba(255, 220, 176, 0.08) 12%, transparent 22%),
    linear-gradient(135deg, transparent 54%, rgba(255, 203, 132, 0.1) 72%, transparent 100%);
  background-image: var(--overlay-image, var(--overlay-fallback));
}

.scene-badges {
  position: absolute;
  left: var(--space-md);
  bottom: var(--space-md);
  z-index: 4;
}

.scene-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.48);
  border: 1px solid rgba(216, 192, 160, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.scene-description {
  color: var(--text-secondary);
  font-size: 14px;
  min-height: 2.8em;
}

.project-example-scene {
  aspect-ratio: 1.42 / 1;
  min-height: 280px;
  border: 1px solid rgba(216, 192, 160, 0.16);
  box-shadow: var(--shadow-soft);
}

.project-example-scene .scene-img {
  object-fit: cover;
}

#project-example-img-a {
  z-index: 2;
}

#project-example-img-b {
  z-index: 1;
  opacity: 0;
}

.project-example-light-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.project-example-light-chip {
  min-height: 68px;
  padding: 12px;
  border-radius: 18px;
  display: grid;
  gap: 4px;
  text-align: left;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(216, 192, 160, 0.14);
  box-shadow: var(--shadow-soft);
}

.project-example-light-chip span,
.project-example-light-chip small {
  display: block;
}

.project-example-light-chip span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.project-example-light-chip small {
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.project-example-light-chip.active {
  color: #251a11;
  background: linear-gradient(180deg, #ead7b9, #c9a06d);
  border-color: rgba(255, 244, 226, 0.42);
}

.project-example-light-chip.active small {
  color: rgba(37, 26, 17, 0.7);
}

.light-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

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

.contextual-fields {
  display: grid;
  gap: var(--space-lg);
}

.contextual-fields.is-hidden {
  display: none;
}

.btn-chip-choice {
  min-height: 52px;
  padding: 10px 14px;
  text-align: center;
  line-height: 1.35;
}

.btn-chip {
  min-height: 46px;
  border-radius: 16px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.btn-chip.active {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: rgba(216, 192, 160, 0.08);
  box-shadow: 0 0 0 1px var(--accent-glow);
}

.intent-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.intent-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.intent-card:hover,
.intent-card:focus-visible {
  box-shadow: 0 0 0 1px var(--accent-glow), var(--shadow-soft);
}

.intent-card:active {
  transform: scale(0.985);
}

.intent-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.palette-card .style-card__visual {
  aspect-ratio: 1.5 / 1;
}

.flow-meta {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: var(--space-sm);
}

.flow-meta__spacer {
  grid-column: span 2;
}

.flow-back {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.flow-step {
  color: var(--text-muted);
  font-size: 12px;
}

.progress-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-line__dot {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: rgba(216, 192, 160, 0.18);
}

.progress-line__dot.is-active {
  background: rgba(216, 192, 160, 0.88);
}

.upload-placeholder,
.placeholder-card,
.service-detail-empty {
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  padding: var(--space-lg);
}

.upload-placeholder {
  text-align: center;
  gap: var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.upload-placeholder__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  color: var(--accent-strong);
  font-size: 34px;
}

.upload-placeholder__title {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.upload-placeholder__hint {
  color: var(--text-muted);
  font-size: 13px;
}

.upload-placeholder__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(216, 192, 160, 0.08);
  border: 1px solid var(--border-strong);
  color: var(--accent-strong);
  font-size: 13px;
}

.upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-list {
  display: grid;
  gap: var(--space-sm);
}

.file-list__empty {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.file-item__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.file-item__copy strong {
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.file-item__copy span {
  font-size: 12px;
  color: var(--text-muted);
}

.file-item__status {
  flex-shrink: 0;
  color: var(--accent-strong);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.placeholder-card {
  overflow: hidden;
}

.placeholder-card--visual {
  padding: 0;
}

.placeholder-card__gradient {
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius-md) - 2px);
  background:
    radial-gradient(circle at top left, rgba(229, 213, 188, 0.84), transparent 38%),
    linear-gradient(145deg, rgba(200, 176, 147, 0.52), rgba(84, 66, 49, 0.9));
}

.placeholder-card__gradient--service {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(160deg, rgba(228, 217, 201, 0.8), transparent 44%),
    linear-gradient(135deg, rgba(183, 154, 126, 0.68), rgba(72, 58, 47, 0.92));
}

.selection-grid,
.style-grid {
  display: grid;
  gap: var(--space-sm);
}

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

.selection-grid-stack {
  grid-template-columns: 1fr;
  gap: 12px;
}

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

.selection-card,
.style-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  padding: var(--space-md);
  text-align: left;
}

.selection-card {
  min-height: 78px;
  display: grid;
  grid-template-columns: 32px 1fr 108px;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(50, 50, 50, 0.72), rgba(34, 34, 34, 0.9));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.space-picker-screen {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 28px 18px 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(255, 244, 225, 0.05), transparent 34%),
    linear-gradient(180deg, rgba(21, 20, 19, 0.98), rgba(11, 11, 11, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 28px 60px rgba(0, 0, 0, 0.34);
}

.space-picker-screen .screen-title {
  color: rgba(251, 246, 238, 0.98);
  font-size: clamp(1.95rem, 7vw, 2.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.space-picker-screen .screen-copy {
  margin-top: 8px;
  margin-bottom: 18px;
  color: rgba(228, 217, 203, 0.74);
}

.selection-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
}

.selection-card__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.selection-card__title,
.style-card__title {
  position: relative;
  z-index: 2;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  font-size: 14px;
}

.selection-card__meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.25;
}

.selection-card__visual {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.32), rgba(20, 20, 20, 0.08)),
    linear-gradient(145deg, rgba(222, 202, 177, 0.68), rgba(105, 86, 68, 0.82));
}

.selection-card__visual.has-image {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.selection-card-space {
  position: relative;
  min-height: 92px;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 18px 18px 18px 16px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background: rgba(29, 28, 27, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 22px rgba(0, 0, 0, 0.2);
}

.selection-card-space .selection-card__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: inherit;
  background-position: center;
  background-size: cover;
  opacity: 1;
}

.selection-card-space .selection-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.84), rgba(20, 20, 20, 0.46), rgba(20, 20, 20, 0.18));
}

.selection-card-space .selection-card__visual:not(.has-image) {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.82), rgba(20, 20, 20, 0.38)),
    linear-gradient(135deg, rgba(161, 145, 123, 0.68), rgba(53, 45, 37, 0.94));
}

.selection-card-space .selection-card__icon,
.selection-card-space .selection-card__copy {
  position: relative;
  z-index: 1;
}

.selection-card-space .selection-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(252, 245, 237, 0.98);
  font-size: 18px;
  backdrop-filter: blur(10px);
}

.selection-card-space .selection-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.selection-card-space .selection-card__copy {
  gap: 4px;
}

.selection-card-space .selection-card__title {
  color: rgba(255, 247, 238, 0.98);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.selection-card-space .selection-card__meta {
  color: rgba(255, 242, 228, 0.78);
  font-size: 12px;
}

.selection-card-space-full.active {
  border-color: rgba(255, 241, 213, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 30px rgba(131, 92, 41, 0.26),
    0 0 0 1px rgba(234, 205, 164, 0.12);
  background: linear-gradient(135deg, #d6bc97 0%, #b88e5c 100%);
}

.selection-card-space-full.active .selection-card__visual {
  background:
    radial-gradient(circle at top right, rgba(255, 244, 223, 0.34), transparent 34%),
    linear-gradient(135deg, #d8c19f 0%, #bf9563 58%, #9e7548 100%);
}

.selection-card-space-full.active .selection-card__visual::after {
  background:
    linear-gradient(90deg, rgba(129, 91, 46, 0.18), rgba(129, 91, 46, 0.08), transparent);
}

.selection-card-space.active {
  border-color: rgba(240, 227, 205, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.24);
}

.selection-card-space.active .selection-card__title,
.selection-card-space.active .selection-card__meta,
.selection-card-space.active .selection-card__icon {
  color: #fffaf3;
}

.space-picker-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.space-picker-progress__bar {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.space-picker-progress__fill {
  display: block;
  width: 16.66%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e2c59d, #b8905f);
}

.space-picker-progress__step {
  color: rgba(229, 219, 205, 0.78);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.style-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.032);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.14);
}

.style-card__visual {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 176px;
  aspect-ratio: 1.08 / 1;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%),
    var(--style-tone);
}

.style-card__title--overlay {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.98);
  font-size: 13px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  white-space: normal;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.44);
}

.style-card__visual--image {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(13, 11, 10, 0.12), rgba(13, 11, 10, 0.46)),
    var(--style-tone);
}

.style-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.style-card__visual--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(13, 11, 10, 0), rgba(13, 11, 10, 0.7) 76%, rgba(13, 11, 10, 0.82));
  z-index: 1;
}

.selection-card.active,
.style-card.active {
  border-color: var(--border-strong);
  background: rgba(216, 192, 160, 0.08);
  box-shadow: 0 0 0 1px var(--accent-glow);
}

.services-list {
  display: grid;
  gap: var(--space-sm);
}

.service-list-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  text-align: left;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.service-list-item__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 233, 216, 0.92);
}

.service-list-item__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-list-item__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.service-list-item__copy strong {
  font-size: 16px;
  font-weight: 600;
}

.service-list-item__copy small {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.service-list-item__arrow {
  color: var(--accent-warm);
}

.detail-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.design-package-calculator {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(216, 192, 160, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(9, 8, 7, 0.28);
}

.design-package-calculator__head {
  display: grid;
  gap: 8px;
}

.design-package-calculator__head span,
.design-package-area span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.design-package-calculator__head strong {
  color: #fff7eb;
  font-family: var(--font-display);
  font-size: clamp(24px, 8vw, 34px);
  font-weight: 500;
  line-height: 1.08;
}

.design-package-area {
  display: grid;
  gap: 8px;
}

.design-package-area .input {
  min-height: 52px;
  border-color: rgba(216, 192, 160, 0.24);
  background: rgba(255, 255, 255, 0.055);
  font-size: 17px;
  font-weight: 600;
}

.design-package-delivery {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(216, 192, 160, 0.16);
  background: rgba(255, 255, 255, 0.028);
}

.design-package-delivery span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.design-package-delivery strong {
  color: #fff7eb;
  font-size: 18px;
  line-height: 1.3;
}

.design-package-delivery em {
  color: #ffe0ae;
  font-size: 13px;
  font-style: normal;
  line-height: 1.4;
}

.design-package-delivery p {
  color: rgba(255, 247, 235, 0.62);
  font-size: 12px;
  line-height: 1.55;
}

.design-package-payment {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(216, 192, 160, 0.18);
  background:
    linear-gradient(180deg, rgba(227, 209, 183, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.design-package-payment::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(216, 192, 160, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%);
}

.design-package-payment__summary,
.design-package-payment p,
.design-package-payment__toggle,
.design-package-payment__details,
.design-payment-disclaimer {
  position: relative;
  z-index: 1;
}

.design-package-payment__summary {
  display: grid;
  gap: 6px;
}

.design-package-payment__summary span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.design-package-payment__summary strong {
  color: #ffe0ae;
  font-size: 20px;
  line-height: 1.2;
}

.design-package-payment > p {
  color: rgba(255, 247, 235, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

.design-package-payment__toggle {
  min-height: 44px;
  justify-self: start;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(216, 192, 160, 0.28);
  background: rgba(216, 192, 160, 0.08);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
}

.design-package-payment__details {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.design-payment-stage {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
}

.design-payment-stage:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 42px;
  bottom: -14px;
  width: 1px;
  background: linear-gradient(180deg, rgba(216, 192, 160, 0.46), rgba(216, 192, 160, 0.08));
}

.design-payment-stage__marker {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #e3d1b7 0%, #cdb08a 100%);
  color: #211810;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(120, 94, 66, 0.22);
  z-index: 1;
}

.design-payment-stage__body {
  display: grid;
  gap: 10px;
  padding: 15px;
  border-radius: 20px;
  border: 1px solid rgba(216, 192, 160, 0.14);
  background: rgba(9, 8, 7, 0.36);
}

.design-payment-stage__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.design-payment-stage__head span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.design-payment-stage__head strong {
  color: #ffe0ae;
  font-size: 15px;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.design-payment-stage__trigger {
  color: #fff7eb;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.design-payment-stage__label {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.design-payment-stage__deliverable {
  color: rgba(255, 247, 235, 0.68);
  font-size: 13px;
  line-height: 1.6;
}

.design-payment-disclaimer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(216, 192, 160, 0.12);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.service-detail__hero {
  margin-top: 12px;
}

.service-detail__hero--image {
  position: relative;
  overflow: hidden;
}

.service-detail__hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail__content {
  margin-top: 32px;
}

.service-detail__pricing {
  margin-top: 28px;
}

.service-detail__examples {
  margin-top: 32px;
}

.service-detail__cta {
  margin-top: 24px;
}

.service-detail__format-cta {
  margin-top: 12px;
}

.service-detail__section {
  margin-top: 28px;
}

.detail-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-block__head--pricing {
  align-items: center;
}

.detail-block--pricing {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(216, 192, 160, 0.18);
  background:
    linear-gradient(180deg, rgba(227, 209, 183, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.detail-pricing__icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e3d1b7 0%, #cdb08a 100%);
  color: #241a12;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(120, 94, 66, 0.18);
}

.detail-pricing__value {
  font-family: var(--font-display);
  font-size: clamp(24px, 7vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff5e4;
}

.detail-pricing__ranges {
  display: grid;
  gap: 10px;
}

.detail-pricing__range {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-pricing__range span {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-pricing__range strong {
  color: #fff4df;
  font-size: 18px;
  line-height: 1.25;
}

.detail-pricing__meta {
  display: grid;
  gap: 10px;
}

.detail-pricing__meta p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.detail-pricing__factors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  list-style: none;
}

.detail-pricing__factors li {
  position: relative;
  padding-left: 14px;
  color: rgba(244, 236, 225, 0.88);
  line-height: 1.5;
}

.detail-pricing__factors li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-warm);
}

.detail-pricing__hint {
  color: rgba(255, 243, 223, 0.86);
}

.detail-pricing__pre-note,
.detail-pricing__note,
.detail-pricing__disclaimer {
  font-size: 13px;
}

.detail-pricing__note {
  color: rgba(241, 229, 209, 0.92);
}

.detail-pricing__disclaimer {
  color: var(--text-muted);
}

.detail-block__toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(229, 197, 155, 0.94);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.detail-block h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
}

.detail-prose {
  display: grid;
  gap: 12px;
}

.detail-prose p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.detail-list {
  display: grid;
  gap: var(--space-xs);
  list-style: none;
}

.detail-list li,
.thank-you-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.detail-list li::before,
.thank-you-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-warm);
}

.detail-block--includes .detail-list li.is-overflow {
  display: none;
}

.detail-block--includes.is-expanded .detail-list li.is-overflow {
  display: block;
}

.detail-list--muted li {
  color: rgba(214, 207, 196, 0.86);
}

.detail-block--split,
.detail-block--accent {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-block--split {
  background: rgba(255, 255, 255, 0.025);
}

.detail-block--accent {
  background:
    linear-gradient(180deg, rgba(232, 214, 191, 0.08), rgba(255, 255, 255, 0.02));
}

.detail-gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x;
  cursor: grab;
  user-select: none;
}

.detail-gallery__item {
  position: relative;
  flex: 0 0 74%;
  min-width: 240px;
  min-height: 128px;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(214, 193, 168, 0.54), rgba(92, 75, 58, 0.9));
}

.detail-gallery__item--image {
  background: rgba(255, 255, 255, 0.04);
}

.detail-gallery__image,
.detail-gallery__overlay {
  position: absolute;
  inset: 0;
}

.detail-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery__overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(13, 11, 10, 0.08), rgba(13, 11, 10, 0.72) 82%, rgba(13, 11, 10, 0.84));
}

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

.detail-gallery:active {
  cursor: grabbing;
}

.detail-gallery.is-dragging {
  cursor: grabbing;
}

.detail-gallery.is-dragging .detail-gallery__image {
  pointer-events: none;
}

.detail-gallery__index {
  position: relative;
  z-index: 2;
  color: rgba(255, 244, 228, 0.66);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.detail-gallery__label {
  position: relative;
  z-index: 2;
  color: rgba(255, 248, 239, 0.94);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

.service-detail__cta {
  position: relative;
  z-index: 3;
}

.service-detail__cta .btn {
  position: relative;
  z-index: 4;
  pointer-events: auto;
}

.form-fields {
  display: grid;
  gap: 14px;
}

.form-stack,
.form-group {
  display: grid;
  gap: var(--space-sm);
}

.form-group-comment {
  margin-top: 2px;
}

.input,
.textarea,
.checkbox-row,
.lead-summary {
  width: 100%;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.input,
.textarea {
  padding: 16px 18px;
  color: var(--text-primary);
  border: 1px solid var(--border);
  outline: none;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--text-muted);
}

.input:focus,
.textarea:focus {
  border-color: var(--border-strong);
}

.textarea {
  min-height: 132px;
  resize: vertical;
}

.preliminary-estimate-entry,
.preliminary-estimate-note {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(216, 192, 160, 0.16);
  background:
    radial-gradient(circle at top right, rgba(216, 192, 160, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow-soft);
}

.preliminary-estimate-entry h3,
.preliminary-estimate-note h3 {
  font-size: 18px;
  font-weight: 600;
}

.preliminary-estimate-entry p,
.preliminary-estimate-note p,
.preliminary-estimate-muted {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.preliminary-estimate-entry .btn {
  margin-top: 4px;
}

.input-unit {
  position: relative;
}

.input-unit .input {
  padding-right: 58px;
}

.input-unit span {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
}

.textarea-lg {
  min-height: 220px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
  transition: border-color var(--transition-base), background var(--transition-base), color var(--transition-base);
}

.consent-row {
  margin-top: 18px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  appearance: auto;
  -webkit-appearance: checkbox;
  accent-color: var(--accent-warm);
  cursor: pointer;
}

.checkbox-row:hover,
.checkbox-row.is-checked {
  border-color: var(--border-strong);
  background: rgba(216, 192, 160, 0.08);
}

.checkbox-row span {
  flex: 1;
}

.checkbox-row input:focus-visible {
  outline: 2px solid rgba(216, 192, 160, 0.36);
  outline-offset: 2px;
}

.form-submit-block {
  margin-top: 22px;
}

.form-submit-block .btn {
  min-height: 58px;
}

.lead-filter-warning {
  display: none;
  margin-top: 20px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(216, 176, 86, 0.42);
  background:
    linear-gradient(135deg, rgba(64, 41, 11, 0.92), rgba(98, 71, 28, 0.72)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 214, 122, 0.08) inset,
    0 0 36px rgba(201, 145, 30, 0.12);
}

.lead-filter-warning.is-visible {
  display: grid;
  gap: 14px;
}

.lead-filter-warning__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.lead-filter-warning__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 210, 105, 0.16);
  color: #ffd978;
  font-size: 16px;
  box-shadow: 0 0 20px rgba(255, 210, 105, 0.18);
}

.lead-filter-warning__copy {
  display: grid;
  gap: 6px;
}

.lead-filter-warning__copy strong {
  color: #fff5d6;
  font-size: 15px;
  line-height: 1.35;
}

.lead-filter-warning__copy p {
  margin: 0;
  color: rgba(255, 244, 219, 0.82);
  font-size: 13px;
  line-height: 1.55;
}

.lead-filter-warning__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-chip-warning {
  border-color: rgba(255, 215, 131, 0.2);
  background: rgba(255, 232, 178, 0.08);
  color: #fff0c4;
}

.btn-chip-warning:hover {
  border-color: rgba(255, 220, 145, 0.38);
  background: rgba(255, 228, 156, 0.14);
}

.lead-summary {
  display: none;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding: var(--space-md);
  border: 1px solid var(--border);
}

.lead-summary.is-visible {
  display: flex;
}

.style-definition-notice {
  border: 1px solid rgba(226, 197, 151, 0.32);
  background:
    radial-gradient(circle at 18% 0%, rgba(226, 197, 151, 0.18), transparent 38%),
    rgba(31, 27, 22, 0.86);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  color: var(--text-primary);
  display: grid;
  gap: 8px;
  margin: 16px 0 24px;
  padding: 18px 20px;
}

.style-definition-notice strong {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.35;
}

.style-definition-notice span {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(216, 192, 160, 0.08);
  color: var(--text-secondary);
  font-size: 12px;
}

.summary-chip strong {
  color: var(--text-primary);
}

.thank-you-screen {
  min-height: calc(100svh - 180px);
  justify-content: center;
  text-align: center;
}

.thank-you-mark {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  color: var(--accent-strong);
  font-size: 52px;
  background: radial-gradient(circle, rgba(216, 192, 160, 0.08), transparent 68%);
}

.thank-you-list {
  list-style: none;
  display: grid;
  gap: var(--space-sm);
  text-align: left;
}

.floating-audio {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(calc(100vw - 24px), 448px);
  padding: 12px;
  border-radius: 26px;
  background: rgba(18, 17, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-sm);
  z-index: 40;
}

.floating-audio.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px);
}

.persistent-save {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: min(calc(100vw - 28px), 480px);
  transform: translateX(-50%);
  z-index: 62;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.persistent-save.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(18px);
  pointer-events: none;
}

.persistent-save.has-audio-offset {
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

.persistent-save__button {
  min-width: 148px;
  min-height: 52px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff4e3;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 244, 226, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(38, 32, 27, 0.94), rgba(13, 12, 11, 0.92));
  border: 1px solid rgba(216, 192, 160, 0.38);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 14px;
  font-weight: 600;
  pointer-events: auto;
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.persistent-save__button:active {
  transform: scale(0.97);
  border-color: var(--border-strong);
}

.persistent-save__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #1d1510;
  background: linear-gradient(180deg, #f1dcc0, #c99f6d);
  box-shadow: 0 0 0 1px rgba(255, 248, 238, 0.2) inset;
}

.persistent-save.is-saved .persistent-save__button {
  min-width: 142px;
  color: rgba(255, 244, 227, 0.86);
  background:
    radial-gradient(circle at 20% 10%, rgba(118, 182, 140, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(28, 35, 27, 0.92), rgba(13, 12, 11, 0.9));
  border-color: rgba(118, 182, 140, 0.34);
}

.persistent-save.is-saved .persistent-save__icon {
  color: #102014;
  background: linear-gradient(180deg, #bfe0c5, #76b68c);
}

.save-reminder {
  position: fixed;
  left: 50%;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  width: min(calc(100vw - 28px), 448px);
  transform: translateX(-50%) translateY(16px);
  z-index: 61;
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  gap: 12px;
  padding: 14px 12px 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(216, 192, 160, 0.24);
  background:
    radial-gradient(circle at top right, rgba(216, 192, 160, 0.14), transparent 38%),
    rgba(18, 16, 14, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.save-reminder.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.save-reminder.has-audio-offset {
  bottom: calc(158px + env(safe-area-inset-bottom, 0px));
}

.save-reminder p {
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.45;
}

.save-reminder__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#btn-music {
  min-width: 136px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  color: var(--text-secondary);
}

#btn-music.active {
  color: var(--accent-strong);
  border-color: var(--border-strong);
  background: rgba(216, 192, 160, 0.08);
}

#btn-music.loading {
  opacity: 0.65;
  pointer-events: none;
}

.volume-wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-xs);
}

.volume-icon {
  color: var(--text-muted);
  font-size: 11px;
}

#volume-slider {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

#volume-slider::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-warm);
  border: none;
  -webkit-appearance: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(150px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(16px);
  width: min(calc(100vw - 24px), 420px);
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(21, 19, 17, 0.94);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 14px;
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity var(--transition-base), transform var(--transition-base);
  z-index: 100;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 360px) {
  .app-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .light-toggle-grid,
  .choice-grid,
  .selection-grid,
  .style-grid {
    grid-template-columns: 1fr;
  }

  .detail-gallery__item {
    flex-basis: 86%;
  }

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

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

  #btn-music {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .design-payment-stage__head {
    display: grid;
    gap: 6px;
  }

  .design-payment-stage__head strong {
    text-align: left;
    white-space: normal;
  }

  .reality-slider-card__head,
  .reality-status-card__head,
  .reality-scale-card__head {
    gap: 10px;
  }

  .reality-slider-card__head strong,
  .reality-status-card__badge,
  .reality-scale-card__head strong {
    font-size: 15px;
  }

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