/* ---------- VARIABLES ---------- */
:root {
  --bg:          #F4EEE3;
  --bg-soft:     #EBE3D4;
  --surface:     #FAF6EF;
  --ink:         #1C1814;
  --ink-soft:    #5B544C;
  --ink-mute:    #8E8478;
  --line:        rgba(28, 24, 20, 0.10);
  --line-soft:   rgba(28, 24, 20, 0.06);
  --accent:      #8B2A2A;
  --accent-soft: #C97370;
  --rose:        #E8C5BC;
  --gold:        #B58A4C;
  --green:       #4E6B4A;
  --shadow-sm: 0 1px 2px rgba(28,24,20,0.04);
  --shadow-md: 0 8px 24px rgba(28,24,20,0.08);
  --shadow-lg: 0 24px 60px rgba(28,24,20,0.14);
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TOP BAR ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 238, 227, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-style: italic;
}
.logo sup {
  font-size: 10px; vertical-align: top; margin-left: 2px;
  color: var(--accent); font-style: normal;
}
.nav {
  display: flex; gap: 36px; align-items: center;
}
.nav a {
  font-size: 14px; color: var(--ink-soft);
  transition: color .2s; position: relative;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -28px;
  height: 2px; background: var(--accent);
}
.topbar-actions { display: flex; gap: 12px; align-items: center; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s; color: var(--ink);
}
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 20px; height: 20px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--rose); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 13px;
  cursor: pointer;
}

/* ---------- HERO (accueil) ---------- */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-soft); margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  font-weight: 350;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 300; }
.hero-sub {
  font-size: 18px; color: var(--ink-soft);
  max-width: 480px; line-height: 1.6;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex; gap: 48px; margin-top: 60px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.stat-num { font-family: 'Fraunces', serif; font-size: 40px; line-height: 1; }
.stat-label { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #D4A89B 0%, #8B5A52 100%);
  box-shadow: var(--shadow-lg);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  animation: float 6s ease-in-out infinite;
}
.hero-card-1 { top: 40px; left: -28px; animation-delay: 0s; }
.hero-card-2 { bottom: 60px; right: -28px; animation-delay: 1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-card-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--rose); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.hero-card-icon svg { width: 20px; height: 20px; }
.hero-card-title { font-size: 13px; font-weight: 600; }
.hero-card-sub   { font-size: 11px; color: var(--ink-soft); }

/* ---------- SEARCH BAR ---------- */
.search-bar {
  background: var(--surface);
  border-radius: 999px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1.2fr 1px 1fr 1px 1fr auto;
  align-items: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
  margin-bottom: 8px;
}
.search-field {
  padding: 8px 22px;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; border-radius: 999px;
  transition: background .2s;
}
.search-field:hover { background: var(--bg); }
.search-field svg { width: 16px; height: 16px; color: var(--ink-soft); flex-shrink: 0; }
.search-field-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-mute); display: block;
}
.search-field-value { font-size: 14px; color: var(--ink); font-weight: 500; }
.search-divider { width: 1px; height: 28px; background: var(--line); }
.search-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s;
}
.search-btn:hover { background: var(--ink); transform: scale(1.05); }
.search-btn svg { width: 20px; height: 20px; }

/* ---------- SECTION ---------- */
section { padding: 80px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; gap: 24px;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05; letter-spacing: -0.03em;
  max-width: 600px;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head p { color: var(--ink-soft); max-width: 380px; font-size: 15px; }

/* ---------- CATEGORIES ---------- */
.categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--line-soft);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .3s;
  position: relative; overflow: hidden;
  text-decoration: none; color: inherit; display: block;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, var(--rose) 200%);
  opacity: 0; transition: opacity .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card:hover::before { opacity: 1; }
.cat-card.active {
  background: var(--ink); color: var(--surface); border-color: var(--ink);
}
.cat-card.active .cat-name { color: var(--surface); }
.cat-card.active .cat-count { color: rgba(250,246,239,0.6); }
.cat-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--rose); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.cat-icon svg { width: 26px; height: 26px; }
.cat-card.active .cat-icon { background: var(--accent); color: var(--surface); }
.cat-name { font-size: 15px; font-weight: 600; position: relative; z-index: 1; }
.cat-count {
  font-size: 12px; color: var(--ink-mute); margin-top: 4px;
  position: relative; z-index: 1;
}

/* ---------- SALONS GRID ---------- */
.salons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.salon-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  border: 1px solid var(--line-soft);
}
.salon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.salon-img {
  width: 100%; aspect-ratio: 4/3;
  background: var(--bg-soft);
  position: relative; overflow: hidden;
}
.salon-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.salon-card:hover .salon-img img { transform: scale(1.05); }
.salon-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.salon-badge svg { width: 12px; height: 12px; color: var(--gold); }
.salon-fav {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .2s, background .2s;
}
.salon-fav:hover { transform: scale(1.1); }
.salon-fav svg {
  width: 16px; height: 16px; color: var(--ink);
  transition: color .2s, fill .2s;
  fill: none; stroke: currentColor;
}
.salon-fav.active svg { color: var(--accent); fill: var(--accent); }
.salon-info { padding: 22px; }
.salon-name {
  font-family: 'Fraunces', serif;
  font-size: 22px; margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.salon-addr {
  font-size: 13px; color: var(--ink-soft);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 6px;
}
.salon-addr svg { width: 12px; height: 12px; flex-shrink: 0; }
.salon-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.salon-tag {
  font-size: 11px; padding: 4px 10px;
  background: var(--bg); color: var(--ink-soft);
  border-radius: 999px;
}
.salon-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid var(--line-soft);
}
.salon-price { font-size: 13px; color: var(--ink-soft); }
.salon-price strong { color: var(--ink); font-weight: 600; }
.salon-book {
  background: var(--ink); color: var(--surface);
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  transition: background .2s, transform .2s;
}
.salon-book:hover { background: var(--accent); transform: scale(1.05); }

/* ---------- PAGE HEADER (pages secondaires) ---------- */
.page-header {
  padding: 72px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 48px;
}
.page-header .eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--accent); margin-bottom: 20px;
}
.page-header h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1; letter-spacing: -0.035em;
  margin-bottom: 18px; font-weight: 350;
}
.page-header h1 em { font-style: italic; color: var(--accent); font-weight: 300; }
.page-header p {
  font-size: 17px; color: var(--ink-soft);
  max-width: 560px; margin: 0 auto; line-height: 1.5;
}

/* ---------- FILTER BAR ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all .2s;
  background: var(--surface); color: var(--ink-soft);
}
.filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.filter-pill.active {
  background: var(--ink); color: var(--surface); border-color: var(--ink);
}
.filter-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filter-search {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--surface);
  border-radius: 999px; padding: 8px 16px;
  transition: border-color .2s;
}
.filter-search:focus-within { border-color: var(--ink); }
.filter-search svg { width: 14px; height: 14px; color: var(--ink-mute); flex-shrink: 0; }
.filter-search input {
  border: none; outline: none; background: none;
  font-family: inherit; font-size: 13px; color: var(--ink);
  width: 200px;
}
.filter-search input::placeholder { color: var(--ink-mute); }
.filter-select {
  font-family: inherit; font-size: 13px; font-weight: 500;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink);
  border-radius: 999px; padding: 9px 32px 9px 16px;
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231C1814' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.results-count {
  font-size: 13px; color: var(--ink-soft);
  margin-bottom: 24px;
}
.results-count strong { color: var(--ink); font-weight: 600; }

.empty-state {
  text-align: center; padding: 80px 24px;
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px dashed var(--line);
}
.empty-state h3 { font-size: 24px; margin-bottom: 8px; }
.empty-state p { color: var(--ink-soft); font-size: 14px; }

.page-content { padding: 0 0 80px; }

/* ---------- SERVICES CATALOG ---------- */
.svc-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, var(--rose) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.svc-card > * { position: relative; z-index: 1; }
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.svc-card:hover::before { opacity: 0.4; }
.svc-card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--rose); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform .3s;
}
.svc-card:hover .svc-card-icon { transform: rotate(-6deg) scale(1.05); }
.svc-card-icon svg { width: 26px; height: 26px; }
.svc-card-cat {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--ink-mute); margin-bottom: 6px;
}
.svc-card-name {
  font-family: 'Fraunces', serif; font-size: 24px;
  line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.svc-card-desc {
  font-size: 14px; color: var(--ink-soft);
  margin-bottom: 24px; line-height: 1.5;
}
.svc-card-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: 20px; border-top: 1px solid var(--line-soft);
}
.svc-card-price { font-family: 'Fraunces', serif; font-size: 22px; line-height: 1; }
.svc-card-price small {
  display: block; font-size: 11px; color: var(--ink-soft);
  font-family: 'Manrope', sans-serif; margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.svc-card-time {
  font-size: 12px; color: var(--ink-soft);
  display: flex; align-items: center; gap: 5px;
  background: var(--bg); padding: 6px 10px; border-radius: 999px;
}
.svc-card-time svg { width: 11px; height: 11px; }
.svc-card-availability {
  font-size: 11px; color: var(--ink-mute); margin-top: 14px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink); color: var(--bg);
  padding: 80px 0 32px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-brand .logo { color: var(--bg); margin-bottom: 16px; display: inline-block; }
.footer-brand p { color: rgba(244,238,227,0.6); font-size: 14px; max-width: 280px; }
.footer-col h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(244,238,227,0.5); margin-bottom: 20px; font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(244,238,227,0.85); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--accent-soft); }
.footer-bottom {
  border-top: 1px solid rgba(244,238,227,0.1);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(244,238,227,0.5);
}

/* ---------- BOOKING MODAL ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(28, 24, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; transition: opacity .3s;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal {
  background: var(--surface);
  border-radius: var(--radius-xl);
  width: 100%; max-width: 720px;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px); transition: transform .3s;
  box-shadow: var(--shadow-lg);
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-head {
  padding: 24px 32px; border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; background: var(--surface); z-index: 2;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.modal-title { font-family: 'Fraunces', serif; font-size: 24px; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: var(--bg-soft); }
.modal-body { padding: 32px; }

.stepper {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 36px;
}
.step { display: flex; align-items: center; gap: 8px; }
.step-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); color: var(--ink-mute);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  transition: all .3s;
}
.step.active .step-circle { background: var(--accent); color: var(--surface); }
.step.done .step-circle { background: var(--ink); color: var(--surface); }
.step-label { font-size: 13px; color: var(--ink-mute); font-weight: 500; }
.step.active .step-label, .step.done .step-label { color: var(--ink); }
.step-line { width: 32px; height: 1px; background: var(--line); margin: 0 4px; }

.step-content { display: none; animation: fadeIn .4s; }
.step-content.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.service-list { display: flex; flex-direction: column; gap: 12px; }
.service-item {
  display: flex; align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
  gap: 14px;
}
.service-item:hover { border-color: var(--ink); background: var(--bg); }
.service-item.selected { border-color: var(--accent); background: var(--rose); }
.service-check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .2s;
}
.service-check svg {
  width: 12px; height: 12px; opacity: 0;
  transition: opacity .2s; color: var(--surface);
}
.service-item.selected .service-check {
  background: var(--accent); border-color: var(--accent);
}
.service-item.selected .service-check svg { opacity: 1; }
.service-info { flex: 1; min-width: 0; }
.service-info h4 {
  font-family: 'Manrope', sans-serif; font-size: 15px;
  font-weight: 600; margin-bottom: 4px;
}
.service-info p { font-size: 13px; color: var(--ink-soft); }
.service-price { font-family: 'Fraunces', serif; font-size: 18px; white-space: nowrap; }

.services-summary {
  margin-top: 20px;
  padding: 14px 20px;
  background: var(--ink); color: var(--surface);
  border-radius: var(--radius);
  display: flex; justify-content: space-between; align-items: center;
  animation: fadeIn .3s;
}
.services-summary.empty { background: var(--bg); color: var(--ink-mute); }
.services-summary-count { font-size: 13px; opacity: 0.75; }
.services-summary-total { font-family: 'Fraunces', serif; font-size: 22px; }
.ssb-clear {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(250,246,239,0.15);
  transition: background .2s;
}
.ssb-clear:hover { background: rgba(250,246,239,0.25); }
.services-summary.empty .ssb-clear { display: none; }

.sum-services-list {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.sum-services-list .label {
  font-size: 14px; color: var(--ink-soft); margin-bottom: 10px;
}
.sum-service-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; padding: 4px 0;
}
.sum-service-row span:last-child { font-weight: 600; }

.date-picker {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.date-cell {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
  padding: 8px;
}
.date-cell:hover { border-color: var(--ink); }
.date-cell.selected { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.date-cell.disabled { opacity: 0.3; cursor: not-allowed; }
.date-day { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; }
.date-num { font-family: 'Fraunces', serif; font-size: 22px; line-height: 1; margin-top: 4px; }

.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.time-slot {
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  font-size: 14px; font-weight: 500;
  transition: all .2s;
}
.time-slot:hover { border-color: var(--ink); }
.time-slot.selected { background: var(--accent); color: var(--surface); border-color: var(--accent); }
.time-slot.disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.summary-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 24px; margin-bottom: 24px;
}
.summary-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; font-size: 14px; gap: 12px;
}
.summary-row:not(:last-child) { border-bottom: 1px solid var(--line-soft); }
.summary-row span:first-child { color: var(--ink-soft); }
.summary-row span:last-child { font-weight: 600; text-align: right; }
.summary-total {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--line);
}
.summary-total .label {
  font-size: 13px; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.summary-total .value { font-family: 'Fraunces', serif; font-size: 28px; }

.modal-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 12px;
  position: sticky; bottom: 0; background: var(--surface); z-index: 2;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.btn {
  padding: 12px 28px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: all .2s;
}
.btn-ghost { color: var(--ink-soft); }
.btn-ghost:hover { background: var(--bg); }
.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover { background: var(--accent); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }

.success-state { text-align: center; padding: 32px 0; }
.success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--rose); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.success-icon svg { width: 36px; height: 36px; }
.success-state h3 { font-size: 32px; margin-bottom: 12px; }
.success-state p { color: var(--ink-soft); max-width: 400px; margin: 0 auto 24px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .categories { grid-template-columns: repeat(3, 1fr); }
  .salons-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-catalog  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 40px 0 60px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat-num { font-size: 32px; }
  .search-bar {
    grid-template-columns: 1fr; gap: 4px;
    border-radius: var(--radius-lg); padding: 12px;
  }
  .search-divider { display: none; }
  .search-field { padding: 12px 16px; }
  .search-btn { width: 100%; height: 48px; border-radius: 999px; margin-top: 6px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .page-header { padding: 48px 0 32px; margin-bottom: 32px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-actions { flex-direction: column; align-items: stretch; }
  .filter-search { width: 100%; }
  .filter-search input { width: 100%; }
  .filter-select { width: 100%; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .salons-grid { grid-template-columns: 1fr; }
  .svc-catalog  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .modal-body { padding: 24px 20px; }
  .modal-head, .modal-footer { padding: 20px; }
  .stepper { gap: 4px; }
  .step-line { width: 16px; }
  .step-label { display: none; }
  .date-picker { grid-template-columns: repeat(4, 1fr); }
  .time-slots { grid-template-columns: repeat(3, 1fr); }
  .hero-card-1 { left: 8px; top: 16px; }
  .hero-card-2 { right: 8px; bottom: 16px; }
}
@media (max-width: 420px) {
  .topbar-inner { height: 64px; }
  .logo { font-size: 24px; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .time-slots { grid-template-columns: repeat(2, 1fr); }
  .date-picker { grid-template-columns: repeat(3, 1fr); }
  .summary-total .value { font-size: 24px; }
}