:root {
  --teal: #0e8f86;
  --teal-dark: #0a6b65;
  --mint: #7fd6c2;
  --forest: #0f2e29;
  --cream: #f7f3ec;
  --sand: #e9e1d3;
  --gold: #d6b16a;
  --ink: #142320;
  --muted: #5b6a67;
  --white: #fff;
  --radius: 1.5rem;
  --shadow-sm: 0 4px 14px rgba(15, 46, 41, 0.06);
  --shadow: 0 24px 60px -18px rgba(15, 46, 41, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  overflow-x: clip; /* clip, unlike hidden, keeps position: sticky scenes working */
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.9s var(--ease);
}
::selection { background: var(--teal); color: #fff; }

h1, h2, h3, h4, .display-font {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.text-muted { color: var(--muted) !important; }

a { color: var(--teal-dark); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--teal); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 2000;
  background: linear-gradient(90deg, var(--mint), var(--teal), var(--gold));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  padding: 1.1rem 0 !important;
  background: transparent;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.45s var(--ease);
}
.navbar.is-scrolled {
  padding: 0.55rem 0 !important;
  background: rgba(247, 243, 236, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(15, 46, 41, 0.08), 0 10px 30px -20px rgba(15, 46, 41, 0.35);
}
.navbar.is-hidden { transform: translateY(-110%); }
.navbar-brand {
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.4s var(--ease);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mint), var(--teal) 55%, var(--forest));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 20px -6px rgba(14, 143, 134, 0.6);
  transition: transform 0.5s var(--ease);
}
.navbar-brand:hover .brand-mark { transform: rotate(-12deg) scale(1.06); }
.nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem !important;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.25rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-link:hover, .nav-link.active { color: #fff !important; }
.navbar-toggler { border: 0; box-shadow: none !important; filter: invert(1); }

.navbar.is-scrolled .navbar-brand { color: var(--forest) !important; }
.navbar.is-scrolled .nav-link { color: var(--forest) !important; }
.navbar.is-scrolled .nav-link:hover, .navbar.is-scrolled .nav-link.active { color: var(--teal) !important; }
.navbar.is-scrolled .navbar-toggler { filter: none; }

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 0.8rem;
    background: rgba(247, 243, 236, 0.97);
    backdrop-filter: blur(16px);
    border-radius: 1.2rem;
    padding: 0.8rem;
    box-shadow: var(--shadow);
  }
  .navbar .nav-link { color: var(--forest) !important; }
  .navbar .nav-link::after { display: none; }
}

/* ---------- Buttons ---------- */
.btn-teal, .btn-outline-forest, .btn-ghost, .btn-light, .btn-outline-light {
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}
.btn-teal {
  background: var(--teal);
  color: #fff;
  border: none;
  box-shadow: 0 12px 28px -12px rgba(14, 143, 134, 0.75);
}
.btn-teal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, var(--forest), var(--teal-dark));
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn-teal:hover { color: #fff; box-shadow: 0 18px 34px -14px rgba(14, 143, 134, 0.9); }
.btn-teal:hover::before { transform: translateY(0); }
.btn-teal i, .btn-ghost i, .link-arrow i { display: inline-block; transition: transform 0.35s var(--ease); }
.btn-teal:hover i, .btn-ghost:hover i, .link-arrow:hover i { transform: translateX(4px); }

.btn-outline-forest {
  border: 1.5px solid var(--forest);
  color: var(--forest);
  background: transparent;
}
.btn-outline-forest:hover { background: var(--forest); color: #fff; }
.btn-ghost, .btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover, .btn-outline-light:hover { background: #fff; color: var(--forest); }

.link-arrow { font-weight: 700; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 7rem;
  background: var(--forest);
}
.hero-bg {
  position: absolute;
  inset: -8% 0 -8% 0;
  background: url("../img/hero.jpg") center/cover no-repeat;
  transform: scale(1.08);
  will-change: transform;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(127, 214, 194, 0.28), transparent 60%),
    linear-gradient(105deg, rgba(15, 46, 41, 0.92) 0%, rgba(15, 46, 41, 0.7) 45%, rgba(14, 143, 134, 0.25) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 1.02;
  font-weight: 400;
}
.hero h1 em { font-style: italic; color: var(--mint); }
.hero .lead { font-size: 1.15rem; max-width: 34rem; color: rgba(255, 255, 255, 0.82); }

.blob {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: var(--teal); top: -120px; right: -80px; }
.blob-2 { width: 320px; height: 320px; background: var(--gold); bottom: -140px; left: 30%; opacity: 0.3; animation-delay: -6s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-25px, 20px) scale(0.95); }
}

.leaf-chip {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.leaf-chip .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--forest);
  display: grid; place-items: center;
  font-size: 0.7rem;
  position: relative;
}
.leaf-chip .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--mint);
  animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* Split-line headline reveal */
.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.split-line > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
}
.is-loaded .split-line > span { transform: translateY(0); }
.split-line:nth-child(2) > span { transition-delay: 0.12s; }
.split-line:nth-child(3) > span { transition-delay: 0.24s; }

.hero-fade { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-loaded .hero-fade { opacity: 1; transform: none; }
.is-loaded .hero-fade.d1 { transition-delay: 0.35s; }
.is-loaded .hero-fade.d2 { transition-delay: 0.5s; }
.is-loaded .hero-fade.d3 { transition-delay: 0.65s; }
.is-loaded .hero-fade.d4 { transition-delay: 0.85s; }

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.hero-card + .hero-card { margin-top: 1rem; }
.hero-card .big { font-family: "Fraunces", serif; font-size: 2.6rem; line-height: 1; }
.hero-card small { color: rgba(255, 255, 255, 0.72); }
.hero-card .avatars { display: flex; }
.hero-card .avatars span {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  margin-left: -10px;
  background: center/cover;
}
.hero-card .avatars span:first-child { margin-left: 0; }
.hero-card .bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.hero-card .bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--gold)); transition: width 2s var(--ease) 1.2s; }
.is-loaded .hero-card .bar span { width: 86%; }
.float-y { animation: floatY 6s ease-in-out infinite; }
.float-y.alt { animation-delay: -3s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.scroll-cue:hover { color: #fff; }
.scroll-cue .mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  position: relative;
}
.scroll-cue .mouse::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--forest);
  color: #fff;
  overflow: hidden;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
}
.marquee-track span::after { content: "\2726"; color: var(--mint); font-size: 0.9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 7rem 0; position: relative; }
.section-alt { background: #fff; }
.eyebrow {
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.text-center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(2.1rem, 4vw, 3.4rem); color: var(--forest); line-height: 1.08; }
.section-title em { font-style: italic; color: var(--teal); }

/* ---------- About ---------- */
.img-round {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
}
.img-stack { position: relative; }
.img-stack .img-mask {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.img-stack .img-mask img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.img-badge {
  position: absolute;
  right: -1.2rem; bottom: 2.5rem;
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.9rem;
}
.img-badge i {
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(14, 143, 134, 0.12); color: var(--teal);
  display: grid; place-items: center; font-size: 1.3rem;
}
.img-badge strong { font-family: "Fraunces", serif; font-size: 1.15rem; display: block; line-height: 1.1; color: var(--forest); }
.img-badge small { color: var(--muted); }
@media (max-width: 575.98px) { .img-badge { right: 0.8rem; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.stat { border-top: 1px solid var(--sand); padding-top: 1rem; }
.stat .num { font-family: "Fraunces", serif; font-size: 2.4rem; color: var(--forest); line-height: 1; }
.stat .num sup { color: var(--teal); font-size: 1.2rem; }
.stat small { color: var(--muted); font-size: 0.85rem; display: block; margin-top: 0.3rem; line-height: 1.4; }

/* ---------- Why cards ---------- */
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  height: 100%;
  border: 1px solid var(--sand);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(127, 214, 194, 0.25), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
/* stacked cards (contact page) size to their content instead of filling the column */
.why-card.mb-4 { height: auto; }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.why-card:hover::before { opacity: 1; }
.why-card > * { position: relative; }
.section-alt .why-card { background: var(--cream); }
.why-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(127, 214, 194, 0.35), rgba(14, 143, 134, 0.15));
  color: var(--teal-dark);
  display: grid; place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  transition: transform 0.6s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.why-card:hover .why-icon { transform: rotate(-10deg) scale(1.1); background: var(--teal); color: #fff; }
.why-card h4 { color: var(--forest); font-size: 1.45rem; }
.why-card > .why-num {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  font-family: "Fraunces", serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--sand);
}

/* ---------- Services ---------- */
.service-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.8rem; }
.service-filter button {
  border: 1px solid var(--sand);
  background: #fff;
  color: var(--forest);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.35s var(--ease);
}
.service-filter button:hover { border-color: var(--teal); color: var(--teal); }
.service-filter button.active { background: var(--forest); border-color: var(--forest); color: #fff; }
.service-item { transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.service-item.is-hiding { opacity: 0; transform: scale(0.94); }
.service-item.is-filtered { display: none; }

.service-card {
  background: #fff;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service-card:hover { box-shadow: var(--shadow); }
.service-card .media { position: relative; overflow: hidden; height: 220px; }
.service-card img { height: 100%; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.service-card:hover img { transform: scale(1.08); }
.service-card .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 46, 41, 0.45));
}
.service-card .tag {
  position: absolute;
  z-index: 1;
  top: 1rem; left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  color: var(--forest);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.service-card .card-body { padding: 1.5rem 1.6rem 1.7rem; }
.service-card h3 { color: var(--forest); }

/* ---------- Process ---------- */
.process { position: relative; }
.process-line {
  position: absolute;
  top: 34px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: var(--sand);
}
.process-line span {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.step { text-align: center; position: relative; }
.step-dot {
  width: 68px; height: 68px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--sand);
  display: grid; place-items: center;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  color: var(--forest);
  position: relative;
  z-index: 1;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.step.is-active .step-dot { background: var(--teal); border-color: var(--teal); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 8px rgba(14, 143, 134, 0.12); }
.step h4 { color: var(--forest); }
@media (max-width: 767.98px) { .process-line { display: none; } }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.testimonial:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--shadow); }
.section-alt .testimonial { background: var(--cream); }
.testimonial .bi-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--mint);
  display: block;
  margin-bottom: 0.3rem;
}
.testimonial .stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.85rem; margin-bottom: 0.8rem; }
.quote { font-family: "Fraunces", serif; font-size: 1.3rem; line-height: 1.45; color: var(--forest); }
.person { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.4rem; }
.person .initial {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--forest));
  color: #fff; display: grid; place-items: center; font-weight: 700;
}

/* ---------- Blog ---------- */
.blog-card {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.blog-card img { height: 230px; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.blog-card:hover img { transform: scale(1.06); }
.blog-card .media { height: 230px; overflow: hidden; }
.blog-card .meta { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.blog-card h2, .blog-card h3 { color: var(--forest); }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: none; background: transparent; margin-bottom: 0.8rem; }
.faq .accordion-button {
  background: var(--cream);
  border-radius: 1.1rem !important;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--forest);
  box-shadow: none !important;
  padding: 1.25rem 1.5rem;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-radius 0.3s;
}
.faq .accordion-button::after {
  background-image: none;
  content: "+";
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  width: auto; height: auto;
  transition: transform 0.45s var(--ease);
}
.faq .accordion-button:not(.collapsed)::after { transform: rotate(135deg); }
.faq .accordion-button:not(.collapsed) { background: var(--forest); color: #fff; border-radius: 1.1rem 1.1rem 0 0 !important; }
.faq .accordion-body { background: var(--cream); border-radius: 0 0 1.1rem 1.1rem; padding: 1.2rem 1.5rem 1.5rem; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-radius: 2rem;
  padding: 5rem 2rem;
  background: var(--forest);
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -15% 0;
  z-index: -2;
  background: url("../img/cta.jpg") center/cover;
  transform: translateY(var(--cta-shift, 0));
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 80% at 90% 0%, rgba(127, 214, 194, 0.35), transparent 60%),
    linear-gradient(100deg, rgba(15, 46, 41, 0.92), rgba(14, 143, 134, 0.72));
}
.cta-band .eyebrow { color: var(--mint) !important; }
.cta-band .eyebrow::before, .cta-band .eyebrow::after { background: var(--mint); }

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: 11rem 0 6.5rem;
  background:
    linear-gradient(100deg, rgba(15, 46, 41, 0.88), rgba(14, 143, 134, 0.45)),
    url("../img/hero.jpg") center/cover;
  background-attachment: fixed;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: var(--cream);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero .eyebrow { color: var(--mint) !important; }
.page-hero h1 { font-weight: 400; max-width: 46rem; }
@media (hover: none) { .page-hero { background-attachment: scroll; } }

/* ---------- Footer ---------- */
footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.72);
  padding: 5rem 0 1.8rem;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "Health Daily Point";
  position: absolute;
  left: 50%; bottom: -0.25em;
  transform: translateX(-50%);
  font-family: "Fraunces", serif;
  font-size: clamp(4rem, 13vw, 11rem);
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}
footer .container { position: relative; }
footer a { color: rgba(255, 255, 255, 0.72); display: inline-block; transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
footer a:hover { color: #fff; transform: translateX(4px); }
footer li { margin-bottom: 0.45rem; }
footer h5 { color: #fff; font-family: "Fraunces", serif; font-size: 1.3rem; margin-bottom: 1rem; }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border-radius: 0.9rem;
  border: 1px solid var(--sand);
  padding: 0.85rem 1.1rem;
  background-color: #fff;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-control:focus, .form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.25rem rgba(14, 143, 134, 0.14);
}
.form-label { font-weight: 600; color: var(--forest); font-size: 0.9rem; }

.legal p, .legal li { color: var(--muted); font-size: 1.06rem; }
.legal h2, .legal h3 { color: var(--forest); margin-top: 1.8rem; }
.alert-soft {
  background: rgba(14, 143, 134, 0.1);
  border: none;
  color: var(--forest);
  border-radius: 0.9rem;
}

.map-frame {
  border: 0;
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 1040;
  width: 52px; height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--teal); }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-linecap: round; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1s var(--ease), clip-path 1.2s var(--ease), filter 1s var(--ease), box-shadow 0.5s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal="up"] { transform: translateY(50px); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="zoom"] { transform: scale(0.9); }
.js [data-reveal="blur"] { filter: blur(12px); transform: translateY(20px); }
.js [data-reveal="clip"] { opacity: 1; clip-path: inset(100% 0 0 0 round 2rem); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 2rem); }
/* once revealed, hover transforms take over with normal timing */
.js [data-reveal].is-done { transition-delay: 0s; }

/* ---------- Scroll scenes (pinned, scroll-scrubbed) ----------
   Without .scenes-on (no JS / reduced motion) every scene renders as a plain static block. */
.has-scenes .section { background: transparent; }
.has-scenes .why-card, .has-scenes .testimonial { background: #fff; }
.has-scenes .faq .accordion-button, .has-scenes .faq .accordion-body { background: #fff; }
.has-scenes .faq .accordion-button:not(.collapsed) { background: var(--forest); }

.scene { position: relative; }
.statement, .expand, .wheel { background: var(--forest); }
.scenes-on .statement, .scenes-on .expand, .scenes-on .wheel { background: transparent; }
.intro-done .hero-fade { transition: none; }
.scene-stage {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.scenes-on .scene { height: var(--scene-h, 260vh); }
.scenes-on .scene-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }

/* Hero exit: words drift apart as you scroll away */
.scenes-on .hero-scene { --scene-h: 200vh; }
.hero-scene .scene-stage > .hero { width: 100%; align-self: stretch; }
.scenes-on .hero-scene .hero { min-height: 0; height: 100%; padding: 5rem 0 3rem; }
.hero h1 .w { display: inline-block; will-change: transform, opacity; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--forest);
  opacity: 0;
  pointer-events: none;
}

/* Statement: words light up one by one */
.statement { color: #fff; }
.statement .scene-stage { padding: 6rem 0; }
.statement-text {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 62rem;
  margin: 0 auto;
  text-align: center;
}
.statement-text .w { transition: opacity 0.25s linear, color 0.4s; }
.scenes-on .statement-text .w { opacity: 0.14; }
.statement-text .w.hl { color: var(--mint); font-style: italic; }
.statement .eyebrow { color: var(--mint); }
.statement .eyebrow::before, .statement .eyebrow::after { background: var(--mint); }
.statement-inner { will-change: transform, opacity; }

/* Image expand: a card grows to fill the screen */
.expand { color: #fff; }
.scenes-on .expand { --scene-h: 240vh; }
.expand-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(var(--ct, 0%) var(--cx, 0%) var(--ct, 0%) var(--cx, 0%) round var(--cr, 0px));
}
.expand-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--is, 1)); }
.expand-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 46, 41, 0.25), rgba(15, 46, 41, 0.75));
  opacity: var(--ov, 1);
}
.expand-copy { position: relative; z-index: 2; text-align: center; padding: 0 1rem; }
.expand-copy h2 { font-size: clamp(2.4rem, 6.5vw, 6rem); font-weight: 400; line-height: 1.02; color: #fff; }
.expand-copy h2 em { color: var(--mint); }
.expand-copy .line { display: block; overflow: hidden; }
.expand-copy .line > span { display: inline-block; }
.scenes-on .expand-copy .line > span { transform: translateY(calc((1 - var(--tp, 1)) * 110%)); }
.expand-copy p { color: rgba(255, 255, 255, 0.85); max-width: 32rem; margin: 1.2rem auto 0; }
.scenes-on .expand-copy p { opacity: var(--tp, 1); }

/* Services wheel: cards orbit and the active one is named in the middle */
.wheel { color: #fff; }
.scenes-on .wheel { --scene-h: 420vh; }
.wheel .scene-stage { flex-direction: column; justify-content: flex-start; padding-top: 16vh; }
.wheel-head { text-align: center; position: relative; z-index: 2; padding: 0 1rem; }
.wheel-head .eyebrow { color: var(--mint); }
.wheel-head .eyebrow::before, .wheel-head .eyebrow::after { background: var(--mint); }
.wheel-titles { position: relative; height: 9.5rem; margin-top: 0.4rem; }
.wheel-title {
  position: absolute;
  left: 50%; top: 0;
  width: min(40rem, 92vw);
  transform: translate(-50%, 20px);
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.wheel-title.is-active { opacity: 1; transform: translate(-50%, 0); }
.wheel-title h3 { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 400; color: #fff; margin-bottom: 0.4rem; }
.wheel-title p { color: rgba(255, 255, 255, 0.72); margin: 0; }
.wheel-ring {
  --r: min(46vw, 560px);
  position: absolute;
  left: 50%;
  top: calc(100% + var(--r) * 0.62);
  width: 0; height: 0;
  transform: rotate(var(--rot, 0deg));
}
.wheel-item {
  position: absolute;
  left: 0; top: 0;
  width: clamp(120px, 15vw, 200px);
  aspect-ratio: 3 / 4;
  margin: calc(clamp(120px, 15vw, 200px) * -0.667) 0 0 calc(clamp(120px, 15vw, 200px) * -0.5);
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1));
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transition: filter 0.5s var(--ease), opacity 0.5s var(--ease);
  filter: grayscale(0.6) brightness(0.6);
}
.wheel-item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.6s var(--ease); }
.wheel-item.is-active { filter: none; }
.wheel-item.is-active img { transform: scale(1.12); }
.wheel-count {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
}
.wheel-count b { color: #fff; font-weight: 600; }
/* static fallback: show every service in a simple grid */
html:not(.scenes-on) .wheel-ring { position: static; transform: none; width: auto; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; padding: 2rem 1rem 4rem; }
html:not(.scenes-on) .wheel-item { position: relative; transform: none; margin: 0; filter: none; }
html:not(.scenes-on) .wheel-titles, html:not(.scenes-on) .wheel-count { display: none; }

@media (max-width: 767.98px) {
  .wheel-ring { --r: 78vw; top: calc(100% + var(--r) * 0.3); }
  .scenes-on .wheel { --scene-h: 360vh; }
  .wheel .scene-stage { padding-top: 13vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .split-line > span, .hero-fade { transform: none !important; opacity: 1 !important; }
}
