:root {
  --bg: #fbf7f2;
  --panel: #fffdfb;
  --nude: #ead8ca;
  --champagne: #d9b980;
  --gold: #b68a45;
  --coffee: #6f5445;
  --ink: #191513;
  --muted: #77685f;
  --line: #eaded5;
  --danger: #9f3b32;
  --success: #486b4c;
  --shadow: 0 24px 70px rgba(75, 54, 43, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.site-header,
.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 247, 242, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--champagne);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, serif;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.ghost-link {
  color: var(--coffee);
  font-size: 0.92rem;
}

.section,
.section-band {
  padding: clamp(52px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
}

.compact {
  max-width: 920px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 25%, rgba(217, 185, 128, 0.22), transparent 30%),
    linear-gradient(135deg, #fffdfb 0%, #f6eee7 48%, #ead8ca 100%);
}

.hero::before {
  position: absolute;
  inset: -30% -10% auto auto;
  width: 54vw;
  height: 54vw;
  min-width: 360px;
  min-height: 360px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.56), rgba(217, 185, 128, 0.18) 42%, transparent 70%);
  filter: blur(10px);
  opacity: 0.72;
  pointer-events: none;
  animation: champagneGlow 12s ease-in-out infinite alternate;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-content > * {
  animation: riseIn 720ms ease both;
}

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

.hero-content > *:nth-child(3) {
  animation-delay: 160ms;
}

.hero-content > *:nth-child(4) {
  animation-delay: 230ms;
}

.hero-content > *:nth-child(5) {
  animation-delay: 300ms;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(3.4rem, 10vw, 8rem);
  line-height: 0.9;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

h3 {
  font-size: 1.08rem;
}

.hero-phrase {
  color: var(--coffee);
  font-size: clamp(1.25rem, 2.4vw, 2.1rem);
}

.hero-copy,
.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions,
.admin-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn,
.text-button,
.pill {
  border: 0;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.text-button:hover,
.pill:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--ink);
  color: #fffaf5;
}

.btn.secondary {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--coffee);
}

.btn.soft {
  background: #f2e7de;
  color: var(--coffee);
}

.btn.cash {
  border: 1px solid #171111;
  background: #171111;
  color: #fffaf5;
}

.btn.danger {
  background: var(--danger);
  color: #fff;
}

.btn.full {
  width: 100%;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(25, 21, 19, 0.05), rgba(25, 21, 19, 0.38)),
    radial-gradient(circle at 52% 30%, rgba(255, 255, 255, 0.72), transparent 14%),
    linear-gradient(145deg, #2b211d 0%, #9b7a60 46%, #efd8bf 100%);
  box-shadow: var(--shadow);
  animation: visualFloat 850ms ease both, slowDrift 8s ease-in-out 1s infinite alternate;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  transform: rotate(-16deg);
}

.hero-visual::before {
  inset: 18% 34% 24% 22%;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-visual::after {
  width: 54%;
  height: 8px;
  right: 12%;
  top: 45%;
  background: rgba(255, 250, 245, 0.62);
  box-shadow: 0 30px 0 rgba(255, 250, 245, 0.48), 0 60px 0 rgba(255, 250, 245, 0.34);
}

.visual-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 253, 251, 0.74);
  backdrop-filter: blur(16px);
  animation: riseIn 900ms ease 320ms both;
}

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

.visual-card strong {
  display: block;
  margin: 4px 0;
  font-family: Georgia, serif;
  font-size: 1.8rem;
}

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

.pill-row {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pill {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf5;
  color: var(--muted);
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.pill.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fffaf5;
}

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

.service-card,
.deposit-box,
.contact-card,
.admin-card,
.login-card,
.modal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(75, 54, 43, 0.06);
}

.service-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 0%, rgba(217, 185, 128, 0.16) 45%, transparent 72%);
  opacity: 0;
  transform: translateX(-55%);
  transition: opacity 220ms ease, transform 520ms ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(182, 138, 69, 0.38);
  box-shadow: 0 22px 50px rgba(75, 54, 43, 0.13);
  transform: translateY(-6px);
}

.service-card:hover::before {
  opacity: 1;
  transform: translateX(60%);
}

.service-category,
.appointment-meta {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
}

.service-footer strong {
  font-size: 1.25rem;
}

.text-button {
  background: transparent;
  color: var(--coffee);
  font-weight: 800;
  transition: color 180ms ease, transform 180ms ease;
}

.booking-section {
  max-width: none;
  background: #fffaf5;
}

.booking-section > .section-heading,
.booking-layout {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.booking-form,
.admin-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--coffee);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfb;
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(182, 138, 69, 0.14);
}

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

.slots-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
  gap: 8px;
}

.slot {
  display: grid;
  gap: 2px;
  min-height: 56px;
  border: 1px solid transparent;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f4ebe3;
  color: var(--coffee);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

button.slot {
  cursor: pointer;
}

.slot strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.slot span {
  color: var(--muted);
}

.slot.available:hover,
.slot.selected {
  border-color: var(--gold);
  background: #fffdfb;
  box-shadow: 0 12px 28px rgba(182, 138, 69, 0.16);
  transform: translateY(-2px);
}

.slot.selected {
  outline: 2px solid rgba(182, 138, 69, 0.2);
}

.slot.reserved {
  background: #efe1df;
  color: var(--danger);
  cursor: not-allowed;
}

.slot.blocked {
  background: #eee9e2;
  color: #6c6258;
  cursor: not-allowed;
}

.deposit-box {
  align-self: start;
  padding: 24px;
}

.deposit-box dl,
.summary-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.deposit-box dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.deposit-box dd {
  margin: -8px 0 6px;
}

.form-message {
  min-height: 24px;
  color: var(--coffee);
  font-weight: 800;
}

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

.care-list li {
  border-left: 2px solid var(--gold);
  padding: 12px 14px;
  background: rgba(255, 253, 251, 0.7);
  color: var(--muted);
}

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

.contact-card {
  display: grid;
  min-height: 120px;
  align-content: space-between;
  padding: 18px;
  color: var(--coffee);
  font-weight: 800;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-card:hover {
  border-color: rgba(182, 138, 69, 0.38);
  box-shadow: 0 18px 42px rgba(75, 54, 43, 0.1);
  transform: translateY(-4px);
}

.contact-card span {
  color: var(--ink);
  font-weight: 600;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fffaf5;
  box-shadow: var(--shadow);
  font-weight: 800;
  animation: whatsappPulse 2.4s ease-in-out infinite;
  transition: transform 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease var(--reveal-delay, 0ms), transform 650ms ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section.reveal,
.booking-section.reveal {
  opacity: 1;
  transform: none;
}

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

@keyframes visualFloat {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slowDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 18px -12px, -12px 16px, 0 0;
  }
}

@keyframes champagneGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-7%, 6%, 0) scale(1.08);
  }
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 16px 42px rgba(75, 54, 43, 0.16), 0 0 0 0 rgba(25, 21, 19, 0.22);
  }
  50% {
    box-shadow: 0 16px 42px rgba(75, 54, 43, 0.16), 0 0 0 10px rgba(25, 21, 19, 0);
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.admin-body {
  background: #f7f1ea;
}

.admin-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px clamp(14px, 4vw, 42px) 64px;
}

.login-screen {
  display: grid;
  min-height: 72vh;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(100%, 420px);
  padding: 28px;
}

.hidden {
  display: none !important;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  margin: 24px 0;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-tab {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--coffee);
  cursor: pointer;
  font-weight: 800;
}

.admin-tab.active {
  background: var(--ink);
  color: #fffaf5;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.admin-card {
  padding: 18px;
}

.dashboard-view {
  display: grid;
  gap: 16px;
}

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

.cash-stack {
  display: grid;
  gap: 16px;
}

.cash-result {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  border-radius: 18px;
  padding: 14px;
  background: #fffaf5;
  color: var(--coffee);
  font-weight: 800;
}

.cash-result strong {
  color: var(--ink);
  font-size: 1.1rem;
}

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

.stat-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  align-content: end;
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at 92% 12%, rgba(226, 169, 153, 0.42), transparent 34%),
    linear-gradient(135deg, #fff, #f6eee9);
  box-shadow: 0 18px 44px rgba(72, 46, 38, 0.08);
}

.stat-card span,
.mini-appointment span,
.mini-appointment em {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.stat-card strong {
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1;
}

.mini-appointment {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f0e4dd;
  padding: 12px 0;
}

.mini-appointment:last-child {
  border-bottom: 0;
}

.mini-appointment div {
  display: grid;
  gap: 3px;
}

.mini-appointment em {
  font-style: normal;
}

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

.calendar-cell {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfb;
  padding: 9px;
}

.calendar-cell.muted {
  opacity: 0.48;
}

.calendar-day {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.calendar-dot {
  display: block;
  margin-top: 6px;
  border-radius: 999px;
  background: #f0e4da;
  padding: 4px 7px;
  color: var(--coffee);
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appointments-list,
.services-list,
.blocks-list {
  display: grid;
  gap: 10px;
  max-height: 640px;
  overflow: auto;
}

.appointment-item,
.service-row,
.block-row {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfb;
  padding: 12px;
}

.appointment-head,
.row-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-service-head,
.admin-image-upload {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-image-upload.stacked {
  align-items: stretch;
  flex-direction: column;
}

.admin-service-thumb,
.admin-image-preview {
  flex: 0 0 auto;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(109, 64, 56, 0.42), rgba(239, 208, 196, 0.62)),
    #ead8ca;
  background-position: center;
  background-size: cover;
}

.admin-service-thumb {
  width: 72px;
  height: 56px;
}

.admin-image-preview {
  display: grid;
  width: 150px;
  height: 110px;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.admin-image-preview.wide {
  width: 100%;
}

.admin-image-upload small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.site-images-grid .admin-image-upload:last-child {
  grid-column: 1 / -1;
}

.status {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status.pending {
  background: #f2e7de;
  color: var(--coffee);
}

.status.confirmed {
  background: #e3ecdf;
  color: var(--success);
}

.status.cancelled {
  background: #efe1df;
  color: var(--danger);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(25, 21, 19, 0.42);
}

.modal-panel {
  width: min(100%, 760px);
  max-height: 92vh;
  overflow: auto;
  padding: 24px;
}

.modal-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #eaded5;
  border-radius: 50%;
  background: #171111;
  color: #fffaf5;
  cursor: pointer;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.admin-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 36px));
  border-radius: 999px;
  padding: 14px 18px;
  background: #171111;
  color: #fffaf5;
  box-shadow: 0 18px 54px rgba(25, 21, 19, 0.24);
  font-weight: 900;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero,
  .booking-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

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

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

@media (max-width: 640px) {
  .site-header,
  .admin-header {
    padding: 12px 16px;
  }

  .services-grid,
  .form-grid,
  .care-list,
  .contact-grid,
  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .site-footer,
  .appointment-head,
  .row-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .calendar-cell {
    min-width: 170px;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Editorial beauty skin inspired by the provided reference */
:root {
  --bg: #edc2b6;
  --page: #fffaf7;
  --panel: #fffaf7;
  --nude: #e7beb2;
  --blush: #d99583;
  --rose: #b97868;
  --champagne: #efded2;
  --gold: #9d6d5d;
  --coffee: #6f4339;
  --ink: #181313;
  --muted: #77615b;
  --line: #eadbd4;
  --shadow: 0 30px 80px rgba(90, 50, 42, 0.18);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

body {
  min-height: 100vh;
  padding: clamp(14px, 3vw, 46px);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.68), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(255, 238, 231, 0.68), transparent 24%),
    linear-gradient(135deg, #f5d9ce 0%, #e6ad9f 48%, #d79a8b 100%);
  color: var(--ink);
}

.site-shell {
  position: relative;
  width: min(100%, 1120px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: var(--page);
  box-shadow: 0 40px 110px rgba(80, 42, 34, 0.24);
}

.site-header {
  position: absolute;
  top: 22px;
  right: 28px;
  left: 28px;
  z-index: 40;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(92, 55, 48, 0.36);
  color: #fff;
  backdrop-filter: blur(18px);
  padding: 10px 14px;
}

.brand {
  min-width: 170px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
}

.main-nav {
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.main-nav a,
.ghost-link {
  border-radius: 999px;
  padding: 8px 15px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
}

.main-nav a:first-child {
  background: #fff;
  color: #221816;
}

.ghost-link {
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.section,
.section-band {
  padding: clamp(42px, 6vw, 76px) clamp(28px, 5vw, 42px);
}

.hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  min-height: 680px;
  border-radius: 0 0 18px 18px;
  background:
    linear-gradient(90deg, rgba(74, 43, 37, 0.78), rgba(124, 76, 66, 0.48) 46%, rgba(194, 130, 113, 0.34)),
    radial-gradient(circle at 72% 42%, rgba(255, 236, 226, 0.34), transparent 32%),
    linear-gradient(135deg, #7b5148 0%, #b98778 50%, #e3b4a7 100%);
  color: #fff;
  padding-top: 128px;
}

.hero::before {
  inset: auto -8% -20% auto;
  width: 54%;
  height: 70%;
  min-width: 420px;
  min-height: 420px;
  background: radial-gradient(circle, rgba(255, 235, 224, 0.72), rgba(209, 143, 125, 0.18) 54%, transparent 72%);
}

.hero-content {
  max-width: 470px;
}

.eyebrow {
  color: inherit;
  opacity: 0.72;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
}

h1,
h2 {
  font-family: inherit;
  font-weight: 900;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 580px;
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  line-height: 0.93;
}

h2 {
  max-width: 680px;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 0.96;
}

.hero-phrase {
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.78);
  max-width: 420px;
  font-size: 0.92rem;
}

.hero .btn.primary {
  background: #fff;
  color: #1b1311;
}

.hero .btn.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.hero-visual {
  min-height: 510px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-visual::before,
.hero-visual::after {
  display: none;
}

.hero-portrait {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: min(76%, 470px);
  height: 94%;
  border-radius: 48% 48% 18px 18px;
  background:
    linear-gradient(160deg, rgba(41, 24, 21, 0.08), rgba(41, 24, 21, 0.24)),
    url("/assets/images/hero.jpg"),
    radial-gradient(circle at 55% 22%, #19110f 0 16%, transparent 17%),
    radial-gradient(circle at 53% 27%, #251713 0 23%, transparent 24%),
    radial-gradient(circle at 54% 46%, #8f5242 0 16%, #bd7961 17% 28%, transparent 29%),
    linear-gradient(160deg, transparent 0 30%, rgba(59, 32, 27, 0.25) 31% 100%),
    linear-gradient(145deg, #e9b9a9, #9d5f4f 54%, #5c342d);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 -60px 90px rgba(55, 30, 27, 0.24), 0 28px 80px rgba(47, 25, 22, 0.24);
}

.hero-portrait::before {
  position: absolute;
  content: "";
  top: 28%;
  right: 21%;
  width: 25%;
  height: 6px;
  border-radius: 999px;
  background: rgba(25, 19, 18, 0.72);
  box-shadow: -38px 5px 0 rgba(255, 228, 216, 0.5), -8px 38px 0 -2px rgba(255, 229, 218, 0.48);
  transform: rotate(-10deg);
}

.hero-mini-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 4px;
  min-width: 150px;
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 42px rgba(58, 33, 29, 0.18);
}

.hero-mini-card span {
  font-size: 0.68rem;
  opacity: 0.72;
}

.hero-mini-card strong {
  font-size: 0.98rem;
}

.mini-one {
  left: 0;
  bottom: 178px;
}

.mini-two {
  right: 0;
  bottom: 122px;
}

.hero-service-strip {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-service-strip span {
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.editorial-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 28px;
}

.editorial-copy .lead {
  max-width: 430px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.image-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 18px;
  background: #e8c7b7;
  box-shadow: 0 18px 42px rgba(83, 47, 39, 0.12);
}

.image-tile span,
.image-tile strong {
  position: relative;
  z-index: 2;
}

.image-tile span {
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
}

.image-tile.wide {
  grid-column: 1 / -1;
  min-height: 170px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
}

.image-tile.wide strong {
  display: block;
  max-width: 320px;
  font-size: 1.35rem;
  line-height: 1;
}

.tile-facial {
  background:
    linear-gradient(180deg, rgba(48, 26, 23, 0.08), rgba(48, 26, 23, 0.26)),
    url("/assets/images/services/site-facial.jpg"),
    radial-gradient(circle at 48% 40%, rgba(255, 235, 220, 0.74) 0 14%, transparent 15%),
    linear-gradient(135deg, #6f4339 0%, #be806f 48%, #efd0bd 100%);
  background-position: center;
  background-size: cover;
}

.tile-texture {
  background:
    url("/assets/images/services/site-texture.jpg"),
    repeating-radial-gradient(ellipse at 40% 50%, rgba(255, 255, 255, 0.76) 0 9px, rgba(228, 196, 178, 0.7) 10px 20px),
    linear-gradient(135deg, #ead4c7, #bd8876);
  background-position: center;
  background-size: cover;
}

.tile-studio {
  background:
    linear-gradient(90deg, rgba(26, 18, 16, 0.52), rgba(26, 18, 16, 0.08)),
    url("/assets/images/services/site-studio.jpg"),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 18px, transparent 18px 54px),
    linear-gradient(135deg, #8a5d51, #e8c6b8);
  background-position: center;
  background-size: cover;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.pill {
  border-color: #dbc9c1;
  background: #fff;
  color: #5b4742;
  box-shadow: 0 8px 20px rgba(88, 54, 45, 0.04);
}

.pill.active {
  border-color: #171111;
  background: #171111;
  color: #fff;
}

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

.service-card {
  min-height: 310px;
  padding: 10px;
  border: 0;
  border-radius: 18px;
  background: #fff;
}

.service-card > div:not(.service-thumb) {
  padding: 12px 8px 2px;
}

.service-thumb {
  min-height: 150px;
  border-radius: 14px;
  background: #e8c7b7;
}

.visual-lashes {
  background:
    linear-gradient(180deg, rgba(35, 20, 18, 0.04), rgba(35, 20, 18, 0.18)),
    var(--service-image),
    url("/assets/images/lashes.jpg"),
    radial-gradient(circle at 56% 38%, rgba(255, 234, 224, 0.78) 0 16%, transparent 17%),
    linear-gradient(135deg, #2a1c19, #b36f5d 55%, #eec5b2);
  background-position: center;
  background-size: cover;
}

.visual-brows {
  background:
    linear-gradient(180deg, rgba(35, 20, 18, 0.04), rgba(35, 20, 18, 0.18)),
    var(--service-image),
    url("/assets/images/brows.jpg"),
    radial-gradient(ellipse at 58% 44%, #191211 0 12%, transparent 13%),
    radial-gradient(ellipse at 42% 40%, rgba(255, 235, 224, 0.78) 0 16%, transparent 17%),
    linear-gradient(135deg, #c98b7b, #f1d6ca);
  background-position: center;
  background-size: cover;
}

.visual-facial {
  background:
    linear-gradient(180deg, rgba(35, 20, 18, 0.04), rgba(35, 20, 18, 0.18)),
    var(--service-image),
    url("/assets/images/facial.jpg"),
    radial-gradient(circle at 40% 42%, rgba(255, 248, 242, 0.86) 0 20%, transparent 21%),
    linear-gradient(135deg, #72473d, #d79a88 58%, #f2ded4);
  background-position: center;
  background-size: cover;
}

.visual-permanent {
  background:
    linear-gradient(180deg, rgba(35, 20, 18, 0.04), rgba(35, 20, 18, 0.18)),
    var(--service-image),
    url("/assets/images/permanent.jpg"),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.42) 0 12px, transparent 12px 28px),
    linear-gradient(135deg, #6d4038, #c98776 58%, #efd0c4);
  background-position: center;
  background-size: cover;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1;
}

.service-card p {
  font-size: 0.84rem;
}

.service-footer {
  padding: 10px 8px 6px;
}

.booking-section {
  margin: 0 clamp(18px, 4vw, 42px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 18%, rgba(226, 169, 153, 0.32), transparent 28%),
    #f8eee9;
}

.booking-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 12px 18px;
  background: #171111;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
}

.booking-form,
.deposit-box,
.contact-card,
.login-card,
.admin-card,
.modal-panel {
  border: 0;
  border-radius: 18px;
  background: #fff;
}

input,
select,
textarea {
  border-color: #e2d4cd;
  border-radius: 999px;
  background: #fff;
}

textarea {
  border-radius: 18px;
}

.slot {
  border-radius: 14px;
  background: #fff;
}

.care-list li,
.contact-card {
  border: 0;
  border-radius: 18px;
  background: #fff;
}

.care-list li {
  min-height: 84px;
  display: flex;
  align-items: center;
}

.site-footer {
  padding: 34px clamp(28px, 5vw, 42px);
  background: #f7eee9;
}

@media (max-width: 980px) {
  body {
    padding: 0;
  }

  .site-shell {
    border-radius: 0;
  }

  .site-header {
    position: sticky;
    top: 0;
    right: auto;
    left: auto;
    border-radius: 0;
    background: rgba(92, 55, 48, 0.84);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 76px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .editorial-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand {
    min-width: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-portrait {
    right: 0;
    width: 84%;
  }

  .mini-one,
  .mini-two {
    left: 0;
    right: auto;
  }

  .mini-two {
    bottom: 118px;
    left: 150px;
  }

  .hero-service-strip {
    bottom: 24px;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .editorial-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .booking-section {
    margin: 0;
    border-radius: 0;
  }
}

/* Stronger reference match: visible typography and layout shift */
body,
button,
input,
select,
textarea {
  font-family: "Plus Jakarta Sans", "Trebuchet MS", Arial, sans-serif;
}

h1,
h2,
.brand,
.service-card h3,
.visual-card strong,
.image-tile.wide strong {
  font-family: "Space Grotesk", "Plus Jakarta Sans", "Trebuchet MS", sans-serif;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 5.45rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.65rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.site-shell {
  border-radius: 28px;
}

.hero {
  min-height: 705px;
  border-radius: 0 0 30px 30px;
  background:
    linear-gradient(90deg, rgba(63, 37, 32, 0.82), rgba(126, 75, 65, 0.48) 45%, rgba(218, 151, 131, 0.22)),
    radial-gradient(circle at 72% 42%, rgba(255, 236, 226, 0.42), transparent 34%),
    linear-gradient(135deg, #6d493f 0%, #b57a6d 52%, #efc0b2 100%);
}

.hero-content {
  max-width: 540px;
  padding-left: clamp(0px, 1.4vw, 18px);
}

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

.hero-mini-card {
  border-radius: 24px;
}

.hero-service-strip span {
  border-radius: 14px;
  padding: 11px 16px;
}

.editorial-section {
  gap: 34px;
  padding-top: 62px;
  padding-bottom: 28px;
}

.services-section {
  padding-top: 34px;
}

.image-tile,
.service-card,
.booking-form,
.deposit-box,
.contact-card,
.login-card,
.admin-card,
.modal-panel {
  border-radius: 24px;
}

.service-card {
  min-height: 342px;
  padding: 12px;
}

.service-thumb {
  min-height: 170px;
  border-radius: 20px;
}

.service-card .service-thumb {
  background-position: center;
  background-size: cover;
}

.service-card h3 {
  font-size: 1.26rem;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.services-grid {
  gap: 18px;
}

.booking-section {
  border-radius: 30px;
}

.image-tile.wide.tile-studio {
  min-height: 138px;
}

@media (max-width: 980px) {
  .site-shell {
    border-radius: 0;
  }
}

/* Wider desktop canvas: keep the editorial card, but avoid empty sides on large monitors */
@media (min-width: 1100px) {
  body {
    padding: 18px 24px;
  }

  .site-shell {
    width: min(calc(100vw - 48px), 1560px);
    max-width: none;
  }

  .hero {
    grid-template-columns: minmax(480px, 0.92fr) minmax(520px, 1.08fr);
    padding-right: clamp(42px, 5vw, 82px);
    padding-left: clamp(42px, 5vw, 82px);
  }

  .section,
  .section-band {
    padding-right: clamp(42px, 5vw, 82px);
    padding-left: clamp(42px, 5vw, 82px);
  }

  .booking-section {
    margin-right: clamp(42px, 5vw, 82px);
    margin-left: clamp(42px, 5vw, 82px);
  }
}

/* Booking polish: keep the form complete on medium browser windows */
.booking-layout {
  align-items: start;
}

.booking-form,
.deposit-box {
  min-width: 0;
}

.slots-preview {
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

.booking-form .btn.full {
  min-height: 56px;
}

@media (max-width: 1260px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .deposit-box {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .booking-form {
    padding: 18px;
  }

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

  .booking-form input,
  .booking-form select,
  .booking-form textarea {
    min-width: 0;
    min-height: 48px;
  }

  #bookingDate {
    width: 100%;
    max-width: 100%;
  }

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

  .slot {
    min-height: 62px;
    padding: 10px;
  }
}

.form-label {
  margin: 0 0 8px;
  color: var(--coffee);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.permission-item {
  min-height: 58px;
  border: 1px solid #e2d4cd;
  border-radius: 18px;
  padding: 12px;
  background: #fffaf5;
  color: var(--ink);
  font-size: 0.86rem;
}

.permission-item span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.permission-item input {
  width: auto;
}

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

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

@media (max-width: 480px) {
  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .mini-appointment {
    display: grid;
  }
}

/* Admin MVP shell */
.mvp-admin {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #f4f7fb;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  height: 100vh;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  border-right: 1px solid #dce4ef;
  padding: 24px 18px;
  background: #fff;
}

.sidebar-brand {
  justify-content: flex-start;
}

.admin-sidebar > p {
  margin: 0;
  color: #5f6d82;
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-sidebar .admin-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0;
}

.admin-sidebar .admin-tab {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 13px 14px;
  background: transparent;
  color: #26344b;
  text-align: left;
  font-weight: 900;
}

.admin-sidebar .admin-tab.active,
.admin-sidebar .admin-tab.cash-nav.active {
  background: #171111;
  color: #fff;
}

.admin-sidebar .admin-tab.cash-nav {
  background: #fff0f0;
  color: #bd1f2d;
}

.sidebar-exit {
  display: flex;
  justify-content: center;
  border: 1px solid #d8e0ea;
  border-radius: 14px;
  padding: 12px;
  color: #26344b;
  font-weight: 900;
}

.admin-workspace {
  min-width: 0;
  padding: 28px clamp(18px, 4vw, 42px) 54px;
}

.mvp-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.mvp-topbar h2 {
  max-width: 980px;
  margin: 0;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.mvp-admin .admin-toolbar {
  grid-template-columns: minmax(180px, 1fr) auto auto auto;
  align-items: center;
  margin: 0;
}

.mvp-admin .admin-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}

.cash-module {
  display: grid;
  gap: 16px;
}

.cash-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.cash-header h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2.2rem);
}

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

.cash-module .dashboard-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mvp-admin .admin-card,
.mvp-admin .login-card,
.mvp-admin .modal-panel {
  border: 1px solid #dce4ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(26, 39, 62, 0.06);
}

.mvp-admin .appointments-list,
.mvp-admin .services-list,
.mvp-admin .blocks-list {
  max-height: none;
}

@media (max-width: 1120px) {
  .mvp-admin {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

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

  .mvp-admin .admin-toolbar,
  .mvp-admin .admin-grid,
  .site-images-grid,
  .cash-grid,
  .cash-module .dashboard-stats {
    grid-template-columns: 1fr;
  }
}
