/* ============================================================
   Captiva Tan — captivatan.com (prototype)
   Palette drawn from the logo: sunset orange, ocean blue, deep navy
   ============================================================ */

:root {
  --sun:       #f7941d;   /* logo sun orange */
  --sun-deep:  #e8581c;   /* sunset red-orange */
  --gold:      #ffc845;   /* sun core */
  --ocean:     #2596be;   /* logo script blue */
  --ocean-dk:  #1b7396;
  --navy:      #12354a;   /* deep twilight navy */
  --navy-dk:   #0c2535;
  --cream:     #fdf7ef;   /* warm sand background */
  --white:     #ffffff;
  --ink:       #2b2520;   /* warm near-black text */
  --ink-soft:  #6b6259;
  --line:      #ece1d2;
  --radius:    16px;
  --shadow:    0 6px 24px rgba(18, 53, 74, .10);
}

/* ---------- Switchable palettes (set from the admin panel) ----------
   data-palette on <html>: classic (default) | lagoon | teal | mix     */
html[data-palette="lagoon"], html[data-palette="mix"] {
  --ocean: #0fb3ae; --ocean-dk: #0a8d89;
  --navy: #0a5258; --navy-dk: #06393f;
}
html[data-palette="teal"] {
  --ocean: #0fb3ae; --ocean-dk: #0a8d89;
  --navy: #084c52; --navy-dk: #053338;
}
html[data-palette="lagoon"] .hero, html[data-palette="mix"] .hero {
  background:
    radial-gradient(ellipse 70% 55% at 78% 8%, rgba(255, 214, 110, .55), transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 115%, rgba(174, 240, 236, .5), transparent 65%),
    linear-gradient(180deg, #4ec3e0 0%, #2ec4c6 40%, #14b0b2 70%, #0c9fa4 100%);
}
html[data-palette="lagoon"] .hero__eyebrow, html[data-palette="mix"] .hero__eyebrow { color: #fff7d6; }
html[data-palette="mix"] .visit { background: linear-gradient(180deg, #084c52 0%, #053338 100%); }
html[data-palette="mix"] .footer { background: #053338; }
html[data-palette="teal"] .hero {
  background:
    radial-gradient(ellipse 85% 65% at 72% 108%, rgba(255, 200, 69, .45), transparent 62%),
    radial-gradient(ellipse 70% 55% at 65% 112%, rgba(46, 196, 198, .55), transparent 65%),
    linear-gradient(180deg, #053338 0%, #0a5e63 38%, #11939a 68%, #1fb9bb 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; } /* clears the sticky nav so anchored section titles aren't cut off */
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
h1, h2, h3 { font-family: 'Poppins', sans-serif; line-height: 1.2; }
a { color: var(--ocean); }
img { display: block; max-width: 100%; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}
.section-title--left { text-align: left; }
.section-title--light { color: var(--white); }
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 28px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--sun {
  background: linear-gradient(135deg, var(--gold), var(--sun) 55%, var(--sun-deep));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(232, 88, 28, .35);
}
.btn--ocean { background: var(--ocean); color: var(--white); }
.btn--ocean:hover { background: var(--ocean-dk); }
.btn--ghost {
  border: 2px solid rgba(255, 255, 255, .85);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--lg { padding: 15px 36px; font-size: 1.05rem; }
.btn--sm { padding: 8px 22px; font-size: .9rem; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  font-weight: 600;
  padding: 10px 16px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 247, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Nav scales down fluidly as the window narrows so the CTA pill always
   stays in view; the burger menu is the last resort on small screens. */
.nav__brand { flex-shrink: 0; margin-right: clamp(12px, 2vw, 28px); }
.nav__logo { height: clamp(42px, 4.2vw, 54px); width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 30px);
  min-width: 0;
}
.nav__links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: clamp(.76rem, .45rem + .62vw, .95rem);
  letter-spacing: .01em;
  white-space: nowrap;
}
.nav__links a.nav__cta {
  padding: clamp(8px, 1vw, 12px) clamp(16px, 2.2vw, 28px);
  font-size: clamp(.76rem, .45rem + .62vw, .95rem);
  flex-shrink: 0;
}
.nav__links a:hover { color: var(--sun-deep); }
.nav__links a.nav__cta { color: var(--white); }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; }
.nav__burger span {
  display: block;
  width: 24px; height: 3px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 90% 70% at 75% 105%, rgba(255, 200, 69, .55), transparent 60%),
    radial-gradient(ellipse 70% 60% at 70% 110%, rgba(247, 148, 29, .65), transparent 65%),
    linear-gradient(180deg, var(--navy-dk) 0%, var(--navy) 38%, #1b5a7a 68%, var(--ocean) 100%);
  color: var(--white);
  padding: 96px 24px 140px;
  text-align: center;
  overflow: hidden;
}
.hero__inner { max-width: 760px; margin: 0 auto; position: relative; }
.hero__eyebrow {
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero__title em { color: var(--gold); font-style: normal; }
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .88);
  max-width: 580px;
  margin: 0 auto 32px;
}
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__badges {
  margin-top: 42px;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: .95rem;
  color: rgba(255, 255, 255, .92);
}
.hero__wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 90px;
}

/* ---------- How it works ---------- */
.how { padding: 72px 0 56px; }
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.how__step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  text-align: center;
}
.how__num {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--sun-deep));
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how__step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.how__step p { font-size: .95rem; color: var(--ink-soft); }
.how__note {
  margin-top: 32px;
  background: #fff4e3;
  border: 1px solid #f5ddb8;
  border-radius: var(--radius);
  padding: 18px 24px;
  font-size: .95rem;
  text-align: center;
}

/* ---------- Packages ---------- */
.packages { padding: 56px 0 40px; }
.bed {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 24px;
}
.bed__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.bed__thumb {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--line);
  flex-shrink: 0;
}
.bed__tier {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
  color: var(--white);
  margin-bottom: 6px;
}
.bed__tier--5 { background: var(--sun-deep); }
.bed__tier--4 { background: var(--sun); }
.bed__tier--3 { background: #d9a40a; }
.bed__tier--2 { background: var(--ocean); }
.bed__tier--1 { background: var(--navy); }
.bed__name { font-size: 1.35rem; }
.bed__desc { color: var(--ink-soft); font-size: .95rem; }
.bed__prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.price {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.price--featured {
  border: 2px solid var(--sun);
  background: #fffaf2;
}
.price__label { font-weight: 600; font-size: .9rem; }
.price__amount {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
}
.price__note { font-size: .8rem; color: var(--ink-soft); margin-bottom: 8px; }
.packages__fineprint {
  text-align: center;
  font-size: .85rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ---------- Lotions ---------- */
.lotions { padding: 48px 0; }
.shop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 16px;
}
.shop__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex;
  flex-direction: column;
}
.shop__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.shop__card img {
  height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 14px;
}
/* Reserve a consistent two lines for the name so cards start uniformly */
.shop__card h3 { min-height: 2.5em; display: flex; align-items: center; justify-content: center; }
/* Bottom-anchor size + price + button so they line up across every card */
.shop__foot { margin-top: auto; }
.shop__foot .shop__select { margin-top: 0; margin-bottom: 4px; }
.shop__brand {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.shop__card h3 { font-size: 1rem; margin-bottom: 4px; }
.shop__size { font-size: .8rem; color: var(--ink-soft); }
.shop__price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sun-deep);
  margin-top: 8px;
}
.shop__packette {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.shop__select {
  margin-top: 10px;
  width: 100%;
  padding: 7px 10px;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.shop__select:focus {
  outline: none;
  border-color: var(--ocean, var(--sun-deep));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ocean, var(--sun-deep)) 25%, transparent);
}
.shop__buy {
  margin-top: 10px; width: 100%; padding: 10px 14px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9rem;
  color: #fff; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--sun) 55%, var(--sun-deep));
  box-shadow: 0 3px 10px rgba(232,88,28,.35); transition: transform .12s ease, filter .12s ease;
}
.shop__buy:hover { transform: translateY(-1px); filter: brightness(1.04); }
.shop__buy:active { transform: translateY(0); }
.shop__buy--added { background: #1c6b3c; box-shadow: none; }
.shop__oos {
  margin-top: 10px; display: inline-block; padding: 7px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: #a02929; background: #fdeaea;
}

/* ---------- Cart ---------- */
.nav__cart {
  position: relative; background: none; border: 0; cursor: pointer; color: var(--navy);
  padding: 6px; margin-left: 6px; display: flex; align-items: center;
}
.nav__cart:hover { color: var(--sun-deep); }
.nav__cart-count {
  position: absolute; top: -3px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--sun-deep); color: #fff; border-radius: 999px;
  font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center;
}
.cart[hidden] { display: none; }
.cart { position: fixed; inset: 0; z-index: 120; }
.cart__backdrop { position: absolute; inset: 0; background: rgba(12,53,74,.5); animation: cartFade .2s ease; }
.cart__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(400px, 100%);
  background: var(--cream); display: flex; flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,.25); animation: cartSlide .25s ease;
}
@keyframes cartFade { from { opacity: 0; } }
@keyframes cartSlide { from { transform: translateX(100%); } }
.cart__head { display: flex; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart__head h3 { font-family: 'Poppins', sans-serif; font-size: 1.15rem; flex: 1; margin: 0; }
.cart__close { background: none; border: 0; font-size: 1.3rem; cursor: pointer; color: var(--ink-soft); line-height: 1; }
.cart__items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart__empty { padding: 40px 20px; text-align: center; color: var(--ink-soft); }
.citem { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.citem__img { width: 56px; height: 56px; object-fit: contain; }
.citem__name { font-weight: 600; font-size: .9rem; line-height: 1.25; }
.citem__size { font-size: .78rem; color: var(--ink-soft); }
.citem__price { font-size: .82rem; color: var(--ink-soft); margin-top: 2px; }
.citem__right { text-align: right; }
.citem__qty { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.citem__qty button { width: 26px; height: 26px; border: 1px solid var(--line); background: #fff; border-radius: 7px; cursor: pointer; font-size: 1rem; line-height: 1; color: var(--navy); }
.citem__qty button:hover { background: #fff7ed; border-color: var(--sun); }
.citem__qty span { min-width: 18px; text-align: center; font-weight: 600; }
.citem__line { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy); }
.citem__remove { display: block; margin-top: 4px; background: none; border: 0; color: #a02929; font-size: .74rem; cursor: pointer; }
.citem__max { font-size: .72rem; color: #a02929; margin-top: 4px; }
.cart__foot { padding: 16px 20px 22px; border-top: 1px solid var(--line); background: var(--white); }
.cart__line { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; }
.cart__line--total { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.cart__note { font-size: .78rem; color: var(--ink-soft); margin: 10px 0 12px; }
.cart__checkout { width: 100%; }
.cart__checkout:disabled { opacity: .6; cursor: wait; }
.cart__error { color: #a02929; font-size: .82rem; margin-top: 10px; text-align: center; }

/* ---------- About ---------- */
.about { padding: 56px 0; text-align: center; }
.about__copy { max-width: 640px; margin: 0 auto 24px; color: var(--ink-soft); font-size: 1.05rem; }
.about__tags { display: flex; gap: 12px; justify-content: center; }
.about__tags span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 20px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ocean-dk);
}
.about__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 780px;
  margin: 30px auto 0;
}
.about__feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.about__feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.about__feature-ico { font-size: 1.9rem; display: block; margin-bottom: 8px; line-height: 1; }
.about__feature strong {
  display: block; font-family: 'Poppins', sans-serif;
  color: var(--navy); font-size: 1.02rem; margin-bottom: 5px;
}
.about__feature span:last-child { font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 640px) { .about__features { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Visit ---------- */
.visit {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dk) 100%);
  color: var(--white);
  padding: 72px 0;
}
.visit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.visit__card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.visit__card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--gold); }
.visit__card p { font-size: .98rem; color: rgba(255, 255, 255, .88); }
.visit__card a { color: var(--white); }

/* Contact form (on the navy Visit section) */
.contact {
  max-width: 600px; margin: 36px auto 0;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 28px 24px;
}
.contact__title { color: var(--gold); font-size: 1.15rem; text-align: center; margin-bottom: 18px; }
.contact__row { display: flex; gap: 12px; }
.contact input, .contact textarea {
  width: 100%; margin-bottom: 12px; padding: 12px 14px;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px; color: var(--white); font-family: 'Inter', sans-serif; font-size: 1rem;
}
.contact input::placeholder, .contact textarea::placeholder { color: rgba(255, 255, 255, .6); }
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .14); }
.contact textarea { resize: vertical; min-height: 96px; }
.contact .btn { width: 100%; border: 0; cursor: pointer; }
.contact .btn:disabled { opacity: .6; cursor: wait; }
.contact__hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.contact__msg { margin: 14px 0 0; padding: 11px 14px; border-radius: 10px; font-size: .92rem; text-align: center; }
.contact__msg.ok { background: rgba(126, 226, 168, .18); color: #d6f5e3; border: 1px solid rgba(126, 226, 168, .4); }
.contact__msg.err { background: rgba(245, 130, 130, .15); color: #ffd6d6; border: 1px solid rgba(245, 130, 130, .4); }
@media (max-width: 560px) { .contact__row { flex-direction: column; gap: 0; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dk); color: rgba(255, 255, 255, .75); padding: 48px 0 24px; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__logo { height: 60px; width: auto; margin-bottom: 12px; }
.footer__brand p { font-size: .9rem; }
.footer__nav { display: flex; flex-direction: column; gap: 8px; }
.footer__nav a { color: rgba(255, 255, 255, .75); text-decoration: none; font-size: .92rem; }
.footer__nav a:hover { color: var(--gold); }
.footer__copy {
  text-align: center;
  font-size: .8rem;
  margin-top: 36px;
  color: rgba(255, 255, 255, .45);
}

/* ---------- Pre-checkout modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 37, 53, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
/* display:flex above would otherwise override the hidden attribute */
.modal[hidden] { display: none; }
.modal__card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .3);
}
.modal__close {
  position: absolute;
  top: 12px; right: 16px;
  background: none; border: 0;
  font-size: 1.6rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.modal__title { font-size: 1.3rem; margin-bottom: 4px; }
.modal__pkg { color: var(--ocean-dk); font-weight: 600; margin-bottom: 18px; }
.modal__check {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; cursor: pointer; margin-bottom: 12px;
}
.modal__check input { width: 18px; height: 18px; accent-color: var(--sun); }
.modal__gift { margin-bottom: 4px; }
.modal__row { display: flex; gap: 10px; margin-bottom: 10px; }
.modal__row input { flex: 1; min-width: 0; }
.modal__card input[type=text], .modal__card input[type=email],
.modal__card input[type=tel], .modal__card textarea {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  width: 100%;
}
.modal__label { display: block; font-size: .85rem; font-weight: 600; margin: 10px 0 6px; }
.modal__hint { font-size: .76rem; color: var(--ink-soft); margin: 6px 0 2px; }
.modal__minor {
  font-size: .85rem;
  background: #fff4d6;
  border: 1px solid #f0d490;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 8px 0 2px;
  color: #5a4200;
}
.modal__check--optin { margin-top: 16px; font-weight: 500; font-size: .9rem; }
.modal__check--optin em { color: var(--ink-soft); font-style: normal; font-size: .8rem; }
.modal__card input[type=date] {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  width: 100%;
}
.modal__go { width: 100%; margin-top: 18px; text-align: center; border: 0; cursor: pointer; }
.modal__go:disabled { opacity: .6; cursor: wait; }
.modal__note { font-size: .78rem; color: var(--ink-soft); text-align: center; margin-top: 12px; }
.modal__error {
  margin-top: 12px; padding: 10px 14px; border-radius: 8px;
  background: #fdeaea; color: #a02929; font-size: .88rem; text-align: center;
}

/* ---------- Nav collapse (only when fluid shrinking runs out of room) ---------- */
@media (max-width: 780px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav__links.open { display: flex; }
  .nav__burger { display: block; }
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .how__grid, .bed__prices, .visit__grid { grid-template-columns: 1fr; }
  .lotions__inner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .lotions__text p { margin-left: auto; margin-right: auto; }
  .section-title--left { text-align: center; }
  .hero { padding: 64px 20px 120px; }
  .bed__head { flex-direction: column; text-align: center; }
}

/* ---------- Legal pages (privacy / terms) ---------- */
.legal { padding: 48px 0 80px; }
.legal .container { max-width: 760px; }
.legal h1 { margin-bottom: 6px; }
.legal .legal__updated { color: var(--ink-soft); font-style: italic; margin-bottom: 28px; }
.legal h3 { color: var(--navy); margin: 30px 0 10px; font-size: 1.2rem; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 24px; }
.legal li { margin-bottom: 8px; }
