/* Healing BeauT Aesthetics — design system
   Warm cream, nude sand, muted blush, soft gold, deep espresso. */

:root {
  --cream: #fbf8f3;
  --card: #fffdfa;
  --sand: #f0e8dd;
  --sand-deep: #e5dacb;
  --blush: #ecd5cf;
  --gold: #b99458;
  --foreground: #3a2f28;
  --muted-foreground: #7d6d61;
  --primary: #4a3b31;
  --primary-fg: #fbf8f3;
  --border: #e7ddd0;

  --radius: 1.25rem;
  --shadow-soft: 0 18px 50px -24px rgba(74, 59, 49, 0.35);
  --shadow-lift: 0 28px 70px -30px rgba(74, 59, 49, 0.45);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.6rem; }

p { margin: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 2rem; } }

.muted { color: var(--muted-foreground); }
.center { text-align: center; }
.narrow { max-width: 620px; margin-left: auto; margin-right: auto; }

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section-warm { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); }
.section-sand { background: var(--sand); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary);
  color: var(--primary-fg); padding: 0.75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.9rem; border-radius: 999px; border: 1px solid transparent;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  font-family: var(--font-sans);
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 0.7rem 1.35rem; font-size: 0.72rem; }
.btn-primary { background: var(--primary); color: var(--primary-fg); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: #5c4a3d; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--foreground); }
.btn-outline:hover { background: var(--sand); }
.btn-ghost { background: transparent; color: var(--muted-foreground); padding-left: 0; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled { border-color: var(--border); background: rgba(251, 248, 243, 0.95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand-name { display: block; font-family: var(--font-display); font-size: 1.5rem; }
.brand-sub { display: block; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-foreground); }
.nav-desktop { display: none; gap: 2rem; }
@media (min-width: 900px) { .nav-desktop { display: flex; } }
.nav-link { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); padding-bottom: 2px; border-bottom: 1px solid transparent; transition: color 0.25s ease, border-color 0.25s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--foreground); border-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-actions .btn { display: none; }
@media (min-width: 640px) { .header-actions .btn { display: inline-flex; } }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 0.5rem; cursor: pointer; }
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-toggle span { width: 22px; height: 1px; background: var(--foreground); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile { display: none; flex-direction: column; gap: 1rem; padding: 1.5rem 1.25rem 2rem; border-top: 1px solid var(--border); background: var(--cream); }
.nav-mobile.is-open { display: flex; }
@media (min-width: 900px) { .nav-mobile.is-open { display: none; } }
.nav-mobile a { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); }
.nav-mobile a.is-active { color: var(--foreground); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 3rem; align-items: center; padding: 4rem 0 5rem; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1fr; padding: 6rem 0 7rem; } }
.hero-eyebrow { margin-bottom: 1.5rem; }
.hero p.lead { margin-top: 1.75rem; font-size: 1.1rem; max-width: 32rem; color: var(--muted-foreground); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: 2rem; box-shadow: var(--shadow-lift); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -0.5rem; bottom: -1.25rem; background: var(--card);
  border: 1px solid var(--border); border-radius: 1.5rem; padding: 1rem 1.4rem;
  box-shadow: var(--shadow-soft);
}
.hero-badge strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; display: block; }
.hero-badge span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-foreground); }

/* Cards / grids */
.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1.75rem;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.card h3 { font-size: 1.75rem; }
.card .list { margin: 0; padding-left: 1.1rem; color: var(--muted-foreground); font-size: 0.92rem; }
.card-actions { margin-top: auto; padding-top: 0.5rem; }

.tile { background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; padding: 1.9rem; height: 100%; }
.tile h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }

.quote { background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; padding: 2rem; }
.quote p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; }
.quote footer { margin-top: 1.25rem; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); }

/* Page hero */
.page-hero { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); border-bottom: 1px solid var(--border); padding: 4.5rem 0; text-align: center; }
.page-hero p { margin-top: 1.5rem; }

/* Split sections */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { border-radius: 2rem; box-shadow: var(--shadow-soft); object-fit: cover; width: 100%; aspect-ratio: 4 / 5; }

/* Gallery */
.gallery { column-count: 1; column-gap: 1.25rem; }
@media (min-width: 640px) { .gallery { column-count: 2; } }
@media (min-width: 1000px) { .gallery { column-count: 3; } }
.gallery img { border-radius: 1.5rem; margin-bottom: 1.25rem; break-inside: avoid; transition: transform 0.5s ease; }
.gallery img:hover { transform: scale(1.02); }

/* Forms */
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 2rem; padding: 1.75rem; box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .panel { padding: 2.5rem; } }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: 0.85rem; margin-bottom: 0.4rem; }
.field {
  width: 100%; padding: 0.85rem 1rem; border-radius: 0.9rem; border: 1px solid var(--border);
  background: var(--cream); color: var(--foreground); font-family: var(--font-sans); font-size: 0.95rem;
}
.field:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
textarea.field { resize: vertical; }
.form-stack > * + * { margin-top: 1rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 0.75rem; }

.alert { border-radius: 1rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: 0.95rem; border: 1px solid var(--border); }
.alert-success { background: #eef3ec; border-color: #cfe0c9; }
.alert-error { background: #f8ecea; border-color: #e8cdc8; }
.error-text { color: #a4483c; font-size: 0.82rem; margin-top: 0.35rem; }

/* Booking steps */
.steps { display: flex; gap: 0.75rem; margin-bottom: 2rem; }
.step-pill { flex: 1; text-align: center; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); padding-bottom: 0.6rem; border-bottom: 2px solid var(--border); }
.step-pill.is-active { color: var(--foreground); border-color: var(--gold); }
.step { display: none; }
.step.is-active { display: block; }
.choice-grid { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice {
  text-align: left; background: var(--cream); border: 1px solid var(--border); border-radius: 1.1rem;
  padding: 1rem 1.2rem; cursor: pointer; transition: border-color 0.25s ease, background 0.25s ease;
  font-family: var(--font-sans); color: inherit;
}
.choice:hover { border-color: var(--gold); }
.choice.is-selected { border-color: var(--gold); background: var(--sand); }
.choice strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }
.choice span { font-size: 0.8rem; color: var(--muted-foreground); }
.slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
@media (min-width: 520px) { .slot-grid { grid-template-columns: repeat(4, 1fr); } }
.slot { padding: 0.7rem; border-radius: 0.8rem; border: 1px solid var(--border); background: var(--cream); cursor: pointer; font-family: var(--font-sans); font-size: 0.85rem; }
.slot.is-selected { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--border); font-size: 0.9rem; }

/* Contact info */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; font-size: 0.95rem; }
.info-list li { display: flex; gap: 0.9rem; color: var(--muted-foreground); }
.info-icon { color: var(--gold); }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; }
.map-placeholder { height: 16rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; background: var(--sand); border-radius: 1.5rem; border: 1px solid var(--border); text-align: center; padding: 1.5rem; }

/* Footer */
.site-footer { margin-top: 5rem; border-top: 1px solid var(--border); background: var(--sand); }
.footer-grid { display: grid; gap: 2.5rem; padding: 4rem 1.25rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-title { font-size: 1.6rem; }
.footer-copy { max-width: 24rem; margin: 1rem 0 1.75rem; font-size: 0.95rem; }
.footer-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.92rem; color: var(--muted-foreground); }
.footer-list a:hover, .footer-address a:hover, .footer-social a:hover { color: var(--foreground); }
.footer-address { margin-top: 1rem; font-style: normal; font-size: 0.92rem; color: var(--muted-foreground); display: grid; gap: 0.5rem; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; font-size: 0.9rem; color: var(--muted-foreground); }
.footer-bottom { border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--muted-foreground); }
.footer-bottom p { padding: 1.4rem 1.25rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
