@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=DM+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;700&display=swap');

/* ===================== Theme palettes — verbatim from templates.ts ===================== */
:root {
  --primary: #6a7f6b;
  --primary-dark: #4f6350;
  --primary-light: #e8ede8;
  --accent: #c97b5d;
  --accent-light: #fdf0e8;
  --bg: #fdf8f0;
  --bg-alt: #f5efe6;
  --surface: #ffffff;
  --soft: #f1ebe1;
  --border: #e6ddd0;
  --ink: #2b2e2b;
  --ink-soft: #5a645a;
  --ink-faint: #8a958a;
  --on-primary: #ffffff;
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(135deg, #fdf8f0 0%, #f1e8dc 45%, #e6ddd0 100%);
  --hero-overlay: linear-gradient(180deg, rgba(43,46,43,0.06) 0%, rgba(43,46,43,0.18) 100%);
  --hero-text: #2b2e2b;
  --shadow-sm: 0 1px 2px rgba(43,46,43,0.04), 0 4px 12px rgba(43,46,43,0.06);
  --shadow-md: 0 4px 16px rgba(43,46,43,0.08), 0 10px 24px rgba(43,46,43,0.06);
  --shadow-lg: 0 12px 32px rgba(43,46,43,0.12), 0 20px 48px rgba(43,46,43,0.08);
  --muted: var(--ink-soft);
}
html[data-theme="serene"] {
  --primary: #6a7f6b;
  --primary-dark: #4f6350;
  --primary-light: #e8ede8;
  --accent: #c97b5d;
  --accent-light: #fdf0e8;
  --bg: #fdf8f0;
  --bg-alt: #f5efe6;
  --surface: #ffffff;
  --soft: #f1ebe1;
  --border: #e6ddd0;
  --ink: #2b2e2b;
  --ink-soft: #5a645a;
  --ink-faint: #8a958a;
  --on-primary: #ffffff;
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(135deg, #fdf8f0 0%, #f1e8dc 45%, #e6ddd0 100%);
  --hero-overlay: linear-gradient(180deg, rgba(43,46,43,0.06) 0%, rgba(43,46,43,0.18) 100%);
  --hero-text: #2b2e2b;
  --shadow-sm: 0 1px 2px rgba(43,46,43,0.04), 0 4px 12px rgba(43,46,43,0.06);
  --shadow-md: 0 4px 16px rgba(43,46,43,0.08), 0 10px 24px rgba(43,46,43,0.06);
  --shadow-lg: 0 12px 32px rgba(43,46,43,0.12), 0 20px 48px rgba(43,46,43,0.08);
  --muted: var(--ink-soft);
}
html[data-theme="ritual"] {
  --primary: #c9a86a;
  --primary-dark: #b0894a;
  --primary-light: #fdf6e8;
  --accent: #e8b4a0;
  --accent-light: #fdf0eb;
  --bg: #1b2130;
  --bg-alt: #212938;
  --surface: #252d3e;
  --soft: #2e374d;
  --border: #2f3a4d;
  --ink: #fdf8f0;
  --ink-soft: #c2bcc0;
  --ink-faint: #8a95a8;
  --on-primary: #1b2130;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 2px;
  --radius-lg: 4px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(160deg, #1b2130 0%, #2a3347 60%, #3a455c 100%);
  --hero-overlay: linear-gradient(180deg, rgba(27,33,48,0.45) 0%, rgba(27,33,48,0.82) 100%);
  --hero-text: #fdf8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.45);
  --muted: var(--ink-soft);
}
html[data-theme="grove"] {
  --primary: #4a6b57;
  --primary-dark: #345041;
  --primary-light: #e0e8e0;
  --accent: #d68c5a;
  --accent-light: #fdf0e8;
  --bg: #fefcf5;
  --bg-alt: #f5efe6;
  --surface: #ffffff;
  --soft: #fdf6ee;
  --border: #e8ddd0;
  --ink: #2f3e34;
  --ink-soft: #5a6b5e;
  --ink-faint: #8a9b8f;
  --on-primary: #ffffff;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --hero-gradient: linear-gradient(160deg, #fefcf5 0%, #f5efe6 55%, #e8ddd0 100%);
  --hero-overlay: linear-gradient(180deg, rgba(47,62,52,0.04) 0%, rgba(47,62,52,0.14) 100%);
  --hero-text: #2f3e34;
  --shadow-sm: 0 2px 8px rgba(47,62,52,0.06);
  --shadow-md: 0 8px 20px rgba(47,62,52,0.08);
  --shadow-lg: 0 16px 36px rgba(47,62,52,0.12);
  --muted: var(--ink-soft);
}

/* ===================== BASE_CSS ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
* { scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
*::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
::selection { background: var(--primary); color: var(--on-primary); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; max-width: 1120px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-logo { height: 46px; width: auto; border-radius: var(--radius); }
.brand-name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-link { color: var(--ink); font-weight: 600; font-size: 0.95rem; padding: 8px 14px; border-radius: 999px; transition: color .15s ease, background .15s ease; }
.nav-link:hover { text-decoration: none; background: var(--soft); }
.nav-link.active { color: var(--primary); background: var(--soft); }
.nav-cta { background: var(--primary); color: var(--on-primary) !important; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14); box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 35%, transparent); }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.nav-cta.active { background: var(--primary); color: var(--on-primary) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px 8px; border-radius: 10px; }
.nav-toggle:hover { background: var(--soft); }
.nav-toggle span { display: block; width: 24px; height: 2.5px; border-radius: 999px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.hero { position: relative; padding: 104px 24px 112px; text-align: center; overflow: hidden; background: var(--hero-gradient); background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px); background-size: 24px 24px; }
.hero-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; color: var(--hero-text); }
.hero h1 { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.12; margin-bottom: 14px; letter-spacing: -0.02em; }
.hero .tagline { font-size: clamp(1.1rem, 2vw, 1.35rem); opacity: .92; margin-bottom: 10px; }
.hero .desc { max-width: 640px; margin: 0 auto 28px; font-size: 1.02rem; opacity: .88; }
.hero-cta { display: inline-block; background: var(--primary); color: var(--on-primary); padding: 14px 32px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2); box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 40%, transparent); transition: transform .15s ease, background .15s ease; }
.hero-cta:hover { background: var(--primary-dark); transform: translateY(-2px); text-decoration: none; }

.hero-carousel { position: relative; overflow: hidden; }
.hero-carousel .hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-carousel .hero-slide.active { opacity: 1; }
.hero-carousel .hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.hero-carousel .hero-dot { width: 10px; height: 10px; border-radius: 50%; border: none; padding: 0; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.hero-carousel .hero-dot:hover { transform: scale(1.25); }
.hero-carousel .hero-dot.active { background: #fff; }

.page-hero { position: relative; padding: 64px 24px; text-align: center; overflow: hidden; background: var(--hero-gradient); background-size: cover; background-position: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.page-hero .container { position: relative; z-index: 2; color: var(--hero-text); }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 10px; letter-spacing: -0.02em; }
.page-hero .sub { font-size: 1.05rem; opacity: 0.92; max-width: 560px; margin: 0 auto; }
.crumbs { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; opacity: 0.9; }
.crumbs a { color: inherit; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { opacity: 0.55; font-weight: 400; }

.section { padding: 72px 24px; }
.section-alt { position: relative; overflow: hidden; background: var(--bg-alt); }
.section-alt::before, .section-alt::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.section-alt::before { width: 420px; height: 420px; top: -140px; left: -120px; background: color-mix(in srgb, var(--primary) 12%, transparent); }
.section-alt::after { width: 360px; height: 360px; bottom: -120px; right: -110px; background: color-mix(in srgb, var(--accent) 26%, transparent); }
.section-alt .container { position: relative; z-index: 1; }
.section h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 36px; text-align: center; letter-spacing: -0.015em; }

.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head .eyebrow { display: inline-block; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--primary); background: var(--surface); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--ink-soft); font-size: 1.03rem; }

.feature, .service-card, .team-card, .testimonial-card, .promo-card, .contact-card, .article-card, .gallery-grid figure {
  border-color: color-mix(in srgb, var(--border) 70%, transparent);
  box-shadow: var(--shadow-md);
}
.feature:hover, .service-card:hover, .team-card:hover, .testimonial-card:hover, .promo-card:hover, .contact-card:hover, .article-card:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
  box-shadow: var(--shadow-lg);
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature h3 { color: var(--primary); margin-bottom: 8px; font-family: var(--font-head); font-size: 1.05rem; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card .thumb { height: 190px; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card h3 { font-family: var(--font-head); font-size: 1.15rem; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }
.service-price { font-weight: 800; color: var(--primary); font-size: 1.05rem; }
.service-card .footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; }
.service-card .footer a { font-weight: 600; }

.service-detail { max-width: 780px; margin: 0 auto; }
.service-detail img { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 28px; }
.service-detail h1 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 12px; letter-spacing: -0.02em; }
.service-detail .price { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 18px; }
.service-detail .desc { font-size: 1.05rem; margin-bottom: 28px; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.gallery-grid img { width: 100%; height: 210px; object-fit: cover; transition: transform .35s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption { font-size: 0.85rem; color: var(--ink-soft); padding: 10px 14px; background: var(--surface); }

.pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 32px; flex-wrap: wrap; }
.pager-link { display: inline-flex; min-width: 38px; height: 38px; padding: 0 12px; align-items: center; justify-content: center; border: 1px solid var(--border); background: var(--surface); border-radius: 10px; font-size: 0.9rem; color: var(--primary); text-decoration: none; }
.pager-link:hover { border-color: var(--primary); }
.pager-link.current { background: var(--primary); border-color: var(--primary); color: var(--on-primary); font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.contact-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.09em; font-weight: 800; }
.contact-card .hours { white-space: pre-line; }

.booking-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.booking-info { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); display: grid; gap: 18px; position: sticky; top: 96px; }
.booking-info h3 { color: var(--primary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.09em; font-weight: 800; margin-bottom: 2px; }
.booking-info .hours { white-space: pre-line; }
.booking-form { max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); display: grid; gap: 16px; }
.booking-form label { font-weight: 600; font-size: 0.95rem; display: grid; gap: 7px; }
.booking-form input, .booking-form select, .booking-form textarea { padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; width: 100%; background: var(--bg); color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.booking-form textarea { min-height: 96px; resize: vertical; }
.booking-form .consent-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.88rem; line-height: 1.5; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.booking-form .consent-row input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.btn { display: inline-block; background: var(--primary); color: var(--on-primary); border: none; border-radius: 999px; padding: 13px 26px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); text-decoration: none; }
.success-box { max-width: 580px; margin: 48px auto; text-align: center; background: var(--primary-light); border: 2px solid var(--primary); border-radius: var(--radius-lg); padding: 36px; }
.success-box h3 { font-family: var(--font-head); margin-bottom: 8px; }
.error-box { max-width: 580px; margin: 24px auto; text-align: center; background: #fef2f2; border: 1px solid #fca5a5; border-radius: var(--radius); padding: 20px; color: #b91c1c; }

.site-footer { background: var(--ink); color: color-mix(in srgb, var(--ink) 35%, #fff); border-top: 4px solid color-mix(in srgb, var(--primary) 55%, transparent); padding: 56px 0 0; margin-top: 48px; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px; }
.site-footer h3 { color: #fff; margin-bottom: 14px; font-size: 1rem; font-family: var(--font-head); }
.site-footer a { color: var(--accent); }
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { text-decoration: none; }
.site-footer .footer-desc { color: color-mix(in srgb, var(--ink) 22%, #fff); font-size: 0.92rem; margin-top: 6px; }
.footer-links { display: grid; gap: 4px; }
.footer-links a { color: color-mix(in srgb, var(--ink) 30%, #fff); }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-links a.all-link { font-weight: 700; color: var(--accent); margin-top: 6px; }
.footer-col p { margin-bottom: 6px; }
.site-footer .hours { white-space: pre-line; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 44px; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.86rem; color: color-mix(in srgb, var(--ink) 22%, #fff); }
.footer-bottom a { color: color-mix(in srgb, var(--ink) 22%, #fff); font-weight: 600; }
.footer-bottom a:hover { color: #fff; }
.footer-sep { opacity: .45; }
.powered-by{opacity:.8}
.powered-by a{color:inherit;text-decoration:none}
.powered-by a:hover{text-decoration:underline;opacity:1}
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: var(--soft); color: var(--ink); transition: background .15s ease, color .15s ease, transform .15s ease; }
.social-link:hover { background: var(--primary); color: var(--on-primary); transform: translateY(-2px); text-decoration: none; }
.social-link svg { width: 16px; height: 16px; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.wa-link svg { width: 16px; height: 16px; }
.site-footer .social-link { background: rgba(255, 255, 255, .1); color: #fff; }
.site-footer .social-link:hover { background: var(--primary); }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .4); transition: transform .15s ease, background .15s ease; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: #1ebe5b; text-decoration: none; }
.wa-float svg { width: 30px; height: 30px; }

.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.6rem; background: var(--soft); border-radius: 50%; margin-bottom: 14px; }
.feature-icon svg { width: 26px; height: 26px; color: var(--accent); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-avatar { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent); }
.team-avatar-fallback { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--soft); color: var(--primary); font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; border: 3px solid var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent); }
.team-card h3 { font-family: var(--font-head); font-size: 1.1rem; }
.team-role { color: var(--primary); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.team-bio { color: var(--ink-soft); font-size: 0.92rem; margin-top: 10px; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.testimonial-card .qmark { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; color: color-mix(in srgb, var(--primary) 25%, transparent); }
.testimonial-card .stars { color: var(--accent); font-size: 1.05rem; letter-spacing: 2px; }
.testimonial-card p { color: var(--ink); font-size: 0.98rem; flex: 1; }
.testimonial-card .author { color: var(--ink-soft); font-size: 0.88rem; font-weight: 700; }

.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.promo-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.promo-badge { position: absolute; top: 14px; right: -32px; transform: rotate(38deg); background: var(--primary); color: var(--on-primary); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 38px; }
.promo-card h3 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 8px; padding-right: 60px; }
.promo-card p { color: var(--ink-soft); font-size: 0.95rem; }
.promo-expiry { display: inline-block; margin-top: 14px; font-size: 0.82rem; font-weight: 700; color: var(--primary-dark); background: var(--soft); padding: 6px 12px; border-radius: 999px; }
.promo-expiry.expiring { background: #fef2f2; color: #b91c1c; }

.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 1rem; font-family: var(--font-head); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.3rem; color: var(--primary); transition: transform .15s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 18px; color: var(--ink-soft); font-size: 0.97rem; }
.faq-list details .rich { padding: 0 22px 18px; color: var(--ink-soft); font-size: 0.97rem; }

.rich h2, .rich h3 { font-family: var(--font-head); color: var(--ink); margin: 16px 0 8px; line-height: 1.35; }
.rich h2 { font-size: 1.25rem; }
.rich h3 { font-size: 1.08rem; }
.rich p { margin: 0 0 12px; }
.rich ul, .rich ol { margin: 0 0 12px; padding-left: 22px; }
.rich li { margin-bottom: 4px; }
.rich blockquote { border-left: 3px solid var(--primary); padding-left: 14px; color: var(--ink-soft); margin: 0 0 12px; }
.rich a { color: var(--primary-dark); font-weight: 600; }

.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.article-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card .thumb { height: 180px; overflow: hidden; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.article-card:hover .thumb img { transform: scale(1.06); }
.article-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card h3 { font-family: var(--font-head); font-size: 1.1rem; }
.article-card p { color: var(--ink-soft); font-size: 0.93rem; flex: 1; }
.article-meta { font-size: 0.8rem; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.article-card .footer { margin-top: auto; padding-top: 10px; }
.article-card .footer a { font-weight: 600; }

.article-prose { max-width: 760px; margin: 0 auto; }
.article-prose img { width: 100%; max-height: 400px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 26px; }
.article-prose h1 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 10px; letter-spacing: -0.02em; }
.article-prose .lede { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 26px; }
.article-prose .body { font-size: 1.05rem; }
.article-prose .body p { margin-bottom: 18px; }
.article-prose .body h2 { font-family: var(--font-head); font-size: 1.4rem; margin: 30px 0 12px; }
.article-prose .body h3 { font-family: var(--font-head); font-size: 1.15rem; margin: 26px 0 10px; }
.article-prose .body ul, .article-prose .body ol { margin: 0 0 18px 24px; }
.article-prose .body li { margin-bottom: 6px; }
.article-prose .body blockquote { border-left: 3px solid var(--primary); padding-left: 16px; color: var(--ink-soft); margin: 0 0 18px; }
.article-prose .body a { color: var(--primary-dark); font-weight: 600; }
.article-prose .body strong { font-weight: 700; }

/* ===================== Template-specific extras ===================== */
.hero { padding: 110px 24px 120px; }
.hero h1 { font-weight: 600; letter-spacing: -0.03em; }
.hero .tagline { font-family: var(--font-head); font-style: italic; font-size: 1.25rem; color: var(--ink-soft); }
.section-alt { background: var(--bg-alt); }
.site-header { border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.nav-link { border-radius: 999px; font-weight: 500; }
.nav-cta { background: var(--accent); color: var(--on-primary) !important; }
.nav-cta:hover { background: #b86a4c; }
.btn { background: var(--accent); color: var(--on-primary); border-radius: 999px; }
.btn:hover { background: #b86a4c; }
.hero-cta { background: var(--accent); color: var(--on-primary); }
.hero-cta:hover { background: #b86a4c; }
.feature { border-radius: var(--radius-lg); border-top: 3px solid var(--primary); }
.service-card .thumb { border-bottom: 3px solid var(--primary-light); }
.feature-icon { background: var(--primary-light); color: var(--primary-dark); border-radius: 50%; }
.site-footer { background: #2b2e2b; border-top: 4px solid var(--accent); }

html[data-theme="ritual"] .site-header { background: #1b2130; border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
html[data-theme="ritual"] .site-header .brand, html[data-theme="ritual"] .site-header .nav-link { color: var(--ink); }
html[data-theme="ritual"] .nav-link { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; border-radius: 0; font-weight: 600; }
html[data-theme="ritual"] .nav-link.active { background: var(--soft); color: var(--primary); }
html[data-theme="ritual"] .nav-cta { background: var(--primary); color: var(--on-primary) !important; border-radius: 0; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.84rem; }
html[data-theme="ritual"] .nav-cta:hover { background: var(--primary-dark); }
html[data-theme="ritual"] .hero h1 { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
html[data-theme="ritual"] .hero .tagline { font-family: var(--font-head); font-style: italic; text-transform: none; letter-spacing: 0; }
html[data-theme="ritual"] .btn { border-radius: 0; background: var(--primary); color: var(--on-primary); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; }
html[data-theme="ritual"] .hero-cta { border-radius: 0; background: var(--primary); color: var(--on-primary); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem; }
html[data-theme="ritual"] .service-card { border-radius: 0; border-top: 2px solid var(--primary); }
html[data-theme="ritual"] .service-card .thumb { border-bottom: none; }
html[data-theme="ritual"] .feature { border-radius: 0; border-left: 2px solid var(--primary); }
html[data-theme="ritual"] .section-alt { background: var(--bg-alt); }
html[data-theme="ritual"] .section-head .eyebrow { background: var(--soft); border-color: var(--border); color: var(--primary); }
html[data-theme="ritual"] .site-footer { background: #11151f; border-top: 2px solid var(--primary); }
html[data-theme="ritual"] .promo-badge { background: var(--accent); color: var(--on-primary); }

html[data-theme="grove"] .site-header { border-bottom: 2px solid var(--primary-light); background: color-mix(in srgb, var(--bg) 90%, transparent); }
html[data-theme="grove"] .brand-name { font-weight: 700; }
html[data-theme="grove"] .nav-cta { background: var(--primary); box-shadow: 0 6px 16px rgba(74,107,87,0.28); }
html[data-theme="grove"] .feature { border-top: 4px solid var(--accent); border-radius: var(--radius-lg); }
html[data-theme="grove"] .service-card .thumb { border-bottom: 3px solid var(--accent); }
html[data-theme="grove"] .feature-icon { background: var(--primary-light); color: var(--primary-dark); }
html[data-theme="grove"] .btn { background: var(--primary); box-shadow: 0 6px 16px rgba(74,107,87,0.28); border-radius: var(--radius-pill); }
html[data-theme="grove"] .hero-cta { background: var(--accent); color: var(--on-primary); box-shadow: 0 8px 20px rgba(214,140,90,0.32); }
html[data-theme="grove"] .hero-cta:hover { background: #c47a46; }
html[data-theme="grove"] .service-price { color: var(--primary-dark); }
html[data-theme="grove"] .site-footer { background: #2f3e34; }
html[data-theme="grove"] .site-footer a { color: #f0d6c2; }
html[data-theme="grove"] .gallery-grid figure { border: 2px solid var(--soft); }

/* ===================== Demo extras: notice + stats + theme switcher ===================== */
.notice-bar { background: var(--accent); color: var(--ink); overflow: hidden; }
.notice-bar-inner { display: flex; align-items: center; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.notice-label { flex-shrink: 0; font-weight: 800; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 10px 14px 10px 0; border-right: 1px solid rgba(0,0,0,0.12); margin-right: 14px; }
.notice-track { overflow: hidden; flex: 1; position: relative; }
.notice-items { display: flex; gap: 32px; white-space: nowrap; animation: marquee 30s linear infinite; }
.notice-items a { color: inherit; font-size: 0.86rem; font-weight: 600; }
.notice-items a:hover { text-decoration: underline; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.stats-strip { background: var(--soft); border-bottom: 1px solid var(--border); }
.stats-strip .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; padding: 24px; text-align: center; }
.stat-item .stat-num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-item .stat-label { font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-top: 4px; }

.theme-btn {
  position: fixed; bottom: 92px; right: 22px; z-index: 110;
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--primary); color: var(--on-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: background .15s, transform .15s;
}
.theme-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.theme-btn svg { width: 24px; height: 24px; }
.theme-panel {
  position: fixed; bottom: 156px; right: 22px; z-index: 120;
  width: 300px; max-width: calc(100vw - 32px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 16px;
  display: none; text-align: left;
}
.theme-panel.open { display: block; }
.theme-panel h3 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; color: var(--ink); }
.theme-panel .theme-sub { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 12px; }
.theme-card {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: var(--soft); border: 2px solid transparent; border-radius: var(--radius);
  padding: 10px 12px; margin-bottom: 8px; cursor: pointer;
  font-family: var(--font-body); color: var(--ink); transition: border-color .15s, background .15s;
}
.theme-card:hover { background: color-mix(in srgb, var(--soft) 70%, var(--primary-light)); }
.theme-card.active { border-color: var(--primary); background: var(--primary-light); }
.theme-swatches { display: flex; gap: 4px; flex-shrink: 0; }
.theme-swatches .sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); }
.theme-card .t-name { font-weight: 700; font-size: 0.9rem; }
.theme-card .t-desc { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.35; display: block; margin-top: 2px; }
.theme-note { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 0.72rem; color: var(--ink-faint); line-height: 1.4; }

@media (max-width: 900px) {
  .services-grid, .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; }
  .brand { justify-content: flex-start; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 20px 16px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav-link { border-radius: 10px; padding: 12px 14px; font-size: 1rem; }
  .nav-cta { text-align: center; }
  .hero { padding: 76px 20px 84px; }
  .section { padding: 56px 20px; }
  .page-hero { padding: 48px 20px; }
  .booking-wrap { grid-template-columns: 1fr; }
  .booking-info { position: static; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .nav { gap: 3px; }
  .nav-link { padding: 7px 10px; font-size: 0.88rem; }
  .booking-form { padding: 24px 20px; }
  .services-grid, .articles-grid, .promo-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-panel { right: 16px; bottom: 148px; width: 280px; }
  .theme-btn { right: 16px; bottom: 88px; }
  .notice-items { animation-duration: 20s; }
}
