:root {
  --wine: #4A1F35;
  --wine-dark: #2E1322;
  --wine-light: #F1E4EA;
  --rose-plum: #7A3548;
  --rose-gold: #AA6B70;
  --gold: #D4A017;
  --gold-light: #F6E7BE;
  --emerald: #1E8A6E;
  --ink: #1B1F1E;
  --ink-soft: #5B6663;
  --paper: #FAF9F6;
  --paper-raised: #FFFFFF;
  --rule: #E4E1D8;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: var(--wine); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site-header {
  background: linear-gradient(135deg, var(--wine) 0%, var(--rose-plum) 55%, var(--rose-gold) 100%);
  color: #fff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}

header.site-header.is-scrolled {
  padding: 14px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

header.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

nav.site-nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  margin-left: 28px;
  font-size: 14px;
  font-weight: 600;
}

nav.site-nav a:hover { color: #fff; }

nav.site-nav a.active { color: #fff; }

.hero {
  background: linear-gradient(135deg, var(--wine) 0%, var(--rose-plum) 55%, var(--rose-gold) 100%);
  color: #fff;
  padding: 72px 0 96px;
  text-align: center;
}

.hero h1 {
  font-size: 44px;
  max-width: 700px;
  margin: 0 auto 16px;
  color: #fff;
}

.hero p {
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,0.9);
}

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
}

section {
  padding: 64px 0;
}

section.alt {
  background: var(--paper-raised);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

section h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 8px;
}

section .lede {
  text-align: center;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 48px;
}

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

.card {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
}

.card .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.card p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}

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

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

/* ---- Animated showcase mockups (customers: phone, owners: dashboard) ---- */

.showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 32px;
}

.showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, var(--wine-light) 0%, rgba(241, 228, 234, 0) 72%);
  z-index: 0;
}

.showcase > * {
  position: relative;
  z-index: 1;
}

/* Phone mockup */

.phone-frame {
  position: relative;
  width: 270px;
  height: 547px;
  background: var(--wine-dark);
  border-radius: 34px;
  padding: 12px;
  box-shadow: 0 24px 48px rgba(46, 19, 34, 0.28);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 16px;
  background: var(--wine-dark);
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.phone-screen-area {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
}

.phone-screen {
  position: absolute;
  inset: 0;
  padding: 26px 16px 16px;
  opacity: 0;
  animation: phoneCycle 9s infinite;
}

.phone-screen:nth-child(1) { animation-delay: 0s; }
.phone-screen:nth-child(2) { animation-delay: 3s; }
.phone-screen:nth-child(3) { animation-delay: 6s; }

@keyframes phoneCycle {
  0% { opacity: 0; transform: translateY(8px); }
  4% { opacity: 1; transform: translateY(0); }
  29% { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; }
}

.mock-toplabel {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--wine);
  margin-bottom: 14px;
}

.mock-salon-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
}

.mock-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wine-light);
  flex-shrink: 0;
}

.mock-line {
  height: 8px;
  border-radius: 4px;
  background: var(--rose-gold);
  margin-bottom: 6px;
}

.mock-line-soft { background: var(--rule); }
.mock-line-w30 { width: 30%; }
.mock-line-w35 { width: 35%; }
.mock-line-w40 { width: 40%; }
.mock-line-w50 { width: 50%; }
.mock-line-w55 { width: 55%; }
.mock-line-w60 { width: 60%; }
.mock-line-center { margin-left: auto; margin-right: auto; }

.mock-salon-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.mock-salon-sub {
  font-size: 11px;
  color: var(--ink-soft);
}

.mock-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.mock-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.mock-slot {
  text-align: center;
  padding: 10px 0;
  border-radius: 10px;
  border: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.mock-slot-active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

.mock-cta {
  text-align: center;
  background: var(--gold);
  color: var(--wine-dark);
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  padding: 12px;
}

.mock-confirm {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mock-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* Dashboard mockup */

.dash-frame {
  width: 100%;
  max-width: 440px;
  background: var(--paper-raised);
  border-radius: 16px;
  border: 1px solid var(--rule);
  box-shadow: 0 24px 48px rgba(46, 19, 34, 0.14);
  overflow: hidden;
}

.dash-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--wine-dark);
}

.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.dash-topbar-label {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.dash-body {
  padding: 20px;
  position: relative;
}

.dash-stat {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.dash-stat-label {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.dash-stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--wine);
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  margin-bottom: 20px;
}

.dash-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--gold) 0%, var(--rose-gold) 100%);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: barGrow 4.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes barGrow {
  0% { transform: scaleY(0); }
  35%, 75% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

.dash-bar { height: var(--h, 50%); }

.dash-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wine-light);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--wine);
  opacity: 0;
  animation: toastSlide 6s ease-in-out infinite;
}

.dash-toast-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  font-size: 11px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes toastSlide {
  0%, 55% { opacity: 0; transform: translateX(16px); }
  65%, 90% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-screen { animation: none; opacity: 0; }
  .phone-screen:first-child { opacity: 1; }
  .dash-bar { animation: none; transform: scaleY(1); }
  .dash-toast { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .grid-2col { grid-template-columns: 1fr; }
  .showcase-row { gap: 32px; }
  .phone-frame { width: 220px; height: 446px; }
}

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }

  .nav-toggle { display: block; }

  nav.site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--wine-dark);
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }

  nav.site-nav.is-open {
    padding: 8px 24px 20px;
    max-height: 320px;
  }

  nav.site-nav a {
    margin-left: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  nav.site-nav a:last-child { border-bottom: none; }

  header.site-header .container { position: relative; }
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pill-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.pill-list li:last-child { border-bottom: none; }

.pill-list .check {
  color: var(--emerald);
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border: 2px solid var(--gold);
  box-shadow: 0 16px 36px rgba(74, 31, 53, 0.12);
}

.price-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--wine-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card-head h3 {
  font-size: 22px;
  margin: 0 0 6px;
}

.price-card-tagline {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 20px;
  min-height: 40px;
}

.price-amount {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--wine);
  margin-bottom: 24px;
}

.price-period {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.price-features li {
  padding: 8px 0;
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
  color: var(--ink);
}

.price-features .check {
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
}

.price-card .btn {
  text-align: center;
}

.price-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  margin-top: 32px;
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .price-card-featured { order: -1; }
}

.cta-band {
  background: var(--wine-dark);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--wine-dark);
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.btn-outline {
  background: transparent;
  color: var(--wine);
  border: 1.5px solid var(--wine);
  padding: 12.5px 32px;
}

.waitlist-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist-row {
  display: flex;
  gap: 12px;
}

.waitlist-row input[type="text"],
.waitlist-row input[type="tel"] {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  font: inherit;
  font-size: 15px;
}

.waitlist-toggle {
  display: flex;
  gap: 4px;
  flex: 1;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 4px;
}

.waitlist-toggle label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.waitlist-toggle input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.waitlist-toggle label:has(input:checked) {
  background: var(--gold);
  color: var(--wine-dark);
  font-weight: 700;
}

.waitlist-submit {
  align-self: center;
  border: none;
  cursor: pointer;
}

.waitlist-status {
  margin: 4px 0 0;
  min-height: 20px;
  font-size: 14px;
}

.waitlist-status.is-error { color: #ffb4b4; }
.waitlist-status.is-success { color: #b7f7c8; }

@media (max-width: 640px) {
  .waitlist-row { flex-direction: column; }
}

footer {
  background: var(--wine-dark);
  color: rgba(255,255,255,0.7);
  padding: 32px 0;
  font-size: 13px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  margin-left: 20px;
}

footer a:hover { color: #fff; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 0 12px;
}

.step .step-num {
  counter-increment: step;
  width: 44px;
  height: 44px;
  line-height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--wine-light);
  color: var(--wine);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
}

.step .step-num::before { content: counter(step); }

.step h3 { font-size: 17px; margin: 0 0 8px; }
.step p { color: var(--ink-soft); font-size: 14px; margin: 0; }

.ad-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  margin-bottom: 24px;
}

.ad-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(46, 19, 34, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex: 0 1 auto;
  min-width: 0;
}

.ad-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(46, 19, 34, 0.22);
}

.ad-card img {
  display: block;
  width: auto;
  height: 480px;
  max-width: 100%;
}

@media (max-width: 1024px) and (min-width: 721px) {
  .ad-card img { height: 360px; }
}

.ad-banner-wide {
  margin: 8px 0 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(46, 19, 34, 0.16);
}

.ad-banner-wide img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .ad-row { flex-direction: column; align-items: center; }
  .ad-card img { width: 100%; height: auto; }
}

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

.service-tile {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(46, 19, 34, 0.14);
  aspect-ratio: 4 / 3;
}

.service-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(20, 8, 14, 0.78), rgba(20, 8, 14, 0));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

@media (max-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-tile figcaption { font-size: 13px; padding: 10px 12px; }
}

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

.gallery-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(46, 19, 34, 0.14);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-credit {
  text-align: center;
  color: var(--ink-soft);
  font-size: 12px;
  margin-top: 20px;
}

.gallery-credit a { color: var(--ink-soft); text-decoration: underline; }

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

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item:first-child { border-top: 1px solid var(--rule); }

.faq-item summary {
  padding: 20px 4px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--wine);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 20px;
  padding: 0 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.policy h1 { font-size: 34px; margin-bottom: 4px; }
.policy .updated { color: var(--ink-soft); font-size: 13px; margin-bottom: 40px; }
.policy h2 { font-size: 22px; margin-top: 40px; }
.policy h3 { font-size: 17px; margin-top: 24px; }
.policy p, .policy li { color: var(--ink); font-size: 15px; }
.policy ul { padding-left: 20px; }
.policy .container { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }

.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  z-index: 200;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 720px) {
  .whatsapp-fab { bottom: 16px; right: 16px; width: 52px; height: 52px; }
}
