/* =========================================================================
   IVY Skin & Wellness — public site & customer portal
   Solid brand colours only (no gradients). Mobile-first.
   ========================================================================= */
:root {
  --sage: #657F65; --forest: #3F5F48; --ivory: #F7F6EF; --beige: #E8E6D9; --gold: #B49A68; --ink: #344238;
  --white: #fff; --muted: #687064; --line: #E2DFD0; --soft: #EFEDE3; --sage-tint: #E6ECE4; --gold-tint: #F3EDE1;
  --danger: #A44A3F; --danger-tint: #F6E6E3; --amber: #9A6B1F; --amber-tint: #F7EED9; --blue: #3E6475; --blue-tint: #E3ECEF;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 18px; --radius-sm: 10px; --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(52, 66, 56, .06), 0 2px 8px rgba(52, 66, 56, .04);
  --shadow: 0 10px 30px rgba(52, 66, 56, .08);
  --shadow-lg: 0 24px 60px rgba(52, 66, 56, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 86px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; font-variant-numeric: lining-nums; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--forest); text-decoration-color: rgba(63, 95, 72, .35); text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--sage); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--forest); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 500; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.18em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-white { background: var(--white); }
.section-beige { background: var(--beige); }
.section-forest { background: var(--forest); color: var(--ivory); }
.section-forest h2, .section-forest h3 { color: var(--ivory); }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.text-center .lead { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }

/* Eyebrow label with leaf */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.text-center .eyebrow::after, .eyebrow.center::after { content: ""; width: 26px; height: 1px; background: var(--gold); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.text-center { max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.divider-leaf { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 16px 0; }
.divider-leaf::before, .divider-leaf::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .7; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: .95rem; letter-spacing: .03em; text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--sage); color: var(--white); box-shadow: 0 10px 24px rgba(63, 95, 72, .25); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #A2885A; color: #fff; }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-light { background: var(--ivory); color: var(--forest); }
.btn-light:hover { background: var(--white); color: var(--forest); }
.btn-outline-light { border-color: rgba(247, 246, 239, .7); color: var(--ivory); }
.btn-outline-light:hover { background: var(--ivory); color: var(--forest); }
.btn-ghost { background: var(--sage-tint); color: var(--forest); }
.btn-ghost:hover { background: var(--beige); color: var(--forest); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #8d3d33; color: #fff; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .86rem; }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--forest); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; }
.icon-btn:hover { background: var(--soft); }

/* Grid/flex children may shrink below their content width (prevents sideways scrolling on phones) */
.account-shell > *, .booking-shell > *, .detail-grid > *, .contact-grid > *, .split > *, .cat-head > *, .promo > *, .footer-grid > * { min-width: 0; }

/* Logo (official artwork, transparent PNG) */
.logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.logo img { display: block; width: auto; height: auto; max-width: 100%; }
.logo-horizontal img { height: 64px; }
.logo-stacked img { width: 300px; }
.logo-mark img { height: 64px; }

/* Top bar & header */
.topbar { background: var(--forest); color: rgba(247, 246, 239, .88); font-size: .82rem; display: none; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 20px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-right { display: flex; gap: 22px; }
.topbar .icon { color: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 60; background: var(--ivory); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(52, 66, 56, .06); background: rgba(255, 255, 255, .96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }
.brand { text-decoration: none; display: inline-flex; }
.brand .logo img { height: 70px; }
@media (max-width: 520px) { :root { --header-h: 76px; } .brand .logo img { height: 58px; } }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 400; letter-spacing: .02em; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: var(--forest); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); padding: 8px 10px; border-radius: 999px; font-size: .92rem; }
.icon-link:hover { background: var(--soft); color: var(--forest); }
.btn-book { display: none; }
.nav-toggle { width: 46px; height: 46px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; }
.nav-toggle-bars { display: grid; gap: 5px; width: 18px; }
.nav-toggle-bars span { height: 1.5px; background: var(--forest); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle-bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.hide-sm { display: none; }

/* Mobile drawer */
.main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--ivory); padding: 16px 20px 120px; overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; z-index: 55; }
.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
.nav-open .mobile-bar { display: none; }
.main-nav ul { display: grid; }
.main-nav li a { display: block; padding: 14px 4px; font-family: var(--serif); font-size: 1.6rem; color: var(--forest); border-bottom: 1px solid var(--line); }
.main-nav li a::after { display: none; }
.nav-mobile-extra { display: grid; gap: 12px; margin-top: 28px; }
.nav-open { overflow: hidden; }

@media (min-width: 640px) { .hide-sm { display: inline; } .btn-book { display: inline-flex; } }
@media (min-width: 1100px) {
  .topbar { display: block; }
  .nav-toggle, .nav-mobile-extra { display: none; }
  .site-header { background: rgba(247, 246, 239, .94); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
  .main-nav { position: static; transform: none; background: none; padding: 0; overflow: visible; opacity: 1; visibility: visible; }
  .main-nav ul { display: flex; gap: 26px; }
  .main-nav li a { display: inline; padding: 0; font-family: var(--sans); font-size: .93rem; color: var(--ink); border: 0; }
  .main-nav li a::after { display: block; }
  .nav-open { overflow: auto; }
}

/* Flash */
.flash-stack { display: grid; gap: 10px; margin-top: 16px; position: relative; z-index: 5; }
.flash { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--sage-tint); color: var(--forest); border: 1px solid #cfdccb; font-size: .95rem; animation: flashIn .4s var(--ease); }
.flash button { background: none; border: 0; cursor: pointer; color: inherit; padding: 4px; display: grid; }
.flash-error { background: var(--danger-tint); color: var(--danger); border-color: #ebcbc5; }
.flash-warning, .flash-info { background: var(--gold-tint); color: #6d5a33; border-color: #e7dcc5; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-6px); } }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--forest); isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(33, 48, 38, .52); }
.hero-content { padding: 90px 0 120px; max-width: 760px; }
.hero .eyebrow { color: #E4D3AE; }
.hero .eyebrow::before { background: #E4D3AE; }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 4.6rem); margin-bottom: 22px; }
.hero p { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .9); max-width: 600px; font-weight: 300; }
.hero .btn-row { margin-top: 32px; }
.hero-wa { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .92); text-decoration: none; font-size: .95rem; margin-top: 22px; }
.hero-wa:hover { color: #fff; }
.hero-dots { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 3px; border-radius: 3px; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.hero-dots button.is-active { background: var(--gold); width: 52px; }
.hero-badge { position: absolute; right: 20px; bottom: 30px; display: none; align-items: center; gap: 14px; background: rgba(247, 246, 239, .96); color: var(--ink); padding: 14px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-badge .logo img { height: 46px; }
.hero-badge strong { font-family: var(--serif); font-size: 1.5rem; color: var(--forest); display: block; line-height: 1; }
.hero-badge span { font-size: .78rem; color: var(--muted); }
@media (min-width: 900px) { .hero-badge { display: flex; right: max(20px, calc((100vw - 1180px) / 2)); } }

/* Word reveal */
.has-anim .reveal-words .w { display: inline-block; opacity: 0; transform: translateY(.5em); animation: wordIn .9s var(--ease) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.has-anim .fade-up { opacity: 0; transform: translateY(14px); animation: wordIn .9s var(--ease) forwards; }

/* Scroll reveal */
.has-anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.has-anim .reveal.is-visible { opacity: 1; transform: none; }
.has-anim .reveal-delay-1 { transition-delay: .1s; } .has-anim .reveal-delay-2 { transition-delay: .2s; } .has-anim .reveal-delay-3 { transition-delay: .3s; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); background: var(--beige); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -60px; top: -40px; width: 320px; height: 320px; background: url("../images/brand/logo-sprig.png") no-repeat center / contain; opacity: .1; transform: rotate(-8deg); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 12px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero.has-image { color: #fff; background: var(--forest); isolation: isolate; }
.page-hero.has-image::before { display: none; }
.page-hero.has-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero.has-image::after { content: ""; position: absolute; inset: 0; background: rgba(33, 48, 38, .55); z-index: -1; }
.page-hero.has-image h1 { color: #fff; }
.page-hero.has-image .lead { color: rgba(255, 255, 255, .88); }
.breadcrumbs { font-size: .82rem; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--forest); }
.page-hero.has-image .breadcrumbs { color: rgba(255, 255, 255, .8); }

/* Split layout */
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split-reverse > :first-child { order: 2; } }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }
.media-frame.landscape { aspect-ratio: 4 / 3; }
.media-stack { position: relative; padding: 0 0 40px 40px; }
.media-stack .media-frame:nth-child(2) { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--ivory); box-shadow: var(--shadow-lg); }
.media-badge { position: absolute; top: 24px; right: -12px; background: var(--gold); color: #fff; border-radius: var(--radius); padding: 14px 18px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; box-shadow: var(--shadow); }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 3px solid var(--gold); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--serif); font-size: 1.3rem; }

/* Feature list */
.features { display: grid; gap: 18px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features-4 { grid-template-columns: repeat(4, 1fr); } .features-3 { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .35s var(--ease), box-shadow .35s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-tint); color: var(--forest); margin-bottom: 18px; }
.feature-icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 1.4rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.section-forest .feature { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.section-forest .feature p { color: rgba(247, 246, 239, .78); }
.section-forest .feature-icon { background: rgba(180, 154, 104, .2); color: #E4D3AE; }

/* Treatment guide */
.guide { display: grid; gap: 14px; }
@media (min-width: 700px) { .guide { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .guide { grid-template-columns: repeat(3, 1fr); } }
.guide-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line); }
.guide-item .icon { width: 30px; height: 30px; color: var(--sage); flex: none; margin-top: 2px; }
.guide-item h3 { font-size: 1.3rem; margin: 0 0 4px; }
.guide-item p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Category chips & filters */
.chips { position: relative; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: .9rem; cursor: pointer; transition: all .25s; }
.chip .icon { color: var(--sage); }
.chip:hover { border-color: var(--sage); color: var(--forest); }
.chip.active { background: var(--forest); color: #fff; border-color: var(--forest); }
.chip.active .icon { color: var(--gold); }
.filter-bar { display: grid; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 32px; }
.filter-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .filter-row { grid-template-columns: 2fr 1fr 1fr 1fr auto; align-items: end; } }

/* Service cards */
.cards { display: grid; gap: 22px; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-art { width: 100%; height: 100%; display: grid; place-items: center; background: var(--beige); color: var(--sage); }
.card-art .icon { width: 64px; height: 64px; stroke-width: 1.2; }
.card-tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .94); color: var(--forest); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.card-tag .icon { color: var(--gold); width: 1em; height: 1em; }
.card-flag { position: absolute; right: 14px; top: 14px; background: var(--gold); color: #fff; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.55rem; margin-bottom: 8px; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body p { color: var(--muted); font-size: .94rem; margin-bottom: 18px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; margin-top: auto; border-top: 1px solid var(--line); }
.price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--forest); line-height: 1; }
.price small { font-family: var(--sans); font-size: .72rem; font-weight: 400; color: var(--muted); letter-spacing: .06em; }
.price-old { text-decoration: line-through; color: var(--muted); font-size: .95rem; margin-left: 6px; font-weight: 400; }
.price-consult { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--gold); }
.duration { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .86rem; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }

/* Service rows (services page) */
.cat-block { margin-bottom: 56px; }
.cat-head { display: grid; gap: 20px; margin-bottom: 22px; }
@media (min-width: 900px) { .cat-head { grid-template-columns: 300px 1fr; align-items: center; } }
.cat-head-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.cat-head-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-title { display: flex; align-items: center; gap: 14px; }
.cat-title .cat-icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--forest); flex: none; }
.cat-title .cat-icon .icon { width: 28px; height: 28px; }
.cat-title h2 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.cat-tagline { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.svc-list { display: grid; gap: 12px; }
@media (min-width: 900px) { .svc-list { grid-template-columns: 1fr 1fr; } }
.svc { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
.svc:hover { border-color: #cdd6c8; box-shadow: var(--shadow-sm); }
.svc h3 { font-size: 1.35rem; margin: 0; }
.svc h3 a { text-decoration: none; color: inherit; }
.svc p { grid-column: 1 / -1; margin: 0; font-size: .92rem; color: var(--muted); }
.svc-side { text-align: right; }
.svc-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; }

/* Printed-style service menu */
.menu-page { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow); }
.menu-header { text-align: center; margin-bottom: 36px; }
.menu-header .logo-stacked img { width: min(420px, 80vw); margin: 0 auto; }
.menu-title { display: inline-block; margin-top: 18px; padding: 10px 40px; border-radius: 999px; background: var(--sage); color: #fff; font-family: var(--serif); font-size: 1.8rem; letter-spacing: .14em; text-transform: uppercase; }
.menu-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
.menu-cat { border: 1.5px solid var(--sage); border-radius: var(--radius); overflow: hidden; break-inside: avoid; }
.menu-cat-head { display: flex; align-items: center; gap: 14px; background: var(--sage); color: #fff; padding: 12px 18px; }
.menu-cat-head .cat-icon { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); display: grid; place-items: center; flex: none; }
.menu-cat-head .cat-icon .icon { width: 24px; height: 24px; }
.menu-cat-head h2 { color: #fff; font-size: 1.7rem; letter-spacing: .1em; text-transform: uppercase; margin: 0; line-height: 1; }
.menu-cat-head small { display: block; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; opacity: .9; margin-top: 4px; }
.menu-items { list-style: none; margin: 0; padding: 14px 18px 18px; background: var(--ivory); }
.menu-items li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed #d8d5c6; font-size: .95rem; }
.menu-items li:last-child { border-bottom: 0; }
.menu-items .mi-name { display: flex; align-items: baseline; gap: 8px; }
.menu-items .mi-name::before { content: "•"; color: var(--sage); }
.menu-items .mi-price { font-weight: 500; color: var(--forest); font-variant-numeric: lining-nums tabular-nums; }
.menu-items .mi-dur { color: var(--muted); font-size: .82rem; min-width: 60px; text-align: right; }
.menu-items a { color: inherit; text-decoration: none; }
.menu-items a:hover { color: var(--forest); text-decoration: underline; }
.menu-footer { text-align: center; margin-top: 36px; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--forest); }

/* Service detail */
.detail-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .detail-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.book-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 20px); }
.book-panel .price { font-size: 2.4rem; }
.facts { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: center; font-size: .95rem; }
.facts .icon { color: var(--sage); }
.note { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--gold-tint); color: #6d5a33; font-size: .92rem; }
.note-sage { background: var(--sage-tint); color: var(--forest); }
.info-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-top: 18px; }
.info-block h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }

/* Experience band */
.experience { position: relative; color: #fff; isolation: isolate; padding: clamp(80px, 12vw, 150px) 0; overflow: hidden; background: var(--forest); }
.experience > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.experience::after { content: ""; position: absolute; inset: 0; background: rgba(33, 48, 38, .6); z-index: -1; }
.experience h2 { color: #fff; max-width: 700px; }
.experience p { max-width: 560px; color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.experience .eyebrow { color: #E4D3AE; }
.experience .eyebrow::before { background: #E4D3AE; }

/* Packages */
.pkg { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.pkg-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.pkg-includes { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.pkg-includes li { display: flex; gap: 10px; font-size: .93rem; }
.pkg-includes .icon { color: var(--sage); margin-top: 3px; }
.pkg-valid { font-size: .8rem; color: var(--muted); margin-bottom: 16px; }
.empty-state { text-align: center; padding: 56px 24px; background: var(--white); border: 1px dashed #d4d0c0; border-radius: var(--radius-lg); }
.empty-state .icon { width: 44px; height: 44px; color: var(--gold); margin: 0 auto 14px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); max-width: 460px; margin: 0 auto 20px; }

/* Gallery */
.gallery { columns: 2 160px; column-gap: 14px; }
@media (min-width: 800px) { .gallery { columns: 3 220px; column-gap: 18px; } }
.gallery-item { break-inside: avoid; margin: 0 0 14px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; display: block; background: var(--beige); border: 0; padding: 0; width: 100%; }
.gallery-item img { width: 100%; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-size: .88rem; background: rgba(33, 48, 38, .55); opacity: 0; transform: translateY(8px); transition: all .35s var(--ease); text-align: left; }
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: none; }
.gallery-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 800px) { .gallery-strip { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; } .gallery-strip > :first-child { grid-row: span 2; } }
.gallery-strip .gallery-item { margin: 0; height: 100%; aspect-ratio: 1; }
@media (min-width: 800px) { .gallery-strip .gallery-item { aspect-ratio: auto; } }
.gallery-strip .gallery-item img { height: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20, 28, 23, .94); display: grid; place-items: center; padding: 60px 16px; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-caption { color: rgba(255, 255, 255, .85); text-align: center; margin-top: 14px; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }

/* Testimonials */
.testimonials { display: grid; gap: 20px; }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial { background: var(--white); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); position: relative; }
.testimonial::before { content: "“"; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--beige); position: absolute; top: 10px; right: 22px; }
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.stars .icon { width: 16px; height: 16px; }
.stars .off { color: var(--line); }
.testimonial blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
.testimonial cite { font-style: normal; font-weight: 500; color: var(--forest); font-size: .92rem; }
.testimonial cite span { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }

/* Promo band */
.promo { display: grid; gap: 0; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 900px) { .promo { grid-template-columns: 1fr 1.1fr; } }
.promo-media { min-height: 260px; position: relative; }
.promo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-body { padding: clamp(28px, 5vw, 56px); }
.perk-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.perk-list li { display: flex; gap: 12px; align-items: flex-start; }
.perk-list .icon { color: var(--gold); width: 22px; height: 22px; margin-top: 2px; }

/* Contact */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .25s, transform .25s var(--ease); }
a.contact-card:hover { border-color: var(--sage); transform: translateY(-2px); color: inherit; }
.contact-card .ci { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--sage-tint); color: var(--forest); display: grid; place-items: center; }
.contact-card .ci .icon { width: 22px; height: 22px; }
.contact-card strong { display: block; font-weight: 500; color: var(--forest); }
.contact-card span { color: var(--muted); font-size: .93rem; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; margin-top: 14px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; color: var(--muted); }
.hours-table tr.today td { color: var(--forest); font-weight: 500; }

/* Forms */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.form-grid > * { min-width: 0; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; }
.field label, .label { font-size: .86rem; font-weight: 500; color: var(--ink); letter-spacing: .01em; }
.field .hint { font-size: .8rem; color: var(--muted); }
.req { color: var(--danger); }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field input[type=date], .field input[type=number], .field input[type=time], .field input[type=search], .field select, .field textarea, .select {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid #d6d3c4; border-radius: 12px; background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select, .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23657F65' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus, .select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(101, 127, 101, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .82rem; margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check > span { min-width: 0; }
.check input { width: 20px; height: 20px; accent-color: var(--forest); margin-top: 3px; flex: none; }
.input-group { display: flex; gap: 10px; }
.input-group .input { flex: 1; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { cursor: pointer; color: var(--line); }
.rating-input label .icon { width: 30px; height: 30px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--gold); }
.rating-input input:focus-visible + label { outline: 2px solid var(--gold); border-radius: 4px; }

/* Booking wizard */
.booking-shell { display: grid; gap: 28px; }
@media (min-width: 1000px) { .booking-shell { grid-template-columns: 1fr 360px; align-items: start; } }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 28px; counter-reset: s; overflow-x: auto; }
.steps li { flex: 1; min-width: 70px; display: grid; gap: 8px; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.steps li::before { content: ""; height: 3px; border-radius: 3px; background: var(--line); transition: background .4s; }
.steps li.is-done::before, .steps li.is-current::before { background: var(--forest); }
.steps li.is-current { color: var(--forest); font-weight: 500; }
.step-panel { display: none; animation: stepIn .45s var(--ease); }
.step-panel.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
.step-title { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 6px; }
.svc-pick { display: grid; gap: 10px; }
.svc-pick-cat { margin: 22px 0 6px; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 10px; }
.svc-option { position: relative; }
.svc-option input { position: absolute; opacity: 0; pointer-events: none; }
.svc-option label { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.svc-option label:hover { border-color: var(--sage); }
.svc-option input:checked + label { border-color: var(--forest); background: var(--sage-tint); box-shadow: 0 0 0 1px var(--forest); }
.svc-option input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.svc-option .so-name { font-weight: 500; color: var(--forest); }
.svc-option .so-meta { font-size: .82rem; color: var(--muted); }
.svc-option .so-price { font-weight: 500; text-align: right; color: var(--forest); white-space: nowrap; }
.svc-search { margin-bottom: 8px; }
.staff-pick { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.staff-card label { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 20px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; height: 100%; }
.staff-card input { position: absolute; opacity: 0; }
.staff-card input:checked + label { border-color: var(--forest); box-shadow: 0 0 0 1px var(--forest); background: var(--sage-tint); }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; color: #fff; background: var(--sage); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 36px; height: 36px; font-size: .95rem; }
.cal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head strong { font-family: var(--serif); font-size: 1.4rem; color: var(--forest); font-weight: 600; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { font-size: .72rem; letter-spacing: .1em; color: var(--muted); padding: 6px 0; text-transform: uppercase; }
.cal-day { aspect-ratio: 1; border-radius: 12px; border: 1px solid transparent; background: none; cursor: pointer; font-size: .95rem; color: var(--ink); display: grid; place-items: center; position: relative; }
.cal-day:hover:not(:disabled) { border-color: var(--sage); }
.cal-day.is-available::after { content: ""; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--sage); }
.cal-day.is-selected { background: var(--forest); color: #fff; }
.cal-day.is-selected::after { background: var(--gold); }
.cal-day.is-today { font-weight: 600; }
.cal-day:disabled { color: #c3c0b2; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 18px; }
.slot { min-height: 46px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; cursor: pointer; font-size: .92rem; transition: all .2s; }
.slot:hover { border-color: var(--sage); color: var(--forest); }
.slot.is-selected { background: var(--forest); color: #fff; border-color: var(--forest); }
.slots-group { margin-top: 18px; }
.slots-group h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 -6px; font-weight: 500; }
.loading { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 18px 0; font-size: .92rem; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--forest); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary h3 { font-size: 1.6rem; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.summary-row span:first-child { color: var(--muted); }
.summary-row span:last-child { text-align: right; font-weight: 500; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; }
.summary-total .price { font-size: 1.9rem; }
.summary-empty { color: var(--muted); font-size: .92rem; padding: 10px 0; }
.wizard-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; }
@media (max-width: 520px) { .wizard-nav > span { display: none; } .wizard-nav .btn { flex: 1 1 auto; padding: 0 18px; white-space: normal; text-align: center; } .wizard-nav .btn-lg { min-height: 52px; } }
.confirm-hero { text-align: center; padding: 48px 20px 8px; }
.confirm-check { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--sage-tint); color: var(--forest); display: grid; place-items: center; animation: pop .6s var(--ease); }
.confirm-check .icon { width: 40px; height: 40px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.ref-code { display: inline-block; font-family: var(--serif); font-size: 2rem; letter-spacing: .12em; color: var(--forest); background: var(--white); border: 1px dashed var(--gold); border-radius: 14px; padding: 8px 24px; margin: 8px 0 18px; }

/* Tables (account) */
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-weight: 500; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; background: var(--ivory); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.badge-green { background: var(--sage-tint); color: var(--forest); }
.badge-amber { background: var(--amber-tint); color: var(--amber); }
.badge-red { background: var(--danger-tint); color: var(--danger); }
.badge-blue { background: var(--blue-tint); color: var(--blue); }
.badge-dark { background: var(--forest); color: #fff; }
.badge-muted { background: var(--soft); color: var(--muted); }
.badge-gold { background: var(--gold-tint); color: #7d6741; }

/* Account */
.account-shell { display: grid; gap: 28px; padding: 40px 0 80px; }
@media (min-width: 960px) { .account-shell { grid-template-columns: 260px 1fr; align-items: start; } }
.account-nav { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: sticky; top: calc(var(--header-h) + 16px); }
.account-nav-user { display: flex; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.account-nav-user strong { display: block; font-weight: 500; color: var(--forest); line-height: 1.2; }
.account-nav-user span { font-size: .8rem; color: var(--muted); }
.account-nav ul { list-style: none; padding: 0; margin: 0; display: flex; overflow-x: auto; gap: 4px; }
@media (min-width: 960px) { .account-nav ul { display: grid; } }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .93rem; white-space: nowrap; background: none; border: 0; width: 100%; cursor: pointer; text-align: left; }
.account-nav a:hover, .account-nav button:hover { background: var(--ivory); color: var(--forest); }
.account-nav a.active { background: var(--sage-tint); color: var(--forest); font-weight: 500; }
.account-nav .icon { color: var(--sage); }
.account-main h1 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: 6px; }
.stat-cards { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin: 24px 0; }
@media (min-width: 900px) { .stat-cards { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat-card span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.stat-card strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--forest); font-weight: 600; line-height: 1.1; margin-top: 4px; }
.appt-card { display: grid; gap: 14px; grid-template-columns: auto 1fr; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px; }
.appt-date { width: 66px; text-align: center; border-radius: 14px; background: var(--sage-tint); padding: 10px 0; color: var(--forest); }
.appt-date b { display: block; font-family: var(--serif); font-size: 1.8rem; line-height: 1; }
.appt-date span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.appt-card h3 { font-size: 1.3rem; margin: 0 0 2px; }
.appt-card .meta { font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.appt-card .actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (min-width: 700px) { .appt-card { grid-template-columns: auto 1fr auto; } .appt-card .actions { grid-column: auto; } }
.loyalty-card { background: var(--forest); color: var(--ivory); border-radius: var(--radius-lg); padding: 30px; position: relative; overflow: hidden; }
.loyalty-card::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 220px; height: 220px; background: url("../images/brand/logo-sprig-light.png") no-repeat center / contain; opacity: .16; }
.loyalty-card strong { font-family: var(--serif); font-size: 3.4rem; line-height: 1; display: block; color: #fff; }
.loyalty-card .tier { color: var(--gold); letter-spacing: .24em; text-transform: uppercase; font-size: .76rem; }
.chat { display: grid; gap: 14px; padding: 18px; background: var(--ivory); border-radius: var(--radius); border: 1px solid var(--line); max-height: 60vh; overflow-y: auto; }
.bubble { max-width: 78%; padding: 12px 16px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); font-size: .94rem; }
.bubble.me { margin-left: auto; background: var(--forest); color: #fff; border-color: var(--forest); border-bottom-right-radius: 6px; }
.bubble.them { border-bottom-left-radius: 6px; }
.bubble-meta { display: block; font-size: .72rem; opacity: .7; margin-top: 6px; }
.bubble a { color: inherit; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; text-decoration: none; color: inherit; }
a.list-row:hover { border-color: var(--sage); color: inherit; }
.list-row.unread { border-left: 3px solid var(--gold); }

/* Auth */
.auth-wrap { min-height: calc(100vh - 200px); display: grid; place-items: center; padding: 48px 20px 80px; }
.auth-card { width: 100%; max-width: 480px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 44px); box-shadow: var(--shadow); }
.auth-card .logo { margin: 0 auto 14px; display: flex; justify-content: center; }
.auth-card .logo img { height: 92px; }
.auth-card h1 { font-size: 2.2rem; text-align: center; margin-bottom: 6px; }
.auth-card .lead { text-align: center; font-size: 1rem; margin: 0 auto 26px; }
.auth-alt { text-align: center; margin-top: 22px; font-size: .93rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--serif); font-size: 1.35rem; color: var(--forest); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s var(--ease); color: var(--gold); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); margin: 0; }

/* Blog */
.post-card .card-media { aspect-ratio: 16 / 10; }
.post-meta { font-size: .8rem; color: var(--muted); letter-spacing: .06em; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.article { max-width: 760px; margin: 0 auto; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin: -40px 0 40px; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* CTA band */
.cta-band { background: var(--sage); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); display: grid; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -30px; top: -40px; width: 240px; height: 240px; background: url("../images/brand/logo-sprig-light.png") no-repeat center / contain; opacity: .18; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: 8px 0 0; color: rgba(255, 255, 255, .9); }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }

/* Footer */
.site-footer { background: var(--forest); color: rgba(247, 246, 239, .82); padding: 80px 0 0; position: relative; overflow: hidden; margin-top: 0; }
.footer-leaf { position: absolute; left: -80px; bottom: -60px; width: 360px; height: 360px; background: url("../images/brand/logo-sprig-light.png") no-repeat center / contain; opacity: .07; transform: rotate(-12deg); pointer-events: none; }
.footer-grid { display: grid; gap: 40px; position: relative; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1050px) { .footer-grid { grid-template-columns: 1.4fr .9fr .9fr 1.3fr; } }
.footer-brand .logo-stacked img { width: 250px; }
.footer-brand p { margin-top: 18px; font-size: .93rem; max-width: 340px; }
.footer-title { font-family: var(--sans); font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 500; }
.footer-title-sm { margin-top: 24px; }
.footer-links, .footer-contact, .footer-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; }
.site-footer a { color: rgba(247, 246, 239, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); margin-top: 4px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; font-size: .86rem; }
.footer-hours li.today { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(247, 246, 239, .25); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); }
.footer-slogan { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 56px 0 0; padding: 0 20px; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--beige); text-align: center; }
.footer-slogan .rule { flex: 0 1 120px; height: 1px; background: rgba(180, 154, 104, .6); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px 20px 110px; margin-top: 30px; border-top: 1px solid rgba(247, 246, 239, .12); font-size: .82rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
@media (min-width: 900px) { .footer-bottom { padding-bottom: 30px; } }

/* Mobile quick bar */
.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-lg); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border-radius: 999px; text-decoration: none; color: var(--forest); font-size: .86rem; font-weight: 500; }
.mobile-bar-book { background: var(--forest); color: #fff !important; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* PWA install & offline */
.install-banner { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 460px; margin: 0 auto; animation: flashIn .4s var(--ease); }
.install-banner .logo img { height: 40px; }
.install-banner div { flex: 1; display: grid; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.install-banner strong { color: var(--forest); font-weight: 500; font-size: .92rem; }
@media (min-width: 900px) { .install-banner { bottom: 20px; left: auto; right: 20px; } }
.offline-pill { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 400; display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .84rem; box-shadow: var(--shadow-lg); max-width: calc(100% - 24px); }

/* Pager */
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); font-size: .9rem; }
.pager .pager-current { background: var(--forest); color: #fff; border-color: var(--forest); }
.pager .pager-gap { border: 0; background: none; }

/* Error page */
.error-page { text-align: center; padding: 100px 20px; }
.error-code { font-family: var(--serif); font-size: 7rem; line-height: 1; color: var(--beige); font-weight: 600; }

/* Receipt / print */
.receipt { max-width: 640px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.receipt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .has-anim .reveal, .has-anim .reveal-words .w, .has-anim .fade-up { opacity: 1; transform: none; }
}
@media print {
  .has-anim .reveal, .has-anim .fade-up, .has-anim .reveal-words .w { opacity: 1 !important; transform: none !important; }
  .topbar, .site-header, .site-footer, .mobile-bar, .install-banner, .no-print, .flash-stack { display: none !important; }
  body { background: #fff; }
  .menu-page, .receipt { box-shadow: none; border: 0; padding: 0; }
  .menu-cat { break-inside: avoid; }
  a { text-decoration: none; }
}

/* Form controls never force a layout wider than the screen */
input[type=file] { max-width: 100%; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
@media (max-width: 380px) { .container { padding: 0 14px; } .auth-card { padding: 22px 16px; } .panel { padding: 18px 14px; } .booking-shell .panel { padding: 18px 14px; } .steps li { min-width: 52px; font-size: .7rem; } }
@media (max-width: 600px) {
  .auth-wrap { min-height: 0; place-items: start center; padding: 24px 14px 110px; }
  .error-page { padding: 56px 16px; }
  .error-code { font-size: 5rem; }
}
