﻿:root {
  --ink: #1a1614;
  --muted: #5f5852;
  --line: #e8dfd6;
  --paper: #faf7f4;
  --blush: #f3ebe3;
  --rose: #c4a882;
  --rose-dark: #2c2622;
  --gold: #a8895a;
  --gold-soft: #d4bc94;
  --champagne: #fffdfb;
  --sand: #efe6dc;
  --coffee: #2c2622;
  --white: #ffffff;
  --success: #2f6b4f;
  --shadow: 0 24px 64px rgba(26, 22, 20, 0.08);
  --shadow-soft: 0 12px 32px rgba(26, 22, 20, 0.05);
  --radius: 14px;
  --section-y: 44px;
  --section-x: 24px;
  --glamme-img-hero-femme: url("/assets/brand/hero-femme.webp?v9");
  --glamme-img-hero-homme: url("/assets/brand/hero-homme.webp?v9");
  --glamme-img-signature-main: url("/assets/brand/salon-interior.webp?v9");
  --glamme-img-signature-small: url("/assets/brand/products.webp?v9");
  --glamme-img-film: url("/assets/brand/products.webp?v9");
  --content-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.92), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(212, 188, 148, 0.12), transparent 28%),
    linear-gradient(180deg, #faf7f4 0%, #f7f2ec 48%, #faf7f4 100%);
  font-family: "Plus Jakarta Sans", Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  animation: pageIn 0.5s ease both;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--champagne);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(250, 247, 244, 0.88);
  border-bottom: 1px solid rgba(232, 223, 214, 0.9);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 184px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.nav a.active {
  color: var(--ink);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.topbar.is-nav-open .nav-toggle-bars {
  background: transparent;
}

.topbar.is-nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.topbar.is-nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-auth-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--coffee);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-weight: 800;
}

.nav-auth-btn:hover {
  background: var(--coffee);
  color: var(--white);
  border-color: var(--coffee);
}

.nav a,
.nav-cta,
.primary-btn,
.secondary-btn,
.secondary-action,
.logout-btn {
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta,
.primary-btn,
.secondary-btn,
.secondary-action,
.role-tab,
.order-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.nav-cta,
.primary-btn {
  color: var(--white);
  background: var(--coffee);
  box-shadow: none;
}

.nav-cta:hover,
.primary-btn:hover {
  transform: translateY(-1px);
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.topbar-end {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.logout-btn:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
}

.logout-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.session-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  max-width: 240px;
  padding: 0 12px;
  color: var(--coffee);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.secondary-btn,
.secondary-action,
.role-tab,
.order-action {
  color: var(--ink);
  background: var(--white);
}

.secondary-action {
  border: 1px solid var(--line);
}

.secondary-action:hover {
  transform: translateY(-2px);
  border-color: var(--rose);
  background: #fbf8f5;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 72px 44px;
  overflow: hidden;
  background: var(--paper);
}

.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 12px;
  color: #7a6340;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero .eyebrow {
  color: var(--rose-dark);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.marketplace-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(480px, 68vh, 720px);
  align-items: center;
  justify-content: center;
  padding: 52px var(--section-x) 56px;
  text-align: center;
  background: #f8f3ee;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero-bg-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(248, 243, 238, 0.86), rgba(248, 243, 238, 0.98)),
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.74), transparent 34%);
}

.marketplace-hero .hero-shell {
  position: relative;
  z-index: 2;
}

.marketplace-hero::before {
  display: none;
}

.marketplace-hero .hero-content {
  max-width: 1040px;
  margin: 0 auto;
  color: var(--ink);
}

.marketplace-hero .eyebrow {
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  padding: 8px 12px;
  color: var(--rose-dark);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(231, 221, 211, 0.9);
  border-radius: 999px;
}

.marketplace-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(42px, 6vw, 78px);
}

.marketplace-hero .hero-copy {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
}

.hero-rich {
  text-align: left;
}

.hero-rich .hero-content {
  margin: 0;
  text-align: left;
}

.hero-rich .eyebrow,
.hero-rich h1,
.hero-rich .hero-copy,
.hero-rich .hero-note {
  margin-left: 0;
  margin-right: 0;
}

.hero-rich .audience-toggle,
.hero-rich .hero-proof-row,
.hero-rich .hero-secondary-actions {
  justify-content: flex-start;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 36px;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-shell.hero-shell-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1180px;
}

.hero-trust-line {
  margin: 14px 0 0;
  color: var(--coffee);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.center-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.home-final-cta .secondary-btn {
  min-width: 220px;
  border: 1px solid var(--line);
}

.home-final-cta .section-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.how-it-works-grid .conversion-card {
  min-height: auto;
  padding: 18px 20px;
}

.how-it-works-grid .conversion-card span {
  margin-bottom: 12px;
}

.review-card-rich {
  display: grid;
  gap: 12px;
  min-height: auto;
  padding: 20px;
}

.review-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  flex: 0 0 auto;
}

.review-meta {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.review-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 0.06em;
}

.review-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.review-score {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.review-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.review-date {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.review-card-rich strong {
  margin: 0;
  color: var(--ink);
}

.featured-pro-card.is-demo {
  position: relative;
}

.demo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(44, 38, 34, 0.82);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-stats-strip.compact-stats {
  margin-top: 0;
  padding-top: 8px;
  padding-bottom: 24px;
}

.hero-showcase {
  display: grid;
  gap: 14px;
  align-content: center;
}

.hero-showcase-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-showcase-card-main {
  transform: translateY(-8px);
}

.hero-showcase-card img {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
}

.hero-showcase-card span,
.hero-showcase-card small {
  display: block;
  color: var(--muted);
}

.hero-showcase-card strong {
  display: block;
  margin: 4px 0;
  font-size: 18px;
}

.home-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: -36px auto 0;
  padding: 0 24px 28px;
  position: relative;
  z-index: 2;
}

.home-stat {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.home-stat strong {
  display: block;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
}

.home-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section-lead {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-actions {
  margin-top: 22px;
}

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

.featured-pro-card,
.salon-spotlight-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-pro-card:hover,
.salon-spotlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(28, 28, 28, 0.08);
}

.featured-pro-link,
.salon-spotlight-link {
  display: grid;
  color: inherit;
  text-decoration: none;
}

.featured-pro-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.featured-pro-body,
.salon-spotlight-copy {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.featured-pro-city,
.salon-spotlight-copy span {
  color: var(--coffee);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.featured-pro-body p,
.salon-spotlight-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.featured-pro-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.featured-pro-meta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.salon-spotlight-link {
  grid-template-columns: 120px minmax(0, 1fr);
}

.salon-spotlight-link img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

.salon-spotlight-copy strong {
  color: var(--coffee);
}

.home-explore-section {
  padding-top: 24px;
}

.city-explorer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.city-chip {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.city-chip:hover {
  background: #fff7f1;
  border-color: var(--coffee);
  transform: translateY(-1px);
}

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

.service-quick-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.service-quick-card img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
}

.service-quick-card span {
  color: var(--coffee);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.hero-note {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.audience-toggle {
  display: inline-flex;
  gap: 10px;
  margin: 28px auto 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.audience-btn {
  min-height: 40px;
  padding: 0 20px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.audience-btn:hover:not(.active) {
  color: var(--ink);
  border-color: var(--rose);
  background: var(--blush);
}

.audience-btn.active {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(168, 137, 90, 0.45);
  box-shadow: none;
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 0;
}

.hero-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.hero-proof-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  color: var(--coffee);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(231, 221, 211, 0.92);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.home-search-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 0.85fr 1fr auto;
  align-items: stretch;
  gap: 0;
  max-width: 1180px;
  margin: 16px auto 0;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(28, 28, 28, 0.08);
}

.home-search-card:hover {
  border-color: rgba(184, 154, 122, 0.72);
  box-shadow: 0 30px 80px rgba(28, 28, 28, 0.11);
}

.search-field {
  display: grid;
  gap: 4px;
  padding: 8px 18px;
  text-align: left;
  border-right: 1px solid var(--line);
}

.search-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.search-field select,
.search-field input {
  width: 100%;
  min-height: 34px;
  border: 0;
  outline: 0;
  color: var(--coffee);
  background: transparent;
  font: inherit;
  font-weight: 800;
}

.home-search-card .primary-btn {
  min-height: 58px;
  align-self: center;
  white-space: nowrap;
  border-radius: 8px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: -36px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.trust-strip div {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 132px;
  padding: 20px 18px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-strip img,
.trust-strip svg {
  width: 44px;
  height: 44px;
}

.trust-strip strong {
  display: block;
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.booking-band,
.booking-page,
.app-shell {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-y) var(--section-x);
}

.section-tight {
  padding-top: 32px;
  padding-bottom: 32px;
}

.page-section {
  padding-top: 36px;
  padding-bottom: 48px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 20px;
}

.compact-heading {
  margin-bottom: 16px;
}

.compact-heading h2 {
  margin-bottom: 6px;
}

.compact-hero {
  padding-top: 40px;
  padding-bottom: 44px;
}

.compact-hero h1 {
  font-size: clamp(34px, 4.8vw, 56px);
}

.compact-trust {
  margin-top: 0;
  margin-bottom: 20px;
}

.compact-conversion .conversion-card {
  min-height: auto;
  padding: 18px;
}

.compact-conversion .conversion-card span {
  margin-bottom: 14px;
}

.compact-stats {
  margin-top: 0;
  padding-bottom: 16px;
}

.page-shell {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 28px var(--section-x) 40px;
}

.page-intro {
  max-width: 760px;
  margin-bottom: 18px;
}

.compact-intro h1 {
  margin: 6px 0 8px;
  font-size: clamp(28px, 3.2vw, 38px);
}

.page-intro-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.page-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-panel-body {
  padding: 16px 20px 20px;
}

.admin-view-head {
  padding: 16px 20px 0;
  border-bottom: 1px solid var(--line);
}

.admin-view-head h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.4vw, 28px);
}

.admin-view-lead {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.subnav-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.subnav-tab {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.subnav-tab:hover,
.subnav-tab.active {
  background: var(--coffee);
  border-color: var(--coffee);
  color: var(--white);
}

.compact-footer {
  padding: 20px var(--section-x);
}

.center-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.conversion-grid,
.featured-grid,
.reviews-grid {
  display: grid;
  gap: 18px;
}

.conversion-grid {
  grid-template-columns: repeat(4, 1fr);
}

.conversion-card,
.featured-card,
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.conversion-card {
  min-height: 250px;
  padding: 24px;
}

.conversion-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  color: var(--ink);
  background: #fbf8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 950;
}

.conversion-card p,
.featured-card p,
.review-card p {
  color: var(--muted);
  line-height: 1.65;
}

.signature-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
}

.signature-copy {
  display: grid;
  gap: 18px;
  max-width: 520px;
}

.signature-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.signature-copy .secondary-action {
  width: fit-content;
  margin-top: 8px;
}

.signature-panel {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: 250px 140px;
  gap: 16px;
}

.signature-image,
.signature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signature-image {
  background-size: cover;
  background-position: center;
}

.signature-image.main {
  grid-row: span 2;
  background-image:
    linear-gradient(180deg, rgba(28, 28, 28, 0.02), rgba(28, 28, 28, 0.16)),
    var(--glamme-img-signature-main);
}

.signature-image.small {
  background-image:
    linear-gradient(180deg, rgba(28, 28, 28, 0.02), rgba(28, 28, 28, 0.14)),
    var(--glamme-img-signature-small);
}

.signature-card {
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 22px;
  background: var(--coffee);
  color: var(--white);
}

.signature-card strong {
  font-size: 20px;
  line-height: 1.2;
}

.signature-card span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.brand-film-section {
  padding-top: 72px;
}

.brand-film {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 42px;
  align-items: center;
  min-height: 520px;
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(184, 154, 122, 0.18), transparent 32%),
    linear-gradient(135deg, #ffffff, #fbf8f5);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.brand-film::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(184, 154, 122, 0.22);
  border-radius: 10px;
  pointer-events: none;
}

.film-phone {
  position: relative;
  z-index: 1;
  width: min(320px, 100%);
  min-height: 450px;
  margin: 0 auto;
  padding: 18px;
  background: #1c1c1c;
  border-radius: 34px;
  box-shadow: 0 34px 80px rgba(28, 28, 28, 0.22);
  animation: phoneFloat 5s ease-in-out infinite;
}

.film-phone-top {
  width: 84px;
  height: 8px;
  margin: 0 auto 14px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.film-screen {
  position: relative;
  min-height: 392px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 243, 238, 0.92), rgba(255, 255, 255, 1)),
    var(--glamme-img-film) center/cover;
  border-radius: 24px;
}

.film-screen::after {
  content: "GlamMe";
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.film-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
  display: grid;
  gap: 6px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(231, 221, 211, 0.96);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(28, 28, 28, 0.14);
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  animation: filmCardCycle 12s ease-in-out infinite;
}

.film-card span {
  color: var(--rose);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.film-card strong {
  color: var(--ink);
  font-size: 21px;
}

.film-card small {
  color: var(--muted);
  font-weight: 700;
}

.film-card-pro {
  animation-delay: 3s;
}

.film-card-pay {
  animation-delay: 6s;
}

.film-card-done {
  animation-delay: 9s;
}

.film-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit-dot {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: var(--coffee);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 950;
  box-shadow: var(--shadow);
  animation: orbitPulse 4s ease-in-out infinite;
}

.dot-one {
  left: 9%;
  top: 16%;
}

.dot-two {
  left: 38%;
  top: 10%;
  animation-delay: 0.6s;
}

.dot-three {
  left: 7%;
  bottom: 16%;
  animation-delay: 1.2s;
}

.dot-four {
  left: 40%;
  bottom: 10%;
  animation-delay: 1.8s;
}

.film-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.film-copy h3 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.06;
}

.film-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.salon-page {
  background: var(--paper);
}

.salon-loading {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding: 80px 24px;
  text-align: center;
}

.salon-hero {
  min-height: 640px;
  display: grid;
  place-items: end start;
  padding: 120px 44px 54px;
  background:
    linear-gradient(90deg, rgba(28, 28, 28, 0.58), rgba(28, 28, 28, 0.1)),
    var(--salon-cover) center/cover;
}

.salon-hero-card {
  width: min(720px, 100%);
  padding: 34px;
  color: var(--white);
  background: rgba(28, 28, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  backdrop-filter: blur(18px);
}

.salon-hero-card .eyebrow,
.salon-hero-card p {
  color: rgba(255, 255, 255, 0.8);
}

.salon-hero-card h1 {
  font-size: clamp(42px, 6vw, 78px);
}

.salon-avatar {
  width: 104px;
  height: 104px;
  margin-bottom: 18px;
  object-fit: cover;
  border: 3px solid var(--white);
  border-radius: 50%;
}

.salon-meta,
.salon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.salon-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.salon-section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.salon-service-grid,
.portfolio-grid,
.pack-grid,
.salon-two-columns {
  display: grid;
  gap: 18px;
}

.salon-service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-grid,
.pack-grid,
.salon-two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.salon-service-card,
.portfolio-card,
.pack-card,
.salon-info-card,
.esalon-editor {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.salon-service-card,
.pack-card,
.salon-info-card {
  padding: 24px;
}

.salon-service-card p,
.salon-info-card p {
  color: var(--muted);
  line-height: 1.7;
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card img {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
}

.portfolio-card div {
  display: grid;
  gap: 12px;
  padding: 22px;
}

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

.qr-card img {
  width: 160px;
  height: 160px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pack-card {
  display: grid;
  gap: 8px;
}

.pack-card strong {
  font-size: 20px;
}

.pack-card span {
  color: var(--muted);
  line-height: 1.5;
}

.esalon-edit-block {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fbf8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.esalon-edit-block h4 {
  margin: 0;
}

.esalon-edit-block p {
  margin: 0;
  color: var(--muted);
}

.esalon-repeat-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr 0.65fr 0.75fr;
  gap: 10px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.esalon-repeat-row textarea,
.esalon-repeat-row input[name^="serviceOptions"] {
  grid-column: span 5;
}

.esalon-repeat-row.compact {
  grid-template-columns: 1fr 0.7fr 1.4fr;
}

.crm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.crm-client {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #fbf8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.crm-client span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.featured-grid {
  grid-template-columns: repeat(3, 1fr);
}

.featured-card {
  overflow: hidden;
}

.featured-card img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
}

.featured-card div {
  padding: 22px;
}

.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-card {
  min-height: 210px;
  padding: 26px;
}

.review-card strong {
  display: block;
  margin-top: 22px;
  color: var(--coffee);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.saas-grid article,
.pro-panel,
.booking-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 420px;
  padding: 0;
  overflow: hidden;
}

.service-card-link {
  display: grid;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(184, 154, 122, 0.45);
}

.service-price {
  color: var(--ink);
  font-weight: 800;
}

.service-link-label {
  color: var(--coffee);
  font-size: 14px;
  font-weight: 800;
}

.home-services-section {
  padding-top: 28px;
}

.home-services-section .service-card img {
  height: 260px;
  object-fit: cover;
  object-position: center;
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  filter: saturate(0.98) contrast(0.98) brightness(1.03);
}

.service-content {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  color: var(--coffee);
  background: #fbf8f5;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.service-card p,
.saas-grid p,
.split p,
.booking-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.price {
  display: inline-flex;
  color: var(--coffee);
  font-weight: 900;
}

.service-select {
  width: 100%;
  margin-top: 8px;
  color: var(--white);
  background: var(--coffee);
  box-shadow: none;
}

.booking-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.booking-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 92px;
}

.booking-page-intro {
  max-width: 760px;
  margin-bottom: 24px;
}

.booking-page-lead {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.booking-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.booking-results-stage {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto 36px;
  padding: 0 var(--section-x);
}

.booking-results-head {
  max-width: 1180px;
  margin: 0 auto 14px;
}

.booking-results-head h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2vw, 28px);
}

.booking-results-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.booking-checkout {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.booking-checkout-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.booking-checkout-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.booking-copy {
  padding-top: 18px;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
}

.professional-picker {
  display: grid;
  gap: 10px;
}

.picker-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.picker-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.pro-result-list {
  display: grid;
  gap: 0;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.pro-result-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(180px, 0.95fr) minmax(240px, 1.25fr) minmax(130px, 0.7fr) 24px;
  gap: 20px;
  align-items: center;
  width: 100%;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.pro-result-row:last-child {
  border-bottom: 0;
}

.pro-result-row:hover,
.pro-result-row:focus-visible {
  background: #fbf8f5;
}

.pro-result-row.is-selected {
  background: #fff7f1;
  box-shadow: inset 3px 0 0 var(--coffee);
}

.pro-result-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.pro-result-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.pro-result-brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pro-result-services-col,
.pro-result-desc-col {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.pro-result-col-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pro-result-body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.pro-result-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.pro-result-name {
  font-size: 17px;
  line-height: 1.2;
}

.pro-result-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

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

.pro-result-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f6f1ec;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.pro-result-desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pro-result-side {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 120px;
}

.pro-result-price {
  font-size: 22px;
  line-height: 1;
}

.pro-result-price-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.pro-result-book {
  margin-top: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--coffee);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.pro-result-book:hover {
  background: #fbf8f5;
}

.pro-result-chevron {
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
}

.pro-result-empty {
  padding: 18px;
  color: var(--muted);
  line-height: 1.6;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fbf8f5;
}

.booking-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.booking-details .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  padding: 12px;
  resize: vertical;
  line-height: 1.6;
}

input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--rose);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-row span {
  color: var(--ink);
}

.summary-box {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #fbf8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.soft-note {
  padding: 14px 16px;
  color: var(--coffee);
  background: #fbf8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-weight: 700;
}

.summary-line strong {
  color: var(--ink);
}

.full {
  grid-column: 1 / -1;
  width: 100%;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pro-panel {
  padding: 12px;
}

.pro-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

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

.pro-row span {
  color: var(--muted);
  font-weight: 700;
}

.saas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.saas-grid article {
  padding: 24px;
}

.signup-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--section-y) var(--section-x);
}

.signup-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.signup-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.auth-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.auth-btn {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.auth-btn.google {
  border-color: #d9dee7;
}

.auth-btn.facebook {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.auth-btn.email {
  grid-column: 1 / -1;
  background: #fbf8f5;
}

.auth-btn.active {
  outline: 3px solid rgba(184, 154, 122, 0.18);
  border-color: var(--rose);
}

.auth-status {
  padding: 14px;
  color: var(--muted);
  background: #fbf8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.5;
}

.auth-status strong {
  color: var(--ink);
}

.auth-status button {
  margin-top: 10px;
}

.auth-mode-switch {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.signup-form.is-login-mode #signupRoleWrap,
.signup-form.is-login-mode #signupNameWrap,
.signup-form.is-login-mode #signupPhoneWrap,
.signup-form.is-login-mode #signupAreaWrap,
.signup-form.is-login-mode #signupSpecialtyWrap,
.signup-form.is-login-mode #verificationWrap,
.signup-form.is-login-mode .auth-only-label {
  display: none !important;
}

.signup-form.is-authenticated .auth-mode-switch {
  display: none;
}

.auth-resend {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.signup-form.is-authenticated .auth-options,
.signup-form.is-authenticated #signupMethod {
  display: none;
}

.signup-form.is-authenticated .auth-only-label {
  display: none;
}

.spaces-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px var(--section-x) 44px;
}

.space-page-heading {
  max-width: 720px;
  margin-bottom: 22px;
}

.space-list-full {
  max-width: 920px;
  margin: 0 auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.client-alert {
  border-color: #e8c4a8;
  background: linear-gradient(135deg, #fff9f5 0%, #fff 100%);
}

.client-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

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

.summary-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.client-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.space-subsection {
  display: grid;
  gap: 12px;
}

.space-subsection-title {
  font-size: 18px;
  margin: 4px 0 0;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.text-link {
  color: var(--coffee);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.esalon-status-note {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.space-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.space-tab {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-weight: 850;
  cursor: pointer;
}

.space-tab.active {
  color: var(--white);
  background: var(--coffee);
  border-color: transparent;
}

.space-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: start;
}

.space-copy,
.space-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.space-copy {
  padding: 24px;
}

.space-copy h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.space-copy p,
.space-item p {
  color: var(--muted);
  line-height: 1.7;
}

.space-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.space-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.space-item h3 {
  margin-bottom: 8px;
}

.space-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.space-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.admin-section {
  display: grid;
  gap: 14px;
}

.admin-section-head {
  display: grid;
  gap: 6px;
}

.admin-section-title {
  margin: 0;
  font-size: 20px;
}

.admin-section-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-section-body {
  display: grid;
  gap: 14px;
}

.admin-advanced-tools {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.admin-advanced-tools summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--coffee);
  list-style: none;
}

.admin-advanced-tools summary::-webkit-details-marker {
  display: none;
}

.admin-advanced-tools[open] summary {
  margin-bottom: 14px;
}

.profile-editor-wrap.is-collapsed {
  display: none;
}

.client-orders-section {
  margin-top: 4px;
}

.space-tab-admin.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

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

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

.professional-link-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  align-items: end;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.professional-link-row strong,
.professional-link-row span {
  display: block;
}

.professional-link-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.profile-card {
  display: grid;
  gap: 18px;
}

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

.readonly-field {
  display: grid;
  gap: 8px;
  padding: 14px;
  color: var(--muted);
  background: #fbf8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.readonly-field strong {
  color: var(--ink);
}

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

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

.profile-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-section legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.service-offering-grid {
  display: grid;
  gap: 12px;
}

.service-offering-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
  align-items: end;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.service-offering-row:not(.is-active) {
  opacity: 0.72;
}

.form-feedback {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.form-feedback-success {
  color: #14532d;
  background: #ecfdf3;
  border: 1px solid #86efac;
}

.form-feedback-error {
  color: #7f1d1d;
  background: #fef2f2;
  border: 1px solid #fca5a5;
}

.global-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  max-width: 360px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(20, 16, 12, 0.12);
}

.global-toast-visible strong {
  display: block;
  margin-bottom: 6px;
}

.global-toast p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.profile-form textarea {
  min-height: 96px;
  resize: vertical;
}

@media (max-width: 860px) {
  .service-offering-row,
  .profile-section,
  .profile-form-pro {
    grid-template-columns: 1fr;
  }
}

.specialty-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.specialty-group legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.availability-card {
  display: grid;
  gap: 16px;
}

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

.availability-day {
  min-height: 74px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f5;
}

.availability-day strong,
.availability-day span {
  display: block;
}

.availability-day strong {
  margin-bottom: 6px;
}

.availability-day span,
.fine-print {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.availability-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.availability-slots label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--coffee);
  font-size: 12px;
  font-weight: 850;
}

.availability-slots input {
  width: 14px;
  height: 14px;
  accent-color: var(--rose-dark);
}

.small-action {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f5;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.small-action.ghost {
  background: var(--white);
}

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

.stat-card {
  min-height: 98px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.stat-card.wide {
  grid-column: span 2;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.app-shell {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 22px;
  align-items: start;
}

.app-sidebar,
.dashboard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.app-sidebar {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.app-sidebar h2,
.dashboard h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.app-sidebar p {
  color: var(--muted);
  line-height: 1.7;
}

.role-tabs {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.role-tab {
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: none;
}

.role-tab.active {
  color: var(--white);
  background: var(--coffee);
  border-color: transparent;
}

.dashboard {
  min-width: 0;
  padding: 24px;
}

.dashboard-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.secondary-action {
  border: 1px solid var(--line);
  box-shadow: none;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.metric-card {
  min-height: 98px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

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

.order-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.order-card h3 {
  margin-bottom: 8px;
}

.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--muted);
  background: #fbf8f5;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status {
  color: var(--white);
  background: var(--mint);
}

.status.pending {
  background: var(--gold);
}

.status.accepted {
  background: var(--mint);
}

.status.completed {
  background: var(--rose-dark);
}

.order-actions {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 150px;
}

.order-action {
  min-height: 38px;
  border: 1px solid var(--line);
  box-shadow: none;
  font-size: 13px;
}

.empty-state {
  padding: 26px;
  color: var(--muted);
  background: #fbf8f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.7;
}

.modal {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

dialog.modal:not([open]) {
  display: none !important;
}

.modal::backdrop {
  background: rgba(31, 26, 28, 0.42);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 0;
}

.modal h2 {
  font-size: 28px;
}

.modal p {
  margin: 0;
  padding: 18px 22px 22px;
  color: var(--muted);
  line-height: 1.65;
}

.modal .primary-btn {
  margin: 0 22px 22px;
  width: calc(100% - 44px);
}

.signup-pop {
  text-align: center;
}

.popup-form {
  display: grid;
  gap: 12px;
  padding: 0 22px 22px;
}

.popup-form .primary-btn {
  margin: 0;
  width: 100%;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.topbar {
  box-shadow: 0 10px 36px rgba(28, 28, 28, 0.06);
}

.nav a,
.nav-cta,
.primary-btn,
.secondary-btn,
.auth-btn,
.space-tab,
.small-action,
.service-select,
.conversion-card,
.featured-card,
.review-card,
.icon-btn {
  transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.nav a:hover,
.nav-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.auth-btn:hover,
.space-tab:hover,
.small-action:hover,
.service-select:hover,
.icon-btn:hover {
  transform: translateY(-2px);
}

.nav-cta:hover,
.primary-btn:hover,
.service-select:hover {
  background: var(--coffee);
  box-shadow: none;
}

button:disabled,
.primary-btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.secondary-btn:hover,
.small-action:hover,
.icon-btn:hover {
  border-color: var(--rose);
  box-shadow: none;
}

.hero {
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-content {
  animation: riseIn 0.75s ease both;
}

.hero-actions {
  animation: riseIn 0.75s 0.12s ease both;
}

.trust-strip div,
.service-card,
.booking-form,
.signup-form,
.space-copy,
.space-list,
.space-item,
.stat-card,
.conversion-card,
.featured-card,
.review-card {
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trust-strip div:hover,
.service-card:hover,
.booking-form:hover,
.signup-form:hover,
.space-item:hover,
.stat-card:hover,
.conversion-card:hover,
.featured-card:hover,
.review-card:hover {
  transform: translateY(-6px);
  border-color: var(--rose);
  box-shadow: 0 24px 56px rgba(28, 28, 28, 0.1);
}

.service-card {
  overflow: hidden;
}

.service-card img {
  transition: transform 0.75s ease, filter 0.75s ease;
}

.service-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.03);
}

.service-badge,
.pill,
.stat-card span {
  letter-spacing: 0;
}

.section-heading,
.page-section,
.service-card,
.space-panel {
  animation: riseIn 0.55s ease both;
}

.service-card:nth-child(2) {
  animation-delay: 0.08s;
}

.service-card:nth-child(3) {
  animation-delay: 0.16s;
}

.auth-status {
  box-shadow: inset 0 0 0 1px rgba(232, 216, 200, 0.9);
}

select,
input,
textarea {
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(184, 154, 122, 0.16);
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.modal {
  animation: popIn 0.22s ease both;
}

@keyframes pageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroDrift {
  from {
    background-position: center center;
  }
  to {
    background-position: center 45%;
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

@keyframes filmCardCycle {
  0%,
  18% {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  24%,
  42% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  48%,
  100% {
    opacity: 0;
    transform: translateY(-18px) scale(0.98);
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .topbar:not(.is-nav-open) .nav {
    display: none !important;
  }

  .topbar {
    position: relative;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 20px;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .topbar-end {
    order: 2;
  }

  .nav {
    order: 3;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
    padding: 0 0 12px;
    color: var(--ink);
  }

  .topbar.is-nav-open .nav {
    display: flex;
  }

  .nav a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
  }

  .nav a:hover {
    background: var(--white);
  }

  .hero {
    min-height: 720px;
    padding: 64px 20px;
  }

  .marketplace-hero {
    min-height: auto;
    padding: 36px 20px 40px;
  }

  .hero-rich {
    text-align: center;
  }

  .hero-rich .hero-content {
    text-align: center;
  }

  .hero-rich .audience-toggle,
  .hero-rich .hero-proof-row,
  .hero-rich .hero-secondary-actions {
    justify-content: center;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-showcase {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-showcase-card-main {
    transform: none;
  }

  .home-stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -18px;
    padding: 0 20px 24px;
  }

  .featured-pro-grid,
  .salon-spotlight-grid,
  .service-quick-grid {
    grid-template-columns: 1fr;
  }

  .service-quick-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .service-quick-card img {
    width: 96px;
    height: 96px;
  }

  .salon-spotlight-link {
    grid-template-columns: 1fr;
  }

  .salon-spotlight-link img {
    min-height: 180px;
  }

  .home-search-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .search-field:last-of-type {
    border-bottom: 0;
  }

	  .trust-strip,
	  .service-grid,
	  .conversion-grid,
	  .signature-section,
	  .brand-film,
	  .salon-service-grid,
	  .portfolio-grid,
	  .pack-grid,
	  .salon-two-columns,
	  .crm-grid,
	  .featured-grid,
	  .reviews-grid,
  .booking-band,
  .split,
  .saas-grid,
  .app-shell,
  .metric-grid,
  .signup-section,
  .space-panel,
  .admin-filter-grid,
  .availability-grid,
  .professional-link-row,
  .profile-form,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .booking-results-stage {
    width: 100%;
    max-width: 100%;
    margin: 0 0 28px;
    padding: 0;
  }

  .pro-result-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }

  .pro-result-brand {
    grid-column: 1 / -1;
  }

  .pro-result-services-col,
  .pro-result-desc-col,
  .pro-result-side,
  .pro-result-chevron {
    grid-column: 1 / -1;
  }

  .pro-result-side {
    justify-items: start;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 10px;
  }

  .pro-result-price-label {
    grid-column: 2;
  }

  .pro-result-book {
    grid-column: 1 / -1;
    width: 100%;
  }

  .pro-result-chevron {
    display: none;
  }

  .stat-card.wide {
    grid-column: auto;
  }

  .app-sidebar {
    position: static;
  }

  .dashboard-head,
  .order-card {
    grid-template-columns: 1fr;
  }

  .dashboard-head {
    display: grid;
  }

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

	  .trust-strip {
	    margin-top: 0;
	  }

	  .signature-copy {
	    max-width: none;
	  }

	  .signature-panel {
	    grid-template-columns: 1fr;
	    grid-template-rows: 260px auto 180px;
	  }

	  .signature-image.main {
	    grid-row: auto;
	  }

	  .brand-film {
	    min-height: auto;
	    padding: 24px;
	  }

	  .brand-film::before,
	  .film-orbit {
	    display: none;
	  }

	  .film-phone {
	    order: 2;
	  }

	  .film-copy {
	    order: 1;
	    max-width: none;
	  }

	  .salon-hero {
	    min-height: auto;
	    padding: 88px 20px 34px;
	    place-items: end stretch;
	  }

	  .salon-hero-card {
	    padding: 24px;
	  }

	  .esalon-repeat-row,
	  .esalon-repeat-row.compact {
	    grid-template-columns: 1fr;
	  }

	  .esalon-repeat-row textarea,
	  .esalon-repeat-row input[name^="serviceOptions"] {
	    grid-column: auto;
	  }

  .booking-form,
  .signup-form,
  .auth-options {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 520px) {
  .topbar {
    gap: 10px;
    min-height: 64px;
    padding: 8px 14px 0;
  }

  .brand-logo {
    width: 52px;
    content: url("assets/glamme-monogram.svg");
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .nav {
    gap: 6px;
    padding-bottom: 10px;
  }

  .nav a {
    min-height: 44px;
    padding: 0 10px;
    font-size: 12px;
  }

  .home-stats-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .hero-showcase-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .hero-showcase-card img {
    width: 72px;
    height: 72px;
  }

  .session-badge {
    max-width: 132px;
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .logout-btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  h1 {
    font-size: 40px;
    line-height: 1;
  }

  h2 {
    font-size: 32px;
  }

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

  .hero {
    min-height: 640px;
  }

  .marketplace-hero h1 {
    font-size: 36px;
  }

	  .home-search-card {
	    margin-top: 24px;
	    padding: 8px;
	  }

	  .hero-proof-row {
	    justify-content: stretch;
	  }

	  .hero-proof-row span {
	    width: 100%;
	    justify-content: center;
	  }

  .section,
  .booking-band,
  .booking-page,
  .app-shell,
  .signup-section,
  .spaces-section,
  .page-shell {
    padding: 32px 18px;
  }

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

  .service-card img {
    height: 205px;
  }

  .space-tabs,
  .hero-actions {
    gap: 8px;
  }

  .space-tab,
  .primary-btn,
  .secondary-btn,
  .small-action {
    width: 100%;
  }
}

.site-footer {
  margin-top: 72px;
  padding: 48px clamp(20px, 4vw, 56px) 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(243, 235, 227, 0.95));
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto 28px;
}

.footer-brand p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 34ch;
}

.footer-col h3,
.footer-col h4 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-legal a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

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

body[data-page="legal-mentions"] .legal-panel,
body[data-page="legal-privacy"] .legal-panel {
  max-width: 820px;
  margin: 0 auto;
}

.legal-prose {
  padding: clamp(20px, 4vw, 32px);
  color: var(--ink);
  line-height: 1.75;
}

.legal-prose h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  line-height: 1.35;
}

.legal-prose h2:first-of-type {
  margin-top: 8px;
}

.legal-prose p,
.legal-prose ul {
  margin: 0 0 14px;
}

.legal-prose ul {
  padding-left: 1.25rem;
}

.legal-prose li {
  margin-bottom: 6px;
}

.legal-prose a {
  color: #7a6340;
  font-weight: 700;
}

.legal-prose a:hover {
  color: var(--ink);
}

.nav-auth[hidden],
.nav-auth.is-hidden,
.nav-account[hidden],
.nav-pro-link[hidden],
.nav-pro-link.is-hidden,
.logout-btn[hidden],
.space-tab.is-hidden {
  display: none !important;
}

.order-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.order-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.order-card-head h3 {
  margin: 6px 0 4px;
  font-size: 24px;
}

.order-card-sub,
.order-card-detail {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.order-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--coffee);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-chip.is-success {
  background: rgba(47, 107, 79, 0.12);
  color: var(--success);
}

.status-chip.is-pending {
  background: rgba(168, 137, 90, 0.14);
  color: var(--gold);
}

.status-chip.is-muted {
  background: #f1ece6;
  color: var(--muted);
}

.space-item {
  border-radius: var(--radius);
}

.space-tabs {
  gap: 10px;
}

.space-tab {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.space-tab.active {
  background: var(--coffee);
  color: var(--white);
  border-color: var(--coffee);
}

.icon-btn {
  font-size: 22px;
  line-height: 1;
}

.booking-steps {
  margin-bottom: 24px;
}

.booking-steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.booking-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.booking-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(26, 22, 20, 0.06);
  font-size: 12px;
  flex-shrink: 0;
}

.booking-step.is-active .booking-step-number {
  background: var(--ink);
  color: var(--champagne);
}

.booking-step.is-complete .booking-step-number {
  background: rgba(47, 107, 79, 0.14);
  color: var(--success);
}

.booking-step-label {
  line-height: 1.3;
}

.booking-step.is-active {
  color: var(--ink);
  border-color: rgba(168, 137, 90, 0.35);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.booking-step.is-complete {
  color: var(--success);
  border-color: rgba(47, 107, 79, 0.22);
  background: rgba(255, 255, 255, 0.9);
}

.saas-admin-page {
  max-width: var(--content-max);
}

.saas-admin-gate {
  max-width: 720px;
  margin: 0 auto;
}

.saas-stack {
  display: grid;
  gap: 12px;
}

.saas-panel {
  padding: 4px 0 0;
}

.saas-kpi-grid,
.saas-payment-stats {
  margin: 0;
}

.saas-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.saas-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.saas-table th,
.saas-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.saas-table th {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: #faf7f4;
}

.saas-table tbody tr:last-child td {
  border-bottom: 0;
}

.settings-panel h3 {
  margin: 0 0 10px;
}

.settings-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.settings-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.settings-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.settings-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.settings-list span {
  color: var(--muted);
  text-align: right;
}

.space-tab-admin {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 980px) {
  .stats-grid,
  .saas-kpi-grid,
  .saas-payment-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   GlamMe Premium Layer — espacement, profondeur, motion (couleurs & polices inchangées)
   ========================================================================== */

:root {
  --section-y: clamp(48px, 9vw, 112px);
  --section-x: clamp(20px, 4vw, 40px);
  --radius-card: 18px;
  --radius-btn: 10px;
  --premium-shadow-rest: 0 4px 20px rgba(26, 22, 20, 0.06);
  --premium-shadow-hover: 0 12px 36px rgba(26, 22, 20, 0.08);
  --premium-shadow-lift: 0 16px 40px rgba(26, 22, 20, 0.1);
  --premium-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --premium-duration: 0.28s;
}

/* — Typographie & respiration — */
p,
.hero-copy,
.section-lead,
.page-intro-lead,
.booking-page-lead,
.signup-copy p,
.review-card p,
.conversion-card p,
.featured-card p,
.footer-brand p,
.space-copy p,
.split p,
.service-card p,
.pro-result-desc,
.settings-panel p {
  line-height: 1.72;
}

.eyebrow {
  letter-spacing: 0.14em;
}

.section-heading {
  margin-top: clamp(8px, 1.5vw, 16px);
  margin-bottom: clamp(28px, 4.5vw, 52px);
}

.section-heading h2,
.page-intro h1,
.booking-page-intro h1,
.signup-copy h1,
.marketplace-hero h1 {
  margin-top: clamp(10px, 2vw, 18px);
  margin-bottom: clamp(14px, 2.5vw, 22px);
}

.section,
.page-section,
.booking-page,
.page-shell {
  padding-top: clamp(48px, 9vw, 120px);
  padding-bottom: clamp(56px, 10vw, 120px);
}

.section-tight {
  padding-top: clamp(40px, 6.5vw, 72px);
  padding-bottom: clamp(48px, 7.5vw, 88px);
}

.compact-hero,
.marketplace-hero.hero-rich {
  padding-top: clamp(52px, 9vw, 108px);
  padding-bottom: clamp(56px, 9vw, 112px);
}

.page-intro,
.booking-page-intro {
  margin-bottom: clamp(24px, 4vw, 40px);
}

/* — Navigation — */
.topbar {
  box-shadow: none;
  transition: box-shadow 0.35s var(--premium-ease), backdrop-filter 0.35s var(--premium-ease);
}

.nav {
  gap: clamp(18px, 2.8vw, 32px);
}

.nav a {
  transition: color var(--premium-duration) var(--premium-ease), opacity var(--premium-duration) var(--premium-ease), transform var(--premium-duration) var(--premium-ease);
}

@supports (animation-timeline: scroll()) {
  .topbar {
    animation: glammeTopbarShadow linear both;
    animation-timeline: scroll();
    animation-range: 0 120px;
  }

  @keyframes glammeTopbarShadow {
    from {
      box-shadow: none;
    }

    to {
      box-shadow: var(--shadow-soft);
    }
  }
}

@supports not (animation-timeline: scroll()) {
  .topbar {
    box-shadow: 0 2px 14px rgba(26, 22, 20, 0.04);
  }
}

/* — Boutons & CTA — */
.nav-cta,
.primary-btn,
.secondary-btn,
.secondary-action,
.logout-btn,
.auth-btn,
.nav-auth-btn,
.pro-result-book,
.small-action,
.order-action,
.audience-btn,
.space-tab,
.subnav-tab,
.role-tab,
.service-select {
  border-radius: var(--radius-btn);
  transition:
    transform var(--premium-duration) var(--premium-ease),
    box-shadow var(--premium-duration) var(--premium-ease),
    background var(--premium-duration) var(--premium-ease),
    color var(--premium-duration) var(--premium-ease),
    border-color var(--premium-duration) var(--premium-ease);
}

.nav-cta:hover:not(:disabled),
.primary-btn:hover:not(:disabled),
.secondary-btn:hover:not(:disabled),
.secondary-action:hover:not(:disabled),
.auth-btn:hover:not(:disabled),
.nav-auth-btn:hover,
.pro-result-book:hover:not(:disabled),
.small-action:hover:not(:disabled),
.order-action:hover:not(:disabled),
.audience-btn:hover:not(.active),
.service-select:hover:not(:disabled),
.logout-btn:hover:not(:disabled),
.subnav-tab:hover:not(.active),
.space-tab:hover:not(.active),
.role-tab:hover:not(.active) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--premium-shadow-hover);
}

.nav-cta:hover:not(:disabled),
.primary-btn:hover:not(:disabled),
.pro-result-book:hover:not(:disabled) {
  background: var(--coffee);
  color: var(--white);
}

.secondary-btn:hover:not(:disabled),
.secondary-action:hover:not(:disabled),
.small-action:hover:not(:disabled),
.order-action:hover:not(:disabled) {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.auth-btn:hover:not(:disabled) {
  background: var(--coffee);
  color: var(--white);
}

.nav-auth-btn:hover {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border-color: var(--coffee);
}

.logout-btn:hover:not(:disabled) {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.service-select:hover:not(:disabled) {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.nav-cta:active,
.primary-btn:active:not(:disabled),
.secondary-btn:active:not(:disabled),
.secondary-action:active:not(:disabled),
.auth-btn:active:not(:disabled),
.nav-auth-btn:active,
.pro-result-book:active:not(:disabled),
.small-action:active:not(:disabled),
.order-action:active:not(:disabled),
.audience-btn:active,
.service-select:active:not(:disabled),
.logout-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

button:disabled,
.primary-btn:disabled,
.secondary-btn:disabled {
  transform: none;
}

.icon-btn {
  border-radius: var(--radius-btn);
  transition:
    transform var(--premium-duration) var(--premium-ease),
    box-shadow var(--premium-duration) var(--premium-ease),
    border-color var(--premium-duration) var(--premium-ease),
    background var(--premium-duration) var(--premium-ease);
}

.icon-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
}

.icon-btn:active:not(:disabled) {
  transform: scale(0.98);
}

/* — Cartes & surfaces — */
.service-card,
.conversion-card,
.featured-card,
.review-card,
.review-card-rich,
.featured-pro-card,
.salon-spotlight-card,
.service-quick-card,
.home-search-card,
.hero-showcase-card,
.film-card,
.signature-card,
.space-item,
.stat-card,
.booking-form,
.signup-form,
.pro-panel,
.trust-strip div,
.saas-grid article,
.pro-result-row,
.salon-hero-card,
.salon-service-card,
.salon-info-card,
.portfolio-card,
.pack-card,
.order-card,
.metric-card,
.saas-kpi-card,
.saas-panel,
.client-summary,
.client-alert,
.booking-toolbar,
.booking-checkout,
.modal,
.page-panel {
  border-radius: var(--radius-card);
  box-shadow: var(--premium-shadow-rest);
  transition:
    transform var(--premium-duration) var(--premium-ease),
    box-shadow var(--premium-duration) var(--premium-ease),
    border-color var(--premium-duration) var(--premium-ease),
    opacity var(--premium-duration) var(--premium-ease);
}

.page-panel {
  border-radius: var(--radius-card);
  box-shadow: var(--premium-shadow-rest);
  transition: box-shadow var(--premium-duration) var(--premium-ease), border-color var(--premium-duration) var(--premium-ease);
}

.service-grid,
.conversion-grid,
.reviews-grid,
.featured-pro-grid,
.how-it-works-grid,
.service-quick-grid {
  gap: clamp(20px, 3vw, 28px);
}

.trust-strip div:hover,
.service-card:hover,
.conversion-card:hover,
.featured-card:hover,
.review-card:hover,
.review-card-rich:hover,
.featured-pro-card:hover,
.salon-spotlight-card:hover,
.service-quick-card:hover,
.home-search-card:hover,
.hero-showcase-card:hover,
.film-card:hover,
.signature-card:hover,
.space-item:hover,
.stat-card:hover,
.signup-form:hover,
.pro-result-row:hover,
.pro-result-row:focus-visible,
.salon-hero-card:hover,
.salon-service-card:hover,
.salon-info-card:hover,
.portfolio-card:hover,
.pack-card:hover,
.order-card:hover,
.metric-card:hover,
.saas-kpi-card:hover,
.client-summary:hover {
  transform: translateY(-4px);
  box-shadow: var(--premium-shadow-hover);
  border-color: var(--line);
}

.service-card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--premium-shadow-hover);
}

.booking-form:hover,
.signup-form:hover {
  transform: none;
  box-shadow: var(--premium-shadow-rest);
}

/* — Images — */
.service-card,
.service-quick-card,
.featured-pro-card,
.review-card-rich,
.hero-showcase-card,
.film-card,
.salon-hero-card,
.pro-result-avatar,
.featured-card,
.space-item,
.portfolio-card,
.salon-service-card,
.order-card,
.pack-card {
  overflow: hidden;
}

.service-card img,
.service-quick-card img,
.featured-pro-card img,
.review-avatar,
.hero-showcase-card img,
.film-card img,
.salon-hero-card img,
.pro-result-avatar,
.featured-card img,
.portfolio-card img,
.pack-card img,
.salon-service-card img {
  object-fit: cover;
  border-radius: calc(var(--radius-card) - 2px);
  transition: transform 0.45s var(--premium-ease);
}

.service-card:hover img,
.service-quick-card:hover img,
.featured-pro-card:hover img,
.hero-showcase-card:hover img,
.film-card:hover img,
.salon-hero-card:hover img,
.featured-card:hover img,
.portfolio-card:hover img,
.pack-card:hover img,
.salon-service-card:hover img {
  transform: scale(1.05);
}

.service-card:hover img {
  filter: saturate(0.98) contrast(0.98) brightness(1.03);
}

.pro-result-avatar,
.review-avatar {
  border-radius: 999px;
}

/* — Liens & interactifs — */
a,
.nav a,
.footer-col a,
.service-card-link {
  transition: color 0.25s ease-in-out, opacity 0.25s ease-in-out, transform var(--premium-duration) var(--premium-ease);
}

select,
input,
textarea {
  transition:
    box-shadow 0.25s ease-in-out,
    border-color 0.25s ease-in-out,
    background 0.25s ease-in-out;
}

/* — Apparition au scroll (sections principales) — */
@supports (animation-timeline: view()) {
  main > section:not(.home-reviews-section),
  .page-section,
  .booking-page,
  .page-shell > .page-panel,
  .signup-section {
    animation: glammeSectionReveal linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 32%;
  }

  @keyframes glammeSectionReveal {
    from {
      opacity: 0.82;
      transform: translateY(18px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@supports not (animation-timeline: view()) {
  main > section:not(.home-reviews-section),
  .page-section,
  .booking-page,
  .page-shell > .page-panel,
  .signup-section {
    animation: glammeSectionRevealFallback 0.65s var(--premium-ease) both;
  }

  @keyframes glammeSectionRevealFallback {
    from {
      opacity: 0.88;
      transform: translateY(14px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

body[data-page="home"] .home-reviews-section,
body[data-page="home"] .home-reviews-section .reviews-grid,
body[data-page="home"] .home-reviews-section .review-card-rich {
  opacity: 1;
}

/* — Page 1 : Accueil (index.html) — */
body[data-page="home"] .home-search-card {
  padding: clamp(20px, 3vw, 28px);
  gap: clamp(14px, 2vw, 18px);
}

body[data-page="home"] .home-services-section {
  padding-top: clamp(40px, 6vw, 72px);
}

body[data-page="home"] .service-card {
  min-height: 440px;
}

body[data-page="home"] .home-how-section .conversion-card {
  min-height: 100%;
}

body[data-page="home"] .home-reviews-section .review-card-rich {
  min-height: auto;
}

.review-card-rich .review-card-head strong {
  margin-top: 0;
}

body[data-page="home"] .hero-trust-line {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  min-height: 2.6em;
}

body[data-page="home"] .home-reviews-section,
body[data-page="home"] .home-reviews-section .reviews-grid,
body[data-page="home"] .home-reviews-section .review-card,
body[data-page="home"] .home-reviews-section .review-card-rich {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}

body[data-page="home"] .home-reviews-section .reviews-grid {
  display: grid !important;
}

body[data-page="home"] .hero-actions.center-actions {
  gap: clamp(12px, 2vw, 18px);
  margin-top: clamp(8px, 2vw, 16px);
}

/* — Page 2 : Réservation — */
.booking-page .pro-result-list {
  border-radius: var(--radius-card);
  box-shadow: var(--premium-shadow-rest);
  overflow: hidden;
}

.booking-page .pro-result-row {
  border-radius: 0;
  box-shadow: none;
}

.booking-page .pro-result-row:hover,
.booking-page .pro-result-row:focus-visible {
  transform: translateX(2px);
  box-shadow: inset 4px 0 0 var(--line);
}

.booking-steps .booking-step {
  transition: transform var(--premium-duration) var(--premium-ease), box-shadow var(--premium-duration) var(--premium-ease);
}

/* — Page 3 : Espace client / pro — */
.space-item,
.space-panel,
.space-list {
  transition: transform var(--premium-duration) var(--premium-ease), box-shadow var(--premium-duration) var(--premium-ease);
}

.space-tabs .space-tab,
.subnav-tabs .subnav-tab {
  transition: transform 0.25s ease-in-out, background 0.25s ease-in-out, color 0.25s ease-in-out, border-color 0.25s ease-in-out;
}

/* — Page 4 : Inscription / connexion — */
.signup-section {
  gap: clamp(28px, 5vw, 48px);
}

.signup-form {
  padding: clamp(24px, 4vw, 36px);
}

/* — Page 5 : Vitrine salon — */
.salon-page .salon-hero-card,
.salon-page .signature-card,
.salon-page .film-card {
  border-radius: var(--radius-card);
}

/* — Page 6 : Admin — */
body[data-page="admin"] .page-panel,
body[data-page="admin"] .stat-card,
body[data-page="admin"] .saas-kpi-card {
  border-radius: var(--radius-card);
  box-shadow: var(--premium-shadow-rest);
}

body[data-page="admin"] .stat-card:hover,
body[data-page="admin"] .saas-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--premium-shadow-hover);
}

body[data-page="admin"] .saas-table-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--premium-shadow-rest);
}

/* — Harmonisation conflits (couches antérieures) — */
.topbar {
  box-shadow: none;
}

.modal {
  border-radius: var(--radius-card);
  box-shadow: var(--premium-shadow-lift);
}

.modal::backdrop {
  transition: background 0.3s ease;
}

h3 {
  margin-bottom: clamp(10px, 1.5vw, 14px);
  letter-spacing: 0.01em;
}

.featured-pro-city,
.salon-spotlight-copy span,
.portfolio-card span,
.review-card-rich .review-meta,
.admin-section-title {
  letter-spacing: 0.08em;
}

.icon-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--premium-shadow-rest);
  border-color: var(--line);
  background: var(--white);
}

.city-chip,
.pill,
.status-chip {
  transition: transform var(--premium-duration) var(--premium-ease), box-shadow var(--premium-duration) var(--premium-ease);
}

.city-chip:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--premium-shadow-rest);
}

.footer-col a:hover {
  opacity: 0.78;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero {
    animation: none;
  }

  main > section,
  .page-section,
  .booking-page,
  .page-shell > .page-panel,
  .signup-section {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .section,
  .page-section,
  .booking-page,
  .page-shell {
    padding-top: clamp(48px, 10vw, 64px);
    padding-bottom: clamp(48px, 11vw, 64px);
  }

  .section-tight {
    padding-top: clamp(40px, 9vw, 56px);
    padding-bottom: clamp(44px, 10vw, 60px);
  }

  .compact-hero,
  .marketplace-hero.hero-rich {
    padding-top: clamp(40px, 9vw, 56px);
    padding-bottom: clamp(44px, 10vw, 64px);
  }

  .section-heading {
    margin-bottom: clamp(22px, 6vw, 36px);
  }

  .trust-strip div:hover,
  .service-card:hover,
  .conversion-card:hover,
  .featured-card:hover,
  .review-card:hover,
  .review-card-rich:hover,
  .featured-pro-card:hover,
  .space-item:hover,
  .stat-card:hover,
  .order-card:hover,
  .portfolio-card:hover {
    transform: translateY(-2px);
  }

  .nav-cta:hover:not(:disabled),
  .primary-btn:hover:not(:disabled),
  .secondary-btn:hover:not(:disabled) {
    transform: scale(1.01);
  }
}

/* — Mode audience Homme (accueil) — */
body.audience-homme .hero-overlay {
  background:
    linear-gradient(180deg, rgba(28, 24, 22, 0.52), rgba(28, 24, 22, 0.8)),
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.07), transparent 42%);
}

body.audience-homme .hero-bg-image {
  object-position: center 28%;
}

body.audience-femme .marketplace-hero,
body:not(.audience-homme) .marketplace-hero {
  color: var(--ink);
}

body.audience-homme .marketplace-hero .hero-content,
body.audience-homme .marketplace-hero h1,
body.audience-homme .marketplace-hero .hero-trust-line {
  color: var(--champagne);
}

body.audience-homme .marketplace-hero .hero-copy {
  color: rgba(255, 253, 251, 0.84);
}

body.audience-homme .marketplace-hero .eyebrow {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.65);
  font-weight: 800;
}

body.audience-homme .audience-btn,
body.audience-homme .audience-btn:hover:not(.active),
body.audience-homme .audience-btn.active {
  color: var(--ink);
}

body.audience-homme .audience-btn {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.98);
}

body.audience-homme .audience-btn:hover:not(.active) {
  background: var(--white);
  border-color: rgba(168, 137, 90, 0.45);
}

body.audience-homme .audience-btn.active {
  background: var(--white);
  border-color: rgba(168, 137, 90, 0.55);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.hero-men-tags {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

body.audience-homme .hero-men-tags:not([hidden]) {
  display: flex;
}

body.audience-femme .hero-men-tags,
.hero-men-tags[hidden] {
  display: none !important;
}

.hero-men-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--champagne);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

body.audience-homme .home-services-section.home-services-men {
  background: linear-gradient(180deg, rgba(239, 230, 220, 0.45), transparent 72%);
  border-radius: var(--radius-card);
}

body.audience-homme .home-services-section .service-grid {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

body.audience-homme .home-services-section .service-card {
  min-height: auto;
  border-color: rgba(44, 38, 34, 0.12);
}

body.audience-homme .home-services-section .service-card img {
  height: clamp(280px, 44vw, 380px);
  object-position: center 28%;
}

/* — Photo grading unifié (beige / crème / lumière douce) — */
.service-card-link,
.featured-pro-card,
.hero-showcase-card,
.portfolio-card,
.salon-hero-card {
  position: relative;
  isolation: isolate;
}

.service-card img[src^="/assets/brand/"],
.featured-pro-card img[src^="/assets/brand/"],
.hero-showcase-card img[src^="/assets/brand/"],
.portfolio-card img[src^="/assets/brand/"],
.salon-hero-card img[src^="/assets/brand/"] {
  filter: none;
}

.service-card-link::before,
.featured-pro-link::before,
.hero-showcase-card::before,
.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 253, 251, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(250, 247, 244, 0.1) 0%, rgba(44, 38, 34, 0.05) 100%);
  opacity: 0.85;
}

.service-card-link .service-content,
.featured-pro-body,
.hero-showcase-card span,
.hero-showcase-card strong,
.hero-showcase-card small,
.portfolio-card div {
  position: relative;
  z-index: 2;
}

body.audience-homme .home-services-section .service-card-men .service-badge {
  letter-spacing: 0.06em;
  background: var(--sand);
  color: var(--coffee);
}

body.audience-homme .home-how-section .conversion-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.audience-homme .home-reviews-section .reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 720px) {
  body.audience-homme .home-how-section .conversion-grid,
  body.audience-homme .home-reviews-section .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* — Page Réservation : mode Homme — */
body[data-page="booking"].audience-homme .booking-page-intro {
  padding: clamp(18px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(239, 230, 220, 0.55), transparent 88%);
  border-radius: var(--radius-card);
}

body[data-page="booking"].audience-homme .booking-page-intro .eyebrow {
  letter-spacing: 0.12em;
}

body[data-page="booking"].audience-homme .booking-toolbar,
body[data-page="booking"].audience-homme .booking-checkout {
  border-color: rgba(44, 38, 34, 0.1);
}

body[data-page="booking"].audience-homme .booking-step.is-active {
  font-weight: 800;
}

/* — Page 3 : Mon espace — */
body[data-page="space"] .page-shell {
  padding-top: clamp(44px, 7vw, 88px);
  padding-bottom: clamp(52px, 8vw, 96px);
}

body[data-page="space"] .page-intro {
  margin-bottom: clamp(24px, 4vw, 40px);
}

body[data-page="space"] .page-panel {
  border-radius: var(--radius-card);
  box-shadow: var(--premium-shadow-rest);
}

body[data-page="space"] .space-item,
body[data-page="space"] .order-card,
body[data-page="space"] .client-summary,
body[data-page="space"] .client-alert {
  border-radius: var(--radius-card);
  box-shadow: var(--premium-shadow-rest);
  transition: transform var(--premium-duration) var(--premium-ease), box-shadow var(--premium-duration) var(--premium-ease);
}

body[data-page="space"] .space-item:not(.empty-state):hover,
body[data-page="space"] .order-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--premium-shadow-hover);
}

body[data-page="space"] .client-quick-actions {
  gap: clamp(10px, 2vw, 14px);
}

body[data-page="space"] .subnav-tabs {
  margin-bottom: clamp(18px, 3vw, 28px);
}

/* — Page 4 : Inscription / connexion — */
body[data-page="signup"] .signup-section {
  gap: clamp(28px, 5vw, 48px);
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(56px, 9vw, 112px);
}

body[data-page="signup"] .signup-form {
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-card);
  box-shadow: var(--premium-shadow-rest);
}

body[data-page="signup"] .signup-copy {
  max-width: 520px;
}

body[data-page="signup"] .auth-btn {
  border-radius: var(--radius-btn);
}

/* — Page contact — */
body[data-page="contact"] .page-shell {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 8vw, 96px);
}

body[data-page="contact"] .page-intro {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(24px, 4vw, 36px);
  text-align: center;
}

body[data-page="contact"] .page-intro-lead {
  color: var(--ink);
  opacity: 0.72;
}

body[data-page="contact"] .contact-panel {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid #cfc3b8;
  box-shadow: var(--premium-shadow-lift);
}

body[data-page="contact"] .contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 16px clamp(20px, 4vw, 32px);
  background: linear-gradient(180deg, #efe6dc 0%, #e8dfd6 100%);
  border-bottom: 2px solid #cfc3b8;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

body[data-page="contact"] .contact-meta p {
  margin: 0;
}

body[data-page="contact"] .contact-meta strong {
  font-weight: 800;
}

.booking-step.is-clickable {
  cursor: pointer;
}

.booking-step.is-clickable:hover {
  border-color: #b8a898;
  background: #fbf8f5;
  transform: translateY(-1px);
}

.booking-step[aria-disabled="true"] {
  cursor: default;
  opacity: 0.72;
}

body[data-page="faq"] .page-shell {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 8vw, 96px);
}

body[data-page="faq"] .page-intro {
  max-width: 640px;
  margin-bottom: clamp(24px, 4vw, 36px);
}

body[data-page="faq"] .faq-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 32px);
  border: 2px solid #cfc3b8;
}

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

.faq-item {
  border: 2px solid #ddd4cb;
  border-radius: 12px;
  background: #fbf8f5;
  overflow: hidden;
}

.faq-item[open] {
  border-color: #b8a898;
  background: var(--white);
  box-shadow: var(--premium-shadow-rest);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--coffee);
  font-size: 18px;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--ink);
  line-height: 1.65;
}

.faq-item a {
  color: var(--coffee);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-cta {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid #ddd4cb;
  text-align: center;
}

.faq-cta p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.faq-cta .primary-btn {
  justify-self: center;
  min-width: min(100%, 280px);
}

body[data-page="contact"] .contact-meta a {
  color: var(--coffee);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body[data-page="contact"] .contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  padding: clamp(24px, 4vw, 36px);
}

body[data-page="contact"] .contact-form label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
}

body[data-page="contact"] .contact-form input,
body[data-page="contact"] .contact-form select,
body[data-page="contact"] .contact-form textarea {
  min-height: 50px;
  background: var(--sand);
  border: 2px solid #b8a898;
  box-shadow: inset 0 1px 3px rgba(26, 22, 20, 0.06);
}

body[data-page="contact"] .contact-form input::placeholder,
body[data-page="contact"] .contact-form textarea::placeholder {
  color: #7a726c;
  opacity: 1;
}

body[data-page="contact"] .contact-form input:hover,
body[data-page="contact"] .contact-form select:hover,
body[data-page="contact"] .contact-form textarea:hover {
  border-color: #9a8778;
  background: #f3ebe3;
}

body[data-page="contact"] .contact-form input:focus,
body[data-page="contact"] .contact-form select:focus,
body[data-page="contact"] .contact-form textarea:focus {
  background: var(--white);
  border-color: var(--coffee);
  box-shadow: 0 0 0 4px rgba(44, 38, 34, 0.1);
}

body[data-page="contact"] .contact-form .primary-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  border-radius: var(--radius-btn);
}

body[data-page="contact"] .contact-status {
  margin: 0;
  min-height: 0;
}

body[data-page="contact"] .contact-status:not(:empty) {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(47, 107, 79, 0.08);
  border: 1px solid rgba(47, 107, 79, 0.35);
  color: var(--success);
  font-weight: 600;
}

/* — Page 5 : Vitrine salon — */
body[data-page="salon"] .salon-page {
  padding-bottom: clamp(48px, 8vw, 96px);
}

body[data-page="salon"] .salon-hero-card,
body[data-page="salon"] .salon-service-card,
body[data-page="salon"] .portfolio-card,
body[data-page="salon"] .review-card-rich {
  border-radius: var(--radius-card);
  box-shadow: var(--premium-shadow-rest);
  transition: transform var(--premium-duration) var(--premium-ease), box-shadow var(--premium-duration) var(--premium-ease);
}

body[data-page="salon"] .salon-service-card:hover,
body[data-page="salon"] .portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--premium-shadow-hover);
}

body[data-page="salon"] .portfolio-card {
  overflow: hidden;
}

body[data-page="salon"] .portfolio-card img {
  object-fit: cover;
  transition: transform 0.45s var(--premium-ease);
}

body[data-page="salon"] .portfolio-card:hover img {
  transform: scale(1.05);
}

body[data-page="salon"] .salon-section {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(44px, 7vw, 80px);
}

body[data-page="salon"] .salon-loading {
  padding: clamp(64px, 12vw, 120px) var(--section-x);
  text-align: center;
}

/* — Page 6 : Admin — */
body[data-page="admin"] .saas-admin-page {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 8vw, 96px);
}

body[data-page="admin"] .admin-subnav .subnav-tab {
  border-radius: var(--radius-btn);
}

body[data-page="admin"] .admin-view-head {
  padding: clamp(16px, 2.5vw, 24px) clamp(18px, 3vw, 28px) 0;
}

body[data-page="admin"] .saas-admin-gate {
  border-radius: var(--radius-card);
  box-shadow: var(--premium-shadow-rest);
}

/* — Visuels professionnels (brand) — */
.signup-pro-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 16px);
  margin-bottom: clamp(20px, 3vw, 28px);
}

.signup-pro-gallery img,
.home-pro-visuals img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card, 18px);
  box-shadow: var(--premium-shadow-rest, 0 10px 30px rgba(0, 0, 0, 0.05));
  transition: transform var(--premium-duration, 0.4s) var(--premium-ease, ease-in-out), box-shadow var(--premium-duration, 0.4s) var(--premium-ease, ease-in-out);
}

.signup-pro-gallery img:hover,
.home-pro-visuals img:hover {
  transform: translateY(-3px);
  box-shadow: var(--premium-shadow-hover, 0 16px 40px rgba(0, 0, 0, 0.08));
}

body.signup-audience-pro .signup-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.home-pro-section {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.home-pro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--section-x, clamp(20px, 4vw, 40px));
}

.home-pro-copy .primary-btn {
  margin-top: clamp(12px, 2vw, 18px);
}

.home-pro-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(12px, 2vw, 18px);
  align-items: stretch;
}

.home-pro-visual-main {
  grid-row: 1 / span 3;
}

.home-pro-visual-stack {
  display: grid;
  gap: clamp(10px, 1.5vw, 14px);
}

@media (max-width: 960px) {
  .home-pro-grid {
    grid-template-columns: 1fr;
  }

  .home-pro-visuals {
    grid-template-columns: 1fr;
  }

  .home-pro-visual-main {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  body.signup-audience-pro .signup-section,
  .signup-section {
    grid-template-columns: 1fr;
  }

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

.signup-pro-gallery img[src^="/assets/brand/"],
.home-pro-visuals img[src^="/assets/brand/"] {
  filter: none;
}

body[data-page="error"] .error-page {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
}

body[data-page="error"] .hero-actions {
  justify-content: center;
  flex-wrap: wrap;
}

.skeleton {
  background: linear-gradient(90deg, #f0edea 25%, #e8e3de 50%, #f0edea 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.4s ease-in-out infinite;
  border-radius: 12px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;
}

.skeleton-line {
  height: 14px;
  margin-bottom: 10px;
}

.skeleton-line-wide {
  width: 72%;
}

.skeleton-line-short {
  width: 42%;
}

.skeleton-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.contact-panel {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label.full,
.contact-form .contact-status,
.contact-form .primary-btn {
  grid-column: 1 / -1;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-status {
  margin: 0;
  min-height: 0;
}

@media (max-width: 720px) {
  .booking-steps-list {
    grid-template-columns: 1fr 1fr;
  }

  .booking-step-label {
    font-size: 12px;
  }

  body[data-page="contact"] .contact-form {
    grid-template-columns: 1fr;
  }
}
