/*
Theme Name: Orion Healing Center
Theme URI: https://alovate.io/
Author: Alovate
Description: Custom theme for the Orion Healing Center — Detox & Yoga Retreat in Thailand. Built from the ALOVATE ORION Figma design.
Version: 0.9.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: orion
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --ink: #2f3e46;          /* primary dark — headings (Figma) */
  --muted: #555547;        /* subtitle / paragraph (Figma) */
  --cream: #f9f7f2;        /* card paragraph text */
  --line: #e5e7eb;         /* hairline borders */

  /* Figma-aligned surfaces + a single restrained accent */
  --accent: #b98a5e;       /* warm tan accent for links/outlined buttons */
  --sand: #f4efe7;         /* warm light surface */
  --mist: #eef1f4;         /* cool light tint */
  --linen: #ffffff;        /* page background (Figma is white) */

  --topbar: #aebdce;       /* header contact bar (Figma light blue) */
  --btn-tan: #e3d0bf;      /* hero button */

  /* Service card backgrounds */
  --card-detox:     #ecc9c4;
  --card-yoga:      #e3d0bf;
  --card-reiki:     #e7e2df;
  --card-lifestyle: #afcdd5;
  --card-workshops: #aebdce;
  --card-events:    #b7b2c8;

  --shadow-sm: 0 1px 2px rgba(25, 33, 61, 0.08);
  --shadow-md: 0 12px 34px rgba(22, 48, 43, 0.10);
  --shadow-lg: 0 30px 70px rgba(22, 48, 43, 0.16);
  --radius: 18px;

  --container: 1586px;
  --pad-x: clamp(20px, 8.7vw, 167px);

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-ui:   "Inter", system-ui, sans-serif;
}

/* ============================================================
   Base / reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================================================
   Header — contact bar + navigation (overlays hero)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow .25s ease;
}

/* Top contact bar (Figma: #aebdce, dark text, white social squares) */
.topbar {
  background: var(--topbar);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.topbar__contact { display: flex; align-items: center; gap: 48px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 18px; height: 18px; }
.topbar__social { display: flex; align-items: center; gap: 16px; }
.social-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: #fff; border-radius: 4px; color: var(--ink);
}
.social-ic svg { width: 14px; height: 14px; }

/* Full-width nav bar wrapper — background spans edge-to-edge when scrolled */
.navbar { transition: background .28s ease, box-shadow .28s ease, backdrop-filter .28s ease; }

/* Main nav (transparent, sits over hero image) */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 22px;
}
.brand { position: relative; display: inline-flex; align-items: center; flex: 0 0 auto; color: #fff; line-height: 1; }
.brand__logo {
  display: block;
  height: 50px;
  width: auto;
  flex: 0 0 auto;      /* don't let flex shrink the logo to 0 width */
  transition: opacity .28s ease, height .28s ease;
}
/* Trim the logo slightly once the bar goes compact on scroll */
html.is-scrolled .brand__logo { height: 42px; }
/* Dark logo overlays the white one; scrolled state cross-fades between them */
.brand__logo--dark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}
/* Footer text logo (kept as text) */
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 2px;
}
.brand__sub {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 6px;
  text-transform: uppercase;
  opacity: .85;
  margin-top: 3px;
}
.nav__right { display: flex; align-items: center; gap: 32px; }
.nav__menu {
  display: flex; align-items: center; gap: 24px;
  list-style: none; margin: 0; padding: 0;
}
.nav__menu a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui);
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
  transition: opacity .15s ease;
}
.nav__menu a:hover { opacity: .75; }
.nav__menu .chev { width: 12px; height: 12px; opacity: .9; }

.btn-touch {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  color: #433d3f;
  background: #fff;
  padding: 15px 18px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: transform .15s ease;
}
.btn-touch:hover { transform: translateY(-1px); }

.nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  color: #fff; padding: 6px;
}
.nav__toggle svg { width: 28px; height: 28px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  margin-top: -104px;           /* pull nav up over the image */
  padding-top: 104px;
  min-height: 760px;
  display: flex;
  align-items: flex-start;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(56px, 9vw, 150px);
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.1;
  max-width: 18ch;
}
.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: clamp(20px, 2.5vw, 38px);
  margin-top: 16px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 44px;
}

/* Hero buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(25,33,61,.14); }
.btn--tan { background: var(--btn-tan); }
.btn--outline { background: #fff; border: 1px solid var(--ink); }
.btn--icon { background: #fff; border: 1px solid var(--ink); padding: 15px; }
.btn--icon svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.8; }

/* ============================================================
   Our Services
   ============================================================ */
.services {
  background: #fff;
  padding-block: 80px 96px;
}
.services__head {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 48px;
}
.services__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 3.6vw, 52px);
  color: var(--ink);
}
.services__sub {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: clamp(18px, 1.9vw, 30px);
  line-height: 1.35;
  color: var(--muted);
  margin-top: 18px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.svc-card {
  --c: #eee;
  background: var(--c);
  border: 1px solid var(--line);
  padding: 33px 24px 30px;
  min-height: 301px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Arch icon holder */
.svc-arch {
  position: relative;
  width: 125px;
  height: 131px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 120px 120px 0 0;
  margin-bottom: 14px;
}
.svc-arch::before {           /* soft translucent arch behind */
  content: "";
  position: absolute;
  width: 113px;
  height: 118px;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.22);
  border-radius: 110px 110px 0 0;
  z-index: -1;
}
.svc-arch svg {
  width: 60px; height: 60px;
  stroke: var(--ink);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-card h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  line-height: 1.15;
}
.svc-card p {
  font-family: var(--font-body);
  font-size: 20px;
  letter-spacing: .5px;
  color: var(--ink);
  opacity: .72;              /* readable on the pastel card backgrounds */
  max-width: 15rem;          /* keep line wrapping consistent across cards */
  margin-top: 10px;
}

/* Card colors */
.svc-card--detox     { --c: var(--card-detox); }
.svc-card--yoga      { --c: var(--card-yoga); }
.svc-card--reiki     { --c: var(--card-reiki); }
.svc-card--lifestyle { --c: var(--card-lifestyle); }
.svc-card--workshops { --c: var(--card-workshops); }
.svc-card--events    { --c: var(--card-events); }

/* ============================================================
   Preloader / splash (front page) — white curtain, curved wipe up
   ============================================================ */
.orion-preloader {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;     /* logo stacked above the cycling word */
  align-items: center;
  justify-content: center;
  background: #fff;
  transform: translateY(0);
  will-change: transform;
}
.orion-preloader__logo {
  position: relative;
  z-index: 2;                 /* above the white curve; centred focal point */
  display: inline-block;
  margin: 0;
  opacity: 0;
}
.orion-preloader.is-in .orion-preloader__logo { opacity: 1; }

/* Left-to-right typewriter reveal of the logo */
.orion-preloader__logo-reveal {
  position: relative;
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
}
.orion-preloader.is-in .orion-preloader__logo-reveal {
  animation: orionType 1.15s steps(26, end) .25s forwards;
}
@keyframes orionType {
  to { clip-path: inset(0 0 0 0); -webkit-clip-path: inset(0 0 0 0); }
}
.orion-preloader__logo-img {
  display: block;
  height: 70px;
  width: auto;
}

/* Typing caret — travels with the reveal edge, then blinks in place */
.orion-preloader__caret {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 62%;
  transform: translateY(-50%);
  background: var(--ink);
  opacity: 0;
}
.orion-preloader.is-in .orion-preloader__caret {
  animation:
    orionCaretMove 1.15s steps(26, end) .25s forwards,
    orionCaretBlink .5s steps(1) .25s 3;   /* blink through typing, then vanish */
}
@keyframes orionCaretMove {
  from { left: 0; }
  to   { left: 100%; }
}
@keyframes orionCaretBlink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Subtle light glint sweeping the logo once it has typed in */
.orion-preloader__logo-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask: var(--orion-logo) center / contain no-repeat;
          mask: var(--orion-logo) center / contain no-repeat;
  background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, .85) 50%, transparent 58%);
  background-size: 250% 100%;
  background-repeat: no-repeat;
  background-position: 175% 0;
}
.orion-preloader.is-in .orion-preloader__logo-reveal::after {
  animation: orionLogoSheen 3.6s ease-in-out 1.7s infinite;
}
@keyframes orionLogoSheen {
  0%   { background-position: 175% 0; }
  34%  { background-position: -75% 0; }
  100% { background-position: -75% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .orion-preloader__logo-reveal { clip-path: none; -webkit-clip-path: none; animation: none; }
  .orion-preloader__caret { display: none; }
  .orion-preloader__logo-reveal::after { animation: none; }
}
.orion-preloader.is-exiting {
  transform: translateY(-100%);
  transition: transform .8s cubic-bezier(.76, 0, .24, 1) .2s;
}
.orion-preloader.is-done { display: none; }

/* Mindfulness illustration above the logo */
.orion-preloader__art {
  position: relative;
  z-index: 2;                          /* above the white curve */
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(12px);
}
.orion-preloader__art img {
  display: block;
  height: 30vh;
  max-height: 260px;
  width: auto;
}
.orion-preloader.is-in .orion-preloader__art {
  opacity: 1;
  transform: none;
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}

/* Word list, typed in below the logo (no bullet) */
.orion-preloader__tagline {
  position: relative;
  z-index: 2;                          /* above the white curve */
  display: inline-block;
  margin: 22px 0 28px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(15px, 2.4vw, 26px);
  letter-spacing: .04em;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
}
.orion-preloader.is-in .orion-preloader__tagline { opacity: 1; }

.orion-preloader__tagline-reveal {
  position: relative;
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
}
.orion-preloader.is-in .orion-preloader__tagline-reveal {
  animation: orionType 1s steps(30, end) 1.15s forwards;   /* types after the logo */
}
.orion-preloader__tagline-caret {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 1.05em;
  transform: translateY(-50%);
  background: var(--ink);
  opacity: 0;
}
.orion-preloader.is-in .orion-preloader__tagline-caret {
  animation:
    orionCaretMove 1s steps(30, end) 1.15s forwards,
    orionCaretBlink .5s steps(1) 1.15s 3;
}
@media (prefers-reduced-motion: reduce) {
  .orion-preloader__tagline-reveal { clip-path: none; -webkit-clip-path: none; animation: none; }
  .orion-preloader__tagline-caret { display: none; }
}

/* Loading dots — slide, pulse and scale in a staggered loop */
.orion-preloader__dots {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 9px;
  opacity: 0;
}
.orion-preloader.is-in .orion-preloader__dots {
  opacity: 1;
  transition: opacity .5s ease 1.2s;
}
.orion-preloader__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  animation: orionDot 1s ease-in-out infinite;
}
.orion-preloader__dots span:nth-child(2) { animation-delay: .2s; }
.orion-preloader__dots span:nth-child(3) { animation-delay: .4s; }
@keyframes orionDot {
  0%, 100% { transform: translateX(0) scale(1);      opacity: .5; }
  50%      { transform: translateX(10px) scale(1.2); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .orion-preloader__dots span { animation: none; opacity: .6; }
}
/* The curve extends 300px below the fold so its rounded edge can wipe upward */
.orion-preloader__curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 300px);
  z-index: 1;
  fill: #fff;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  font-family: var(--font-ui);
  font-size: 14px;
}
.site-footer a { text-decoration: underline; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .topbar__contact { gap: 24px; }
  .nav__menu, .btn-touch { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav { padding-block: 18px; }
}
@media (max-width: 640px) {
  .topbar__contact .topbar__item span { display: none; }  /* icons only */
  .svc-grid { grid-template-columns: 1fr; }
  .hero { min-height: 620px; }
}

/* ============================================================
   Schedule calendar (booking experience)
   ============================================================ */
.cal {
  background: linear-gradient(180deg, #faf7f2 0%, #f2ece2 100%);
  padding-block: 84px 100px;
}
.cal__head {
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 40px;
}
.cal__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 3.2vw, 46px);
  color: var(--ink);
}
.cal__sub {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: clamp(17px, 1.7vw, 26px);
  line-height: 1.4;
  color: var(--muted);
  margin-top: 14px;
}
.cal__noscript { text-align: center; padding: 40px; color: var(--muted); }

.cal__widget {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(47, 62, 70, 0.12);
  overflow: hidden;
}

/* Toolbar */
.cal__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 22px 26px;
}
.cal__nav { display: flex; align-items: center; gap: 12px; }
.cal__period {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(19px, 2vw, 24px);
  color: var(--ink);
  white-space: nowrap; margin-left: 4px;
}
.cal__btn {
  font-family: var(--font-ui);
  font-size: 14px; font-weight: 600;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line);
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.cal__btn:hover { background: var(--cream); border-color: #d8d3ca; }
.cal__step { display: inline-flex; gap: 6px; }
.cal__icon { padding: 0; width: 38px; height: 38px; font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }

.cal__tabs {
  display: inline-flex; gap: 4px;
  background: #f1ebe1; border-radius: 999px; padding: 4px;
}
.cal__tab {
  font-family: var(--font-ui);
  font-weight: 600; font-size: 14px;
  color: var(--muted); background: transparent;
  border: 0; padding: 9px 22px; border-radius: 999px; cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.cal__tab:hover { color: var(--ink); }
.cal__tab.is-active { background: var(--ink); color: #fff; box-shadow: 0 4px 12px rgba(47, 62, 70, .22); }

.cal__legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  padding: 0 26px 18px;
  font-family: var(--font-ui); font-size: 13px; color: var(--muted);
}
.cal__lg { display: inline-flex; align-items: center; gap: 8px; }
.cal__lg i { width: 12px; height: 12px; border-radius: 50%; }
.cal__legend-note { margin-left: auto; font-style: italic; opacity: .8; }

/* ---- Month: calendar + booking panel ---- */
.cal-month {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  padding: 8px 26px 30px;
  align-items: start;
}
.cal-cal__dow {
  display: grid; grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}
.cal-cal__dow span {
  font-family: var(--font-ui); font-size: 11px; font-weight: 600;
  letter-spacing: .6px; text-transform: uppercase;
  color: var(--muted); text-align: center; padding: 6px 0;
}
.cal-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mc {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  aspect-ratio: 1 / 1;
  background: #faf8f4; border: 1px solid transparent; border-radius: 14px;
  cursor: pointer; transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}
.mc:hover { background: #fff; box-shadow: 0 6px 16px rgba(47, 62, 70, .1); transform: translateY(-1px); }
.mc__n { font-family: var(--font-ui); font-size: 15px; font-weight: 600; color: var(--ink); }
.mc.is-out { background: transparent; }
.mc.is-out .mc__n { color: #c4bfb6; }
.mc.is-today { border-color: var(--ink); }
.mc.is-sel { background: var(--ink); box-shadow: 0 10px 22px rgba(47, 62, 70, .28); }
.mc.is-sel .mc__n { color: #fff; }
.mc__dots { display: flex; gap: 4px; min-height: 6px; }
.mc__dots i { width: 6px; height: 6px; border-radius: 50%; }
.mc.is-sel .mc__dots i { box-shadow: 0 0 0 1px rgba(255,255,255,.5); }

/* Day booking panel */
.cal-panel {
  background: #faf8f4; border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; position: sticky; top: 20px;
}
.dp__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dp__dow { display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.dp__date { display: block; font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--ink); line-height: 1.1; margin-top: 2px; }
.dp__count { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.dp__list { display: flex; flex-direction: column; gap: 14px; max-height: 620px; overflow-y: auto; padding-right: 4px; }

/* ---- Event booking card ---- */
.ec {
  display: flex; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(47, 62, 70, .05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ec:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(47, 62, 70, .12); }
.ec__accent { flex: 0 0 6px; }
.ec__main { flex: 1; padding: 16px 18px; }
.ec__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ec__badge { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--ink); border-radius: 999px; padding: 4px 11px; }
.ec__time { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--muted); }
.ec__title { font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--ink); margin-top: 10px; }
.ec__meta { font-family: var(--font-body); font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.ec__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.ec__price { font-family: var(--font-body); font-weight: 700; font-size: 22px; color: var(--ink); display: flex; align-items: baseline; gap: 6px; }
.ec__price span { font-size: 12px; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.ec__book {
  font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: #fff;
  background: var(--ink); border-radius: 999px; padding: 11px 24px; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ec__book::after { content: " \2192"; }
.ec__book:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(47, 62, 70, .28); }
.ec__spots { display: flex; align-items: center; gap: 7px; font-family: var(--font-ui); font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.ec__spots i { width: 7px; height: 7px; border-radius: 50%; background: #9ca05f; }
.ec__spots.is-low { color: #c0564e; font-weight: 600; }
.ec__spots.is-low i { background: #c0564e; animation: calPulse 1.6s ease-in-out infinite; }
@keyframes calPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---- Retreat feature card ---- */
.rc {
  position: relative; border-radius: 18px; overflow: hidden;
  background-size: cover; background-position: center;
  min-height: 190px; display: flex; align-items: flex-end;
  box-shadow: 0 12px 30px rgba(47, 62, 70, .18);
}
.rc--big { min-height: 250px; }
.rc__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,26,28,.05) 0%, rgba(20,26,28,.55) 55%, rgba(20,26,28,.86) 100%); }
.rc__ribbon {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: .5px;
  color: #fff; background: #c56f68; border-radius: 999px; padding: 6px 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.rc__content { position: relative; z-index: 1; padding: 22px 24px; color: #fff; width: 100%; }
.rc__badge { display: inline-block; font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 4px 12px; }
.rc__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); margin-top: 12px; }
.rc__dates { font-family: var(--font-ui); font-size: 14px; opacity: .92; margin-top: 4px; }
.rc__desc { font-family: var(--font-body); font-size: 14.5px; line-height: 1.5; opacity: .92; margin-top: 10px; max-width: 46ch; }
.rc__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.rc__price { font-family: var(--font-body); font-weight: 700; font-size: 24px; display: flex; align-items: baseline; gap: 6px; }
.rc__price span { font-size: 12px; font-weight: 400; opacity: .8; text-transform: uppercase; letter-spacing: .5px; }
.rc__price em { font-size: 12px; font-weight: 400; font-style: normal; opacity: .75; }
.rc__book {
  font-family: var(--font-ui); font-weight: 700; font-size: 14px; color: var(--ink);
  background: #fff; border-radius: 999px; padding: 13px 26px; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.rc__book:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0,0,0,.3); }
.rc__spots { display: flex; align-items: center; gap: 7px; font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; margin-top: 12px; opacity: .95; }
.rc__spots i { width: 7px; height: 7px; border-radius: 50%; background: #ffd7a8; animation: calPulse 1.6s ease-in-out infinite; }

/* ---- Week view ---- */
.cal-week { padding: 8px 26px 30px; }
.cal-week__feature { display: grid; gap: 16px; margin-bottom: 22px; }
.cal-week__cols { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.wday { background: #faf8f4; border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 12px; display: flex; flex-direction: column; }
.wday__h { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; cursor: pointer; padding: 4px 0 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.wday__dow { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.wday__n { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--ink); width: 34px; height: 34px; line-height: 34px; text-align: center; border-radius: 50%; }
.wday__h.is-today .wday__n { background: var(--ink); color: #fff; }
.wday__list { display: flex; flex-direction: column; gap: 8px; }
.wday__empty { text-align: center; color: #cbc6bd; font-size: 18px; padding: 8px 0; }
.ecm {
  display: flex; flex-direction: column; gap: 3px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--a);
  border-radius: 10px; padding: 9px 11px;
  transition: transform .14s ease, box-shadow .14s ease;
}
.ecm:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(47, 62, 70, .12); }
.ecm__time { font-family: var(--font-ui); font-size: 12px; font-weight: 700; color: var(--muted); }
.ecm__title { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.ecm__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.ecm__foot b { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--ink); }
.ecm__book { font-family: var(--font-ui); font-size: 12px; font-weight: 700; color: var(--a); }
.wretreat { display: flex; flex-direction: column; gap: 2px; background: var(--ink); color: #fff; border-radius: 10px; padding: 9px 11px; margin-bottom: 4px; }
.wretreat b { font-family: var(--font-head); font-size: 14px; font-weight: 600; line-height: 1.2; }
.wretreat span { font-family: var(--font-ui); font-size: 12px; opacity: .85; }

/* ---- Day view ---- */
.cal-dayview { padding: 12px 26px 34px; max-width: 720px; margin-inline: auto; }
.cal-dayview .dp__list { max-height: none; }

/* ---- Empty state ---- */
.cal-empty { text-align: center; padding: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.cal-empty__icon { font-size: 30px; color: var(--btn-tan); }
.cal-empty__t { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--ink); }
.cal-empty__s { font-family: var(--font-body); font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.cal-empty__btn { align-self: center; font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: #fff; background: var(--ink); border-radius: 999px; padding: 12px 26px; }

/* ---- Calendar responsive ---- */
@media (max-width: 980px) {
  .cal-month { grid-template-columns: 1fr; }
  .cal-panel { position: static; }
  .cal-week__cols { grid-template-columns: repeat(7, minmax(150px, 1fr)); overflow-x: auto; padding-bottom: 6px; }
}
@media (max-width: 640px) {
  .cal__bar { justify-content: center; }
  .cal__legend { justify-content: center; }
  .cal__legend-note { margin-left: 0; width: 100%; text-align: center; }
  .cal-month, .cal-week, .cal-dayview { padding-inline: 16px; }
  .cal-panel { padding: 16px; }
  .ec__foot { flex-wrap: wrap; }
  .cal-week__cols { grid-template-columns: repeat(7, 78vw); }
}

/* ============================================================
   Sticky header — scrolled state
   On scroll the light contact bar collapses and the transparent
   nav swaps to a solid white bar with dark text (set by site.js
   adding .is-scrolled to <html>).
   ============================================================ */
.topbar { transition: max-height .3s ease, padding .3s ease, opacity .25s ease; overflow: hidden; max-height: 80px; }
.nav { transition: padding .25s ease; }

html.is-scrolled .topbar { max-height: 0; padding-block: 0; opacity: 0; }
html.is-scrolled .navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 6px 24px rgba(22, 48, 43, 0.10);
}
html.is-scrolled .nav { padding-block: 12px; }
html.is-scrolled .site-header .nav__menu a,
html.is-scrolled .site-header .nav__toggle { color: var(--ink); }
/* Swap the white logo for the dark one once the nav bar turns white */
html.is-scrolled .site-header .brand__logo--light { opacity: 0; }
html.is-scrolled .site-header .brand__logo--dark { opacity: 1; }

/* ============================================================
   Mobile nav drawer
   ============================================================ */
@media (max-width: 1000px) {
  .nav { position: relative; }
  .nav.is-open .nav__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px var(--pad-x) 16px;
    box-shadow: 0 14px 26px rgba(47, 62, 70, 0.16);
  }
  .nav.is-open .nav__menu a {
    color: var(--ink);
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__menu li:last-child a { border-bottom: 0; }
}

/* ============================================================
   Sticky action buttons (WhatsApp + FAQ) — all pages
   ============================================================ */
.orion-sticky {
  position: fixed;
  right: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.orion-fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.orion-fab svg { width: 24px; height: 24px; flex: 0 0 24px; }
.orion-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28); }
.orion-fab--wa { background: #25d366; }
.orion-fab--faq { background: var(--ink); }
.orion-fab__label { white-space: nowrap; }

@media (max-width: 640px) {
  .orion-fab {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }
  .orion-fab__label { display: none; }  /* icon-only on small screens */
}

/* ============================================================
   Hero background video (spec 1)
   ============================================================ */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before { z-index: 1; }          /* dark overlay above the video */
.hero__content { z-index: 2; }         /* text above the overlay */

/* ============================================================
   Shared section rhythm helpers
   ============================================================ */
.section-eyebrow {
  font-family: var(--font-ui);
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted);
}

/* ============================================================
   4 · Services Data (explainer cards → inner pages)
   ============================================================ */
.sdata { background: #fff; padding-block: 90px; }
.sdata__head { text-align: center; max-width: 820px; margin-inline: auto; margin-bottom: 48px; }
.sdata__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(30px, 3.2vw, 48px); color: var(--ink);
}
.sdata__sub {
  font-family: var(--font-body); font-weight: 200;
  font-size: clamp(17px, 1.8vw, 26px); line-height: 1.4;
  color: var(--muted); margin-top: 16px;
}
.sdata__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.sdcard {
  --c: var(--card-yoga);
  display: flex; flex-direction: column;
  background: #faf8f4; border: 1px solid var(--line);
  border-top: 5px solid var(--c);
  border-radius: 16px; padding: 28px 24px 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.sdcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(47, 62, 70, 0.12); }
.sdcard__lead {
  font-family: var(--font-ui); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--muted);
}
.sdcard__title {
  font-family: var(--font-head); font-weight: 600;
  font-size: 24px; color: var(--ink); margin-top: 10px;
}
.sdcard__desc {
  font-family: var(--font-body); font-size: 15.5px; line-height: 1.55;
  color: var(--muted); margin-top: 12px; flex: 1;
}
.sdcard__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-family: var(--font-ui); font-weight: 600; font-size: 15px; color: var(--ink);
}
.sdcard__link svg { width: 18px; height: 18px; transition: transform .18s ease; }
.sdcard__link:hover svg { transform: translateX(4px); }
.sdcard--detox { --c: var(--card-detox); }
.sdcard--yoga { --c: var(--card-yoga); }
.sdcard--reiki { --c: var(--card-events); }
.sdcard--lifestyle { --c: var(--card-lifestyle); }

/* ============================================================
   5 · Accommodation (info only)
   ============================================================ */
.acc { background: linear-gradient(180deg, #faf7f2 0%, #f2ece2 100%); padding-block: 90px; }
.acc__head { text-align: center; max-width: 900px; margin-inline: auto; margin-bottom: 48px; }
.acc__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(30px, 3.2vw, 48px); color: var(--ink);
}
.acc__sub {
  font-family: var(--font-body); font-weight: 200;
  font-size: clamp(17px, 1.8vw, 26px); line-height: 1.4;
  color: var(--muted); margin-top: 16px;
}
.acc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.acc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: 0 10px 30px rgba(47, 62, 70, 0.07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.acc-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(47, 62, 70, 0.14); }
.acc-card__media { height: 220px; background-size: cover; background-position: center; }
.acc-card__body { padding: 22px 24px 26px; }
.acc-card__title { font-family: var(--font-head); font-weight: 600; font-size: 24px; color: var(--ink); }
.acc-card__meta {
  font-family: var(--font-ui); font-size: 13px; font-weight: 600;
  letter-spacing: .3px; color: var(--muted); margin-top: 6px;
}
.acc-card__desc { font-family: var(--font-body); font-size: 15.5px; line-height: 1.55; color: var(--muted); margin-top: 12px; }

/* ============================================================
   6 · Holina Clinic & Orion
   ============================================================ */
.holina { background: var(--ink); color: #fff; padding-block: 90px; }
.holina__inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.holina__eyebrow {
  font-family: var(--font-ui); font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--btn-tan);
}
.holina__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 3.4vw, 50px); margin-top: 12px; }
.holina__lead { font-family: var(--font-body); font-size: clamp(16px, 1.5vw, 21px); line-height: 1.6; opacity: .9; margin-top: 18px; max-width: 52ch; }
.holina__note { font-family: var(--font-ui); font-size: 14px; font-style: italic; opacity: .6; margin-top: 16px; }
.holina__badge { display: flex; justify-content: center; }
.holina__x {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px);
  color: #fff; text-align: center; padding: 48px 40px;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================================
   7 · Atmosphere video (full-bleed)
   ============================================================ */
.atmos {
  position: relative; min-height: 80vh; display: flex;
  align-items: center; justify-content: center; text-align: center;
  color: #fff; overflow: hidden;
}
.atmos__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.atmos::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.42); z-index: 1; }
.atmos__overlay { position: relative; z-index: 2; padding: 24px; }
.atmos__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(34px, 5vw, 68px); }
.atmos__sub { font-family: var(--font-body); font-weight: 200; font-size: clamp(18px, 2.2vw, 30px); margin-top: 14px; opacity: .95; }

/* ============================================================
   8 · Testimonials
   ============================================================ */
.tmon { background: #fff; padding-block: 90px; }
.tmon__head { text-align: center; max-width: 820px; margin-inline: auto; margin-bottom: 48px; }
.tmon__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 3.2vw, 48px); color: var(--ink); }
.tmon__sub { font-family: var(--font-body); font-weight: 200; font-size: clamp(17px, 1.8vw, 26px); color: var(--muted); margin-top: 16px; }
.tmon__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tcard {
  margin: 0; background: #faf8f4; border: 1px solid var(--line);
  border-radius: 18px; padding: 30px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.tcard__stars { display: flex; gap: 3px; color: #e0a53f; }
.tcard__stars svg { width: 20px; height: 20px; }
.tcard__quote { font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); flex: 1; }
.tcard__by { display: flex; flex-direction: column; gap: 2px; }
.tcard__name { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink); }
.tcard__role { font-family: var(--font-ui); font-size: 13px; color: var(--muted); }

/* ============================================================
   9 · Contact
   ============================================================ */
.contact { background: linear-gradient(180deg, #f2ece2 0%, #faf7f2 100%); padding-block: 90px; }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 3.2vw, 48px); color: var(--ink); }
.contact__sub { font-family: var(--font-body); font-weight: 200; font-size: clamp(17px, 1.6vw, 24px); line-height: 1.45; color: var(--muted); margin-top: 16px; }
.contact__list { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-family: var(--font-ui); font-size: 16px; color: var(--ink); }
.contact__list svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--muted); }

.cform {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; box-shadow: 0 20px 50px rgba(47, 62, 70, 0.1);
  display: flex; flex-direction: column; gap: 16px;
}
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform__field { display: flex; flex-direction: column; gap: 7px; }
.cform__field span { font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--ink); }
/* select is here so the booking and enquiry forms on the inner pages match
   this one exactly rather than approximating it. */
.cform__field input,
.cform__field select,
.cform__field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: #faf8f4; border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px; width: 100%; resize: vertical;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cform__field select {
  appearance: none;
  padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f3e46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}
.cform__field input::placeholder,
.cform__field textarea::placeholder { color: #a3a69e; }
/* Date and number spinners inherit the sand field, not the browser default. */
.cform__field input[type="date"] { min-height: 50px; }
.cform__field input:focus,
.cform__field select:focus,
.cform__field textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(47, 62, 70, 0.1);
}
.cform__submit {
  font-family: var(--font-ui); font-weight: 600; font-size: 16px; color: #fff;
  background: var(--ink); border: 0; border-radius: 999px;
  padding: 15px 28px; cursor: pointer; align-self: flex-start;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cform__submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(47, 62, 70, 0.25); }
.cform__note { font-family: var(--font-ui); font-size: 14px; border-radius: 10px; padding: 12px 14px; }
.cform__note--ok { background: #e6f4ea; color: #256b3c; }
.cform__note--err { background: #fbeaea; color: #a3352d; }

/* Honeypot — off-screen for people, still reachable by bots. */
.orion-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* ============================================================
   10 · Orion tour widget
   ============================================================ */
.tour { background: #fff; padding-block: 90px; }
.tour__head { text-align: center; max-width: 820px; margin-inline: auto; margin-bottom: 40px; }
.tour__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 3.2vw, 48px); color: var(--ink); }
.tour__sub { font-family: var(--font-body); font-weight: 200; font-size: clamp(17px, 1.8vw, 26px); color: var(--muted); margin-top: 16px; }
.tour__frame { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(47, 62, 70, 0.16); }
.tour__placeholder {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
.tour__placeholder::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }
.tour__play {
  position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.92); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tour__play svg { width: 34px; height: 34px; margin-left: 4px; }
.tour__play:hover { transform: scale(1.06); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }
.tour__hint { position: relative; z-index: 1; font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: #fff; letter-spacing: .3px; }

/* ============================================================
   Footer (expanded)
   ============================================================ */
.site-footer { background: var(--ink); color: #fff; text-align: left; padding: 0; font-family: var(--font-ui); }
.site-footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-block: 60px 44px;
}
.site-footer .brand__name { color: #fff; font-size: 24px; }
.site-footer__tag { font-size: 14px; opacity: .7; margin-top: 14px; max-width: 32ch; line-height: 1.5; }
.site-footer__social { display: flex; gap: 12px; margin-top: 20px; }
.site-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.08); color: #fff;
  transition: background .15s ease;
}
.site-footer__social a:hover { background: rgba(255, 255, 255, 0.18); }
.site-footer__social svg { width: 17px; height: 17px; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col h4 { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .6; margin: 0 0 4px; }
.site-footer__col a { font-size: 15px; opacity: .85; text-decoration: none; transition: opacity .15s ease; }
.site-footer__col a:hover { opacity: 1; }
.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0; text-align: center;
}
.site-footer__bar p { font-size: 13px; opacity: .6; }

/* ============================================================
   New sections — responsive
   ============================================================ */
@media (max-width: 1100px) {
  .sdata__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .acc__grid, .tmon__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .holina__inner, .contact__inner { grid-template-columns: 1fr; gap: 36px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .sdata__grid { grid-template-columns: 1fr; }
  .cform__row { grid-template-columns: 1fr; }
  .cform { padding: 24px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .atmos { min-height: 60vh; }
}

/* ============================================================
   Figma-aligned polish (light) — subtle, non-invasive
   Loaded last so these win on source order.
   ============================================================ */

/* Rounded, gently-lifted cards */
.svc-card {
  border-radius: var(--radius);
  border-color: transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sdcard { border-radius: var(--radius); background: #fff; }
.acc-card, .tcard { border-radius: var(--radius); }
.tcard { background: #fff; box-shadow: var(--shadow-md); border-color: transparent; }

/* Outlined button — exact Figma "Style=Outlined": rectangular, #dac1ab */
.btn-outlined {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 400; font-size: 16px; letter-spacing: .5px;
  color: #b78e63; background: transparent;
  border: 1px solid #dac1ab; border-radius: 0;
  padding: 12px 20px; transition: background .18s ease, color .18s ease;
}
.btn-outlined:hover { background: #dac1ab; color: #fff; }

/* ============================================================
   Feature rows (image + text) — Figma node 126:2050
   ============================================================ */
.feat { background: #fff; padding-block: 96px; }
.feat__intro { text-align: center; margin-bottom: 64px; }
.feat__heading {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(34px, 3.6vw, 52px); color: var(--ink); line-height: 1.1;
}
.feat__sub {
  font-family: var(--font-body); font-weight: 200;
  font-size: clamp(18px, 1.9vw, 26px); color: var(--muted); margin-top: 12px;
}
.feat__rows { display: flex; flex-direction: column; gap: 72px; }
.frow {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.frow__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.frow__title {
  font-family: var(--font-head); font-weight: 500; font-size: 28px;
  line-height: 1.2; color: var(--ink);
}
.frow__lead {
  font-family: var(--font-body); font-size: 20px; line-height: 1.6;
  letter-spacing: .5px; color: var(--ink); font-weight: 500;
}
.frow__desc {
  font-family: var(--font-body); font-size: 18px; line-height: 1.65;
  letter-spacing: .3px; color: rgba(85, 85, 71, 0.85);
  margin-top: -8px;
}
.frow__media { width: 100%; }
.frow__media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block;
}
/* Zigzag: even rows keep image right, odd rows put image left */
.frow--flip .frow__text { order: 2; }
.frow--flip .frow__media { order: 1; }

@media (max-width: 900px) {
  .frow, .frow--flip { grid-template-columns: 1fr; gap: 28px; }
  .frow--flip .frow__text { order: 2; }
  .frow--flip .frow__media { order: 1; }
  .frow__text { order: 2; }
  .frow__media { order: 1; }
}

/* Testimonial stars use the single warm accent */
.tcard__stars { color: var(--accent); }

/* Motion — scroll reveal (respects reduced motion; absent without JS) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Featured in — real press logos
   ============================================================ */
.featured { background: #fff; padding-block: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.featured__label {
  text-align: center; font-family: var(--font-ui); font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 30px;
}
.featured__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(32px, 6vw, 84px); }
.featured__logos img {
  height: 30px; width: auto; object-fit: contain;
  opacity: .5; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease;
}
.featured__logos img:hover { opacity: 1; filter: none; }

/* ============================================================
   Holina — medical-grade recovery (rebuilt, over hbot photo)
   ============================================================ */
.holina { background-size: cover; background-position: center; color: #fff; padding-block: 104px; }
.holina__inner { display: block; max-width: 1180px; }
.holina__head { max-width: 780px; }
.holina__eyebrow {
  display: inline-block; font-family: var(--font-ui); font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: #dac1ab; margin-bottom: 16px;
}
.holina__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1; }
.holina__lead { font-family: var(--font-body); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.6; opacity: .9; margin-top: 18px; max-width: 62ch; }
.holina__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 44px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.protocol { padding: 26px 26px 8px 0; border-right: 1px solid rgba(255, 255, 255, 0.14); }
.protocol:last-child { border-right: 0; }
.protocol__name { font-family: var(--font-head); font-weight: 600; font-size: 20px; }
.protocol__desc { font-family: var(--font-body); font-size: 14.5px; line-height: 1.55; opacity: .82; margin-top: 8px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #efe9df; }
@media (max-width: 900px) {
  .holina__grid { grid-template-columns: 1fr 1fr; }
  .protocol:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.14); }
  .protocol { border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-right: 24px; }
}
@media (max-width: 560px) {
  .holina__grid { grid-template-columns: 1fr; }
  .protocol, .protocol:nth-child(odd) { border-right: 0; }
}

/* ============================================================
   Testimonials — real video stories
   ============================================================ */
.tmon__grid { align-items: start; }
.vcard { margin: 0; display: flex; flex-direction: column; box-shadow: var(--shadow-md); border-radius: var(--radius); }
.vcard__thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 0; padding: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background-size: cover; background-position: center;
}
.vcard__thumb::after { content: ""; position: absolute; inset: 0; background: rgba(20, 28, 32, 0.3); transition: background .2s ease; }
.vcard__thumb:hover::after { background: rgba(20, 28, 32, 0.14); }
.vcard__play {
  position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--ink);
  display: flex; align-items: center; justify-content: center; transition: transform .18s ease;
}
.vcard:hover .vcard__play { transform: translate(-50%, -50%) scale(1.08); }
.vcard__play svg { width: 26px; height: 26px; margin-left: 3px; }
.vcard__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.vcard__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard__cap {
  background: #fff; border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 5px; flex: 1;
}
.vcard__who { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--accent); }
.vcard__title { font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.25; color: var(--ink); }
.tmon__more { text-align: center; margin-top: 46px; }

/* ============================================================
   Virtual tour — real 360 embed (click-to-load facade)
   ============================================================ */
.tour__frame { position: relative; }
.tour__frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.tour__placeholder { cursor: pointer; }
