/* Pema Spa Sarasota — site styles
   Palette: black + gold, ivory and sage accents
   Tone: quiet, healing, professional
*/

:root {
  --black: #0b0b0b;
  --black-soft: #141414;
  --ink: #1c1a17;
  --gold: #c9a24d;
  --gold-bright: #e0c575;
  --gold-deep: #a6863a;
  --ivory: #f6f2ea;
  --ivory-2: #efe8db;
  --sage: #6f7c68;
  --sage-deep: #4a5546;
  --sage-soft: #e4e7df;
  --text: #2b2925;
  --muted: #5e5952;
  --line: rgba(201, 162, 77, 0.35);
  --white: #fffaf3;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  --header-h: 4.25rem;
  --sticky-h: 4.25rem;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --radius: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-deep); text-underline-offset: 0.15em; }
a:hover { color: var(--sage-deep); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--black);
  color: var(--gold-bright);
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 11, 11, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 77, 0.22);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--gold-bright);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.brand-place {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9c0aa;
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: #ede6d6;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.nav a:hover { color: var(--gold-bright); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--black) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  min-height: 44px;
}

.nav-cta:hover { background: var(--gold-bright); color: var(--black) !important; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(201, 162, 77, 0.45);
  color: var(--gold-bright);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Hero */
.hero {
  background: var(--black);
  color: var(--ivory);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: min(86vh, 760px);
}

.hero-copy {
  padding: 4.5rem 2rem 3.5rem 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 36rem;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 1.1rem;
  color: #f8f1e3;
}

.hero .lede {
  font-size: 1.15rem;
  color: #d8d0c2;
  margin: 0 0 1.25rem;
  max-width: 30rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  color: var(--gold-bright);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin: 0 0 1.8rem;
}

.trust-line span + span::before {
  content: "·";
  margin-right: 0.85rem;
  color: var(--gold);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-bright); color: var(--black); }

.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
  border-color: rgba(201, 162, 77, 0.65);
}
.btn-ghost:hover { background: rgba(201, 162, 77, 0.12); color: var(--gold-bright); }

.btn-dark {
  background: var(--black);
  color: var(--gold-bright);
}
.btn-dark:hover { background: #222; color: var(--gold-bright); }

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: var(--ivory); }

.hero-license {
  margin-top: 1.75rem;
  font-size: 0.82rem;
  color: #b7b0a3;
}

.hero-photo {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  position: absolute;
  inset: 0;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,11,11,0.45), transparent 40%);
  pointer-events: none;
}

/* Sections */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 4.25rem 0;
}

.section-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 0.6rem;
}

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.section-intro {
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 2rem;
}

.perk-banner {
  background: var(--sage-soft);
  border: 1px solid rgba(111, 124, 104, 0.28);
  text-align: center;
  padding: 0.95rem 1rem;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--sage-deep);
}

.perk-banner strong { color: var(--ink); font-weight: 600; }

/* Service menus */
.menu-block + .menu-block { margin-top: 2.25rem; }

.menu-block h3 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  border-bottom: 1px solid rgba(111, 124, 104, 0.3);
  padding-bottom: 0.45rem;
  margin: 0 0 0.85rem;
  font-weight: 600;
}

.service {
  padding: 1.05rem 0;
  border-bottom: 1px dotted rgba(111, 124, 104, 0.38);
}

.service-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.service h4 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.service p {
  margin: 0.25rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
}

.price {
  display: flex;
  flex-direction: column;
  min-width: 4.5rem;
}

.price dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0;
}

.price dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
}

.addon, .single-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px dotted rgba(111, 124, 104, 0.38);
}

.addon-name, .single-row .name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}

.addon-price, .single-row .amt {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.special {
  margin-top: 2.2rem;
  background: var(--black);
  color: var(--ivory);
  text-align: center;
  padding: 1.4rem 1.2rem;
  border: 1px solid rgba(201, 162, 77, 0.55);
}

.special-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.special + .special {
  margin-top: 0.8rem;
}
.addon-price s {
  opacity: 0.55;
  margin-right: 0.35em;
}
.special p + p {
  margin-top: 0.35rem;
}
.special p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-bright);
}

/* Mid-page CTA */
.band-cta {
  background: var(--ivory-2);
  text-align: center;
  padding: 2.5rem 1.25rem;
}

.band-cta h2,
.band-cta .cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 0.4rem;
  font-weight: 500;
}

.band-cta p { margin: 0 0 1.2rem; color: var(--muted); }

.band-cta .cta-actions { justify-content: center; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(201, 162, 77, 0.35);
}

.about-copy p { margin: 0 0 1rem; }

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.creds li {
  border: 1px solid rgba(201, 162, 77, 0.55);
  color: var(--sage-deep);
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  background: #fff;
}

/* Visit */
.visit {
  background: #f3eee4;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  background: #fff;
  padding: 1.3rem 1.2rem 1.4rem;
  border-top: 2px solid var(--gold);
}

.step-num {
  font-family: var(--font-display);
  color: var(--gold-deep);
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.steps h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  border: 0;
  padding: 0;
}

.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Reviews placeholder */
.reviews {
  text-align: center;
}

.reviews-box {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.6rem 1.3rem;
  border: 1px solid rgba(111, 124, 104, 0.3);
  background: #fff;
  color: var(--muted);
}

/* Location / contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-block h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  text-transform: none;
  letter-spacing: 0;
  border: 0;
  color: var(--ink);
}

.contact-block p,
.contact-block address {
  font-style: normal;
  margin: 0 0 0.8rem;
  color: var(--text);
}

.hours-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.map-link { font-weight: 600; }

.phone-lg {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.03em;
}

.phone-lg:hover { color: var(--gold-deep); }

/* Footer */
.site-footer {
  background: var(--black);
  color: #cfc7b8;
  padding: 2.4rem 1.25rem 2.6rem;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer .wrap { padding: 0; }

.footer-brand {
  font-family: var(--font-display);
  color: var(--gold-bright);
  letter-spacing: 0.18em;
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.license-line {
  color: var(--gold);
  margin: 0.4rem 0 0.8rem;
  font-weight: 500;
}

.site-footer p { margin: 0.25rem 0; }

.site-footer a { color: var(--gold-bright); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--black);
  border-top: 1px solid rgba(201, 162, 77, 0.4);
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.55rem;
}

.sticky-cta .btn { flex: 1; }

/* Responsive */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy {
    padding: 3rem 1.25rem 2.4rem;
    max-width: none;
  }
  .hero-photo {
    min-height: 260px;
    aspect-ratio: 4 / 3;
    max-height: 420px;
  }
  .hero-photo::after {
    background: linear-gradient(0deg, rgba(11,11,11,0.35), transparent 45%);
  }
  .about-grid,
  .contact-grid,
  .steps { grid-template-columns: 1fr; }
  .about-photo img { aspect-ratio: 4 / 3; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.1rem;
    border-bottom: 1px solid rgba(201, 162, 77, 0.22);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-cta { margin-top: 0.7rem; width: 100%; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 6.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Book online */
.btn-book {
  background: var(--gold);
  color: var(--black);
}
.btn-book:hover { background: var(--gold-bright); color: var(--black); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  background: #111;
}
.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.gallery figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.45rem 0.2rem 0;
}

/* Reviews */
.reviews { text-align: center; }
.google-rating {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  margin: 0 0 1.4rem;
  font-weight: 600;
}
.google-rating span { color: var(--gold-deep); letter-spacing: 0.06em; }
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
}
blockquote.review {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(111, 124, 104, 0.28);
  padding: 1.2rem 1.15rem 1.1rem;
}
blockquote.review p {
  margin: 0 0 0.85rem;
  color: var(--text);
  font-size: 0.98rem;
}
blockquote.review footer {
  font-size: 0.85rem;
  color: var(--muted);
}
blockquote.review a { color: var(--gold-deep); text-decoration: none; font-weight: 600; }
blockquote.review a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .gallery, .review-grid { grid-template-columns: 1fr; }
  .gallery img { height: 240px; }
}

@media (min-width: 881px) {
  .hero-actions { flex-wrap: nowrap; }
  .hero-actions .btn { padding-left: 0.85rem; padding-right: 0.85rem; white-space: nowrap; }
}
