/* Back4Serenity — mobile-first styles (matched to approved mockups)
   Palette: deep plum (dominant) · soft lavender · warm cream · muted peach (accent only) */

:root {
  --plum-950: #24102b;
  --plum-900: #34163d;
  --plum-800: #4a1f55;   /* primary buttons, headings */
  --plum-700: #5c2a68;
  --plum-600: #74407f;
  --plum-500: #8d5f98;
  --lavender-50: #faf7fc;
  --lavender-100: #f4eef8;
  --lavender-150: #efe7f5;
  --lavender-200: #e6dbef;
  --lavender-300: #d3c3e1;
  --lavender-400: #b9a2cc;
  --cream-50: #fcfaf6;
  --cream-100: #f7f2ea;
  --cream-200: #efe6da;
  --peach-100: #fbe6d8;
  --peach-200: #f6d3bd;
  --peach-600: #b9795a;  /* accent text on light — use sparingly */

  --ink: #2b2230;
  --ink-soft: #5d5364;
  --line: #e7dfec;
  --error: #a3314b;
  --error-bg: #fbeef1;
  --success: #2f6a51;
  --success-bg: #eaf4ef;

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(52, 22, 61, .05), 0 2px 8px rgba(52, 22, 61, .04);
  --shadow: 0 2px 6px rgba(52, 22, 61, .06), 0 14px 34px rgba(52, 22, 61, .08);
  --gutter: 16px;
  --max: 1120px;
  --tap: 52px;
  --sticky-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--plum-700); text-underline-offset: 3px; }
a:hover { color: var(--plum-600); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--plum-500); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--plum-800); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--plum-900);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 10vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 7.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.eyebrow {
  display: block;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--plum-500);
  margin-bottom: .6rem;
}
.lede { font-size: 1.125rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--tap); padding: 0 1.75rem;
  border: 0; border-radius: 999px;
  font-weight: 500; font-size: 1.125rem;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--plum-800); color: #fff; }
.btn-primary:hover { background: var(--plum-900); color: #fff; }
.btn-primary[aria-disabled="true"] { background: var(--plum-600); cursor: progress; }
.btn-secondary { background: var(--lavender-150); color: var(--plum-800); }
.btn-secondary:hover { background: var(--lavender-200); color: var(--plum-900); }
.btn-back {
  background: none; border: 0; color: var(--plum-800); font-weight: 500; font-size: 1.05rem;
  display: inline-flex; align-items: center; gap: .45rem; min-height: var(--tap); padding: 0 .75rem;
  border-radius: 999px; cursor: pointer;
}
.btn-back:hover { background: var(--lavender-100); }
.btn-block { width: 100%; }
.btn .arrow { flex: none; transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 250, 246, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--plum-900); }
.brand:hover { color: var(--plum-900); }
.brand-mark { flex: none; width: 44px; height: 34px; color: var(--plum-700); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; letter-spacing: -.015em; }
.brand-desc { font-size: .8rem; color: var(--plum-700); margin-top: .2rem; padding-left: .1rem; }
.brand-desc.caps { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; text-align: center; }
.book-header .brand { margin: 0 auto; }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-cta { display: none; min-height: 46px; padding: 0 1.3rem; font-size: 1rem; }

.menu-toggle {
  width: 48px; height: 48px; border: 0; border-radius: 12px; background: transparent; color: var(--plum-800);
  display: grid; place-items: center; cursor: pointer; margin-right: -8px;
}
.menu-toggle:hover { background: var(--lavender-100); }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.book-header .header-inner { position: relative; }
.book-header .menu-toggle { position: absolute; right: var(--gutter); }

.menu-panel {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 39;
  background: var(--cream-50);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: .25rem var(--gutter) 1.25rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.menu-open .menu-panel { transform: none; opacity: 1; visibility: visible; }
.menu-panel ul { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); }
.menu-panel a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; padding: 0 .25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.35rem; color: var(--plum-900); text-decoration: none;
}
.menu-panel li:last-child a { border-bottom: 0; }
.menu-panel a:hover { color: var(--plum-600); }

.demo-banner {
  background: var(--peach-100); color: var(--plum-900);
  font-size: .85rem; text-align: center; padding: .45rem var(--gutter);
}

/* ------------------------------------------------------------------- hero */

.hero { position: relative; padding-top: 1rem; }
.hero-grid { display: grid; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { margin-bottom: .3em; }
.hero h1 .line { display: block; }
.hero h1 .line-2 { font-size: .8em; white-space: nowrap; }
.hero-copy .lede { margin-bottom: 1.25rem; color: var(--plum-900); }
.hero-cta { min-width: 16rem; }

.trust-row {
  list-style: none; margin: 1.25rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.trust-row li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem;
  font-size: .86rem; line-height: 1.25; color: var(--plum-900); padding: 0 .4rem;
  border-left: 1px solid var(--lavender-300);
}
.trust-row li:first-child { border-left: 0; }
.trust-row svg { color: var(--plum-700); flex: none; }

.hero-photo {
  position: relative;
  margin: 1.5rem calc(var(--gutter) * -1) 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-100) var(--hero-image, none) center / cover no-repeat;
}
.hero-photo .photo-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo.has-photo .photo-art { display: none; }

/* ------------------------------------------------------------ home cards */

.home-sections { position: relative; margin-top: -1.25rem; padding-bottom: 2.5rem; }
.panel {
  background: var(--lavender-100);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  margin-bottom: .9rem;
}
.panel h2 { margin-bottom: .6rem; padding: 0 .25rem; }
.panel > .lede, .panel > p { padding: 0 .25rem; }
.panel-tint { background: linear-gradient(180deg, var(--lavender-100), var(--lavender-50)); }

.how-list { list-style: none; margin: 0; padding: 0; background: rgba(255, 255, 255, .7); border-radius: var(--radius); overflow: hidden; }
.how-list li {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: .8rem;
  padding: .85rem .9rem; border-bottom: 1px solid var(--lavender-150);
}
.how-list li:last-child { border-bottom: 0; }
.how-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--peach-200); color: var(--plum-900);
  display: grid; place-items: center; font-weight: 600; font-size: .95rem;
}
.how-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--lavender-150); color: var(--plum-700);
  display: grid; place-items: center;
}
.how-list h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 500; margin: 0; color: var(--plum-900); letter-spacing: 0; }
.how-list p { margin: .1rem 0 0; font-size: .95rem; color: var(--ink-soft); line-height: 1.4; }

.pref-row { list-style: none; margin: .9rem 0 0; padding: 0 .25rem; display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.pref-row li { display: flex; align-items: center; gap: .45rem; font-size: .98rem; color: var(--plum-900); }
.pref-row svg { color: var(--plum-700); flex: none; }

/* service area */
.zip-form { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
.input-icon { position: relative; }
.input-icon > svg { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--plum-700); pointer-events: none; }
.input-icon .input { padding-left: 2.75rem; }
.zip-form .btn { border-radius: var(--radius-sm); min-width: 6.5rem; padding: 0 1.25rem; }
.zip-result { margin-top: .9rem; }
.zip-result:empty { display: none; }
.notice {
  border-radius: var(--radius); padding: 1rem;
  display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start;
  background: #fff;
}
.notice p { margin: 0; }
.notice strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--plum-900); margin-bottom: .15rem; }
.notice-success > svg { color: var(--success); }
.notice-soft > svg { color: var(--peach-600); }
.notice-error { background: var(--error-bg); color: var(--error); }
.notice .btn { margin-top: .9rem; }
.waitlist-form { display: grid; gap: .6rem; margin-top: .9rem; }

/* FAQ */
.faq-list { background: rgba(255, 255, 255, .7); border-radius: var(--radius); overflow: hidden; }
.faq-list details { border-bottom: 1px solid var(--lavender-150); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: .75rem 1rem;
  font-size: 1.05rem; color: var(--plum-900);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .chev { flex: none; transition: transform .2s ease; color: var(--plum-700); }
.faq-list details[open] summary .chev { transform: rotate(90deg); }
.faq-list details > div { padding: 0 1rem 1rem; color: var(--ink-soft); font-size: 1rem; }
.faq-list details > div p:last-child { margin-bottom: 0; }

/* footer */
.site-footer { background: var(--plum-950); color: var(--lavender-200); padding: 2.5rem 0 2rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { color: var(--lavender-300); }
.site-footer .brand-desc { color: var(--lavender-300); }
.footer-links { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lavender-100); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-meta { font-size: .88rem; color: var(--lavender-300); border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.25rem; margin: 0; }

/* sticky CTA (mobile) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: .6rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(252, 250, 246, 1) 65%, rgba(252, 250, 246, 0));
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; }

/* ------------------------------------------------------------ form fields */

.input, .select, .textarea {
  display: block; width: 100%;
  min-height: var(--tap);
  padding: .75rem 1rem;
  font-size: 1.0625rem; /* ≥16px prevents iOS zoom */
  background: #fff;
  border: 1px solid var(--lavender-300);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1.5l6 6 6-6' stroke='%234a1f55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--plum-600); box-shadow: 0 0 0 4px rgba(141, 95, 152, .2);
}
.input::placeholder, .textarea::placeholder { color: #968c9c; }
[aria-invalid="true"] { border-color: var(--error) !important; }

.field-error {
  display: flex; gap: .4rem; align-items: flex-start;
  color: var(--error); font-size: .93rem; font-weight: 500; margin-top: .4rem;
}
.field-error:empty { display: none; }
.field-error::before {
  content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--error); color: #fff; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center; margin-top: .12rem;
}

/* ----------------------------------------------------------- booking page */

.book-main { padding: .25rem 0 calc(var(--sticky-h) + 1.5rem); }
.book-wrap { max-width: 34rem; margin: 0 auto; }

.stepper { list-style: none; margin: .5rem 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: .88rem; color: var(--ink-soft); }
.stepper li::before {
  content: ""; position: absolute; top: 15px; left: calc(-50% + 22px); right: calc(50% + 22px);
  height: 2px; background: var(--lavender-200);
}
.stepper li:first-child::before { display: none; }
.stepper li.is-done::before, .stepper li.is-current::before { background: var(--lavender-400); }
.step-dot {
  position: relative; z-index: 1;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: .95rem;
  background: var(--lavender-150); color: var(--plum-700);
}
.stepper li.is-current { color: var(--plum-900); font-weight: 600; }
.stepper li.is-current .step-dot { background: var(--plum-800); color: #fff; }
.stepper li.is-done .step-dot { background: var(--lavender-400); color: #fff; }

.step-panel:focus { outline: none; }
.step-head { text-align: center; margin-bottom: 1.1rem; }
.step-head h1 { font-size: clamp(1.9rem, 8.5vw, 2.4rem); margin-bottom: .2em; }
.step-head p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }

.form-card {
  background: var(--lavender-100);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem 1.25rem;
  margin-bottom: .9rem;
}
.field { margin-bottom: 1.15rem; }
.field:last-child { margin-bottom: 0; }
.field-label, fieldset > legend {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 500; color: var(--plum-900); margin-bottom: .55rem; font-size: 1.02rem; padding: 0;
}
.field-label svg, legend svg { color: var(--plum-700); flex: none; }
.field-label .optional { font-weight: 400; color: var(--ink-soft); font-size: .92rem; }
.stack { display: grid; gap: .6rem; }
.stack > .field-error { margin-top: -.2rem; }
.addr-row { display: grid; grid-template-columns: 1.35fr .95fr 1.1fr; gap: .5rem; }
.addr-row .select { padding-left: .8rem; padding-right: 2rem; background-position: right .7rem center; }
fieldset { border: 0; margin: 0 0 1.15rem; padding: 0; min-width: 0; }
fieldset:last-child { margin-bottom: 0; }

/* segmented buttons (radio) */
.segmented { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: .55rem; }
.seg { position: relative; min-width: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: var(--tap); padding: .45rem .6rem;
  background: var(--lavender-50); border: 1px solid var(--lavender-200); border-radius: var(--radius-sm);
  color: var(--plum-900); font-size: 1.02rem; cursor: pointer; line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.seg label:hover { border-color: var(--lavender-400); }
.seg input:checked + label { background: var(--plum-700); border-color: var(--plum-700); color: #fff; }
.seg input:focus-visible + label { outline: 3px solid var(--plum-500); outline-offset: 2px; }
.seg input:disabled + label { cursor: not-allowed; background: transparent; color: #9a8f9f; border-style: dashed; }
.seg .seg-sub { font-size: .76rem; opacity: .85; margin-top: .1rem; }
[aria-invalid="true"] .seg label { border-color: var(--error); }

.hint { font-size: .9rem; color: var(--ink-soft); margin: .45rem 0 0; }
.return-note {
  display: flex; gap: .55rem; align-items: center;
  background: #fff; color: var(--plum-900);
  border-radius: var(--radius-sm); padding: .7rem .85rem; font-size: .95rem; margin-top: .6rem;
}
.return-note svg { color: var(--plum-700); flex: none; }

.warning {
  display: grid; grid-template-columns: auto 1fr; gap: .55rem; align-items: start;
  background: var(--peach-100); border-radius: var(--radius-sm);
  padding: .65rem .8rem; font-size: .9rem; color: var(--plum-900); margin-top: .55rem;
}
.warning svg { color: var(--peach-600); margin-top: .1rem; }

.info-card {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start;
  background: var(--lavender-150); border-radius: var(--radius); padding: 1rem;
  margin-bottom: .9rem;
}
.info-card svg { color: var(--plum-700); }
.info-card strong { display: block; color: var(--plum-900); font-weight: 600; }
.info-card p { margin: .15rem 0 0; font-size: .92rem; color: var(--ink-soft); line-height: 1.4; }

.form-alert { margin-bottom: 1rem; }
.form-alert:empty { display: none; }

/* review */
.review { background: var(--lavender-100); border-radius: var(--radius-lg); padding: .25rem 1rem; margin-bottom: .9rem; }
.review-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: start;
  padding: .95rem 0; border-bottom: 1px solid var(--lavender-200);
}
.review-item:last-child { border-bottom: 0; }
.review-item > svg { color: var(--plum-700); margin-top: .15rem; }
.review-item h2 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; margin: 0 0 .1rem; color: var(--plum-900); }
.review-item p { margin: 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.edit-link {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: 0 .6rem; margin: -.6rem -.6rem 0 0;
  background: none; border: 0; border-radius: 999px; cursor: pointer;
  color: var(--plum-700); font-size: .95rem;
}
.edit-link:hover { background: var(--lavender-150); }
.pay-card { background: var(--lavender-150); }

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: rgba(252, 250, 246, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: .65rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
}
.action-bar-inner { max-width: 34rem; margin: 0 auto; display: flex; align-items: center; gap: .5rem; }
.action-bar .btn-primary { flex: 1; padding: 0 1.1rem; font-size: 1.05rem; }

.success { text-align: center; padding-top: 1rem; }
.success-icon {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.1rem;
  background: var(--lavender-150); color: var(--plum-700); display: grid; place-items: center;
}
.success .review { text-align: left; }
.order-id {
  display: inline-block; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 1.05rem;
  letter-spacing: .04em; background: var(--lavender-150); color: var(--plum-900);
  padding: .35rem .85rem; border-radius: 999px; margin: .25rem 0 1.25rem;
}

.loading-state { text-align: center; padding: 3rem 0; color: var(--ink-soft); }
.loading-state .spinner { border-color: var(--lavender-200); border-top-color: var(--plum-700); width: 28px; height: 28px; margin: 0 auto 1rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* legal pages */
.legal { max-width: 44rem; padding: 1.5rem 0 4rem; }
.legal h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.draft-note { background: var(--peach-100); border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .95rem; }

/* --------------------------------------------------------------- tablets+ */

@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .panel { padding: 1.75rem 1.5rem; }
  .form-card { padding: 1.4rem 1.4rem 1.5rem; }
  .review { padding: .25rem 1.4rem; }
  .hero-photo { border-radius: var(--radius-lg); margin-left: 0; margin-right: 0; }
  .footer-links { grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 2rem; }
  .trust-row { display: flex; flex-wrap: wrap; gap: .5rem 0; }
  .trust-row li { flex-direction: row; gap: .45rem; font-size: .95rem; padding: 0 .9rem; }
  .trust-row li:first-child { padding-left: 0; }
}

@media (min-width: 900px) {
  .hero { padding: 2.5rem 0 1rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
  .hero-photo { margin: 0; aspect-ratio: 1 / 1; box-shadow: var(--shadow); }
  .home-sections { margin-top: 2.5rem; padding-bottom: 4rem; }
  .home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
  .home-grid .panel { margin-bottom: 0; padding: 2rem; }
  .home-grid .span-2 { grid-column: 1 / -1; }

  /* On desktop the persistent CTA lives in the header instead of a bottom bar. */
  .header-cta { display: inline-flex; }
  .sticky-cta { display: none; }

  .book-main { padding: 1.5rem 0 4rem; }
  .action-bar { position: static; background: none; padding: .5rem 0 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .action-bar-inner { max-width: none; }
  .action-bar .btn-primary { flex: 0 1 auto; min-width: 16rem; margin-left: auto; }
}

/* ---------------------------------------------------------- date calendar */
.cal {
  background: #fff; border: 1px solid var(--lavender-200); border-radius: var(--radius);
  padding: .75rem .6rem .7rem;
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
.cal-month { font-family: var(--font-display); font-size: 1.2rem; color: var(--plum-900); }
.cal-nav {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--lavender-100);
  color: var(--plum-800); display: grid; place-items: center; cursor: pointer;
}
.cal-nav:hover:not(:disabled) { background: var(--lavender-200); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow span { text-align: center; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); padding: .25rem 0; }
.cal-day {
  position: relative; aspect-ratio: 1 / 1; min-height: 40px; width: 100%;
  border: 0; border-radius: 12px; background: transparent; color: #b3aab8;
  font-size: 1rem; font-weight: 500; cursor: default; padding: 0;
}
.cal-day.is-open { background: var(--lavender-150); color: var(--plum-800); font-weight: 600; cursor: pointer; }
.cal-day.is-open:hover { background: var(--lavender-300); }
.cal-day.is-selected, .cal-day.is-selected:hover { background: var(--plum-700); color: #fff; box-shadow: 0 4px 12px rgba(92, 42, 104, .3); }
.cal-day.is-full { text-decoration: line-through; }
.cal-day.is-today::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: currentColor; opacity: .6;
}
.cal-day:focus-visible { outline: 3px solid var(--plum-500); outline-offset: 1px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: center; margin-top: .7rem; font-size: .8rem; color: var(--ink-soft); }
.cal-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.cal-key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.cal-key-open { background: var(--lavender-150); border: 1px solid var(--lavender-300); }
.cal-key-selected { background: var(--plum-700); }
.cal-key-off { background: #fff; border: 1px dashed #c9c1cd; }
.cal-picked { margin: .6rem 0 0; font-weight: 600; color: var(--plum-800); }
[aria-invalid="true"] .cal { border-color: var(--error); }

/* ------------------------------------------------------------ payment page */
.pay-main { padding-bottom: 3rem; }
.pay-order { margin: 0 0 .6rem; font-size: .92rem; color: var(--ink-soft); }
.pay-lines { margin: 0; }
.pay-line { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--lavender-200); }
.pay-line:last-child { border-bottom: 0; }
.pay-line dt { color: var(--ink); }
.pay-line dd { margin: 0; font-weight: 600; color: var(--plum-900); white-space: nowrap; }
.pay-grand dt, .pay-grand dd { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--plum-900); }
.pay-tips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pay-custom { margin-top: .7rem; }
.pay-dollar { position: relative; }
.pay-dollar > span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--plum-700); font-weight: 600; }
.pay-dollar .input { padding-left: 2rem; }
.pay-button { min-height: 60px; font-size: 1.15rem; margin-top: .5rem; }
.pay-button[aria-disabled="true"] { background: var(--plum-600); cursor: progress; }
.pay-secure { text-align: center; font-size: .88rem; color: var(--ink-soft); margin: .8rem 0 0; }
@media (min-width: 600px) { .pay-tips { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ------------------------------------------------------- address suggestions */
.addr-search { position: relative; }
.addr-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20;
  list-style: none; margin: 0; padding: .35rem; background: #fff;
  border: 1px solid var(--lavender-300); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.addr-option { display: flex; flex-direction: column; padding: .65rem .75rem; border-radius: 8px; cursor: pointer; min-height: 48px; justify-content: center; }
.addr-option:hover, .addr-option[aria-selected="true"] { background: var(--lavender-100); }
.addr-main { font-weight: 600; color: var(--plum-900); }
.addr-sec { font-size: .88rem; color: var(--ink-soft); }
.addr-credit { font-size: .72rem; color: #8a8090; text-align: right; padding: .3rem .6rem .1rem; }

.pay-promo dt, .pay-promo dd { color: #2f6a51; }

/* promo code (booking) */
.promo-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.promo-row .input { text-transform: uppercase; letter-spacing: .04em; }
.promo-row .btn { border-radius: var(--radius-sm); min-height: var(--tap); }
.promo-applied { display: flex; align-items: center; gap: .5rem; margin: 0; padding: .7rem .85rem; border-radius: var(--radius-sm); background: var(--success-bg); color: var(--success); font-weight: 600; }
.promo-applied span { flex: 1; }
.promo-applied .edit-link { margin: 0; color: var(--success); }
