/* ============================================================
   Appling Natural Health — Design System
   Natural aesthetic: cream, sage, warm brown
   ============================================================ */
:root {
  --cream: #f7f3ed;
  --surface: #f0e9e0;
  --surface-deep: #e9e0d3;
  --ink: #2e2a24;
  --brown: #6b5744;
  --brown-deep: #54432f;
  --sage: #8a9e85;
  --sage-dark: #6e8268;
  --muted: #7a6f63;
  --line: #e3dacd;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brown); text-decoration: none; transition: color .25s; }
a:hover { color: var(--sage-dark); }

/* ---------- Splash screen ---------- */
#splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  opacity: 1; visibility: visible;
  transition: opacity .7s ease, visibility .7s ease;
}
#splash.hide { opacity: 0; visibility: hidden; }
#splash img {
  width: 150px; height: 150px; border-radius: 50%;
  opacity: 0; transform: scale(.82);
  animation: splash-logo 1.3s cubic-bezier(.22,1,.36,1) .15s forwards;
  box-shadow: 0 18px 50px rgba(107,87,68,.18);
}
#splash .splash-name {
  font-family: var(--serif); font-size: 26px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brown);
  opacity: 0; transform: translateY(10px);
  animation: splash-text .9s ease .85s forwards;
}
#splash .splash-sub {
  font-family: var(--sans); font-size: 11px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--sage-dark);
  opacity: 0;
  animation: splash-text .9s ease 1.15s forwards;
}
@keyframes splash-logo { to { opacity: 1; transform: scale(1); } }
@keyframes splash-text { to { opacity: 1; transform: translateY(0); } }
body.no-splash #splash, html.no-splash #splash { display: none; }
@media (prefers-reduced-motion: reduce) {
  #splash img, #splash .splash-name, #splash .splash-sub {
    animation: none; opacity: 1; transform: none;
  }
}

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 650;
  background: rgba(247,243,237,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand-name {
  font-family: var(--serif); font-size: 21px; letter-spacing: .06em;
  color: var(--ink); line-height: 1.2;
}
.brand-sub {
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--sage-dark);
}
nav.desktop { display: flex; align-items: center; gap: 30px; }
nav.desktop a {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); font-weight: 400;
}
nav.desktop a:hover, nav.desktop a.active { color: var(--sage-dark); }
.btn-book {
  background: var(--brown); color: var(--cream) !important;
  padding: 11px 26px; border-radius: 40px; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  transition: background .3s;
}
.btn-book:hover { background: var(--brown-deep); }

/* Hamburger / mobile menu */
#hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px; z-index: 700;
}
#hamburger span {
  width: 24px; height: 2px; background: var(--brown);
  transition: transform .3s, opacity .3s;
}
#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#mobile-menu {
  position: fixed; inset: 0; z-index: 600; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 30px; opacity: 0; pointer-events: none; transition: opacity .35s;
}
#mobile-menu.open { opacity: 1; pointer-events: auto; }
#mobile-menu a {
  font-family: var(--serif); font-size: 26px; color: var(--ink);
}
#mobile-menu .btn-book { font-family: var(--sans); font-size: 13px; }
@media (max-width: 880px) {
  nav.desktop { display: none; }
  #hamburger { display: flex; }
  .nav-inner { padding: 10px 18px; }
  .brand { gap: 10px; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 8.5px; letter-spacing: .2em; }
}

/* ---------- Layout primitives ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; }
.eyebrow {
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--sage-dark); margin-bottom: 16px; font-weight: 400;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.12; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 23px; margin-bottom: 10px; }
.lead { font-size: 16px; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 110px 0 100px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center;
}
.hero-tree {
  width: min(380px, 80%); margin: 0 auto; border-radius: 50%;
  box-shadow: 0 30px 80px rgba(107,87,68,.2);
  animation: hero-float 7s ease-in-out infinite;
}
@keyframes hero-float { 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-tree { animation: none; } }
.hero h1 em { font-style: italic; color: var(--sage-dark); }
.hero .lead { margin: 24px 0 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-line {
  border: 1px solid var(--brown); color: var(--brown); padding: 11px 26px;
  border-radius: 40px; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 400; transition: all .3s;
}
.btn-line:hover { background: var(--brown); color: var(--cream); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero { padding: 70px 0 60px; }
  section { padding: 64px 0; }
}

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 50px; }
@media (max-width: 880px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 36px 30px; transition: transform .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(107,87,68,.12); }
.card h3 { color: var(--brown-deep); }
.card p { font-size: 14.5px; color: var(--muted); }
.card .price-tag {
  display: inline-block; margin-top: 18px; font-family: var(--serif);
  font-size: 22px; color: var(--sage-dark);
}
.card .price-tag small { font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }

/* Pricing table */
.pt {
  max-width: 760px; margin: 50px auto 0; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  text-align: left;
}
.pt-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 24px 32px; border-bottom: 1px solid var(--line);
}
.pt-row:last-child { border-bottom: none; }
.pt-name { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.pt-note { font-size: 12.5px; color: var(--muted); }
.pt-price { font-family: var(--serif); font-size: 22px; color: var(--sage-dark); }
.pt-price-sub { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: 6px; white-space: nowrap; }
.pt-duo { text-align: right; }
.pt-duo > div { white-space: nowrap; }
.pt-row > div:last-child { white-space: nowrap; }
@media (max-width: 600px) {
  .pt-row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 22px; }
  .pt-duo { text-align: left; display: flex; gap: 20px; }
}

/* ---------- Bio / team ---------- */
.bio-grid {
  display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start;
}
.bio-grid img {
  border-radius: 18px; box-shadow: 0 24px 60px rgba(107,87,68,.18); width: 100%;
}
.bio-cred {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sage-dark); margin: 6px 0 22px;
}
.bio-grid p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.disclaimer-note {
  font-size: 12.5px; font-style: italic; color: var(--muted);
  border-left: 2px solid var(--sage); padding-left: 14px; margin-top: 22px;
}
@media (max-width: 880px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-grid img { max-width: 320px; margin: 0 auto; }
}

/* ---------- Banded sections ---------- */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Call strip ---------- */
.call-strip { text-align: center; }
.call-phone {
  display: inline-block; font-family: var(--serif); font-size: clamp(26px, 4vw, 38px);
  color: var(--brown); margin: 18px 0 8px;
}
.call-hours { font-size: 13px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }

/* ---------- Forms ---------- */
.form-card {
  max-width: 660px; margin: 50px auto 0; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; padding: 44px 40px;
}
.form-card label {
  display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 22px 0 8px; font-weight: 400;
}
.form-card label:first-of-type { margin-top: 0; }
.form-card input[type=text], .form-card input[type=email], .form-card input[type=tel],
.form-card select, .form-card textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--cream); font-family: var(--sans); font-size: 15px; color: var(--ink);
  outline: none; transition: border-color .25s;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--sage); }
.form-card textarea { min-height: 130px; resize: vertical; }
.consent-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; }
.consent-row input { margin-top: 5px; accent-color: var(--sage-dark); }
.consent-row p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.btn-submit {
  margin-top: 30px; width: 100%; background: var(--brown); color: var(--cream);
  border: none; padding: 15px; border-radius: 40px; font-family: var(--sans);
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
  transition: background .3s;
}
.btn-submit:hover { background: var(--brown-deep); }
.btn-submit:disabled { opacity: .6; cursor: wait; }
@media (max-width: 600px) {
  .form-card { padding: 32px 22px; }
  /* 16px minimum stops iOS Safari from auto-zooming into focused fields */
  .form-card input[type=text], .form-card input[type=email], .form-card input[type=tel],
  .form-card select, .form-card textarea,
  .review-card input, .review-card textarea { font-size: 16px !important; }
}

/* ---------- Review funnel ---------- */
.review-card {
  max-width: 560px; margin: 50px auto 0; background: #fff; text-align: center;
  border: 1px solid var(--line); border-radius: 18px; padding: 50px 40px;
}
.stars { display: flex; justify-content: center; gap: 10px; margin: 26px 0 12px; }
.star {
  font-size: 44px; color: var(--line); cursor: pointer;
  transition: color .2s, transform .2s; user-select: none; background: none; border: none;
}
.star.lit, .star.hover-lit { color: #d9a441; }
.star:hover { transform: scale(1.15); }
#rating-hint { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.review-section { display: none; }
.review-section.active { display: block; }
.mini-star { font-size: 22px; color: var(--line); }
.mini-star.lit { color: #d9a441; }
.back-link {
  display: inline-block; margin-top: 18px; font-size: 13px; color: var(--muted);
  background: none; border: none; cursor: pointer; font-family: var(--sans);
}
.review-card .form-card-inner { text-align: left; margin-top: 26px; }
@media (max-width: 600px) { .review-card { padding: 36px 22px; } .star { font-size: 36px; } }

/* ---------- Booking ---------- */
.booking-frame-wrap {
  max-width: 760px; margin: 44px auto 0; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; padding: 18px;
}

/* ---------- Legal ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal .effective { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 30px; }

/* ---------- Footer ---------- */
footer { background: var(--surface-deep); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: center;
}
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { width: 46px; height: 46px; border-radius: 50%; }
.foot-brand .brand-name { font-size: 18px; }
.foot-addr { font-size: 13px; color: var(--muted); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot-links a:hover { color: var(--brown); }
.copyright { text-align: center; font-size: 12px; color: var(--muted); margin-top: 36px; }
