:root {
  --thai-wellness-bg: #f5f8f7;
  --thai-wellness-surface: #ffffff;
  --thai-wellness-tone: #2d7a6e;
  --thai-wellness-tone-hover: #1e5c52;
  --thai-wellness-accent: #e58f27;
  --thai-wellness-ink: #1a2e2b;
  --thai-wellness-ink-muted: #536c68;
  --thai-wellness-overlay: rgba(26, 46, 43, 0.7);
  --thai-wellness-gradient: linear-gradient(135deg, #2d7a6e 0%, #1e5c52 100%);
  --thai-wellness-gradient-accent: linear-gradient(135deg, #e58f27 0%, #c4761a 100%);
  
  --font-display: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --thai-radius-soft: 16px;
  --thai-radius-pill: 999px;
  
  --thai-shadow-flat: none;
  --thai-shadow-raised: 0 8px 24px rgba(0,0,0,0.08);
  --thai-shadow-deep: 0 20px 60px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.05);
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--thai-wellness-bg);
  color: var(--thai-wellness-ink);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--thai-wellness-ink);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Progress indicator on scroll */
.scroll-progress-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--thai-wellness-gradient-accent);
  width: 100%;
  z-index: 10000;
  transform-origin: left;
  animation: scroll-progress-animation linear;
  animation-timeline: scroll();
}

@keyframes scroll-progress-animation {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Header style (Preset K) */
.heart-nav-bar {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: var(--thai-wellness-surface);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.heart-logo-svg {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--thai-wellness-tone);
}

.heart-logo-svg svg {
  width: 32px;
  height: 32px;
  fill: var(--thai-wellness-tone);
}

/* Burger menu for Mobile (no JS) */
.heart-menu-checkbox {
  display: none;
}

.heart-menu-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.heart-menu-hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--thai-wellness-tone);
  border-radius: 2px;
  transition: 0.3s;
}

.heart-nav-anchors {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.heart-nav-anchors a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--thai-wellness-ink-muted);
}

.heart-nav-anchors a:hover {
  color: var(--thai-wellness-tone);
}

.heart-nav-cta {
  background: var(--thai-wellness-gradient);
  color: white !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--thai-radius-pill);
  box-shadow: var(--thai-shadow-raised);
}

.heart-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--thai-shadow-deep);
}

/* Responsive Menu */
@media (max-width: 768px) {
  .heart-menu-hamburger {
    display: flex;
  }
  
  .heart-nav-anchors {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--thai-wellness-surface);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
    z-index: 998;
  }

  .heart-menu-checkbox:checked ~ .heart-nav-anchors {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Common Section Settings */
.main-content-area {
  padding: 10dvh 5%;
  position: relative;
}

/* Floating stack on Hero (Preset K) */
.wellness-hero-stack {
  height: 100vh;
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wellness-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.wellness-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--thai-wellness-overlay);
  z-index: 2;
}

.wellness-hero-panels {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: 800px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wellness-hero-card-back {
  position: absolute;
  width: 90%;
  height: 100%;
  background-color: var(--thai-wellness-tone);
  border-radius: var(--thai-radius-soft);
  opacity: 0.3;
  transform: translate(-15px, -15px) rotate(-1.5deg);
  z-index: 1;
}

.wellness-hero-card-mid {
  position: absolute;
  width: 95%;
  height: 100%;
  background-color: var(--thai-wellness-accent);
  border-radius: var(--thai-radius-soft);
  opacity: 0.4;
  transform: translate(15px, 15px) rotate(1deg);
  z-index: 2;
}

.wellness-hero-card-front {
  position: absolute;
  width: 100%;
  background-color: var(--thai-wellness-surface);
  border-radius: var(--thai-radius-soft);
  padding: 3rem 2rem;
  box-shadow: var(--thai-shadow-deep);
  z-index: 3;
  text-align: center;
}

.wellness-hero-card-front h1 {
  font-size: 2.22rem;
  margin-bottom: 1.2rem;
  color: var(--thai-wellness-ink);
}

.wellness-hero-card-front p {
  font-size: 1.1rem;
  color: var(--thai-wellness-ink-muted);
  margin-bottom: 2rem;
}

.wellness-cta-pill {
  display: inline-block;
  background: var(--thai-wellness-gradient);
  color: white !important;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: var(--thai-radius-pill);
  box-shadow: var(--thai-shadow-raised);
  transform: scale(1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wellness-cta-pill:hover {
  transform: scale(1.05);
  box-shadow: var(--thai-shadow-deep);
}

/* Floating content segment (Preset K) */
.cardio-info-split {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 10dvh 5%;
  flex-wrap: wrap;
}

.cardio-info-frame {
  flex: 1 1 400px;
  position: relative;
  border-radius: var(--thai-radius-soft);
  box-shadow: var(--thai-shadow-deep);
  overflow: hidden;
  height: 450px;
  transform: translateY(-20px);
}

.cardio-info-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cardio-info-panel {
  flex: 1 1 400px;
  background-color: var(--thai-wellness-surface);
  padding: 2.5rem;
  border-radius: var(--thai-radius-soft);
  box-shadow: var(--thai-shadow-raised);
}

.cardio-info-panel h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.cardio-info-panel h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--thai-wellness-accent);
  margin-top: 0.5rem;
}

.cardio-info-panel p {
  color: var(--thai-wellness-ink-muted);
  margin-bottom: 1rem;
}

/* Levitating features deck (Preset K) */
.levitate-cards-section {
  padding: 10dvh 5%;
  background-color: var(--thai-wellness-surface);
  position: relative;
  z-index: 10;
}

.levitate-cards-headline {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.levitate-cards-headline h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.levitate-cards-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: -30px;
}

.levitate-card-item {
  flex: 1 1 280px;
  max-width: 380px;
  background-color: var(--thai-wellness-bg);
  border-radius: var(--thai-radius-soft);
  padding: 2.5rem 1.8rem;
  box-shadow: var(--thai-shadow-deep);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 11;
}

.levitate-card-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.18);
}

.levitate-card-icon {
  background: var(--thai-wellness-gradient);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.levitate-card-icon svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.levitate-card-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.levitate-card-item p {
  font-size: 0.95rem;
  color: var(--thai-wellness-ink-muted);
}

/* How it works: Pill Cards (Preset K) */
.healthy-steps-track {
  background-color: var(--thai-wellness-bg);
  padding: 10dvh 5%;
}

.healthy-steps-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.healthy-steps-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.healthy-step-pill {
  background-color: var(--thai-wellness-surface);
  border-radius: var(--thai-radius-pill);
  padding: 1.5rem 2.5rem;
  box-shadow: var(--thai-shadow-raised);
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: transform 0.2s ease;
}

.healthy-step-pill:hover {
  transform: scale(1.02);
}

.step-pill-number {
  background: var(--thai-wellness-gradient-accent);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-pill-body h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.step-pill-body p {
  font-size: 0.9rem;
  color: var(--thai-wellness-ink-muted);
}

@media(max-width: 600px) {
  .healthy-step-pill {
    border-radius: var(--thai-radius-soft);
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
}

/* CTA strip (Preset K) */
.deep-cta-banner {
  padding: 10dvh 5%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.deep-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--thai-wellness-overlay);
  z-index: 1;
}

.deep-cta-floating-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 70%;
  background-color: var(--thai-wellness-surface);
  padding: 3.5rem 2.5rem;
  border-radius: var(--thai-radius-soft);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  text-align: center;
}

.deep-cta-floating-panel h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.deep-cta-floating-panel p {
  color: var(--thai-wellness-ink-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .deep-cta-floating-panel {
    max-width: 95%;
  }
}

/* EXPERT PAGE SPECIFICS */
.expert-levitate-stage {
  padding: 10dvh 5%;
  background-color: var(--thai-wellness-bg);
}

.expert-hero-floating {
  max-width: 850px;
  margin: 0 auto;
  background-color: var(--thai-wellness-surface);
  border-radius: var(--thai-radius-soft);
  box-shadow: var(--thai-shadow-deep);
  padding: 3.5rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
}

.expert-frame-levitating {
  flex: 1 1 250px;
  position: relative;
  box-shadow: var(--thai-shadow-deep);
  border-radius: var(--thai-radius-soft);
  overflow: hidden;
  height: 380px;
}

.expert-frame-levitating img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-bio-data {
  flex: 1 1 350px;
}

.expert-bio-data h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.expert-bio-title {
  color: var(--thai-wellness-tone);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.expert-stat-pills {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.expert-stat-pill-item {
  background-color: var(--thai-wellness-surface);
  border: 1px solid rgba(45, 122, 110, 0.15);
  padding: 0.8rem 1.5rem;
  border-radius: var(--thai-radius-pill);
  box-shadow: var(--thai-shadow-raised);
  text-align: center;
}

.expert-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--thai-wellness-accent);
}

.expert-stat-desc {
  font-size: 0.8rem;
  color: var(--thai-wellness-ink-muted);
}

/* RESERVE PAGE SPECIFICS */
.reserve-stage {
  padding: 10dvh 5%;
}

.reserve-form-shell {
  max-width: 650px;
  margin: 0 auto 5rem auto;
  background-color: var(--thai-wellness-surface);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
  padding: 3.5rem;
}

.reserve-form-shell h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.reserve-input-group {
  margin-bottom: 1.5rem;
}

.reserve-input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--thai-wellness-ink);
}

.reserve-input-group input, 
.reserve-input-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(45, 122, 110, 0.2);
  border-radius: var(--thai-radius-soft);
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.3s;
}

.reserve-input-group input:focus,
.reserve-input-group textarea:focus {
  border-color: var(--thai-wellness-tone);
}

.reserve-privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 2rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.reserve-privacy-checkbox input {
  margin-top: 0.25rem;
}

.reserve-submit-btn {
  width: 100%;
  background: var(--thai-wellness-gradient);
  color: white;
  border: none;
  font-weight: 700;
  padding: 1.1rem;
  border-radius: var(--thai-radius-pill);
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: var(--thai-shadow-raised);
  transition: transform 0.2s, box-shadow 0.2s;
}

.reserve-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--thai-shadow-deep);
}

/* FAQ Accordions */
.faq-lifting-deck {
  max-width: 800px;
  margin: 0 auto;
}

.faq-lifting-deck h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-lift-item {
  background-color: var(--thai-wellness-surface);
  border-radius: var(--thai-radius-soft);
  margin-bottom: 1rem;
  box-shadow: var(--thai-shadow-raised);
  padding: 1.5rem 2rem;
}

.faq-lift-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--thai-wellness-tone);
}

.faq-lift-item p {
  color: var(--thai-wellness-ink-muted);
  font-size: 0.95rem;
}

/* Cards on reserve.html */
.reserve-cardio-guide-deck {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 5rem;
}

.reserve-guide-card {
  flex: 1 1 280px;
  max-width: 350px;
  background-color: var(--thai-wellness-surface);
  border-radius: var(--thai-radius-soft);
  padding: 2.5rem 1.8rem;
  box-shadow: var(--thai-shadow-raised);
  display: flex;
  flex-direction: column;
}

.reserve-guide-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reserve-guide-card h3 svg {
  width: 24px;
  height: 24px;
  fill: var(--thai-wellness-tone);
}

.reserve-guide-card p {
  color: var(--thai-wellness-ink-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.reserve-guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.reserve-guide-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.reserve-guide-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--thai-wellness-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* THANK YOU STAGE */
.thank-stage {
  padding: 15dvh 10%;
  text-align: center;
  background-color: var(--thai-wellness-bg);
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thank-card {
  max-width: 600px;
  background-color: var(--thai-wellness-surface);
  padding: 4rem 3rem;
  border-radius: var(--thai-radius-soft);
  box-shadow: var(--thai-shadow-deep);
}

.thank-card svg {
  width: 80px;
  height: 80px;
  fill: var(--thai-wellness-tone);
  margin-bottom: 2rem;
}

.thank-card h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.thank-card p {
  color: var(--thai-wellness-ink-muted);
  margin-bottom: 2.5rem;
}

/* LEGAL PAGES */
.legal-document-body {
  padding: 8dvh 10%;
  background-color: var(--thai-wellness-surface);
  line-height: 1.8;
}

.legal-document-body h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--thai-wellness-bg);
  padding-bottom: 1rem;
}

.legal-document-body h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-document-body p {
  color: var(--thai-wellness-ink-muted);
  margin-bottom: 1.5rem;
}

/* FOOTER */
.heart-site-footer {
  background-color: var(--thai-wellness-ink);
  color: white;
  padding: 5rem 5% 2rem 5%;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}

.footer-logo-svg {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
}

.footer-logo-svg svg {
  width: 38px;
  height: 38px;
  fill: var(--thai-wellness-accent);
}

.footer-nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav-list a {
  color: rgba(255,255,255,0.7);
}

.footer-nav-list a:hover {
  color: var(--thai-wellness-accent);
}

.footer-disclaimer-panel {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.footer-bottom-info {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* COOKIE BANNER */
.cookie-banner-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--thai-wellness-surface);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 9999;
  flex-wrap: wrap;
  transform: translateY(150%);
  transition: transform 0.5s ease-in-out;
}

.cookie-banner-wrapper.visible {
  transform: translateY(0);
}

.cookie-banner-text {
  flex: 1 1 400px;
  font-size: 0.95rem;
  color: var(--thai-wellness-ink);
}

.cookie-banner-text a {
  color: var(--thai-wellness-tone);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 1rem;
}

.cookie-accept-btn {
  background: var(--thai-wellness-gradient);
  color: white;
  border: none;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: var(--thai-radius-pill);
  cursor: pointer;
}

.cookie-decline-btn {
  background-color: transparent;
  color: var(--thai-wellness-ink-muted);
  border: 1px solid var(--thai-wellness-ink-muted);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: var(--thai-radius-pill);
  cursor: pointer;
}

@media(max-width: 600px) {
  .cookie-banner-wrapper {
    flex-direction: column;
    text-align: center;
  }
}

/* Animations Scroll driven */
@keyframes view-fade-in {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.animated-view-panel {
  animation: view-fade-in linear;
  animation-timeline: view();
  animation-range: entry 5% cover 30%;
}