@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700&family=Prata&display=swap');

:root {
  --bg: #fbf6f8;
  --bg-soft: #fffbfd;
  --paper: rgba(255, 255, 255, 0.3);
  --paper-strong: rgba(255, 255, 255, 0.56);
  --ink: #463848;
  --ink-soft: #6f5f73;
  --ink-muted: #95879a;
  --accent: #d4a3b6;
  --accent-soft: #f4dde6;
  --accent-glow: rgba(212, 163, 182, 0.18);
  --blush: #f9e6ec;
  --blush-soft: rgba(249, 230, 236, 0.38);
  --mist: #dfefff;
  --mist-soft: rgba(223, 241, 255, 0.42);
  --noir: #352b37;
  --noir-soft: #4a3e4c;
  --line: rgba(126, 107, 133, 0.11);
  --line-strong: rgba(126, 107, 133, 0.18);
  --success: #77ad92;
  --shadow-sm: 0 16px 34px rgba(164, 137, 165, 0.09);
  --shadow-md: 0 24px 60px rgba(166, 132, 162, 0.13);
  --shadow-lg: 0 38px 90px rgba(148, 120, 153, 0.16);
  --shadow-dark: 0 24px 70px rgba(111, 88, 118, 0.22);
  --radius-xs: 16px;
  --radius-sm: 22px;
  --radius-md: 30px;
  --radius-lg: 40px;
  --radius-xl: 54px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.17, 0.84, 0.44, 1);
  --safe-top: calc(env(safe-area-inset-top, 0px) + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
  --safe-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tg-safe-area-inset-bottom, 0px));
  --safe-left: calc(env(safe-area-inset-left, 0px) + var(--tg-content-safe-area-inset-left, 0px));
  --safe-right: calc(env(safe-area-inset-right, 0px) + var(--tg-content-safe-area-inset-right, 0px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: var(--tg-viewport-stable-height, 100vh);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: var(--tg-viewport-stable-height, 100vh);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 14%, rgba(250, 224, 235, 0.54), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(223, 241, 255, 0.4), transparent 28%),
    radial-gradient(circle at 72% 88%, rgba(236, 221, 247, 0.3), transparent 25%),
    linear-gradient(180deg, #fffafc 0%, #fcf8fb 52%, #fbfcff 100%);
  color: var(--ink);
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.app-booting {
  overflow: hidden;
}

body.app-booting .app,
body.app-booting .tab-bar-wrap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.app-ready .app,
body.app-ready .tab-bar-wrap {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}

body.app-booting .app {
  transform: translateY(18px) scale(0.985);
}

body.app-ready .app {
  transform: translateY(0) scale(1);
}

body.app-booting .tab-bar-wrap {
  transform: translateX(-50%) translateY(18px) scale(0.985);
}

body.app-ready .tab-bar-wrap {
  transform: translateX(-50%) translateY(0) scale(1);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 14%, rgba(255, 255, 255, 0.62), transparent 24%),
    linear-gradient(130deg, rgba(255, 255, 255, 0.24), transparent 42%);
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.82) 0.6px, transparent 0.6px);
  background-size: 15px 15px;
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    calc(32px + var(--safe-top))
    calc(20px + var(--safe-right))
    calc(32px + var(--safe-bottom))
    calc(20px + var(--safe-left));
  background:
    radial-gradient(circle at 18% 18%, rgba(247, 208, 226, 0.86), transparent 30%),
    radial-gradient(circle at 78% 22%, rgba(213, 236, 255, 0.84), transparent 26%),
    radial-gradient(circle at 50% 82%, rgba(236, 220, 247, 0.48), transparent 28%),
    linear-gradient(180deg, #fffafc 0%, #f8eef4 50%, #f5f8ff 100%);
  overflow: hidden;
  opacity: 0;
  animation: splashScreenReveal 0.72s var(--ease) forwards;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), visibility 0.9s var(--ease);
}

.splash-screen::before,
.splash-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.splash-screen::before {
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.26), transparent 38%),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.4), transparent 26%);
  mix-blend-mode: soft-light;
}

.splash-screen::after {
  background-image: radial-gradient(rgba(255, 255, 255, 0.84) 0.7px, transparent 0.7px);
  background-size: 16px 16px;
  opacity: 0.14;
}

.splash-screen.splash-exit {
  animation: none;
  opacity: 0;
  transform: scale(1.03);
  visibility: hidden;
  pointer-events: none;
}

.splash-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.76;
  animation: splashDrift 11s ease-in-out infinite;
}

.splash-orb-a {
  top: 12%;
  left: -44px;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(241, 184, 214, 0.68), transparent 70%);
}

.splash-orb-b {
  top: 14%;
  right: -36px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(191, 224, 255, 0.76), transparent 72%);
  animation-delay: -3s;
}

.splash-orb-c {
  bottom: 8%;
  left: calc(50% - 120px);
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(235, 209, 245, 0.5), transparent 72%);
  animation-delay: -6s;
}

.splash-center {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  animation: splashCenterReveal 0.9s var(--ease) 0.12s forwards;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}

.splash-screen.splash-exit .splash-center {
  animation: none;
  opacity: 0;
  transform: translateY(-20px) scale(0.96);
}

.splash-word {
  display: inline-flex;
  gap: 0.02em;
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(3.6rem, 18vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.splash-word span {
  background: linear-gradient(145deg, #fffdfd 0%, #e8c9d8 48%, #d0e3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 14px 34px rgba(183, 144, 170, 0.2);
  opacity: 0;
  transform: translateY(24px) scale(0.94);
  filter: blur(10px);
  animation:
    splashLetterReveal 0.9s var(--ease) forwards,
    splashLetterWave 1.02s cubic-bezier(0.2, 0.82, 0.24, 1) 0.98s 1 both;
}

.splash-word span:nth-child(2) {
  animation-delay: 0.08s, 1.12s;
}

.splash-word span:nth-child(3) {
  animation-delay: 0.16s, 1.26s;
}

.splash-word span:nth-child(4) {
  animation-delay: 0.24s, 1.4s;
}

.splash-line {
  width: min(26vw, 128px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.96), rgba(212, 163, 182, 0.84), transparent);
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: center;
  animation: splashLineReveal 0.8s var(--ease) 0.4s forwards;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(16px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.ambient-a {
  top: 90px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(250, 210, 227, 0.56), transparent 70%);
  animation: driftA 10s ease-in-out infinite;
}

.ambient-b {
  left: -72px;
  top: 310px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(220, 239, 252, 0.46), transparent 72%);
  animation: driftB 13s ease-in-out infinite;
}

.ambient-c {
  right: 14px;
  bottom: 100px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212, 188, 234, 0.28), transparent 70%);
  animation: driftC 12s ease-in-out infinite;
}

.app {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  margin: 0 auto;
  padding:
    calc(26px + var(--safe-top))
    calc(18px + var(--safe-right))
    calc(130px + var(--safe-bottom))
    calc(18px + var(--safe-left));
}

h1,
h2,
.profile-name,
.section-label,
.summary-title,
.stat-value,
.svc-price,
.sp-price,
.page-top h2,
.success-overlay h2 {
  font-family: 'Prata', Georgia, serif;
  letter-spacing: 0.02em;
}

.page {
  display: none;
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.page.page-active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.page.page-exit {
  opacity: 0;
  transform: translateY(-12px) scale(0.985);
}

#page-home {
  margin-top: -22px;
}

#page-booking {
  margin-top: -22px;
}

.home-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0 0 12px;
  color: rgba(91, 77, 96, 0.78);
  font-family: 'Prata', Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.profile-card {
  position: relative;
  margin-bottom: 26px;
  padding: 6px 0 0;
}

.booking-profile-card {
  margin-bottom: 22px;
}

.profile-card::before {
  content: none;
}

.profile-card::after {
  content: none;
}

.profile-card-glow {
  display: none;
}

.profile-hero {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.profile-avatar-wrap {
  position: relative;
  flex: 0 0 96px;
  width: 96px;
  min-width: 96px;
  height: 96px;
  min-height: 96px;
  max-height: 96px;
  display: flex;
  align-items: stretch;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  min-height: 96px;
  max-height: 96px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(249, 223, 235, 0.92) 56%, rgba(226, 240, 255, 0.88));
  box-shadow:
    0 14px 30px rgba(149, 119, 144, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.64);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-placeholder {
  color: rgba(149, 101, 127, 0.72);
  font-family: 'Prata', serif;
  font-size: 38px;
  line-height: 1;
  text-shadow: 0 10px 24px rgba(223, 145, 174, 0.18);
}

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

.booking-profile-copy {
  display: grid;
  gap: 8px;
}

.profile-name {
  font-size: clamp(1.85rem, 8vw, 2.45rem);
  line-height: 1.02;
  margin-bottom: 8px;
  max-width: none;
}

.booking-title {
  font-size: clamp(1.72rem, 7.2vw, 2.2rem);
  margin-bottom: 0;
}

.profile-role {
  color: rgba(111, 95, 115, 0.72);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.booking-lead {
  max-width: 28ch;
  line-height: 1.55;
}

.booking-avatar {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 224, 235, 0.92) 52%, rgba(222, 237, 255, 0.88));
}

.booking-avatar-icon {
  width: 42px;
  height: 42px;
  color: rgba(102, 80, 109, 0.76);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(126, 107, 133, 0.14);
  border-bottom: 1px solid rgba(126, 107, 133, 0.14);
}

.stat {
  min-height: 72px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.stat + .stat {
  border-left: 1px solid rgba(126, 107, 133, 0.14);
}

.stat-value {
  order: -1;
  font-size: 1.3rem;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(111, 95, 115, 0.72);
  text-align: center;
}

.btn-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 78px;
  padding: 20px 24px;
  margin-bottom: 30px;
  border: none;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(145deg, #f2cfdd, #dbe7ff 56%, #edd7ea 100%);
  color: #56455a;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow-dark);
  cursor: pointer;
  overflow: hidden;
  transform: rotate(0deg);
  transform-origin: left center;
  animation: ctaTilt 3.2s var(--ease-soft) infinite alternate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.26) 45%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease);
}

.btn-cta:active {
  transform: translateY(2px) scale(0.985) rotate(-1.15deg);
}

.btn-cta:active::before {
  transform: translateX(0);
}

.btn-cta-text {
  max-width: 12ch;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: left;
}

.btn-cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.26);
  flex-shrink: 0;
}

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

.home-section {
  margin-bottom: 28px;
}

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

.section-label {
  font-size: 1.55rem;
  line-height: 1.06;
}

.home-section-header .section-label {
  margin-bottom: 0;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.link-btn svg {
  width: 15px;
  height: 15px;
}

.portfolio-scroll {
  position: relative;
  overflow: hidden;
  padding: 4px 0 6px;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.portfolio-scroll-track {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.portfolio-scroll.is-dragging {
  cursor: grabbing;
}

.portfolio-scroll-item,
.portfolio-scroll-more {
  flex-shrink: 0;
}

.portfolio-scroll-item {
  position: relative;
  flex: 0 0 146px;
  width: 146px;
  height: 192px;
  border-radius: 30px;
  overflow: hidden;
  background: #d7c6ba;
  transform-origin: center bottom;
  --portfolio-tilt: 0deg;
  --portfolio-shift-y: 0px;
  --portfolio-scale: 1;
  --portfolio-opacity: 1;
  --portfolio-shadow-opacity: 0.14;
  transform:
    translate3d(0, var(--portfolio-shift-y), 0)
    rotate(var(--portfolio-tilt))
    scale(var(--portfolio-scale));
  opacity: var(--portfolio-opacity);
  box-shadow: 0 18px 34px rgba(148, 120, 153, var(--portfolio-shadow-opacity));
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.portfolio-scroll-item:active {
  transform:
    translate3d(0, var(--portfolio-shift-y), 0)
    rotate(var(--portfolio-tilt))
    scale(calc(var(--portfolio-scale) * 0.98));
}

.portfolio-scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.psi-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(19, 15, 13, 0.86));
  color: #fff6f0;
  font-size: 11px;
  line-height: 1.45;
}

.portfolio-scroll-more {
  width: 108px;
  height: 192px;
  border-radius: 30px;
  padding: 18px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 229, 237, 0.82), rgba(224, 239, 255, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
}

.portfolio-scroll-more span {
  font-family: 'Prata', serif;
  font-size: 2rem;
  color: var(--accent);
}

.portfolio-scroll-more small {
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.services-preview {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.services-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(212, 163, 182, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(223, 241, 255, 0.16), transparent 34%);
  pointer-events: none;
}

.sp-row,
.sp-more {
  position: relative;
  z-index: 1;
}

.sp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 17px;
  border-radius: 22px;
}

.sp-row + .sp-row {
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.sp-left {
  min-width: 0;
}

.sp-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.sp-dur {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-muted);
  font-size: 12px;
}

.sp-dur::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.sp-price {
  white-space: nowrap;
  font-size: 1.2rem;
  color: var(--accent);
}

.sp-more {
  padding: 12px 14px 6px;
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.page-top {
  margin-bottom: 22px;
  text-align: left;
}

.page-top-line {
  width: 58px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent), rgba(196, 221, 248, 0.24));
}

.page-top h2 {
  font-size: 2rem;
  line-height: 1.08;
  margin-bottom: 8px;
}

.page-top-sub {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.6;
}

.empty-state {
  min-height: 340px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}

.empty-icon {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 227, 236, 0.84), rgba(224, 239, 255, 0.82));
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-icon svg {
  width: 34px;
  height: 34px;
  stroke: var(--accent);
}

.empty-state p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.screen {
  display: none;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.screen.active {
  display: block;
}

.screen.visible {
  opacity: 1;
  transform: translateY(0);
}

.booking-section {
  margin-bottom: 0;
}

.booking-section + .booking-section {
  margin-top: 12px;
}

.booking-section-header {
  align-items: flex-start;
  margin-bottom: 14px;
}

.booking-section-note {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.55;
}

.booking-panel {
  margin-bottom: 18px;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
}

.booking-subhead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 6px 14px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-subhead::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(237, 179, 202, 0.92), rgba(169, 201, 242, 0.92));
}

.booking-summary-shell {
  padding-top: 18px;
  padding-bottom: 18px;
}

.booking-contact-panel {
  padding-top: 18px;
  padding-bottom: 18px;
}

.services-list {
  display: grid;
  gap: 0;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 8px;
  border-radius: 22px;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-card + .service-card {
  border-top: 1px solid rgba(126, 107, 133, 0.1);
}

.service-card::before {
  content: none;
}

.service-card:active {
  transform: scale(0.986);
}

.service-card.selected {
  border-color: rgba(212, 163, 182, 0.16);
  background: linear-gradient(145deg, rgba(246, 229, 237, 0.76), rgba(225, 238, 255, 0.68));
}

.svc-body,
.svc-right {
  position: relative;
  z-index: 1;
}

.svc-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.svc-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}

.svc-duration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.svc-duration::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--accent) 0 40%, rgba(212, 163, 182, 0.2) 42% 100%);
}

.svc-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.svc-price {
  font-size: 1.36rem;
  color: var(--accent);
  white-space: nowrap;
}

.svc-check {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.service-card.selected .svc-check {
  background: linear-gradient(145deg, #eed2de, #d9e7ff);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 28px rgba(166, 132, 162, 0.18);
}

.svc-check svg {
  width: 15px;
  height: 15px;
  stroke: #56455a;
  fill: none;
  stroke-width: 2.4;
  opacity: 0;
  transform: scale(0.5) rotate(-18deg);
  transition: all 0.3s var(--ease-soft);
}

.service-card.selected .svc-check svg {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.selected-summary {
  margin: 10px 6px 6px;
  padding: 15px 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(246, 229, 237, 0.92), rgba(225, 238, 255, 0.9));
  color: #56455a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.dates-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 4px;
  margin-bottom: 0;
}

.dates-scroll::-webkit-scrollbar {
  display: none;
}

.date-card {
  flex-shrink: 0;
  width: 78px;
  padding: 14px 10px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 239, 245, 0.56));
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: none;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.date-card:active {
  transform: scale(0.975);
}

.date-card.today {
  border-color: rgba(212, 163, 182, 0.2);
}

.date-card.selected {
  color: #56455a;
  background: linear-gradient(155deg, rgba(245, 227, 237, 0.96), rgba(221, 236, 255, 0.92));
  box-shadow: 0 12px 26px rgba(166, 132, 162, 0.12);
  transform: translateY(-2px);
}

.date-card .day-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.date-card .day-num {
  font-family: 'Prata', serif;
  font-size: 1.7rem;
  line-height: 1;
}

.date-card .month-name {
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-muted);
}

.date-card.selected .day-name,
.date-card.selected .month-name {
  color: rgba(86, 69, 90, 0.78);
}

.date-card.disabled {
  opacity: 0.28;
  pointer-events: none;
  filter: grayscale(0.2);
}

.time-section {
  margin-top: 0;
}

.time-period {
  margin-bottom: 0;
  padding: 16px 6px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.time-period + .time-period {
  border-top: 1px solid rgba(126, 107, 133, 0.1);
}

.time-period-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.time-period-label::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.time-period-label.morning::before {
  background: #edb3ca;
}

.time-period-label.afternoon::before {
  background: #c5b7ee;
}

.time-period-label.evening::before {
  background: #a9c9f2;
}

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

.time-slot {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.time-slot:active {
  transform: scale(0.97);
}

.time-slot.selected {
  color: #56455a;
  background: linear-gradient(145deg, #f0d2df, #d9e7ff);
  box-shadow: 0 10px 24px rgba(166, 132, 162, 0.12);
}

.time-slot.disabled {
  opacity: 0.25;
  pointer-events: none;
  text-decoration: line-through;
}

.summary-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-bottom: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.summary-card::before {
  content: none;
}

.summary-title {
  position: relative;
  z-index: 1;
  font-size: 1.45rem;
  margin-bottom: 16px;
}

.summary-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
}

.summary-row .label {
  color: var(--ink-muted);
  font-size: 13px;
}

.summary-row .value {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  max-width: 58%;
}

.summary-divider {
  position: relative;
  z-index: 1;
  height: 1px;
  margin: 12px 0;
  background: linear-gradient(90deg, transparent, rgba(126, 107, 133, 0.18), transparent);
}

.summary-row.total .label {
  color: var(--ink);
  font-weight: 600;
}

.summary-row.total .value {
  color: var(--accent);
  font-size: 1.65rem;
  font-family: 'Prata', serif;
}

.form-group {
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  padding: 18px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.form-group textarea {
  min-height: 108px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(212, 163, 182, 0.32);
  box-shadow:
    0 0 0 4px rgba(212, 163, 182, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(149, 135, 154, 0.82);
}

.booking-cta {
  width: 100%;
  min-height: 72px;
  margin-bottom: 0;
  padding: 18px 22px;
  animation: none;
  transform: none;
}

.booking-cta .btn-cta-text {
  max-width: none;
  letter-spacing: 0.14em;
}

.booking-cta .btn-cta-icon {
  width: 48px;
  height: 48px;
}

.booking-cta:active {
  transform: translateY(2px) scale(0.985);
}

.booking-cta:disabled {
  opacity: 0.38;
  pointer-events: none;
  box-shadow: none;
}

.booking-cta:disabled .btn-cta-icon {
  background: rgba(255, 255, 255, 0.18);
}

body.is-tg .btn-back {
  display: none;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-back svg {
  width: 16px;
  height: 16px;
}

.booking-empty-state {
  padding: 28px 10px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.booking-progress-shell {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  padding: 2px 4px 0;
}

.steps-indicator {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 0 4px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.steps-indicator::before {
  content: '';
  position: absolute;
  top: 19px;
  left: calc(16.666% + 18px);
  right: calc(16.666% + 18px);
  height: 1px;
  background: rgba(126, 107, 133, 0.14);
  transform: translateY(-50%);
}

.step-item {
  position: relative;
  flex: 1 1 0;
  min-height: 62px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.step-item::before {
  content: none;
}

.step-item > * {
  position: relative;
  z-index: 1;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(126, 107, 133, 0.16);
  font-family: 'Onest', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.step-item.active .step-num {
  color: #56455a;
  background: linear-gradient(145deg, rgba(240, 210, 223, 0.94), rgba(217, 231, 255, 0.86));
  box-shadow: 0 10px 22px rgba(166, 132, 162, 0.12);
}

.step-item.done .step-num {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.94);
}

.step-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
}

.step-item.active .step-text,
.step-item.done .step-text {
  color: rgba(86, 69, 90, 0.76);
}

.booking-stage {
  display: grid;
  gap: 14px;
}

.booking-panel {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.booking-panel::after {
  content: none;
}

.booking-services-panel {
  padding: 8px;
}

.booking-selection-echo {
  padding: 14px 16px;
}

.booking-echo-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booking-echo-line span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.66);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

#echo-price {
  font-family: 'Prata', Georgia, serif;
  color: var(--accent);
}

.booking-subhead {
  margin: 0 0 12px 4px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.booking-subhead::before {
  content: none;
}

.services-list {
  display: grid;
  gap: 8px;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 17px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(166, 132, 162, 0.05);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.service-card::before,
.service-card::after {
  content: none;
}

.service-card:active {
  transform: scale(0.992);
}

.service-card.selected {
  border-color: rgba(126, 107, 133, 0.18);
  box-shadow: 0 14px 28px rgba(166, 132, 162, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.svc-name {
  font-size: 16px;
  line-height: 1.35;
}

.svc-duration {
  font-size: 11px;
  letter-spacing: 0.1em;
}

.svc-price {
  padding-left: 0;
  font-size: 1.32rem;
  color: var(--accent);
}

.svc-price::before {
  content: none;
}

.svc-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(126, 107, 133, 0.22);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.svc-check span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}

.service-card.selected .svc-check {
  border-color: rgba(86, 69, 90, 0.54);
  background: rgba(86, 69, 90, 0.04);
}

.service-card.selected .svc-check span {
  background: #56455a;
  transform: scale(1);
}

.svc-check svg {
  display: none;
}

.selected-summary {
  width: 100%;
  margin: 10px 0 0;
  padding: 16px 18px;
  font: inherit;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), opacity 0.22s var(--ease);
}

.selected-summary:active {
  transform: scale(0.994);
}

.selected-summary:disabled {
  opacity: 0.46;
  pointer-events: none;
}

.selected-summary.is-pending {
  background: rgba(255, 255, 255, 0.72);
}

.booking-summary-copy {
  display: grid;
  gap: 3px;
}

.booking-summary-copy strong,
.booking-summary-copy span {
  display: block;
}

.booking-summary-copy strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.booking-summary-copy span {
  color: var(--ink-soft);
  font-size: 13px;
}

.booking-summary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(126, 107, 133, 0.14);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.booking-slot-cta {
  margin-top: 14px;
}

.dates-scroll {
  gap: 10px;
  padding: 2px 2px 4px;
}

.date-card {
  width: 78px;
  padding: 14px 10px;
  border-radius: 24px;
  box-shadow: none;
}

.date-card.selected {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(166, 132, 162, 0.1);
}

.date-card .day-name {
  margin-bottom: 10px;
}

.date-card .day-num {
  font-size: 1.7rem;
}

.time-period {
  padding: 16px 14px 14px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 239, 245, 0.56));
  border: 1px solid rgba(126, 107, 133, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.time-period + .time-period {
  margin-top: 12px;
  border-top: none;
}

.time-period-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(86, 69, 90, 0.82);
}

.time-period-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(126, 107, 133, 0.12);
}

.time-grid {
  gap: 8px;
}

.time-slot {
  min-height: 48px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.time-slot.selected {
  transform: none;
  box-shadow: 0 10px 22px rgba(166, 132, 162, 0.12);
}

.summary-title {
  font-size: 1.18rem;
  margin-bottom: 16px;
}

.summary-row .label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-row.total .value {
  font-size: 1.56rem;
}

.booking-contact-panel .booking-subhead {
  margin-bottom: 14px;
}

.btn-back {
  align-self: flex-start;
  padding: 0 2px;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.btn-back svg {
  display: none;
}

.booking-cta {
  width: 100%;
  min-height: 64px;
  margin-bottom: 0;
  padding: 0 22px;
  justify-content: center;
  animation: none;
  transform: none;
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(166, 132, 162, 0.12);
}

.booking-cta .btn-cta-text {
  max-width: none;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.booking-cta .btn-cta-icon {
  display: none;
}

.booking-cta:active {
  transform: scale(0.988);
}

.booking-cta:disabled {
  opacity: 0.46;
  pointer-events: none;
  box-shadow: none;
}

@media (max-width: 480px) {
  .booking-progress-shell {
    margin-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
  }

  .step-text {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .booking-panel {
    padding: 10px;
    border-radius: 26px;
  }

  .booking-selection-echo {
    padding: 12px;
  }

  .service-card {
    padding: 16px;
    border-radius: 22px;
  }

  .svc-price {
    font-size: 1.22rem;
  }

  .selected-summary {
    padding: 14px 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .booking-summary-action {
    width: 100%;
  }

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.portfolio-cell {
  position: relative;
  overflow: hidden;
  appearance: none;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.28));
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.portfolio-cell:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.8);
}

.portfolio-cell:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(212, 163, 182, 0.18),
    var(--shadow-md);
}

.portfolio-cell:active {
  transform: scale(0.988);
}

.portfolio-media {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 8px 8px 0;
}

.portfolio-media::after {
  content: '';
  position: absolute;
  inset: 8px 8px 0;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(247, 234, 241, 0.92), rgba(222, 237, 255, 0.9));
  pointer-events: none;
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 22px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.58);
  transition: transform 0.45s var(--ease);
}

.portfolio-cell:hover .portfolio-media img {
  transform: scale(1.03);
}

.portfolio-copy {
  display: grid;
  gap: 10px;
  padding: 14px 14px 16px;
}

.portfolio-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  background: linear-gradient(145deg, rgba(248, 226, 234, 0.96), rgba(225, 238, 255, 0.92));
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.portfolio-caption {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: calc(1.55em * 2);
}

.portfolio-caption.is-placeholder {
  color: var(--ink-muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

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

.lightbox-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(233, 199, 218, 0.22), transparent 30%),
    rgba(37, 30, 41, 0.92);
  backdrop-filter: blur(18px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  margin-top: 16px;
  color: rgba(255, 246, 240, 0.78);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  min-height: 24px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: none;
  color: #fff9f3;
  cursor: pointer;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.lightbox-close {
  top: -54px;
  right: 0;
  width: 42px;
  height: 42px;
  font-size: 22px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  font-size: 22px;
}

.lightbox-prev {
  left: -56px;
}

.lightbox-next {
  right: -56px;
}

.tab-bar-wrap {
  position: fixed;
  left: 50%;
  bottom: calc(16px + var(--safe-bottom));
  transform: translateX(-50%);
  z-index: 90;
}

.tab-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 236px;
  min-height: 58px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 22px 48px rgba(148, 120, 153, 0.16);
  backdrop-filter: blur(14px);
}

.tab {
  width: 68px;
  min-width: 68px;
  min-height: 44px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(111, 95, 115, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.tab svg {
  width: 22px;
  height: 22px;
}

.tab.active {
  color: #56455a;
  background: linear-gradient(145deg, rgba(240, 210, 223, 0.94), rgba(217, 231, 255, 0.92));
  box-shadow: 0 10px 22px rgba(166, 132, 162, 0.14);
}

.tab:active {
  transform: scale(0.97);
}

.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    calc(26px + var(--safe-top))
    calc(18px + var(--safe-right))
    calc(26px + var(--safe-bottom))
    calc(18px + var(--safe-left));
  background:
    radial-gradient(circle at top, rgba(233, 199, 218, 0.26), transparent 24%),
    linear-gradient(180deg, #362f3a 0%, #28222d 100%);
  transition: opacity 0.45s var(--ease);
}

.success-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.success-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 36%);
}

.confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.success-content {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 36px 28px 34px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  text-align: center;
  backdrop-filter: blur(14px);
}

.success-check {
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(241, 210, 224, 0.3), rgba(217, 231, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-check svg {
  width: 34px;
  height: 34px;
  stroke: #f6e8f0;
}

.success-overlay h2 {
  color: #fff7f2;
  font-size: 2rem;
  margin-bottom: 10px;
}

.success-overlay p {
  color: rgba(255, 239, 229, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.success-line {
  width: 60px;
  height: 2px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, rgba(212, 163, 182, 0.12), rgba(240, 222, 233, 0.82), rgba(196, 221, 248, 0.12));
}

.notify-block {
  margin-top: 26px;
}

.notify-btn {
  width: 100%;
  min-height: 58px;
  border: none;
  border-radius: 22px;
  background: linear-gradient(145deg, #efd1de, #d9e7ff);
  color: #56455a;
  font-family: 'Onest', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(181, 107, 72, 0.16);
}

.notify-features {
  list-style: none;
  margin-top: 16px;
  color: rgba(255, 239, 229, 0.74);
  font-size: 13px;
}

.notify-features li + li {
  margin-top: 8px;
}

.notify-features li::before {
  content: '•';
  margin-right: 8px;
  color: #f1d1de;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  .app {
    padding-left: calc(16px + var(--safe-left));
    padding-right: calc(16px + var(--safe-right));
  }

  #page-home {
    margin-top: -18px;
  }

  #page-booking {
    margin-top: -18px;
  }

  .profile-card {
    padding: 2px 0 0;
  }

  .home-brand {
    min-height: 30px;
    margin: 0 0 10px;
    font-size: 0.92rem;
    letter-spacing: 0.24em;
  }

  .profile-name {
    max-width: none;
  }

  .profile-hero {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
  }

  .booking-profile-hero {
    align-items: flex-start;
  }

  .profile-avatar-wrap {
    flex-basis: 84px;
    width: 84px;
    min-width: 84px;
    height: 84px;
    min-height: 84px;
    max-height: 84px;
  }

  .profile-avatar {
    height: 100%;
    min-height: 84px;
    max-height: 84px;
    border-radius: 24px;
  }

  .profile-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat {
    min-height: 64px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .stat-value {
    font-size: 1.15rem;
  }

  .stat-label {
    font-size: 10px;
  }

  .steps-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .step-item + .step-item {
    border: none;
  }

  .booking-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-panel {
    padding-left: 10px;
    padding-right: 10px;
  }

  .date-card {
    width: 74px;
  }

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

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

  .portfolio-copy {
    padding: 12px 12px 14px;
    gap: 8px;
  }

  .portfolio-meta {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .portfolio-number {
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
  }

  .portfolio-caption {
    font-size: 12px;
  }

  .tab-bar {
    min-width: 214px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .tab {
    width: 62px;
    min-width: 62px;
  }

  .lightbox-content {
    width: 100%;
    padding: 0 12px;
  }

  .lightbox-content img {
    max-height: 68vh;
  }

  .lightbox-close {
    top: calc(var(--safe-top) + 6px);
    right: 14px;
    position: fixed;
  }

  .lightbox-prev,
  .lightbox-next {
    position: fixed;
    bottom: calc(20px + var(--safe-bottom));
    top: auto;
    transform: none;
  }

  .lightbox-prev {
    left: 16px;
  }

  .lightbox-next {
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-cta {
    animation: none;
    transform: rotate(-1.15deg);
  }

  .splash-screen,
  .splash-word span,
  .splash-line,
  .splash-orb,
  .app,
  .tab-bar-wrap {
    animation: none;
    transition: none;
  }

  .splash-word span,
  .splash-line {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .splash-screen,
  .splash-center {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes ctaTilt {
  0%,
  28% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-1.15deg);
  }
}

@keyframes splashLetterReveal {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.94);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes splashLetterWave {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  48% {
    opacity: 1;
    transform: translateY(-2px) scale(1.11);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes splashScreenReveal {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes splashCenterReveal {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes splashLineReveal {
  0% {
    opacity: 0;
    transform: scaleX(0.3);
  }

  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes splashDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(10px, -14px, 0) scale(1.04);
  }
}

@keyframes driftA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-10px, 12px, 0);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -10px, 0);
  }
}

@keyframes driftC {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-8px, -12px, 0);
  }
}
