/* ============================================================
   Lowcountry Vitality — styles.css
   Mobile IV concierge · Charleston, SC
   Fonts: Fraunces (display) + Satoshi (UI/body), loaded in <head>
   ============================================================ */

:root {
  --paper:      #F6F2E9;   /* warm cream page */
  --cream:      #FBF8F1;   /* lighter cream */
  --white:      #FFFFFF;
  --ink:        #20312A;   /* deep green-black text */
  --ink-soft:   #46564D;
  --muted:      #7C8B81;
  --green:      #2D5F3F;   /* palmetto, primary */
  --green-deep: #1C4530;
  --gold:       #C9A961;   /* warm sand accent */
  --gold-deep:  #A8863C;
  --gold-tint:  #F2E9D4;   /* gold-washed cream */
  --line:       #E5DDCC;   /* warm hairline */
  --radius:     14px;
  --radius-lg:  20px;
  --maxw:       1120px;
  --shadow-sm:  0 1px 2px rgba(28,69,48,.05), 0 6px 18px rgba(28,69,48,.05);
  --shadow-md:  0 2px 6px rgba(28,69,48,.06), 0 16px 40px rgba(28,69,48,.09);
  --ring:       0 0 0 3px rgba(45,95,63,.16);
  --font-ui:    'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display:'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
section { padding: clamp(56px, 8vw, 92px) 0; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold); }
.section-title {
  font-size: clamp(27px, 4.2vw, 42px); line-height: 1.08; color: var(--ink); max-width: 18ch;
}
.section-sub {
  margin-top: 16px; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-soft); max-width: 60ch; line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-ui); font-weight: 600; font-size: 16px; line-height: 1;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn--primary { background: var(--green); color: var(--cream); }
.btn--primary:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--green); border-color: rgba(45,95,63,.35); }
.btn--ghost:hover { background: rgba(45,95,63,.07); }
.btn--large { padding: 16px 28px; font-size: 17px; width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 13px clamp(16px, 4vw, 40px);
  background: rgba(251,248,241,.86); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--green); font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.nav__logo svg { width: 28px; height: 28px; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav__links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 15px; transition: color .2s ease; }
.nav__links a:hover { color: var(--green); }
.nav__cta { background: var(--green); color: var(--cream) !important; padding: 9px 17px; border-radius: 999px; font-weight: 600 !important; }
.nav__cta:hover { background: var(--green-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  max-width: var(--maxw); margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 40px);
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero__inner { min-width: 0; }
.hero__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.hero__title { font-size: clamp(34px, 6.4vw, 62px); line-height: 1.03; color: var(--ink); }
.hero__title em { font-style: italic; color: var(--green); }
.hero__sub { margin-top: 22px; font-size: clamp(16px, 1.9vw, 20px); line-height: 1.55; color: var(--ink-soft); max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__strip { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__strip > div { display: flex; flex-direction: column; gap: 3px; }
.strip__num { font-family: var(--font-display); font-weight: 600; font-size: 25px; color: var(--green); line-height: 1; }
.strip__label { font-size: 13.5px; color: var(--muted); }
.hero__art { justify-self: end; width: 100%; max-width: 460px; }
.hero__art svg { width: 100%; height: auto; }

/* ---------- Trust bar ---------- */
.trust { background: var(--green-deep); color: var(--cream); }
.trust__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 15px clamp(20px, 4vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px;
  font-size: 14.5px; font-weight: 500; letter-spacing: .01em; text-align: center;
}
.trust .dot { color: var(--gold); opacity: .85; }

/* ---------- Why ---------- */
.why { background: var(--paper); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.why__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.why__num { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--gold-deep); margin-bottom: 10px; }
.why__card h3 { font-size: 21px; color: var(--ink); margin-bottom: 8px; }
.why__card p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }

/* ---------- Menu ---------- */
.menu { background: var(--cream); }
.menu__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.drip { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 7px; box-shadow: var(--shadow-sm); }
.drip header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.drip header h3 { font-size: 18.5px; color: var(--ink); }
.drip .price { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--green); white-space: nowrap; }
.drip p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.drip--feature { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-md); }
.tag { position: absolute; top: -11px; left: 18px; background: var(--gold); color: #2A2310; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.menu__addons { margin-top: 26px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; background: rgba(45,95,63,.05); border-left: 3px solid var(--gold); padding: 13px 18px; border-radius: 8px; }
.menu__addons strong { color: var(--ink); }

/* ---------- Groups ---------- */
.groups { background: var(--paper); }
.groups__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.group { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.group h3 { font-size: 20px; color: var(--ink); }
.group__price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 18px; }
.group__price span { font-family: var(--font-display); font-weight: 600; font-size: 34px; color: var(--green); line-height: 1; }
.group__price small { color: var(--muted); font-size: 13.5px; }
.group ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.group li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.45; }
.group li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-deep); font-weight: 800; font-size: 14px; }
.group--feature { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), var(--shadow-md); background: linear-gradient(180deg, rgba(45,95,63,.04), var(--white) 120px); }

/* ---------- How it works ---------- */
.how { background: var(--cream); }
.how__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 38px; }
.how__list li { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.how__num { flex: none; width: 38px; height: 38px; border-radius: 999px; background: var(--green); color: var(--cream); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.how__list h3 { font-size: 18px; color: var(--ink); margin-bottom: 5px; }
.how__list p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* ---------- Service area ---------- */
.area { background: var(--paper); text-align: center; }
.area .eyebrow, .area .section-title { margin-left: auto; margin-right: auto; }
.area .section-title { max-width: 22ch; }
.area__list { margin: 22px auto 0; color: var(--ink-soft); font-size: 17px; line-height: 1.9; max-width: 760px; }

/* ---------- Weight management waitlist (highlight) ---------- */
.wm { background: var(--gold-tint); }
.wm .container { max-width: 720px; text-align: center; }
.wm .eyebrow { color: var(--gold-deep); }
.wm .section-title, .wm .section-sub { margin-left: auto; margin-right: auto; }
.wm .section-title { max-width: 24ch; }
.wm__form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.wm__form input[type="email"] {
  flex: 1 1 280px; max-width: 360px; padding: 13px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-family: inherit; font-size: 16px;
}
.wm__form input[type="email"]:focus { outline: none; border-color: var(--green); box-shadow: var(--ring); }
.wm__thanks { margin-top: 16px; color: var(--green); font-weight: 600; }

/* ---------- Booking (dark) ---------- */
.book { background: var(--green-deep); color: var(--cream); }
.book__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.book__title { font-size: clamp(28px, 5vw, 40px); color: var(--cream); }
.book__sub { margin: 14px auto 0; color: rgba(251,248,241,.82); max-width: 56ch; }

/* Vagaro embed slot */
.book__embed { margin: 28px 0 6px; }
.book__embed-placeholder {
  display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center;
  background: rgba(251,248,241,.06); border: 1.5px dashed rgba(201,169,97,.6); border-radius: var(--radius-lg);
  padding: 26px 22px; color: rgba(251,248,241,.85);
}
.book__embed-placeholder strong { color: var(--gold); font-size: 16px; }
.book__embed-placeholder span { font-size: 14px; color: rgba(251,248,241,.7); max-width: 46ch; }
.book__embed-placeholder code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: rgba(0,0,0,.22); padding: 1px 6px; border-radius: 5px; color: var(--cream); }
.book__divider { display: flex; align-items: center; gap: 14px; margin: 22px auto 4px; color: rgba(251,248,241,.55); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.book__divider::before, .book__divider::after { content: ""; flex: 1; height: 1px; background: rgba(251,248,241,.18); }

/* Booking form card */
.book__form {
  background: var(--cream); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 34px); margin-top: 22px; text-align: left;
  display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-md);
}
.book__form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.book__form label { display: flex; flex-direction: column; gap: 6px; }
.book__form label > span { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.book__form input, .book__form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 16px; color: var(--ink); background: var(--white);
}
.book__form select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2346564D' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.book__form input:focus, .book__form select:focus { outline: none; border-color: var(--green); box-shadow: var(--ring); }
.book__form .btn--primary { background: var(--gold); color: #2A2310; }
.book__form .btn--primary:hover { background: var(--gold-deep); color: var(--cream); }
.book__fine { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 2px; }
.book__thanks { background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); padding: 36px 28px; margin-top: 22px; text-align: center; box-shadow: var(--shadow-md); }
.book__thanks h3 { font-family: var(--font-display); font-size: 26px; color: var(--green); margin-bottom: 8px; }
.book__thanks p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq details:first-of-type { margin-top: 36px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16.5px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 22px; color: var(--gold-deep); line-height: 1; transition: transform .2s ease; }
.faq details[open] summary { color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(251,248,241,.85); padding: 56px 0 28px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; padding-bottom: 28px; border-bottom: 1px solid rgba(251,248,241,.12); }
.footer__logo { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--cream); text-decoration: none; }
.footer__tag { color: rgba(251,248,241,.6); margin-top: 8px; font-size: 15px; max-width: 260px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); }
.footer__cols h4 { color: var(--cream); font-size: 13px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
.footer__cols p { margin: 4px 0; }
.footer__cols a, .footer__cols p { color: rgba(251,248,241,.75); text-decoration: none; font-size: 15px; line-height: 1.7; }
.footer__cols a:hover { color: var(--gold); }
.footer__bottom { padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a { color: rgba(251,248,241,.75); text-decoration: none; font-size: 14px; }
.footer__links a:hover { color: var(--gold); }
.footer__bottom > p { font-size: 13.5px; color: rgba(251,248,241,.6); margin: 0; }
.footer__fine { font-size: 12.5px; color: rgba(251,248,241,.45) !important; max-width: 760px; line-height: 1.6; }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(70px, 9vw, 104px) clamp(20px, 4vw, 40px) 64px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); color: var(--ink); margin-bottom: 6px; }
.legal__meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal__note { background: var(--gold-tint); border-left: 3px solid var(--gold-deep); border-radius: 8px; padding: 14px 18px; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 30px; }
.legal h2 { font-size: 22px; color: var(--green); margin: 34px 0 10px; }
.legal h3 { font-family: var(--font-ui); font-size: 16px; font-weight: 700; color: var(--ink); margin: 20px 0 6px; }
.legal p { color: var(--ink-soft); font-size: 16px; line-height: 1.72; margin: 0 0 12px; }
.legal ul { padding-left: 22px; display: flex; flex-direction: column; gap: 7px; margin: 0 0 14px; }
.legal li { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.legal a { color: var(--green); }
.legal__back { display: inline-block; margin-top: 12px; color: var(--green); text-decoration: none; font-weight: 600; font-size: 15px; }
.legal__back:hover { color: var(--gold-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .groups__grid { grid-template-columns: 1fr; }
  .how__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .menu__grid { grid-template-columns: 1fr; }
  .book__form .row { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
