:root {
  color-scheme: light;
  --ink: #0b0f19;
  --charcoal: #c2a356;
  --muted: #746b66;
  --line: #eadfd9;
  --paper: #fcf9f6;
  --surface: #fffefd;
  --soft: #f6eeea;
  --rose: #d6a096;
  --logo-pink: #eca4ea;
  --logo-rose: #d6a096;
  --logo-gold: #c2a356;
  --logo-gradient: linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  --logo-gradient-soft: linear-gradient(180deg, rgba(236, 164, 234, 0.18) 0%, rgba(214, 160, 150, 0.14) 58%, rgba(194, 163, 86, 0.18) 100%);
  --rose-dark: #9f5f56;
  --moss: #657365;
  --clay: #b37a5b;
  --blue: #d6a096;
  --blue-soft: #f7e7e3;
  --blue-deep: #8a5149;
  --gold: #c2a356;
  --gold-soft: #f3e4b5;
  --gold-deep: #7b6220;
  --shadow: 0 22px 70px rgba(58, 45, 38, 0.1);
  --font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hair-hero: url("https://images.unsplash.com/photo-1710527988568-3040fd125358?auto=format&fit=crop&w=1800&q=82");
  --hair-studio: url("https://images.unsplash.com/photo-1680821371561-80c19ea9bc55?auto=format&fit=crop&w=1800&q=82");
  --hair-detail: url("https://images.unsplash.com/photo-1512310604669-443f26c35f52?auto=format&fit=crop&w=1500&q=82");
  --redhead-portrait: url("https://images.unsplash.com/photo-1705217455067-2b6abef6b22c?auto=format&fit=crop&w=1200&q=82");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  background:
    linear-gradient(180deg, #fcf9f6 0%, #f6eeea 100%);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

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

.nav-icon,
.admin-tile-icon {
  color: currentColor;
}

.nav-icon svg,
.admin-tile-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 7px;
  min-height: 104px;
  padding: 12px clamp(18px, 4vw, 54px) 14px;
  border-bottom: 1px solid rgba(116, 107, 102, 0.08);
  background:
    linear-gradient(90deg, rgba(214, 160, 150, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.mobile-bottom-nav {
  display: none;
}

body.admin-mode .topbar,
body.admin-mode .mobile-bottom-nav,
body.admin-mode .site-footer,
body.admin-mode #admin > .section-heading {
  display: none;
}

body.portal-mode .topbar,
body.portal-mode .mobile-bottom-nav,
body.portal-mode .site-footer,
body.portal-mode #portalPage > .section-heading {
  display: none;
}

body.admin-mode {
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 10%, rgba(214, 160, 150, 0.08), transparent 30%),
    radial-gradient(circle at 12% 6%, rgba(194, 163, 86, 0.12), transparent 28%),
    linear-gradient(180deg, #fcf9f6 0%, #f6eeea 100%);
}

body.admin-mode main {
  overflow: visible;
}

body.portal-mode {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 86% 8%, rgba(214, 160, 150, 0.08), transparent 32%),
    radial-gradient(circle at 12% 4%, rgba(194, 163, 86, 0.12), transparent 28%),
    linear-gradient(180deg, #fcf9f6 0%, #f6eeea 100%);
}

body.portal-mode main {
  overflow: visible;
}

.brand,
.login-pill,
.hero-actions,
.section-heading,
.tabs,
.segmented,
.social-row,
.message-meta,
.calendar-topline,
.intro-band,
.booking-notes p,
.selected-date,
.service-price {
  display: flex;
  align-items: center;
}

.brand {
  justify-content: center;
  gap: 10px;
  min-width: 0;
  text-align: left;
}

.brand-logo {
  width: 50px;
  height: 50px;
  padding: 4px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 10px 18px rgba(194, 163, 86, 0.16));
}

.brand-logo-wordmark {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 20px;
}

.brand-logo-mark {
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 18px;
}

.topbar-logo-only {
  width: fit-content;
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.topbar-consultation-cta {
  max-width: min(100%, 420px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border: 1px solid rgba(194, 163, 86, 0.28);
  border-radius: 999px;
  padding: 6px 13px;
  background:
    var(--logo-gradient-soft),
    rgba(255, 255, 255, 0.72);
  color: var(--gold-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.topbar-consultation-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(194, 163, 86, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 24px rgba(194, 163, 86, 0.12);
}

.nav {
  position: absolute;
  left: clamp(18px, 4vw, 54px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.nav a {
  position: relative;
  padding: 10px 0;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.login-pill {
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(194, 163, 86, 0.88);
  background:
    linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.login-pill:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 16px 34px rgba(214, 160, 150, 0.2);
}

main {
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(54px, 8vw, 110px) clamp(20px, 6vw, 84px) clamp(34px, 7vw, 78px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 48%, rgba(255, 255, 255, 0.34) 100%),
    var(--hair-hero) center/cover,
    linear-gradient(135deg, #fcf9f6 0%, #f6eeea 46%, #eadfd9 100%);
  isolation: isolate;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto clamp(20px, 6vw, 84px) 28px auto;
  width: min(42vw, 460px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194, 163, 86, 0.82), transparent);
}

.hero-copy {
  max-width: 760px;
}

.hero-copy > *,
.intro-band p,
.quick-start-card,
.service-list > *,
.visual-story > *,
.proof-grid > * {
  animation: soft-rise 620ms ease both;
}

.hero-copy > :nth-child(2) {
  animation-delay: 90ms;
}

.hero-copy > :nth-child(3) {
  animation-delay: 170ms;
}

.hero-copy > :nth-child(4) {
  animation-delay: 250ms;
}

.intro-band p:nth-child(2),
.quick-start-card:nth-child(2),
.service-list > :nth-child(2),
.proof-grid > :nth-child(2) {
  animation-delay: 80ms;
}

.intro-band p:nth-child(3),
.quick-start-card:nth-child(3),
.service-list > :nth-child(3),
.proof-grid > :nth-child(3) {
  animation-delay: 150ms;
}

.intro-band p:nth-child(4),
.quick-start-card:nth-child(4),
.service-list > :nth-child(4),
.proof-grid > :nth-child(4) {
  animation-delay: 220ms;
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 760;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 106px);
  line-height: 0.92;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-copy p {
  max-width: 650px;
  color: #5e5550;
  font-size: 18px;
  line-height: 1.65;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 850;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 17px;
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(116, 107, 102, 0.12);
}

.button.primary {
  border-color: rgba(194, 163, 86, 0.88);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 44%),
    linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 12px 28px rgba(214, 160, 150, 0.16);
}

.button.primary:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
}

.button.secondary,
.button.quiet {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button.secondary:hover,
.button.quiet:hover {
  border-color: rgba(214, 160, 150, 0.32);
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.button.ghost {
  min-height: 38px;
  border-color: rgba(214, 160, 150, 0.22);
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue-deep);
}

.button.compact {
  min-height: 34px;
  padding: 8px 11px;
  font-size: 12px;
}

.button.full {
  width: 100%;
}

.intro-band {
  justify-content: center;
  gap: clamp(16px, 5vw, 64px);
  flex-wrap: wrap;
  padding: 18px clamp(20px, 6vw, 84px);
  border-block: 1px solid rgba(194, 163, 86, 0.42);
  background:
    linear-gradient(90deg, rgba(194, 163, 86, 0.18), transparent 34%, rgba(194, 163, 86, 0.12)),
    linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  color: var(--ink);
}

.intro-band p {
  margin: 0;
  color: rgba(243, 228, 181, 0.86);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-start-section {
  background:
    linear-gradient(135deg, rgba(252, 249, 246, 0.96), rgba(246, 238, 234, 0.86)),
    #fcf9f6;
}

.quick-start-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-start-card {
  min-height: 178px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: 12px;
  border: 1px solid rgba(194, 163, 86, 0.32);
  border-radius: 18px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(252, 249, 246, 0.42)),
    linear-gradient(135deg, rgba(194, 163, 86, 0.1), rgba(214, 160, 150, 0.12)),
    rgba(255, 255, 255, 0.62);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 18px 46px rgba(116, 107, 102, 0.08);
  backdrop-filter: blur(16px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.quick-start-card::after {
  content: "";
  position: absolute;
  inset: 10px 10px auto auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(194, 163, 86, 0.26);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(214, 160, 150, 0.22));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.quick-start-card:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 163, 86, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 24px 58px rgba(116, 107, 102, 0.13);
}

.quick-start-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(194, 163, 86, 0.22);
  background:
    linear-gradient(135deg, rgba(243, 228, 181, 0.62), rgba(214, 160, 150, 0.28));
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 900;
}

.quick-start-card strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 820;
  line-height: 1.02;
}

.quick-start-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.quick-expand-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.quick-expand-list details {
  border: 1px solid rgba(194, 163, 86, 0.22);
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
}

.quick-expand-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.quick-expand-list p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 6vw, 84px);
  scroll-margin-top: 140px;
}

.section-heading {
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 30px;
}

.compact-heading {
  align-items: end;
}

.muted,
.notice,
.meta {
  color: var(--muted);
}

.narrow {
  max-width: 470px;
  line-height: 1.6;
}

.service-section {
  background: var(--surface);
}

.section-footer {
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  border-bottom: 1px solid currentColor;
  color: var(--gold-deep);
  font-weight: 850;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.text-link:hover {
  color: var(--ink);
  transform: translateX(4px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 163, 86, 0.48);
  box-shadow:
    0 18px 45px rgba(116, 107, 102, 0.08),
    0 0 0 1px rgba(194, 163, 86, 0.16);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 760;
  line-height: 1.05;
}

.service-card p {
  color: var(--muted);
  line-height: 1.55;
}

.service-price {
  justify-content: space-between;
  gap: 14px;
  color: var(--gold-deep);
  font-weight: 850;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(236, 164, 234, 0.68), rgba(214, 160, 150, 0.64) 58%, rgba(194, 163, 86, 0.68)),
    radial-gradient(circle at 18% 12%, rgba(194, 163, 86, 0.24), transparent 28%),
    var(--hair-studio) center/cover;
  color: var(--ink);
}

.booking-copy {
  position: sticky;
  top: 106px;
}

.booking-copy p {
  line-height: 1.65;
}

.booking-section .eyebrow,
.booking-section .muted {
  color: var(--ink);
}

.booking-notes {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.booking-notes p {
  gap: 10px;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(243, 228, 181, 0.22);
  color: rgba(255, 255, 255, 0.84);
}

.booking-card,
.portal-shell,
.login-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(194, 163, 86, 0.24);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.booking-card {
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(280px, 1fr);
  overflow: hidden;
}

.booking-wizard {
  position: relative;
}

.booking-wizard .calendar-panel,
.booking-wizard .form-steps {
  grid-column: 1 / -1;
}

.booking-wizard .calendar-panel {
  border-right: 0;
}

.booking-dialog {
  width: min(94vw, 760px);
  height: min(92dvh, 760px);
  max-height: min(92dvh, 760px);
  border: 1px solid rgba(194, 163, 86, 0.26);
  border-radius: 28px;
  padding: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 238, 234, 0.9)),
    var(--paper);
  color: var(--ink);
  box-shadow: 0 34px 110px rgba(214, 160, 150, 0.28);
  overflow: hidden;
}

.booking-dialog::backdrop {
  background:
    linear-gradient(180deg, rgba(214, 160, 150, 0.36), rgba(214, 160, 150, 0.62)),
    rgba(214, 160, 150, 0.42);
  backdrop-filter: blur(10px);
}

.booking-dialog-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: 100%;
  max-height: min(92dvh, 760px);
  overflow: hidden;
}

.booking-dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(14px, 3vw, 22px) clamp(16px, 4vw, 26px) 12px;
  border-bottom: 1px solid rgba(194, 163, 86, 0.18);
  background:
    linear-gradient(180deg, rgba(252, 249, 246, 0.98), rgba(252, 249, 246, 0.9));
  backdrop-filter: blur(16px);
}

.booking-dialog-head .eyebrow,
.booking-dialog-head h3,
.booking-dialog-head p {
  margin-bottom: 4px;
}

.booking-dialog-head h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1;
}

.booking-dialog-head p:last-child {
  color: var(--muted);
  font-weight: 750;
}

.booking-progress {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(194, 163, 86, 0.2);
  background: rgba(252, 249, 246, 0.86);
}

.booking-progress button {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.booking-dialog .form-steps {
  min-height: 0;
  overflow: hidden;
  padding: 14px;
}

.booking-dialog .booking-step-panel.is-active {
  min-height: 0;
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}

.booking-service-field {
  display: none;
}

.booking-progress span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(194, 163, 86, 0.18);
  color: var(--gold-deep);
}

.booking-progress button.is-active,
.booking-progress button.is-complete {
  border-color: rgba(194, 163, 86, 0.5);
  background:
    linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  color: var(--ink);
}

.booking-progress button.is-active span,
.booking-progress button.is-complete span {
  background: rgba(255, 255, 255, 0.16);
  color: var(--ink);
}

.booking-step-panel {
  display: none;
}

.booking-step-panel.is-active {
  display: grid;
  gap: 16px;
}

.calendar-panel,
.form-steps,
.form,
.login-card {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 4vw, 32px);
}

.calendar-panel {
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(252, 249, 246, 0.98)),
    radial-gradient(circle at 80% 20%, rgba(194, 163, 86, 0.18), transparent 30%);
  border-right: 1px solid rgba(194, 163, 86, 0.2);
}

.booking-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(194, 163, 86, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.booking-dialog .booking-step {
  gap: 10px;
  border-radius: 14px;
  padding: 10px;
}

.booking-dialog .booking-step span {
  flex-basis: 28px;
  width: 28px;
  height: 28px;
}

.booking-dialog .booking-step p {
  font-size: 13px;
}

.booking-step span {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  color: var(--ink);
  font-weight: 900;
}

.booking-step strong {
  display: block;
  color: var(--gold-deep);
}

.booking-step p {
  margin: 3px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.calendar-topline {
  justify-content: space-between;
  gap: 16px;
}

.calendar-topline strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 760;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(194, 163, 86, 0.34);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(243, 228, 181, 0.32);
}

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

.calendar-weekdays span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 238, 234, 0.76)),
    var(--surface);
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.calendar-day:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(214, 160, 150, 0.22);
  box-shadow: 0 0 0 3px rgba(214, 160, 150, 0.1);
}

.calendar-day:disabled {
  cursor: not-allowed;
  background: #eee9e3;
  color: #9a918b;
  text-decoration: line-through;
}

.calendar-day.is-selected {
  background:
    linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  color: var(--ink);
  border-color: rgba(214, 160, 150, 0.32);
}

.calendar-day.is-limited {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.slot-field {
  display: grid;
  gap: 7px;
  font-weight: 760;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
}

.booking-dialog .slot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.slot-grid p {
  margin: 0;
}

.slot-button {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 238, 234, 0.76)),
    var(--surface);
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.booking-dialog .slot-button {
  min-height: 46px;
  border-radius: 999px;
  font-size: 13px;
}

.slot-button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(214, 160, 150, 0.22);
  box-shadow: 0 0 0 3px rgba(214, 160, 150, 0.1);
}

.slot-button:disabled {
  cursor: not-allowed;
  background: #eee9e3;
  color: #9a918b;
  text-decoration: line-through;
}

.slot-button.is-selected {
  border-color: rgba(214, 160, 150, 0.32);
  background:
    linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  color: var(--ink);
}

.choice-group {
  display: grid;
  gap: 9px;
  margin: 0;
  border: 0;
  padding: 0;
}

.choice-group legend {
  padding: 0;
  font-weight: 760;
}

.choice-buttons {
  display: grid;
  gap: 8px;
}

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

.choice-buttons.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-buttons.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-buttons label {
  display: block;
  min-width: 0;
}

.choice-buttons input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-buttons span {
  min-height: 44px;
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(252, 249, 246, 0.5)),
    rgba(255, 255, 255, 0.62);
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.choice-buttons span::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 1px solid rgba(194, 163, 86, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.booking-dialog .choice-group {
  gap: 6px;
}

.booking-dialog .choice-group legend {
  font-size: 13px;
}

.booking-dialog .choice-buttons {
  gap: 6px;
}

.booking-dialog .choice-buttons.three,
.booking-dialog .choice-buttons.four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-dialog .choice-buttons span {
  min-height: 40px;
  border-radius: 999px;
  padding: 7px 8px;
  font-size: 12px;
}

.choice-buttons span:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 0 0 3px rgba(194, 163, 86, 0.12);
}

.choice-buttons input:checked + span {
  border-color: var(--gold);
  background:
    linear-gradient(145deg, rgba(243, 228, 181, 0.78), rgba(214, 160, 150, 0.36)),
    rgba(255, 255, 255, 0.7);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 10px 24px rgba(194, 163, 86, 0.12);
}

.choice-buttons input:checked + span::before {
  border-color: var(--gold);
  background:
    radial-gradient(circle at center, var(--gold) 0 34%, transparent 36%),
    rgba(255, 255, 255, 0.72);
}

.lock-in-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(194, 163, 86, 0.3);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(243, 228, 181, 0.28), rgba(255, 255, 255, 0.78)),
    rgba(252, 249, 246, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.booking-dialog .lock-in-card {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  border-radius: 14px;
  padding: 10px;
}

.booking-dialog .lock-in-card span {
  min-height: 46px;
  border-radius: 12px;
  font-size: 18px;
}

.booking-dialog .lock-in-card p {
  font-size: 12px;
  line-height: 1.35;
}

.lock-in-card span {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.lock-in-card strong {
  display: block;
  color: var(--gold-deep);
}

.lock-in-card p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.booking-summary-card,
.booking-confirmation {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(194, 163, 86, 0.28);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(243, 228, 181, 0.16)),
    rgba(252, 249, 246, 0.92);
}

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

.booking-dialog .booking-summary-card {
  gap: 6px;
  border-radius: 14px;
  padding: 10px;
}

.booking-summary-card div,
.confirmation-grid article {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.booking-summary-card span,
.confirmation-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.booking-dialog .booking-summary-card span {
  font-size: 10px;
}

.booking-summary-card strong,
.confirmation-grid strong {
  color: var(--ink);
  line-height: 1.25;
}

.booking-dialog .booking-summary-card strong {
  font-size: 13px;
}

.wizard-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.sticky-wizard-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 4px -4px -4px;
  padding: 10px 4px 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96) 28%);
}

.booking-confirmation {
  grid-column: 1 / -1;
  margin-top: 18px;
  color: var(--ink);
}

.confirmation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.confirmation-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.calendar-spacer {
  min-height: 58px;
}

.selected-date {
  min-height: 42px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid rgba(194, 163, 86, 0.2);
  color: var(--muted);
  line-height: 1.35;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  padding: 11px 12px;
}

.booking-dialog input,
.booking-dialog select,
.booking-dialog textarea {
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 163, 86, 0.14);
  outline: none;
}

textarea {
  resize: vertical;
}

.grid {
  display: grid;
  gap: 14px;
}

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

.notice,
.quote {
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(243, 228, 181, 0.3), #fcf9f6);
  padding: 14px 16px;
  border-radius: 6px;
  line-height: 1.5;
}

.notice.compact {
  font-size: 14px;
}

.quote {
  border-color: var(--gold-deep);
  background: linear-gradient(90deg, rgba(243, 228, 181, 0.28), #f6eeea);
}

.booking-dialog .quote {
  border-left-width: 3px;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 12px;
  line-height: 1.35;
}

.check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-weight: 650;
}

.check input {
  width: 18px;
  margin-top: 3px;
}

.booking-dialog .check {
  gap: 8px;
  font-size: 12px;
  line-height: 1.35;
}

.process-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--surface);
  overflow: hidden;
}

.proof-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  background:
    linear-gradient(120deg, rgba(252, 249, 246, 0.95), rgba(246, 238, 234, 0.84)),
    radial-gradient(circle at 85% 20%, rgba(194, 163, 86, 0.2), transparent 35%);
}

.visual-story {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: stretch;
  background:
    linear-gradient(120deg, rgba(252, 249, 246, 0.96), rgba(246, 238, 234, 0.84)),
    radial-gradient(circle at 88% 10%, rgba(194, 163, 86, 0.18), transparent 32%);
}

.visual-card {
  position: relative;
  min-height: clamp(420px, 48vw, 680px);
  display: grid;
  align-content: end;
  gap: 16px;
  padding: clamp(24px, 5vw, 52px);
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(214, 160, 150, 0.02), rgba(214, 160, 150, 0.72)),
    radial-gradient(circle at 18% 20%, rgba(194, 163, 86, 0.24), transparent 32%),
    var(--hair-detail) center/cover;
  box-shadow: var(--shadow);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(243, 228, 181, 0.42);
  border-radius: 6px;
  pointer-events: none;
}

.visual-card span,
.testimonial-card span {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-card h2 {
  position: relative;
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 72px);
}

.visual-copy {
  align-self: center;
  max-width: 520px;
}

.visual-copy p {
  font-size: 17px;
  line-height: 1.65;
}

.proof-grid {
  display: grid;
  gap: 14px;
}

.proof-grid article {
  border: 1px solid rgba(194, 163, 86, 0.22);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.proof-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 163, 86, 0.42);
  box-shadow: 0 16px 42px rgba(116, 107, 102, 0.08);
}

.proof-grid strong {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-card span {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.orbital-line {
  position: absolute;
  right: -140px;
  top: -90px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(194, 163, 86, 0.18);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 180ms linear;
}

.orbital-line::after {
  content: "";
  position: absolute;
  inset: 55px;
  border: 1px solid rgba(154, 86, 101, 0.18);
  border-radius: 50%;
}

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

.process-grid article {
  min-height: 260px;
  padding: 24px;
  background: var(--surface);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.process-grid article:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(194, 163, 86, 0.34);
}

.process-grid span {
  color: var(--gold-deep);
  font-weight: 900;
}

.process-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.portal-section {
  background: var(--paper);
}

.portal-promo {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(246, 238, 234, 0.9)),
    radial-gradient(circle at 85% 20%, rgba(214, 160, 150, 0.08), transparent 34%);
}

.portal-preview-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.portal-preview-tile {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  border: 1px solid rgba(116, 107, 102, 0.08);
  border-radius: 28px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 238, 234, 0.72)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(116, 107, 102, 0.07);
}

.portal-preview-tile span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 900;
}

.portal-preview-tile h3 {
  margin: 0 0 6px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.02;
}

.portal-preview-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.25;
}

.testimonials-section {
  background:
    linear-gradient(120deg, rgba(252, 249, 246, 0.88), rgba(214, 160, 150, 0.62)),
    var(--hair-studio) center/cover;
  color: var(--ink);
}

.testimonials-section .muted,
.testimonials-section .eyebrow {
  color: var(--blue-deep);
}

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

.testimonial-card {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(12px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 163, 86, 0.44);
  background: rgba(255, 255, 255, 0.78);
}

.testimonial-card p {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.page-section {
  min-height: calc(100vh - 76px);
}

.services-page,
.about-page,
.gallery-page,
.care-page {
  position: relative;
  background: var(--surface);
  overflow: hidden;
}

.page-moon {
  position: absolute;
  right: -120px;
  top: 80px;
  width: min(46vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(194, 163, 86, 0.2);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), transparent 38%),
    linear-gradient(135deg, rgba(243, 228, 181, 0.46), rgba(255, 255, 255, 0.28));
  pointer-events: none;
  transition: transform 180ms linear;
}

.about-moon {
  left: -140px;
  right: auto;
  top: 180px;
}

.detail-intro {
  max-width: 760px;
  margin: -10px 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.method-grid,
.values-strip,
.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.method-grid article,
.values-strip article,
.care-grid article {
  border: 1px solid rgba(194, 163, 86, 0.2);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(243, 228, 181, 0.12)),
    var(--paper);
}

.method-grid p,
.values-strip span,
.care-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.values-strip strong,
.values-strip span {
  display: block;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.about-hero > div:first-child p,
.about-layout > div:first-child p {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.7;
}

.about-portrait {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  box-shadow: var(--shadow);
}

.about-portrait img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 38%, rgba(214, 160, 150, 0.78)),
    radial-gradient(circle at 20% 15%, rgba(194, 163, 86, 0.28), transparent 32%);
  pointer-events: none;
}

.about-portrait > div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
}

.about-portrait span {
  display: block;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-portrait strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 760;
}

.about-panel {
  border: 1px solid rgba(194, 163, 86, 0.22);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.certification-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  margin-top: clamp(44px, 7vw, 84px);
  padding-top: clamp(34px, 6vw, 64px);
  border-top: 1px solid rgba(194, 163, 86, 0.28);
}

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

.credential-grid article {
  border: 1px solid rgba(194, 163, 86, 0.24);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(243, 228, 181, 0.16)),
    var(--paper);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.credential-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 163, 86, 0.48);
  box-shadow: 0 16px 40px rgba(116, 107, 102, 0.08);
}

.credential-grid span {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.credential-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.gallery-filters button {
  min-height: 38px;
  border: 1px solid rgba(194, 163, 86, 0.28);
  border-radius: 999px;
  background: var(--surface);
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.gallery-filters button:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(243, 228, 181, 0.26);
}

.gallery-filters .is-active {
  background:
    linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  color: var(--ink);
  border-color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.gallery-card {
  min-height: 280px;
  display: grid;
  align-content: end;
  gap: 8px;
  border-radius: 8px;
  padding: 22px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(214, 160, 150, 0.04), rgba(214, 160, 150, 0.72)),
    radial-gradient(circle at 18% 18%, rgba(194, 163, 86, 0.24), transparent 34%),
    var(--hair-hero) center/cover;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 54px rgba(116, 107, 102, 0.16);
}

.gallery-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(214, 160, 150, 0.04), rgba(214, 160, 150, 0.72)),
    radial-gradient(circle at 18% 18%, rgba(194, 163, 86, 0.24), transparent 34%),
    var(--hair-studio) center/cover;
}

.gallery-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(214, 160, 150, 0.04), rgba(214, 160, 150, 0.72)),
    radial-gradient(circle at 18% 18%, rgba(194, 163, 86, 0.24), transparent 34%),
    url("https://images.unsplash.com/photo-1519699047748-de8e457a634e?auto=format&fit=crop&w=1200&q=82") center/cover;
}

.gallery-card:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(214, 160, 150, 0.04), rgba(214, 160, 150, 0.72)),
    radial-gradient(circle at 18% 18%, rgba(194, 163, 86, 0.24), transparent 34%),
    url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=1200&q=82") center/cover;
}

.gallery-large {
  grid-row: span 2;
  min-height: 574px;
}

.gallery-card h3 {
  max-width: 360px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 760;
  line-height: 1.02;
}

.gallery-note {
  margin-top: 18px;
  max-width: 760px;
}

.portal-shell {
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 238, 234, 0.72)),
    #fcf9f6;
}

body.portal-mode .portal-section {
  min-height: 100vh;
  padding: 8px;
  background: transparent;
}

body.portal-mode .portal-shell {
  position: relative;
  min-height: calc(100vh - 16px);
  width: min(100%, 560px);
  margin: 0 auto;
  border: 1px solid rgba(116, 107, 102, 0.08);
  border-radius: 42px;
  box-shadow: 0 28px 90px rgba(116, 107, 102, 0.1);
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 238, 234, 0.94) 100%);
  color: var(--ink);
}

body.portal-mode .portal-app-head {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(22px, 5vw, 30px) clamp(20px, 5vw, 34px) 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
  backdrop-filter: blur(18px);
}

.portal-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(194, 163, 86, 0.22);
  border-radius: 999px;
  padding: 7px 15px 7px 8px;
  background:
    var(--logo-gradient-soft),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(194, 163, 86, 0.1);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.portal-brand-lockup img {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(194, 163, 86, 0.16));
}

.portal-brand-lockup span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.portal-mode .tabs {
  position: absolute;
  right: clamp(16px, 5vw, 28px);
  top: 92px;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  overflow: visible;
  width: min(320px, calc(100% - 40px));
  margin: 0;
  border: 1px solid rgba(116, 107, 102, 0.1);
  border-radius: 26px;
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 238, 234, 0.84)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(116, 107, 102, 0.14);
  backdrop-filter: blur(18px);
}

body.portal-mode .tab {
  min-width: 0;
  min-height: 50px;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(116, 107, 102, 0.06);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: none;
  color: var(--muted);
  white-space: normal;
  text-align: left;
}

body.portal-mode .tab.active {
  border-color: rgba(214, 160, 150, 0.24);
  background: var(--blue-soft);
  color: var(--blue-deep);
}

body.portal-mode .tab-panel {
  padding: 18px clamp(20px, 5vw, 34px) 112px;
}

.next-action-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(214, 160, 150, 0.14);
  border-radius: 30px;
  padding: clamp(16px, 3vw, 24px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 231, 227, 0.7)),
    rgba(255, 255, 255, 0.86);
  color: var(--ink);
  box-shadow: 0 22px 60px rgba(214, 160, 150, 0.1);
}

.next-action-card .eyebrow,
.next-action-card p {
  color: var(--muted);
}

.next-action-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 760;
}

.status-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 16px;
}

.status-timeline span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 160, 150, 0.14);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.status-timeline span.is-done {
  background: rgba(194, 163, 86, 0.18);
  color: var(--gold-deep);
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 0;
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(214, 160, 150, 0.08), transparent),
    rgba(255, 255, 255, 0.86);
}

.tab {
  min-width: 118px;
  min-height: 42px;
  border: 1px solid rgba(116, 107, 102, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 850;
  color: var(--muted);
}

.tab.active {
  background:
    linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  color: var(--ink);
}

.tab-panel {
  display: none;
  padding: clamp(18px, 4vw, 32px);
}

.tab-panel.active {
  display: block;
}

.portal-app-head {
  display: none;
}

.portal-bottom-nav {
  display: none;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.portal-tile-section,
.portal-section-head {
  margin-bottom: 16px;
}

.portal-plan-stack {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  margin: 0 0 16px;
}

.portal-plan-card {
  border: 1px solid rgba(116, 107, 102, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 238, 234, 0.76)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(116, 107, 102, 0.07);
  padding: 16px;
  color: var(--ink);
}

.portal-plan-card.is-primary {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 231, 227, 0.72)),
    rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.portal-plan-card span {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-plan-card.is-primary span {
  background: rgba(194, 163, 86, 0.18);
  color: var(--gold-deep);
}

.portal-plan-card h3 {
  margin: 0 0 8px;
  font-size: clamp(21px, 3vw, 30px);
}

.portal-plan-card p {
  margin: 0;
  color: var(--muted);
}

.portal-plan-card.is-primary p {
  color: var(--muted);
}

.portal-section-head {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
}

.portal-section-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 760;
}

.portal-section-head span {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-tile-grid,
.app-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.portal-tile,
.app-tile,
.app-form-tile {
  border: 1px solid rgba(194, 163, 86, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.52)),
    var(--surface);
  box-shadow: 0 16px 44px rgba(116, 107, 102, 0.07);
}

.portal-tile {
  min-height: 148px;
  display: grid;
  gap: 8px;
  align-content: space-between;
  padding: 16px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.portal-tile span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(194, 163, 86, 0.14);
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 900;
}

.portal-tile strong {
  color: var(--gold-deep);
  font-size: 22px;
}

.portal-tile small,
.portal-tile p {
  color: var(--muted);
}

.portal-tile p {
  margin: 0;
  line-height: 1.35;
}

.card,
.message,
.booking-row,
.stock-row {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  padding: 16px;
}

body.portal-mode .card,
body.portal-mode .message,
body.portal-mode .booking-row,
body.portal-mode .stock-row,
body.portal-mode .app-form-tile,
body.portal-mode .notification-row {
  border-color: rgba(116, 107, 102, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 238, 234, 0.78)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 44px rgba(116, 107, 102, 0.07);
  color: var(--ink);
}

body.portal-mode .card p,
body.portal-mode .message p,
body.portal-mode .booking-row p,
body.portal-mode .stock-row p,
body.portal-mode .muted,
body.portal-mode .card li {
  color: var(--muted);
}

body.portal-mode .status {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

body.portal-mode .portal-section-head h3 {
  color: var(--ink);
}

body.portal-mode .portal-section-head span {
  color: var(--gold-deep);
}

.referral-card {
  gap: 14px;
}

.referral-link-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.referral-link-field input {
  min-height: 44px;
  border: 1px solid rgba(214, 160, 150, 0.14);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 13px;
  text-transform: none;
}

.referral-actions,
.referral-stats {
  display: grid;
  gap: 8px;
}

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

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

.referral-stats span {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(116, 107, 102, 0.06);
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.58);
}

.referral-stats strong {
  font-size: 22px;
}

.referral-stats small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

body.portal-mode .portal-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 28;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  width: min(528px, calc(100% - 40px));
  margin: 0;
  border: 1px solid rgba(194, 163, 86, 0.3);
  border-radius: 999px;
  padding: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(252, 249, 246, 0.36)),
    linear-gradient(135deg, rgba(194, 163, 86, 0.12), rgba(214, 160, 150, 0.14));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 20px 54px rgba(116, 107, 102, 0.16);
  backdrop-filter: blur(24px) saturate(1.25);
}

body.portal-mode .portal-bottom-button {
  min-width: 0;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  gap: 0;
  place-items: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

body.portal-mode .portal-bottom-button span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  opacity: 0.86;
}

body.portal-mode .portal-bottom-button strong {
  font-size: 12px;
  font-weight: 550;
  line-height: 1;
}

.admin-tile-icon svg {
  width: 24px;
  height: 24px;
}

body.portal-mode .portal-bottom-button.active {
  transform: translateY(-2px);
  border-color: rgba(194, 163, 86, 0.34);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(243, 228, 181, 0.42)),
    rgba(214, 160, 150, 0.18);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 24px rgba(194, 163, 86, 0.12);
}

body.portal-mode .portal-bottom-button.active span {
  background: rgba(194, 163, 86, 0.16);
}

.card {
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 160, 150, 0.22);
  box-shadow: 0 14px 34px rgba(116, 107, 102, 0.08);
}

.card p:last-child,
.message p:last-child,
.booking-row p:last-child {
  margin-bottom: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.portfolio-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.message-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.message.admin {
  border-left: 4px solid var(--rose);
}

.message.client {
  border-left: 4px solid var(--moss);
}

.message-meta {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.social-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.social-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--surface);
  font-weight: 760;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.social-row a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold-deep);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.admin-shell {
  display: grid;
  gap: 20px;
}

.admin-shell .admin-grid {
  grid-template-columns: minmax(0, 1fr);
}

.admin-shell .crm-main-panel,
.admin-shell .crm-side-panel,
.admin-shell .crm-booking-panel,
.admin-shell .crm-operations-panel,
.admin-shell .crm-calendar-panel,
.admin-shell .crm-quote-panel,
.admin-shell .crm-command-panel,
.admin-shell .crm-task-board-panel,
.admin-shell .crm-deposit-panel {
  grid-column: 1 / -1;
}

.admin-shell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(116, 107, 102, 0.08);
  border-radius: 28px;
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 238, 234, 0.72)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(116, 107, 102, 0.08);
  backdrop-filter: blur(22px);
}

.admin-shell-head h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 56px);
}

.admin-shell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-section-nav {
  position: sticky;
  top: 0;
  z-index: 9;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border: 1px solid rgba(116, 107, 102, 0.08);
  border-radius: 999px;
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 238, 234, 0.76)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 46px rgba(116, 107, 102, 0.08);
  backdrop-filter: blur(20px);
}

.admin-section-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(116, 107, 102, 0.06);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.admin-section-nav a:hover,
.admin-section-nav a.is-active {
  transform: translateY(-2px);
  border-color: rgba(214, 160, 150, 0.2);
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.admin-home-panel {
  display: grid;
  gap: 18px;
}

.admin-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.admin-menu-tile {
  min-height: 178px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(116, 107, 102, 0.08);
  border-radius: 28px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 238, 234, 0.72)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 54px rgba(116, 107, 102, 0.07);
  backdrop-filter: blur(18px);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.admin-menu-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 160, 150, 0.22);
  box-shadow: 0 26px 64px rgba(116, 107, 102, 0.11);
}

.admin-tile-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(214, 160, 150, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(247, 231, 227, 0.92), rgba(243, 228, 181, 0.58)),
    rgba(255, 255, 255, 0.82);
  color: var(--blue-deep);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.admin-tile-stat {
  width: fit-content;
  margin-top: 4px;
  border: 1px solid rgba(214, 160, 150, 0.14);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-menu-tile strong {
  color: var(--ink);
  font-size: 28px;
}

.admin-menu-tile p {
  margin-bottom: 0;
  color: var(--muted);
}

.priority-panel,
.priority-list {
  display: grid;
  gap: 10px;
}

.priority-panel {
  border: 1px solid rgba(116, 107, 102, 0.08);
  border-radius: 28px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 238, 234, 0.72)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 44px rgba(116, 107, 102, 0.07);
  backdrop-filter: blur(18px);
}

.priority-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(116, 107, 102, 0.08);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.priority-row span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.priority-row strong {
  display: block;
}

.priority-row p {
  margin: 3px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.admin-back-link {
  justify-self: start;
}

.admin-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  border: 1px solid rgba(116, 107, 102, 0.08);
  border-radius: 28px;
  padding: clamp(16px, 2.4vw, 24px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 238, 234, 0.72)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 56px rgba(116, 107, 102, 0.07);
  backdrop-filter: blur(18px);
}

.admin-list {
  display: grid;
  gap: 12px;
}

.booking-row {
  display: grid;
  gap: 10px;
}

.crm-overview {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
}

.crm-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.crm-metric {
  min-height: 120px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(116, 107, 102, 0.08);
  border-radius: 24px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 231, 227, 0.58)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(116, 107, 102, 0.06);
  backdrop-filter: blur(14px);
}

.crm-metric span,
.admin-section-heading span,
.pipeline-card small,
.compact-copy {
  color: var(--muted);
}

.crm-metric strong {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 760;
  line-height: 1;
}

.crm-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pipeline-column {
  min-height: 240px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.pipeline-head,
.contact-card-head,
.task-row,
.activity-row,
.communication-row,
.notification-row,
.admin-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pipeline-head span {
  display: grid;
  place-items: center;
  min-width: 26px;
  min-height: 26px;
  border-radius: 999px;
  background: rgba(243, 228, 181, 0.5);
  color: var(--gold-deep);
  font-weight: 900;
}

.pipeline-list {
  display: grid;
  gap: 10px;
}

.pipeline-card {
  border: 1px solid rgba(194, 163, 86, 0.24);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.pipeline-card:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 163, 86, 0.48);
  box-shadow: 0 12px 30px rgba(116, 107, 102, 0.08);
}

.pipeline-card h4,
.task-row h4 {
  margin: 8px 0 4px;
}

.crm-main-panel,
.crm-booking-panel {
  grid-column: 1;
}

.crm-side-panel,
.crm-operations-panel {
  grid-column: 2;
}

.crm-calendar-panel,
.crm-quote-panel,
.crm-command-panel,
.crm-task-board-panel,
.crm-deposit-panel {
  grid-column: 1 / -1;
}

.command-grid,
.task-board,
.deposit-list {
  display: grid;
  gap: 12px;
}

.command-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
}

.command-card,
.deposit-row,
.task-board-column,
.timeline-row {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 16px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(243, 228, 181, 0.14)),
    rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 36px rgba(116, 107, 102, 0.06);
  backdrop-filter: blur(14px);
}

.command-card {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 150px;
}

.command-card span,
.timeline-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.command-card strong {
  color: var(--gold-deep);
  font-size: 20px;
}

.task-board {
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  overflow-x: auto;
}

.task-board-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.deposit-row,
.timeline-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.crm-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.35fr);
  gap: 12px;
  border: 1px solid rgba(194, 163, 86, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(252, 249, 246, 0.82);
}

.crm-create-form,
.crm-inline-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  align-items: end;
  border: 1px solid rgba(194, 163, 86, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: rgba(252, 249, 246, 0.84);
}

.crm-create-form .wide,
.crm-inline-form .wide {
  grid-column: span 2;
}

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

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.8fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
    rgba(255, 255, 255, 0.54);
  box-shadow: 0 14px 40px rgba(116, 107, 102, 0.07);
  backdrop-filter: blur(14px);
}

.contact-card.is-selected {
  border-color: rgba(194, 163, 86, 0.66);
  box-shadow:
    0 18px 48px rgba(116, 107, 102, 0.11),
    inset 0 0 0 1px rgba(194, 163, 86, 0.22);
}

.contact-card-head {
  align-items: start;
}

.contact-card-head strong {
  color: var(--gold-deep);
  font-size: 18px;
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.contact-tags span,
.contact-stats span {
  border: 1px solid rgba(194, 163, 86, 0.3);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(243, 228, 181, 0.24);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 850;
}

.contact-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-detail-panel {
  display: grid;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.38)),
    rgba(255, 255, 255, 0.54);
  box-shadow: 0 24px 70px rgba(116, 107, 102, 0.1);
  backdrop-filter: blur(20px);
}

.contact-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.contact-detail-head h2 {
  margin-bottom: 6px;
  font-size: clamp(34px, 5vw, 54px);
}

.contact-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
}

.contact-action-button {
  min-height: 130px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(243, 228, 181, 0.16)),
    rgba(255, 255, 255, 0.54);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 12px 36px rgba(116, 107, 102, 0.07);
  backdrop-filter: blur(14px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-action-button:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 163, 86, 0.62);
  box-shadow: 0 20px 48px rgba(116, 107, 102, 0.11);
}

.contact-action-button span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  color: var(--ink);
  font-weight: 900;
}

.contact-action-button strong {
  color: var(--gold-deep);
  font-size: 19px;
}

.contact-action-button small {
  color: var(--muted);
  line-height: 1.35;
}

.contact-detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.contact-detail-metrics article {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 10px 28px rgba(116, 107, 102, 0.05);
}

.contact-detail-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-detail-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--gold-deep);
  font-size: 24px;
}

.detail-form {
  grid-template-columns: repeat(4, minmax(120px, 1fr));
}

.detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.record-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 16px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.42);
}

.record-tabs button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.record-tabs button:hover,
.record-tabs button.active {
  transform: translateY(-2px);
  border-color: rgba(194, 163, 86, 0.62);
  background: linear-gradient(135deg, var(--surface), rgba(243, 228, 181, 0.5));
  color: var(--gold-deep);
}

.record-tab-panel {
  display: none;
}

.record-tab-panel.is-active {
  display: grid;
  gap: 16px;
}

.record-grid,
.record-list {
  display: grid;
  gap: 12px;
}

.record-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.record-row {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 10px 30px rgba(116, 107, 102, 0.05);
}

.record-row h4 {
  margin: 0;
}

.record-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.record-row strong {
  color: var(--gold-deep);
  font-size: 22px;
}

.record-row summary,
.calendar-event summary {
  cursor: pointer;
  color: var(--gold-deep);
  font-weight: 900;
}

.task-row,
.activity-row,
.communication-row,
.notification-row,
.template-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface);
}

.task-row.is-done {
  opacity: 0.62;
}

.task-row.is-done h4 {
  text-decoration: line-through;
}

.notification-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.notification-row.is-read {
  opacity: 0.62;
}

.activity-list,
.communication-list,
.notification-list,
.template-list {
  display: grid;
  gap: 10px;
}

.template-card {
  display: grid;
  gap: 10px;
}

.template-card h4 {
  margin: 8px 0 4px;
}

.template-card summary {
  cursor: pointer;
  color: var(--gold-deep);
  font-weight: 900;
}

.admin-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 8px;
}

.admin-calendar-controls,
.admin-calendar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-calendar-controls span {
  min-width: 130px;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.admin-calendar-controls .icon-button {
  width: 34px;
  height: 34px;
}

.admin-calendar-day {
  min-height: 145px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(194, 163, 86, 0.18);
  border-radius: 8px;
  padding: 10px;
  background: var(--surface);
}

.admin-calendar-day.is-closed {
  background: #f0ebe5;
}

.admin-calendar-date {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.admin-calendar-date strong {
  color: var(--gold-deep);
  font-size: 24px;
}

.admin-calendar-date span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-align: right;
}

.admin-calendar-events {
  display: grid;
  gap: 6px;
}

.admin-calendar-actions {
  margin-top: auto;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.calendar-event,
.quote-row {
  border: 1px solid rgba(194, 163, 86, 0.22);
  border-radius: 8px;
  padding: 9px;
  background: rgba(252, 249, 246, 0.86);
}

.calendar-event span,
.calendar-event small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.calendar-event-form {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.calendar-event-form label {
  display: grid;
  gap: 4px;
  font-size: 11px;
}

.calendar-event-form input,
.calendar-event-form select {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 8px;
  background: var(--surface);
  color: var(--ink);
}

.quote-builder-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
  border: 1px solid rgba(194, 163, 86, 0.22);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(243, 228, 181, 0.16)),
    var(--surface);
}

.quote-builder-form textarea,
.quote-builder-form .grid,
.quote-builder-form button {
  grid-column: 1 / -1;
}

.calendar-booking-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
  border: 1px solid rgba(194, 163, 86, 0.22);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(243, 228, 181, 0.16)),
    var(--surface);
}

.calendar-booking-form > div,
.calendar-booking-form .wide,
.calendar-booking-form button,
.compact-record-form h4 {
  grid-column: 1 / -1;
}

.compact-record-form {
  box-shadow: none;
}

.quote-list {
  display: grid;
  gap: 10px;
}

.quote-row {
  display: grid;
  gap: 10px;
  background: var(--surface);
}

.quote-row h4 {
  margin: 8px 0 4px;
}

.quote-row summary {
  cursor: pointer;
  color: var(--gold-deep);
  font-weight: 900;
}

.activity-row,
.communication-row,
.notification-row {
  align-items: flex-start;
  justify-content: flex-start;
}

.activity-row > span,
.communication-row > span,
.notification-row > span {
  min-width: 78px;
  border-radius: 999px;
  background: rgba(243, 228, 181, 0.36);
  color: var(--gold-deep);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.activity-row p,
.communication-row p,
.notification-row p {
  margin: 4px 0;
  color: var(--muted);
}

.appointment-tool {
  border-top: 1px solid rgba(194, 163, 86, 0.2);
  padding-top: 8px;
}

.appointment-tool summary {
  cursor: pointer;
  color: var(--gold-deep);
  font-weight: 900;
}

.appointment-tool summary:hover {
  color: var(--ink);
}

.appointment-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid rgba(194, 163, 86, 0.2);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(243, 228, 181, 0.14)),
    var(--paper);
}

.loyalty-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(243, 228, 181, 0.24)),
    var(--surface);
}

.preference-form {
  margin-top: 18px;
  border: 1px solid rgba(194, 163, 86, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(243, 228, 181, 0.12)),
    var(--surface);
}

.row-actions {
  display: grid;
  grid-template-columns: minmax(120px, 170px) 1fr auto;
  gap: 10px;
  align-items: end;
}

.stock-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.low {
  color: #a24633;
  font-weight: 850;
}

.calendar-admin-grid {
  display: grid;
  gap: 10px;
}

.closure-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface);
}

.login-modal {
  width: min(94vw, 480px);
  padding: 0;
  border: 0;
  background: transparent;
}

.login-modal::backdrop {
  background: rgba(116, 107, 102, 0.34);
  backdrop-filter: blur(10px);
}

.login-card {
  position: relative;
}

.close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.close:hover {
  transform: rotate(90deg);
  border-color: var(--gold);
}

.segmented {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  overflow: hidden;
}

.segmented button {
  flex: 1;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #f6eeea;
  padding: 11px;
  cursor: pointer;
  font-weight: 850;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.segmented button:hover {
  background: rgba(243, 228, 181, 0.34);
  color: var(--gold-deep);
}

.segmented button.active {
  background:
    linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(220px, 0.8fr) minmax(220px, 0.7fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(36px, 7vw, 76px) clamp(20px, 6vw, 84px);
  border-top: 1px solid rgba(194, 163, 86, 0.32);
  background:
    radial-gradient(circle at 82% 12%, rgba(236, 164, 234, 0.18), transparent 32%),
    var(--logo-gradient-soft),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(252, 249, 246, 0.96));
  color: var(--ink);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 760;
}

.footer-brand p {
  max-width: 360px;
  margin: 6px 0 0;
  color: var(--muted);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  align-content: center;
}

.footer-links a,
.footer-contact span {
  color: var(--muted);
  font-weight: 780;
}

.footer-links a {
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.footer-links a:hover {
  color: var(--gold-deep);
  border-color: currentColor;
  transform: translateX(4px);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 20;
  transform: translate(-50%, 20px);
  max-width: min(92vw, 560px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--logo-pink) 0%, var(--logo-rose) 58%, var(--logo-gold) 100%);
  color: var(--ink);
  padding: 12px 18px;
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

[hidden] {
  display: none !important;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1040px) {
  body.admin-mode {
    padding-bottom: 0;
  }

  body.portal-mode {
    padding-bottom: 0;
  }

  body.portal-mode .portal-shell {
    width: min(100%, 560px);
  }

  body.portal-mode .portal-plan-stack {
    grid-template-columns: 1fr 1fr;
  }

  body.portal-mode .portal-plan-card.is-primary {
    grid-column: 1 / -1;
  }

  .topbar {
    grid-template-columns: 1fr;
    min-height: 98px;
  }

  .nav {
    display: none;
  }

  .hero,
  .booking-section,
  .process-section,
  .admin-grid,
  .proof-section,
  .visual-story,
  .about-hero,
  .certification-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .crm-main-panel,
  .crm-side-panel,
  .crm-booking-panel,
  .crm-operations-panel,
  .crm-calendar-panel,
  .crm-quote-panel,
  .crm-command-panel,
  .crm-task-board-panel,
  .crm-deposit-panel {
    grid-column: 1;
  }

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

  .admin-shell {
    gap: 16px;
  }

  .admin-shell-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-shell-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-section-nav {
    top: 0;
    margin-inline: -2px;
  }

  .admin-section-nav a {
    min-height: 44px;
    padding-inline: 16px;
  }

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

  .admin-menu-tile {
    min-height: 190px;
  }

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

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

  .booking-copy {
    position: static;
  }

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

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

  .calendar-booking-form,
  .quote-builder-form,
  .crm-create-form,
  .crm-inline-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

@media (min-width: 721px) and (max-width: 1040px) {
  .admin-section {
    padding-inline: clamp(18px, 4vw, 36px);
  }

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

  .admin-menu-tile {
    min-height: 180px;
  }

  .contact-action-grid,
  .contact-detail-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-calendar-day {
    min-height: 180px;
  }

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

  .task-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 96px;
  }

  body.admin-mode {
    padding-bottom: 0;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 92px;
    padding: 9px 16px 11px;
  }

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

  .brand-logo-wordmark {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .brand-logo-mark {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    font-size: 10px;
  }

  .topbar-consultation-cta {
    max-width: calc(100vw - 36px);
    padding: 6px 11px;
    font-size: 11px;
  }

  .nav {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    padding: 9px;
    border: 1px solid rgba(194, 163, 86, 0.3);
    border-radius: 999px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(252, 249, 246, 0.36)),
      linear-gradient(135deg, rgba(194, 163, 86, 0.12), rgba(214, 160, 150, 0.14));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.86),
      0 18px 60px rgba(116, 107, 102, 0.16);
    backdrop-filter: blur(24px) saturate(1.25);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    display: grid;
    grid-template-rows: 22px auto;
    gap: 0;
    place-items: center;
    min-height: 58px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 13px;
    font-weight: 550;
    letter-spacing: 0;
    text-transform: none;
    transition:
      background 160ms ease,
      color 160ms ease,
      transform 160ms ease;
  }

  .mobile-bottom-nav a span,
  .mobile-bottom-nav button span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: transparent;
    font-size: 15px;
    line-height: 1;
  }

  .mobile-bottom-nav a strong,
  .mobile-bottom-nav button strong {
    font-size: 12px;
    font-weight: 550;
    line-height: 1;
  }

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav button:hover,
  .mobile-bottom-nav button.is-active {
    transform: translateY(-2px);
    border-color: rgba(194, 163, 86, 0.28);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(243, 228, 181, 0.36));
    color: var(--ink);
  }

  .mobile-bottom-nav .mobile-primary-link {
    border-color: rgba(194, 163, 86, 0.34);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(243, 228, 181, 0.42)),
      rgba(214, 160, 150, 0.16);
    color: var(--ink);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.74),
      0 10px 24px rgba(194, 163, 86, 0.12);
  }

  .mobile-bottom-nav .mobile-primary-link span {
    background: rgba(194, 163, 86, 0.14);
  }

  .mobile-more-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 10px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border: 1px solid rgba(194, 163, 86, 0.32);
    border-radius: 18px;
    padding: 10px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(246, 238, 234, 0.42)),
      rgba(214, 160, 150, 0.34);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      0 18px 56px rgba(116, 107, 102, 0.16);
    backdrop-filter: blur(22px) saturate(1.2);
  }

  .mobile-more-panel[hidden] {
    display: none;
  }

  .mobile-more-panel a {
    min-height: 48px;
    grid-template-rows: 1fr;
    border: 1px solid rgba(194, 163, 86, 0.24);
    background: rgba(255, 255, 255, 0.42);
    font-size: 14px;
    font-weight: 900;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 32px;
    padding-bottom: 28px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 58%, rgba(255, 255, 255, 0.28) 100%),
      var(--hair-hero) center top / cover,
      linear-gradient(135deg, #fcf9f6 0%, #f6eeea 46%, #eadfd9 100%);
  }

  .hero-copy {
    gap: 14px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 52px;
  }

  .admin-section {
    padding-inline: 10px;
  }

  .admin-shell {
    gap: 12px;
  }

  .admin-shell-head {
    border-radius: 16px;
    padding: 18px;
  }

  .admin-shell-head h2 {
    font-size: 34px;
  }

  .admin-shell-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .admin-shell-actions .button {
    min-width: 0;
    padding-inline: 12px;
  }

  .admin-section-nav {
    position: sticky;
    top: 0;
    gap: 6px;
    border-radius: 14px;
    padding: 8px;
    scroll-snap-type: x mandatory;
  }

  .admin-section-nav a {
    min-width: 92px;
    justify-content: center;
    scroll-snap-align: start;
  }

  .admin-panel {
    border-radius: 16px;
    padding: 14px;
  }

  .admin-menu-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .admin-menu-tile {
    min-height: 156px;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
    padding: 16px;
  }

  .admin-menu-tile .admin-tile-icon {
    grid-row: span 3;
  }

  .admin-menu-tile strong {
    font-size: 24px;
  }

  .admin-tile-stat {
    margin-top: 0;
  }

  .command-card {
    min-height: 0;
  }

  .contact-card {
    padding: 14px;
  }

  .contact-card .button {
    width: 100%;
  }

  .contact-tags,
  .contact-stats {
    gap: 6px;
  }

  .contact-tags span,
  .contact-stats span {
    font-size: 11px;
  }

  .contact-detail-panel {
    border-radius: 16px;
    padding: 14px;
  }

  .contact-detail-head h2 {
    font-size: 34px;
  }

  .contact-action-button {
    min-height: 112px;
    padding: 14px;
  }

  .contact-action-button span {
    width: 34px;
    height: 34px;
  }

  .record-tabs {
    margin-inline: -2px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .record-tabs button {
    min-width: 92px;
    scroll-snap-align: start;
  }

  .grid.two,
  .choice-buttons.two,
  .choice-buttons.three,
  .choice-buttons.four,
  .row-actions,
  .process-grid,
  .credential-grid,
  .crm-create-form,
  .crm-inline-form {
    grid-template-columns: 1fr;
  }

  .crm-create-form .wide,
  .crm-inline-form .wide {
    grid-column: auto;
  }

  .contact-detail-head {
    flex-direction: column;
  }

  .contact-detail-metrics,
  .contact-action-grid,
  .detail-form,
  .detail-columns,
  .quote-builder-form,
  .calendar-booking-form,
  .record-grid,
  .command-grid,
  .crm-filters {
    grid-template-columns: 1fr;
  }

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

  .crm-metric {
    min-height: 98px;
    padding: 14px;
  }

  .crm-metric strong {
    font-size: 30px;
  }

  .crm-board {
    grid-template-columns: repeat(5, minmax(210px, 1fr));
  }

  .task-board {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
  }

  .crm-board,
  .task-board {
    margin-inline: -4px;
    padding: 4px 4px 10px;
    scroll-snap-type: x mandatory;
  }

  .pipeline-column,
  .task-board-column {
    scroll-snap-align: start;
  }

  .deposit-row,
  .timeline-row {
    grid-template-columns: 1fr;
  }

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

  .admin-calendar-day {
    min-height: 0;
  }

  .admin-calendar-date {
    align-items: center;
  }

  .admin-calendar-events {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .compact-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 38px;
  }

  .section {
    padding-inline: 16px;
  }

  .booking-section {
    background:
      linear-gradient(180deg, rgba(236, 164, 234, 0.68), rgba(214, 160, 150, 0.64) 58%, rgba(194, 163, 86, 0.68)),
      var(--hair-studio) center / cover;
  }

  .visual-card {
    min-height: 420px;
    padding: 24px;
  }

  .about-portrait img {
    min-height: 440px;
  }

  .booking-card {
    border-radius: 14px;
  }

  .booking-dialog {
    width: min(100vw - 18px, 560px);
    height: calc(100dvh - 18px);
    max-height: calc(100dvh - 18px);
    border-radius: 24px;
  }

  .booking-dialog-shell {
    height: 100%;
    max-height: calc(100dvh - 18px);
  }

  .booking-dialog-head {
    padding: 14px 14px 10px;
  }

  .booking-dialog-head h3 {
    font-size: 25px;
  }

  .booking-progress {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .booking-progress button {
    flex: 0 0 136px;
    justify-content: flex-start;
    padding-inline: 12px;
    scroll-snap-align: start;
  }

  .booking-dialog .booking-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding: 8px 10px;
  }

  .booking-dialog .booking-progress button {
    flex: none;
    justify-content: center;
    min-height: 36px;
    padding: 6px;
    font-size: 10px;
  }

  .booking-dialog .booking-progress span {
    width: 20px;
    height: 20px;
  }

  .calendar-panel,
  .form-steps {
    padding: 16px;
  }

  .calendar-topline strong {
    font-size: 23px;
    text-align: center;
  }

  .calendar-grid,
  .calendar-weekdays {
    gap: 7px;
  }

  .calendar-day,
  .calendar-spacer {
    min-height: 52px;
  }

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

  .booking-dialog .form-steps {
    padding: 10px;
  }

  .booking-dialog .booking-step-panel.is-active {
    gap: 10px;
  }

  .booking-dialog .grid.two {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .slot-button {
    min-height: 46px;
  }

  .choice-buttons span {
    min-height: 46px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .booking-summary-card,
  .confirmation-grid,
  .status-timeline {
    grid-template-columns: 1fr;
  }

  .wizard-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .wizard-actions .button,
  .next-action-card .button {
    width: 100%;
  }

  .priority-row,
  .notification-row {
    grid-template-columns: 1fr;
  }

  .lock-in-card {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .lock-in-card span {
    min-height: 48px;
  }

  .quote,
  .notice {
    padding: 12px;
  }

  .portal-section {
    padding-inline: 10px;
    padding-top: 18px;
  }

  .portal-section > .section-heading {
    padding-inline: 6px;
  }

  .portal-shell {
    border-radius: 22px;
    margin-inline: 0;
    box-shadow: 0 18px 56px rgba(116, 107, 102, 0.1);
  }

  .tabs {
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 10px;
    scroll-snap-type: x mandatory;
  }

  .tab {
    min-width: 108px;
    scroll-snap-align: start;
  }

  body.portal-mode .portal-app-head {
    padding: 20px 18px 8px;
  }

  body.portal-mode .portal-shell {
    min-height: calc(100vh - 12px);
    border-radius: 32px;
    margin-inline: 0;
    width: 100%;
  }

  body.portal-mode .tabs {
    position: absolute;
    top: 82px;
    right: 14px;
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: visible;
    width: min(320px, calc(100% - 28px));
    margin: 0;
    border-radius: 22px;
    padding: 10px;
    scroll-snap-type: none;
  }

  body.portal-mode .tab {
    min-width: 0;
    min-height: 50px;
    scroll-snap-align: none;
    font-size: 14px;
    text-align: left;
  }

  body.portal-mode .tab-panel {
    padding: 14px 18px 104px;
  }

  body.portal-mode .portal-bottom-nav {
    width: calc(100% - 40px);
    max-width: 520px;
  }

  .tab-panel {
    padding: 14px;
  }

  .portal-plan-stack {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .portal-plan-card {
    border-radius: 26px;
    padding: 15px;
  }

  .next-action-card {
    border-radius: 28px;
    padding: 18px;
  }

  .portal-section-head {
    align-items: start;
  }

  .portal-tile-grid,
  .app-card-grid,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .portal-preview-tiles {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portal-preview-tile {
    min-height: 118px;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    align-items: center;
    padding: 18px;
  }

  .portal-preview-tile h3 {
    font-size: 25px;
  }

  .portal-preview-tile p {
    font-size: 15px;
  }

  body.portal-mode .portal-tile-grid,
  body.portal-mode .app-card-grid,
  body.portal-mode .cards {
    grid-template-columns: 1fr;
  }

  .portal-tile {
    min-height: 138px;
    border-radius: 16px;
    padding: 14px;
  }

  .portal-tile strong {
    font-size: 20px;
  }

  .portal-tile p {
    font-size: 12px;
  }

  .card,
  .message,
  .booking-row,
  .stock-row,
  .app-form-tile {
    border-radius: 16px;
    padding: 14px;
  }

  .preference-form,
  #agreementForm,
  #portfolioForm,
  #messageForm,
  #questionnaireForm {
    margin-top: 14px;
  }

  .intro-band {
    gap: 12px;
    padding: 16px;
  }

  .intro-band p {
    width: calc(50% - 6px);
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .quick-start-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .quick-start-section .section-heading {
    margin-bottom: 18px;
  }

  .quick-start-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quick-start-card {
    min-height: 118px;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    align-content: center;
    padding: 14px;
  }

  .quick-start-card span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .quick-start-card strong {
    font-size: 26px;
  }

  .service-list,
  .proof-grid,
  .care-grid,
  .method-grid,
  .credential-grid {
    grid-template-columns: 1fr;
    border: 0;
    gap: 10px;
  }

  .service-card,
  .proof-grid article,
  .care-grid article,
  .method-grid article,
  .credential-grid article {
    min-height: 0;
    border: 1px solid rgba(194, 163, 86, 0.2);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 14px 38px rgba(116, 107, 102, 0.06);
  }

  .quick-expand-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quick-expand-list details {
    padding: 13px 14px;
  }

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

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

  .gallery-large {
    min-height: 360px;
  }
}
