:root {
  --rose-950: #641f47;
  --rose-800: #9f356e;
  --rose-700: #c64f88;
  --rose-600: #df6fa3;
  --rose-500: #eb8db7;
  --rose-300: #f5bad3;
  --rose-200: #fad3e4;
  --rose-100: #fff0f7;
  --gold-700: #95661e;
  --gold-500: #d4a84f;
  --gold-300: #f0d89d;
  --ink: #24131d;
  --muted: #806b76;
  --cream: #fffafd;
  --white: #ffffff;
  --border: rgba(159, 53, 110, .13);
  --shadow: 0 18px 55px rgba(159, 53, 110, .14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); background: #f5eaf0; color: var(--ink); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { width: min(100%, 1220px); min-height: 100vh; margin: 0 auto; background: var(--cream); overflow: hidden; position: relative; }
.topbar { height: 72px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,250,248,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
.brand { color: var(--rose-950); text-decoration: none; display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; }
.brand b { font-style: italic; color: var(--rose-700); }
.brand-mark, .pwa-icon { width: 38px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 12px; letter-spacing: .08em; color: var(--rose-950); border: 1px solid var(--gold-500); background: linear-gradient(135deg, #ffd9ea, #f2d89b); }
.ghost-button { border: 1px solid var(--border); color: var(--rose-800); background: var(--white); border-radius: 999px; padding: 9px 13px; display: flex; gap: 7px; align-items: center; font-size: 13px; font-weight: 700; }
.hero { padding: 12px; }
.hero-image-wrap { min-height: 610px; border-radius: 28px; overflow: hidden; position: relative; background: var(--rose-200); }
.hero-image { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 64% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(100,31,71,.01) 20%, rgba(100,31,71,.06) 45%, rgba(100,31,71,.82) 100%); }
.eyebrow { font-size: 10px; letter-spacing: .18em; font-weight: 800; color: var(--rose-700); }
.hero-eyebrow { position: absolute; top: 26px; left: 22px; color: var(--rose-950); padding: 8px 11px; border-radius: 999px; background: rgba(255,250,248,.76); backdrop-filter: blur(8px); }
.hero-copy { color: var(--white); position: absolute; z-index: 2; left: 23px; right: 23px; bottom: 28px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .dashboard-head h1 { font: 600 clamp(48px, 13vw, 72px)/.95 var(--serif); letter-spacing: -.045em; margin-bottom: 18px; }
.hero h1 em, .dashboard-head h1 em, .success-modal h2 em { color: var(--gold-300); font-weight: 600; }
.hero-copy p { max-width: 480px; color: rgba(255,255,255,.83); line-height: 1.55; font-size: 15px; margin-bottom: 23px; }
.primary-button, .secondary-button { min-height: 52px; border: 0; border-radius: 15px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; font-weight: 800; }
.primary-button { color: var(--rose-950); background: linear-gradient(135deg, #f0d79f, #c59a4f); box-shadow: 0 12px 25px rgba(197,154,79,.22); }
.primary-button span { font-size: 20px; }
.primary-button.full { width: 100%; margin-top: 18px; }
.secondary-button { color: var(--rose-800); background: var(--rose-100); }
.trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.trust-row > div { display: flex; align-items: center; gap: 9px; padding: 13px; border: 1px solid var(--border); background: var(--white); border-radius: 16px; }
.trust-row > div > span { color: var(--gold-700); font-weight: 800; }
.trust-row p { margin: 0; display: grid; font-size: 11px; line-height: 1.25; }
.trust-row small { color: var(--muted); margin-top: 3px; }
.section, .booking-section { padding: 76px 18px 28px; }
.section h2, .booking-heading h2, .section-line h2 { font: 600 clamp(38px, 10vw, 56px)/1 var(--serif); letter-spacing: -.035em; color: var(--rose-950); margin: 8px 0 14px; }
.section-copy { color: var(--muted); line-height: 1.6; max-width: 520px; }
.service-showcase { display: grid; grid-template-columns: 1.18fr .82fr; gap: 10px; margin-top: 24px; }
.showcase-card { height: 330px; border-radius: 22px; overflow: hidden; position: relative; }
.showcase-card img { width: 100%; height: 100%; object-fit: cover; }
.showcase-card-wide img { object-position: center 20%; }
.showcase-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(100,31,71,.72), transparent 58%); }
.showcase-card div { position: absolute; left: 16px; right: 13px; bottom: 14px; color: var(--white); z-index: 2; }
.showcase-card span { font-size: 9px; letter-spacing: .16em; color: var(--gold-300); font-weight: 800; }
.showcase-card h3 { font: 600 20px/1.1 var(--serif); margin: 5px 0 0; }
.booking-section { background: linear-gradient(180deg, var(--cream), var(--rose-100)); }
.booking-heading { text-align: center; }
.stepper { max-width: 390px; margin: 25px auto 16px; display: flex; align-items: center; }
.stepper .step { width: 28px; aspect-ratio: 1; border: 1px solid var(--rose-300); border-radius: 50%; display: grid; place-items: center; color: var(--rose-700); font-size: 11px; font-weight: 800; background: var(--cream); }
.stepper .step.active { background: var(--rose-700); color: var(--white); border-color: var(--rose-700); box-shadow: 0 0 0 5px var(--rose-200); }
.stepper i { flex: 1; height: 1px; background: var(--rose-300); }
.booking-card { max-width: 680px; margin: 0 auto; background: rgba(255,255,255,.9); border: 1px solid rgba(223,111,163,.2); border-radius: 25px; padding: 20px 16px; box-shadow: var(--shadow); }
.form-step { display: none; }
.form-step.active { display: block; animation: stepIn .28s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } }
.step-title { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.step-title > span { width: 34px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--rose-100); color: var(--rose-700); font-size: 10px; font-weight: 800; }
.step-title h3 { margin: 0; font: 600 27px/1.05 var(--serif); color: var(--rose-950); }
.step-title p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.choice-list { display: grid; gap: 10px; }
.choice-card { position: relative; display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--border); border-radius: 17px; padding: 13px; cursor: pointer; background: var(--white); }
.choice-card.selected { border-color: var(--gold-500); background: linear-gradient(120deg, var(--white), #fffaf0); box-shadow: 0 8px 24px rgba(141,100,40,.09); }
.choice-card input { position: absolute; opacity: 0; }
.choice-icon { width: 40px; aspect-ratio: 1; border-radius: 13px; display: grid; place-items: center; color: var(--rose-800); background: var(--rose-100); }
.choice-info { display: grid; gap: 3px; }
.choice-info b { color: var(--rose-950); font-size: 14px; }
.choice-info small { color: var(--muted); font-size: 10px; }
.choice-info em { color: var(--gold-700); font-size: 10px; font-style: normal; font-weight: 700; }
.choice-card strong { font-size: 13px; color: var(--rose-800); }
.month-line { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 15px; color: var(--rose-950); }
.month-line button { border: 0; background: var(--rose-100); color: var(--rose-800); border-radius: 10px; width: 34px; height: 34px; }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; gap: 5px; }
.calendar > span { color: var(--muted); font-size: 9px; font-weight: 800; padding-bottom: 5px; }
.calendar button { border: 0; background: transparent; min-height: 38px; color: var(--ink); border-radius: 11px; font-size: 12px; }
.calendar button:disabled { opacity: .25; }
.calendar button.today { box-shadow: inset 0 0 0 1px var(--rose-300); }
.calendar button.selected, .time-grid button.selected { color: var(--white); background: var(--rose-700); box-shadow: 0 7px 16px rgba(152,72,95,.25); }
.time-label { display: flex; justify-content: space-between; font-size: 12px; margin: 24px 0 12px; }
.time-label span { color: var(--rose-700); }
.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.time-grid button { height: 43px; border: 1px solid var(--border); color: var(--rose-800); background: var(--white); border-radius: 11px; font-size: 12px; font-weight: 700; }
.button-pair { display: grid; grid-template-columns: .7fr 1.3fr; gap: 9px; margin-top: 22px; }
.field { display: grid; gap: 7px; margin-bottom: 15px; color: var(--rose-950); font-size: 12px; font-weight: 700; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; border: 1px solid var(--border); background: var(--white); border-radius: 13px; padding: 14px; color: var(--ink); outline: none; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--rose-500); box-shadow: 0 0 0 4px var(--rose-100); }
.phone-field { display: grid; grid-template-columns: auto 1fr; align-items: center; border: 1px solid var(--border); border-radius: 13px; background: var(--white); }
.phone-field b { padding: 0 12px; border-right: 1px solid var(--border); color: var(--rose-700); }
.phone-field input { border: 0; box-shadow: none !important; }
.consent { display: flex; gap: 9px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.consent input { accent-color: var(--rose-700); }
.summary-card { border: 1px solid var(--border); border-radius: 17px; overflow: hidden; }
.summary-card > div { padding: 13px; display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--border); font-size: 12px; }
.summary-card > div:last-child { border: 0; }
.summary-card span { color: var(--muted); }
.summary-card b { color: var(--rose-950); text-align: right; }
.studio-note { display: flex; gap: 11px; align-items: center; padding: 15px; margin-top: 11px; border-radius: 15px; background: var(--rose-100); }
.studio-note > span { color: var(--gold-700); font-size: 20px; }
.studio-note p { margin: 0; display: grid; }
.studio-note small { color: var(--muted); margin-top: 3px; }
.pwa-card { margin: 30px 18px 120px; padding: 19px; border-radius: 21px; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; background: var(--rose-950); color: var(--white); }
.pwa-card .pwa-icon { width: 48px; }
.pwa-card .eyebrow { color: var(--gold-300); }
.pwa-card h3 { margin: 4px 0; font-family: var(--serif); }
.pwa-card p { margin: 0; color: rgba(255,255,255,.62); font-size: 10px; }
.pwa-card button { border: 1px solid rgba(255,255,255,.2); color: var(--rose-950); background: var(--gold-300); padding: 9px 12px; border-radius: 11px; font-size: 11px; font-weight: 800; }
.mobile-nav { position: fixed; z-index: 35; bottom: 12px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 24px), 430px); padding: 8px; display: grid; grid-template-columns: repeat(3, 1fr); background: linear-gradient(135deg, rgba(198,79,136,.96), rgba(159,53,110,.96)); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; box-shadow: 0 16px 45px rgba(159,53,110,.28); }
.mobile-nav button { border: 0; background: transparent; color: rgba(255,255,255,.57); display: grid; gap: 3px; place-items: center; padding: 7px; font-size: 9px; border-radius: 13px; }
.mobile-nav button span { font-size: 18px; }
.mobile-nav button.active { background: rgba(255,255,255,.1); color: var(--gold-300); }

/* Owner dashboard */
#ownerView { padding-bottom: 120px; background: linear-gradient(155deg, #fffafd 0, #ffe9f3 60%, #f8cddd 100%); min-height: calc(100vh - 72px); }
.dashboard-head { padding: 38px 20px 18px; display: flex; justify-content: space-between; align-items: flex-start; }
.dashboard-head h1 { color: var(--rose-950); font-size: 52px; margin: 8px 0 9px; }
.dashboard-head h1 em { color: var(--rose-600); }
.dashboard-head p { color: var(--muted); font-size: 12px; }
.avatar { width: 44px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold-500); color: var(--rose-950); background: linear-gradient(135deg, var(--rose-200), var(--gold-300)); font-weight: 800; }
.metrics-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 10px; padding: 0 18px 24px; }
.metric { min-height: 155px; border-radius: 21px; padding: 17px; display: flex; flex-direction: column; background: rgba(255,255,255,.75); border: 1px solid var(--border); }
.metric.featured { color: var(--white); background: linear-gradient(150deg, var(--rose-600), var(--rose-800)); }
.metric span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.metric strong { font: 600 52px/1 var(--serif); margin-top: 9px; }
.metric small { opacity: .72; }
.metric i { margin-top: auto; color: var(--gold-300); font-size: 10px; font-style: normal; }
.metric:not(.featured) i { color: var(--rose-700); }
.dashboard-section { padding: 10px 18px 20px; }
.section-line { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.section-line h2 { font-size: 32px; margin-bottom: 0; }
.section-line button, .alert-card button { border: 0; color: var(--rose-700); background: transparent; font-size: 10px; font-weight: 800; }
.appointment-list { display: grid; gap: 8px; margin-top: 17px; }
.appointment { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.84); border: 1px solid var(--border); position: relative; overflow: hidden; }
.appointment.active::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--gold-500); }
.appointment time { color: var(--rose-800); font-weight: 800; font-size: 12px; }
.appointment div { display: grid; gap: 3px; }
.appointment b { font-size: 12px; color: var(--rose-950); }
.appointment span { color: var(--muted); font-size: 9px; }
.appointment i { border-radius: 999px; padding: 5px 7px; color: var(--rose-700); background: var(--rose-100); font-size: 8px; font-style: normal; font-weight: 700; }
.appointment.done { opacity: .55; }
.alert-card { margin: 0 18px; padding: 17px; border-radius: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; background: #fff8e9; border: 1px solid #ead5a9; }
.alert-card > span { color: var(--gold-700); font-size: 24px; }
.alert-card b { font-size: 12px; }
.alert-card p { color: var(--muted); margin: 4px 0 0; font-size: 9px; }
.fab { position: fixed; bottom: 100px; right: max(22px, calc((100vw - 1180px) / 2)); width: 54px; aspect-ratio: 1; border: 0; border-radius: 50%; color: var(--rose-950); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); font-size: 28px; box-shadow: 0 15px 25px rgba(141,100,40,.28); }

/* Success */
.success-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: end center; padding: 12px; background: rgba(24,18,20,.62); backdrop-filter: blur(8px); }
.success-overlay[hidden] { display: none; }
.success-modal { width: min(100%, 480px); border-radius: 27px; padding: 28px 20px 24px; background: var(--cream); text-align: center; position: relative; animation: modalUp .35s ease both; }
@keyframes modalUp { from { opacity: 0; transform: translateY(35px); } }
.close-modal { position: absolute; top: 13px; right: 13px; width: 34px; aspect-ratio: 1; border: 0; border-radius: 50%; color: var(--rose-700); background: var(--rose-100); font-size: 20px; }
.success-icon { width: 60px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; margin: 4px auto 17px; color: var(--rose-950); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); font-size: 25px; box-shadow: 0 0 0 9px #f8edd3; }
.success-modal h2 { font: 600 36px/1 var(--serif); color: var(--rose-950); margin: 7px 0 12px; }
.success-modal h2 em { color: var(--rose-600); }
.success-modal > p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.ticket { display: grid; gap: 5px; margin: 18px 0; padding: 17px; border: 1px dashed var(--gold-500); border-radius: 16px; color: var(--rose-950); background: #fffaf0; }
.ticket span { color: var(--rose-700); font-size: 12px; }
.ticket small { color: var(--muted); }
.whatsapp-button { width: 100%; min-height: 50px; border: 0; border-radius: 14px; color: white; background: #207e4f; font-weight: 800; }
.reminder-copy { display: block; color: var(--muted); margin-top: 11px; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 104px; transform: translate(-50%, 20px); width: min(calc(100% - 30px), 380px); padding: 13px 16px; border-radius: 13px; color: var(--white); background: var(--rose-950); text-align: center; font-size: 11px; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 780px) {
  .topbar { padding-inline: 42px; }
  .hero { padding: 20px 30px; }
  .hero-image-wrap { min-height: 690px; }
  .hero-copy { left: 54px; bottom: 55px; }
  .hero-eyebrow { left: 54px; top: 44px; }
  .hero-image { object-position: 72% center; }
  .hero h1 { font-size: 78px; }
  .trust-row { width: 600px; margin: -38px 0 0 50px; position: relative; z-index: 4; }
  .intro-section { padding-inline: 62px; }
  .service-showcase { grid-template-columns: 1.35fr .65fr; }
  .showcase-card { height: 520px; }
  .booking-section { padding: 95px 40px 70px; }
  .booking-card { padding: 30px; }
  .pwa-card { max-width: 780px; margin-inline: auto; }
  .success-overlay { place-items: center; }
  .dashboard-head, .metrics-grid, .dashboard-section, .alert-card { max-width: 920px; margin-left: auto; margin-right: auto; }
  .dashboard-head { padding-top: 60px; }
  .dashboard-head h1 { font-size: 68px; }
}

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