/* ==========================================================================
   Anchor Realty Atlanta - site styles
   Edit colors and fonts in the :root block. Everything else follows from it.
   ========================================================================== */

:root {
  --bg: hsl(40 33% 97%);
  --fg: hsl(156 28% 12%);
  --card: #ffffff;
  --primary: hsl(158 42% 18%);
  --primary-fg: hsl(40 33% 97%);
  --secondary: hsl(38 40% 92%);
  --muted: hsl(38 30% 91%);
  --muted-fg: hsl(156 12% 40%);
  --accent: hsl(32 68% 52%);
  --accent-fg: #ffffff;
  --border: hsl(40 20% 86%);
  --danger: #dc2626;
  --radius: 0.5rem;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --container: 72rem;
  /* Extra tokens so dark mode only needs to change this block */
  --panel: var(--primary);            /* big dark-green sections */
  --panel-fg: var(--primary-fg);
  --on-accent: hsl(158 42% 18%);      /* text that sits on the amber accent */
  --glass: hsl(40 33% 97% / 0.88);    /* see-through header and bottom bars */
  --border-soft: hsl(40 20% 86% / 0.7);
  --shadow: hsl(158 42% 18% / 0.08);
  --tap: 2.75rem;                     /* minimum comfortable touch target (44px) */
  color-scheme: light;
}

/* ---------- Dark mode (switched by the button in the header) ---------- */
:root[data-theme="dark"] {
  --bg: hsl(160 18% 8%);
  --fg: hsl(40 25% 90%);
  --card: hsl(160 15% 12%);
  --primary: hsl(150 28% 80%);
  --primary-fg: hsl(160 30% 10%);
  --secondary: hsl(160 14% 11%);
  --muted: hsl(160 12% 18%);
  --muted-fg: hsl(150 8% 66%);
  --accent: hsl(32 78% 58%);
  --accent-fg: hsl(160 30% 8%);
  --border: hsl(160 12% 20%);
  --danger: #f87171;
  --panel: hsl(158 36% 13%);
  --panel-fg: hsl(40 30% 94%);
  --glass: hsl(160 18% 8% / 0.88);
  --border-soft: hsl(160 12% 20% / 0.8);
  --shadow: rgb(0 0 0 / 0.4);
  color-scheme: dark;
}
:root[data-theme="dark"] img:not(.hero__img):not(.cta__img) { filter: brightness(0.92); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
  overflow-x: clip;
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); /* room for the mobile sticky bar */
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s, color 0.2s;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
a, button, summary, label { touch-action: manipulation; }
button { cursor: pointer; background: none; }
svg { display: inline-block; flex-shrink: 0; }
section[id], footer[id] { scroll-margin-top: 120px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #c47b3d; outline-offset: 2px; border-radius: 4px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 50; width: auto; height: auto; margin: 0;
  clip: auto; overflow: visible; padding: 0.5rem 1rem; border-radius: var(--radius);
  background: var(--primary); color: var(--primary-fg);
}

/* ---------- Helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.display { font-family: var(--font-display); font-weight: 400; }
.display--semibold { font-weight: 600; }
.eyebrow { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.eyebrow--wide { font-size: 0.75rem; letter-spacing: 0.2em; }
.muted { color: var(--muted-fg); }
.section { padding: 5rem 0; }
.section-title { margin-top: 0.75rem; font-size: 1.875rem; line-height: 1.2; color: var(--primary); text-wrap: balance; }
.lead { margin-top: 1rem; color: var(--muted-fg); }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; }
.check-list li svg { margin-top: 0.125rem; color: var(--accent); }
.check-list li + li { margin-top: 0.75rem; }
.icon-16 { width: 1rem; height: 1rem; }
.icon-20 { width: 1.25rem; height: 1.25rem; }
.icon-24 { width: 1.5rem; height: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  white-space: nowrap; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500;
  min-height: var(--tap); padding: 0.5rem 1.125rem; transition: background-color 0.15s, color 0.15s, transform 0.1s, filter 0.15s;
  background: var(--primary); color: var(--primary-fg); box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: scale(0.97); }
.btn:disabled { pointer-events: none; opacity: 0.5; }
.btn--lg { min-height: 3rem; padding: 0.5rem 2rem; font-size: 1rem; }
.btn--pill { border-radius: 9999px; }
.btn--full { width: 100%; }
.btn--outline { background: var(--bg); color: var(--fg); border: 1px solid var(--border); box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); }
.btn--outline:hover { background: var(--secondary); filter: none; }
.btn--ghost-light { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / 0.4); }
.btn--ghost-light:hover { background: rgb(255 255 255 / 0.1); filter: none; }
.btn--accent { background: var(--accent); color: var(--accent-fg); }

/* ---------- Forms ---------- */
.field { display: block; margin-top: 1rem; font-size: 0.875rem; font-weight: 500; }
.field:first-of-type { margin-top: 0; }
.input {
  margin-top: 0.25rem; width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg); padding: 0.625rem 0.75rem; min-height: var(--tap); font-size: 1rem; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: var(--muted-fg); opacity: 0.7; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px hsl(32 68% 52% / 0.25); }
.input.is-invalid { border-color: var(--danger); }
.input.is-valid { border-color: hsl(150 45% 40%); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted-fg) 50%), linear-gradient(135deg, var(--muted-fg) 50%, transparent 50%);
  background-position: calc(100% - 1.05rem) 50%, calc(100% - 0.75rem) 50%; background-size: 0.3rem 0.3rem; background-repeat: no-repeat; }
.field__hint { display: block; margin-top: 0.25rem; font-size: 0.75rem; font-weight: 400; color: var(--danger); }
.field__hint:empty { display: none; }
textarea.input { resize: vertical; }
.form-error { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--danger); }
.form-error:empty { display: none; }
.fine-print { margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted-fg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--border-soft);
  background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 0.75rem; padding-bottom: 0.75rem; gap: 0.5rem; }
.brand { display: flex; align-items: center; gap: 0.5rem; color: var(--primary); }
.brand svg { color: var(--accent); }
.brand__name { font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; line-height: 1.25; }
.brand__name span { color: var(--accent); }
.nav-desktop { display: none; align-items: center; gap: 2rem; font-size: 0.875rem; color: var(--muted-fg); }
.nav-desktop a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); flex-shrink: 0;
  border-radius: 9999px; border: 1px solid var(--border); background: var(--card); color: var(--primary);
  transition: background-color 0.15s, transform 0.2s;
}
.theme-toggle:hover { background: var(--secondary); }
.theme-toggle:active { transform: rotate(20deg) scale(0.94); }
.theme-toggle__sun { display: none; color: var(--accent); }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (max-width: 380px) { .brand__name span { display: none; } .header-book { padding-left: 0.875rem; padding-right: 0.875rem; } }
.header-phone { display: none; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.header-phone:hover { color: var(--accent); }
.header-phone svg { color: var(--accent); }
.nav-mobile {
  display: flex; align-items: center; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--border-soft); padding: 0.25rem 0.75rem; font-size: 0.875rem; color: var(--muted-fg);
}
.nav-mobile::-webkit-scrollbar { display: none; }
.nav-mobile a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 0.75rem; border-radius: 9999px; white-space: nowrap; transition: background-color 0.15s, color 0.15s; }
.nav-mobile a:hover { color: var(--primary); }
.nav-mobile a.is-current, .nav-desktop a.is-current { color: var(--primary); font-weight: 600; }
.nav-mobile a.is-current { background: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92svh, 46rem); width: 100%; overflow: hidden; }
.hero__img, .cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, hsl(158 42% 18% / 0.9), hsl(158 42% 18% / 0.7), hsl(158 42% 18% / 0.3));
}
.hero__inner { position: relative; display: flex; min-height: min(92svh, 46rem); flex-direction: column; justify-content: center; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero__content { max-width: 42rem; animation: anchor-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes anchor-rise { 0% { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero__content { animation: none; } }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / 0.25); background: rgb(255 255 255 / 0.1); padding: 0.375rem 1rem;
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: rgb(255 255 255 / 0.9);
}
.hero__badge svg { width: 0.875rem; height: 0.875rem; }
.hero__title { font-size: clamp(2.125rem, 9vw, 2.75rem); line-height: 1.08; color: #fff; text-wrap: balance; }
.hero__text { margin-top: 1.25rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.625; color: rgb(255 255 255 / 0.85); }
.hero__actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.hero__note { margin-top: 1.25rem; font-size: 0.875rem; color: rgb(255 255 255 / 0.7); }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--border); background: var(--secondary); }
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding-top: 2rem; padding-bottom: 2rem; }
.trust__grid p:first-child { font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; color: var(--primary); }
.trust__grid p + p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); }

/* ---------- Services (three cards) ---------- */
.intro { max-width: 42rem; }
.cards { margin-top: 3rem; display: grid; gap: 1.5rem; }
.card {
  display: flex; flex-direction: column; border-radius: 1rem; border: 1px solid var(--border);
  background: var(--card); padding: 1.75rem; transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 10px 15px -3px var(--shadow), 0 4px 6px -4px var(--shadow); }
.card__icon {
  margin-bottom: 1.25rem; display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center;
  border-radius: 0.75rem; background: var(--primary); color: var(--primary-fg);
}
.card__tag { margin-bottom: 0.5rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); }
.card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--primary); }
.card p { margin-top: 0.5rem; flex: 1; font-size: 0.875rem; line-height: 1.625; color: var(--muted-fg); }

/* ---------- Process ---------- */
.process { background: var(--panel); color: var(--panel-fg); }
.process__grid { display: grid; align-items: center; gap: 3rem; padding-top: 5rem; padding-bottom: 5rem; }
.process .section-title { color: inherit; }
.steps { margin-top: 2rem; }
.steps li { display: flex; gap: 1rem; }
.steps li + li { margin-top: 1.5rem; }
.step__num {
  display: flex; height: 2.25rem; width: 2.25rem; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 9999px; background: var(--accent); font-family: var(--font-display); font-weight: 400; color: var(--on-accent);
}
.step__title { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.step__title svg { color: var(--accent); }
.step__text { margin-top: 0.25rem; font-size: 0.875rem; opacity: 0.8; }
.process .btn { margin-top: 2.5rem; }
.process__media { position: relative; }
.process__media img { width: 100%; border-radius: 1rem; object-fit: cover; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.process__badge {
  position: absolute; bottom: -1rem; left: 0.75rem; border-radius: 0.75rem; background: var(--bg); padding: 1rem 1.25rem;
  color: var(--primary); box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.process__badge p:first-child { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.process__badge p + p { font-size: 0.75rem; color: var(--muted-fg); }

/* ---------- Pricing ---------- */
.pricing__grid { display: grid; align-items: center; gap: 3rem; }
.pricing__media { order: 2; }
.pricing__media img { width: 100%; max-width: 24rem; border-radius: 1rem; object-fit: cover; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1); }
.pricing__copy { order: 1; }
.pricing__copy .check-list { margin-top: 1.5rem; color: var(--primary); }
.pricing__copy .btn { margin-top: 2rem; }

/* ---------- Membership ---------- */
.membership { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--panel); color: var(--panel-fg); }
.membership__inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.membership__grid { display: grid; gap: 2.5rem; }
.membership__pill {
  display: inline-block; margin-bottom: 0.75rem; border-radius: 9999px; background: var(--accent); padding: 0.25rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--on-accent);
}
.membership__title { font-size: 1.875rem; line-height: 1.2; }
.membership__text { margin-top: 1rem; opacity: 0.85; }
.membership__list { margin-top: 1.25rem; font-size: 0.875rem; opacity: 0.85; }
.membership__list li { display: flex; align-items: flex-start; gap: 0.5rem; }
.membership__list li + li { margin-top: 0.5rem; }
.membership__list svg { margin-top: 0.125rem; color: var(--accent); }
.join-form { border-radius: 1rem; background: var(--bg); padding: 1.5rem; color: var(--fg); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1); }
.join-form__title { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--primary); }
.join-form .field:first-of-type { margin-top: 1.25rem; }
.join-form .btn { margin-top: 1.5rem; }
.member-banner { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.member-banner__row { display: flex; align-items: flex-start; gap: 0.75rem; }
.member-banner__row svg { margin-top: 0.25rem; color: var(--accent); }
.member-banner__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.member-banner__sub { margin-top: 0.25rem; font-size: 0.875rem; opacity: 0.8; }
.link-btn { font-size: 0.875rem; text-decoration: underline; opacity: 0.7; min-height: var(--tap); }
.link-btn:hover { opacity: 1; }
[hidden] { display: none !important; }

/* ---------- A la carte ---------- */
.alacarte { padding: 5rem 0; }
.search-wrap { margin-top: 2rem; max-width: 28rem; }
.search-wrap .input { margin-top: 0; padding: 0.75rem 1rem; }
.search-empty { margin-top: 2rem; padding: 1.5rem; border-radius: 0.75rem; border: 1px dashed var(--border); text-align: center; color: var(--muted-fg); font-size: 0.875rem; }
.search-empty a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.services-grid { margin-top: 2rem; display: grid; gap: 1rem; }
.service {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
  border-radius: 0.75rem; border: 1px solid var(--border); background: var(--card); padding: 1.25rem; transition: border-color 0.15s, box-shadow 0.15s;
}
.service.is-in-cart { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.service h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--primary); }
.service__desc { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); }
.service__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; }
.price__list { font-size: 0.875rem; color: var(--muted-fg); text-decoration: line-through; }
.price__member { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--accent); }
.price__flat { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--primary); }
.price__note { font-size: 0.75rem; color: var(--muted-fg); }
.qty { display: flex; align-items: center; gap: 0.25rem; border-radius: var(--radius); border: 1px solid var(--border); padding: 0.25rem; }
.qty button { width: 2.5rem; height: 2.5rem; border-radius: 0.375rem; font-size: 1.25rem; line-height: 1; color: var(--primary); }
.qty button:active { background: var(--muted); }
.qty span { min-width: 1.5rem; text-align: center; font-size: 0.875rem; font-weight: 600; }
.alacarte__note { margin-top: 2rem; font-size: 0.875rem; color: var(--muted-fg); }

/* ---------- Cart bar and promo toast ---------- */
.cart-bar {
  position: fixed; left: 0; right: 0; bottom: calc(4.25rem + env(safe-area-inset-bottom)); z-index: 50; border-top: 1px solid var(--border);
  background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: bar-up 0.25s ease-out;
}
@keyframes bar-up { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
.cart-bar.is-bump .cart-bar__count { animation: bump 0.3s ease-out; }
@keyframes bump { 50% { transform: scale(1.08); } }
.toast {
  position: fixed; left: 50%; bottom: calc(9.5rem + env(safe-area-inset-bottom)); z-index: 70; transform: translate(-50%, 1rem); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 2rem); border-radius: 9999px; background: var(--fg); color: var(--bg); padding: 0.625rem 1.125rem; font-size: 0.875rem; font-weight: 500;
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.3); transition: opacity 0.2s, transform 0.2s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.cart-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; }
.cart-bar__count { font-size: 0.875rem; font-weight: 600; color: var(--primary); }
.cart-bar__total { font-size: 0.75rem; color: var(--muted-fg); }
.promo {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 40; display: none; max-width: 20rem; border-radius: 0.75rem;
  border: 1px solid var(--border); background: var(--panel); padding: 1rem 1.5rem 1rem 1rem; color: var(--panel-fg);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}
.promo__close { position: absolute; right: 0.125rem; top: 0.125rem; display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; opacity: 0.6; }
.promo__close:hover { opacity: 1; }
.promo__title { padding-right: 1.25rem; font-size: 0.875rem; font-weight: 600; }
.promo__text { margin-top: 0.25rem; font-size: 0.75rem; opacity: 0.8; }
.promo .btn { margin-top: 0.75rem; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgb(0 0 0 / 0.6); animation: fade-in 0.2s ease-out; overscroll-behavior: contain; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(2rem); opacity: 0; } }
.modal__panel {
  max-height: 92vh; max-height: 92dvh; width: 100%; max-width: 42rem; overflow-y: auto; overscroll-behavior: contain; border-radius: 1.25rem 1.25rem 0 0;
  background: var(--bg); padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); animation: sheet-up 0.25s ease-out;
}
.modal__panel::before { content: ""; display: block; width: 2.5rem; height: 0.25rem; margin: 0 auto 0.75rem; border-radius: 9999px; background: var(--border); }
.modal__panel--booking { max-width: 32rem; background: var(--card); }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.modal__title { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; color: var(--primary); }
.modal__close { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: var(--tap); height: var(--tap); margin: -0.5rem -0.5rem 0 0; border-radius: 9999px; color: var(--muted-fg); }
.modal__close:active { background: var(--muted); }
.modal__close:hover { color: var(--primary); }
.modal__sub { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); }
.progress { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 0 0.5rem; }
.progress span { height: 0.375rem; flex: 1; border-radius: 9999px; background: var(--muted); transition: background-color 0.15s; }
.progress span.is-active { background: var(--accent); }
.step-pane { display: grid; gap: 1rem; margin-top: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.grid-2 .field { margin-top: 0; }
.field-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--primary); margin-bottom: 0.5rem; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.slot {
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); padding: 0.625rem 0.75rem; min-height: 3.25rem;
  font-size: 0.875rem; text-align: left; transition: background-color 0.15s, border-color 0.15s;
}
.slot:hover { border-color: var(--accent); }
.slot small { display: block; margin-top: 0.125rem; font-size: 0.75rem; opacity: 0.75; }
.slot.is-selected { border-color: var(--accent); background: var(--accent); color: var(--accent-fg); }
.btn-row { display: flex; gap: 0.75rem; }
.btn-row .btn { flex: 1; }
.summary { border-radius: var(--radius); border: 1px solid var(--border); background: var(--secondary); padding: 1rem; font-size: 0.875rem; }
.summary p { display: flex; align-items: center; gap: 0.5rem; }
.summary p + p { margin-top: 0.5rem; }
.summary svg { color: var(--accent); }
.callout { display: flex; align-items: flex-start; gap: 0.75rem; border-radius: var(--radius); border: 1px solid hsl(32 68% 52% / 0.4); background: hsl(32 68% 52% / 0.1); padding: 1rem; }
.callout svg { color: var(--accent); }
.callout__title { font-weight: 600; color: var(--primary); }
.callout__text { font-size: 0.875rem; color: var(--muted-fg); }
.visit-head { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; color: var(--primary); }
.visit-head svg { color: var(--accent); }
.spinner { width: 1rem; height: 1rem; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Order review modal */
.order-lines { margin-top: 1.5rem; border-radius: 0.75rem; border: 1px solid var(--border); }
.order-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 1rem; }
.order-line + .order-line { border-top: 1px solid var(--border); }
.order-line__name { font-weight: 500; color: var(--primary); }
.order-line__price { margin-top: 0.125rem; font-size: 0.75rem; color: var(--muted-fg); }
.order-line__price s { margin-right: 0.5rem; }
.order-line__actions { display: flex; flex-shrink: 0; align-items: center; gap: 0.75rem; }
.order-line__actions .qty span { min-width: 1.25rem; font-weight: 400; }
.order-line__remove { min-height: var(--tap); padding: 0 0.25rem; font-size: 0.75rem; color: var(--muted-fg); text-decoration: underline; }
.totals { margin-top: 1rem; border-radius: 0.75rem; background: var(--secondary); padding: 1rem; font-size: 0.875rem; }
.totals__row { display: flex; align-items: center; justify-content: space-between; }
.totals__row + .totals__row { margin-top: 0.25rem; }
.totals__member { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--accent); }
.totals__save { font-weight: 600; color: var(--accent); }
.totals__strong { font-weight: 600; color: var(--primary); }
.totals__join { margin-top: 0.75rem; border-radius: var(--radius); background: var(--bg); padding: 0.75rem; }
.totals__join p { font-weight: 500; color: var(--primary); }
.totals__join button { margin-top: 0.25rem; min-height: var(--tap); text-align: left; font-size: 0.875rem; font-weight: 600; color: var(--accent); text-decoration: underline; }
.totals__var { margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted-fg); }
.order-form-grid { margin-top: 1.5rem; display: grid; gap: 1rem; }
.order-form-grid .field { margin-top: 0; }
.order-sent { padding: 2.5rem 0; text-align: center; }
.order-sent svg { margin: 0 auto; width: 3rem; height: 3rem; color: var(--accent); }
.order-sent h3 { margin-top: 1rem; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--primary); }
.order-sent p { margin: 0.75rem auto 0; max-width: 28rem; color: var(--muted-fg); }
.order-sent .btn { margin-top: 2rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); background: var(--secondary); }
.faq__inner { max-width: 48rem; margin: 0 auto; padding: 5rem 1.25rem; text-align: center; }
.faq__inner .section-title { margin-top: 0.5rem; }
.faq__list { margin-top: 2.5rem; text-align: left; }
.faq__list details { border-radius: 0.75rem; border: 1px solid var(--border); background: var(--card); padding: 0 1.25rem; }
.faq__list details[open] { padding-bottom: 1rem; }
.faq__list details + details { margin-top: 0.75rem; }
.faq__list summary { display: flex; min-height: 3.5rem; padding: 0.75rem 0; cursor: pointer; list-style: none; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; color: var(--primary); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary span { font-size: 1.25rem; line-height: 1; color: var(--accent); transition: transform 0.15s; }
.faq__list details[open] summary span { transform: rotate(45deg); }
.faq__list details p { margin-top: 0; font-size: 0.875rem; line-height: 1.625; color: var(--muted-fg); }

/* ---------- Final CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta__overlay { position: absolute; inset: 0; background: hsl(158 42% 18% / 0.85); }
.cta__inner { position: relative; max-width: 48rem; margin: 0 auto; padding: 4.5rem 1.25rem; text-align: center; color: #fff; }
.cta__inner h2 { font-size: 1.875rem; line-height: 1.2; }
.cta__inner p { margin: 1rem auto 0; max-width: 36rem; color: rgb(255 255 255 / 0.85); }
.cta__inner .btn { margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--secondary); }
.footer__grid { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.footer__tag { margin-top: 0.75rem; max-width: 20rem; font-size: 0.875rem; color: var(--muted-fg); }
.footer__col { font-size: 0.875rem; }
.footer__col > * + * { margin-top: 0.75rem; }
.footer__heading { font-weight: 600; color: var(--primary); }
.footer__col a, .footer__col .row { display: flex; align-items: center; gap: 0.5rem; min-height: 2.25rem; color: var(--muted-fg); }
.footer__col > a + a, .footer__col > a + .row { margin-top: 0.25rem; }
.footer__col a:hover { color: var(--primary); }
.footer__col svg { color: var(--accent); }
.footer__col p.muted { display: block; }
.footer__bottom { border-top: 1px solid var(--border-soft); }
.footer__bottom p { padding: 1.25rem 0; font-size: 0.75rem; color: var(--muted-fg); }

/* ---------- Mobile sticky bar and back to top ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 0.75rem;
  border-top: 1px solid var(--border); background: var(--glass); padding: 0.625rem 0.75rem calc(0.625rem + env(safe-area-inset-bottom)); gap: 0.5rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform 0.2s;
}
/* Tuck the bar away while someone is typing or a window is open */
body.is-typing .mobile-bar, body.is-modal .mobile-bar, body.is-typing .cart-bar, body.is-typing .to-top { transform: translateY(150%); }
.mobile-bar__call {
  display: flex; flex: 1; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 9999px;
  border: 1px solid var(--border); min-height: var(--tap); padding: 0 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--primary); background: var(--card);
}
.mobile-bar__call svg { color: var(--accent); }
.mobile-bar .btn { flex: 1.6; }
.to-top {
  position: fixed; bottom: calc(5rem + env(safe-area-inset-bottom)); right: 1rem; z-index: 40; display: none; height: 2.75rem; width: 2.75rem;
  align-items: center; justify-content: center; border-radius: 9999px; background: var(--primary); color: var(--primary-fg);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.to-top.is-visible { display: flex; }
.to-top:hover { filter: brightness(1.12); }
body.has-cart .to-top { bottom: calc(9.5rem + env(safe-area-inset-bottom)); }

/* Gentle reveal as sections scroll into view (only when JS adds .reveal) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) {
  .hero__title { font-size: 3rem; }
  .hero__actions { flex-direction: row; }
  .process__badge { bottom: -1.5rem; left: -1.5rem; }
}
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .hero, .hero__inner { min-height: 92dvh; }
  .hero__inner { padding-top: 6rem; padding-bottom: 6rem; }
  .modal__panel::before { display: none; }
  .toast { bottom: 2rem; }
  body.has-cart .to-top { bottom: 6.5rem; }
  .cta__inner { padding: 6rem 1.25rem; }
  .section { padding: 7rem 0; }
  .alacarte { padding: 7rem 0; }
  .section-title { font-size: 2.25rem; }
  .hero__title { font-size: 3.75rem; }
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
  .mobile-bar { display: none; }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); padding-top: 7rem; padding-bottom: 7rem; }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__media { order: 1; }
  .pricing__copy { order: 2; }
  .membership__inner { padding-top: 5rem; padding-bottom: 5rem; }
  .membership__grid { grid-template-columns: repeat(2, 1fr); align-items: center; }
  .membership__title { font-size: 2.25rem; }
  .member-banner { flex-direction: row; align-items: center; justify-content: space-between; }
  .member-banner__title { font-size: 1.5rem; }
  .join-form { padding: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-bar { left: auto; right: 1rem; bottom: 1rem; width: 24rem; border-radius: 0.75rem; border: 1px solid var(--border); }
  .promo { display: block; }
  .promo[hidden] { display: none !important; }
  .modal { align-items: center; padding: 1.5rem; }
  .modal__panel { border-radius: 1rem; padding: 2rem; }
  .order-form-grid { grid-template-columns: repeat(2, 1fr); }
  .faq__inner { padding: 6rem 1.25rem; }
  .cta__inner h2 { font-size: 2.25rem; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .to-top { bottom: 1.5rem; right: 1.5rem; }
}
@media (min-width: 1024px) {
  .header-phone { display: flex; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
