/* Renova Med Spa Temecula — elevated med-spa-luxe. Mauve + gold + marble.
   Matched palette: captured from real logo + interior (Sloane 2026-07-18).
   Cormorant Garamond (refined serif display) + Inter (clean sans body).
   Clamp/calc: spaces around every + and - operator. */

:root {
  /* PALETTE — captured, not invented */
  --mauve: #B08D8F;
  --mauve-deep: #8E6A6D;
  --plum-ink: #4A363A;
  --gold: #C2A15A;
  --gold-deep: #A6863F;
  --marble: #F6F4F2;
  --paper: #FFFFFF;
  --grey: #8C8790;
  --line: rgba(74, 54, 58, .12);
  --line-gold: rgba(194, 161, 90, .30);
  /* Layout */
  --wrap: 76rem;
  --gut: clamp(1.2rem, 4vw, 2.8rem);
  --rad: 4px;
  /* Typography */
  --f-disp: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth }
body { font-family: var(--f-body); background: var(--marble); color: var(--plum-ink); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased }
img { max-width: 100%; display: block }
a { color: inherit; text-decoration: none }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut) }
.narrow { max-width: 44rem }
.center { text-align: center }
.center-x { margin-inline: auto }
.accent { color: var(--mauve-deep) }

/* ---- Typography ---- */
.eyebrow {
  font-family: var(--f-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.h2 {
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  line-height: 1.08;
  margin-top: .5rem;
  color: var(--plum-ink);
  letter-spacing: -.01em;
}
.lede {
  font-size: clamp(1rem, .95rem + .3vw, 1.18rem);
  color: var(--grey);
  max-width: 40rem;
  margin-top: 1rem;
}
.body-copy {
  font-size: 1.04rem;
  margin-top: 1rem;
  color: var(--grey);
  line-height: 1.7;
}

/* Gold hairline seam (accent only; on-marble) */
.seam {
  height: 1px;
  width: 100%;
  max-width: 12rem;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold) 0%, var(--mauve) 65%, transparent);
  margin-top: 1.1rem;
}
.seam--center { margin-inline: auto; transform-origin: center }
.js-ready .seam { opacity: 0 }
.js-ready .seam.is-in {
  opacity: 1;
  animation: seamdraw .9s cubic-bezier(.42, 0, .18, 1) both;
}
@keyframes seamdraw { from { transform: scaleX(0) } to { transform: scaleX(1) } }
@media (prefers-reduced-motion: reduce) { .js-ready .seam { opacity: 1 !important; animation: none !important } }

/* ---- Buttons ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .95rem 2rem;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .12s;
}
.btn:active { transform: translateY(1px) }
.btn--mauve { background: var(--mauve-deep); color: #fff }   /* AA ~4.6:1 */
.btn--mauve:hover { background: var(--plum-ink) }
.btn--ghost { border-color: var(--mauve-deep); color: var(--mauve-deep) }
.btn--ghost:hover { background: var(--mauve-deep); color: #fff }
.btn--lg { padding: 1.1rem 2.4rem; font-size: .8rem }
.btn--light { border-color: rgba(255,255,255,.55); color: #fff }
.btn--light:hover { background: #fff; color: var(--plum-ink) }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,244,242,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .24s;
}
.nav[data-nav-state="solid"] { background: var(--marble) }
.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: .85rem var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand { min-width: 0; flex-shrink: 0 }
.nav__logo {
  height: 2.6rem;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav__links { display: none; list-style: none; gap: 1.8rem }
.nav__links a {
  font-family: var(--f-body);
  font-size: .79rem;
  font-weight: 500;
  color: var(--plum-ink);
  transition: color .2s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--mauve-deep) }
.nav__cta { padding: .6rem 1.25rem; font-size: .68rem }

/* ---- Hero (home) ---- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(28rem, 72vh, 46rem);
  display: flex;
  align-items: flex-end;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
/* mobile: tighter crop protecting the signage (top portion) */
@media (max-width: 699px) {
  .hero__img { object-position: center 15% }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74,54,58,.72) 0%, rgba(74,54,58,.18) 55%, transparent 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gut) clamp(2.8rem, 6vw, 4.5rem);
}
.hero__panel { max-width: 42rem }
.hero__eyebrow {
  font-family: var(--f-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__title {
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: clamp(2.8rem, 1.8rem + 5vw, 5.4rem);
  line-height: 1.03;
  letter-spacing: -.015em;
  margin-top: .5rem;
  color: #fff;
}
.hero__sub {
  font-family: var(--f-body);
  font-size: clamp(1rem, .95rem + .4vw, 1.2rem);
  color: rgba(255,255,255,.88);
  margin-top: 1.2rem;
  max-width: 36rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem }

/* ---- Sections ---- */
.section { padding-block: clamp(3.4rem, 8vw, 5.6rem) }
.band-marble { background: var(--marble) }
.band-paper { background: var(--paper) }
.band-plum {
  background: var(--plum-ink);
  color: #fff;
}
.band-plum .h2 { color: #fff }
.band-plum .eyebrow { color: var(--gold) }
.band-plum .lede, .band-plum .body-copy { color: rgba(246,244,242,.8) }

/* ---- Goal category cards (home) ---- */
.goal-cards {
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.goal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 1.5rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: border-color .2s, box-shadow .2s;
}
.goal-card:hover {
  border-color: var(--mauve);
  box-shadow: 0 4px 18px rgba(74,54,58,.08);
}
.goal-card__icon {
  font-size: 1.3rem;
  line-height: 1;
  margin-bottom: .2rem;
}
.goal-card__name {
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--plum-ink);
}
.goal-card__desc { font-size: .94rem; color: var(--grey); line-height: 1.55 }
.goal-card__link {
  margin-top: .6rem;
  font-family: var(--f-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mauve-deep);
}

/* ---- Social proof band ---- */
.stars {
  display: flex;
  gap: .15rem;
  justify-content: center;
  margin-top: 1.2rem;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: .05em;
}
.rating-num {
  font-family: var(--f-disp);
  font-size: clamp(2.6rem, 2rem + 2.5vw, 4rem);
  font-weight: 700;
  color: var(--plum-ink);
  line-height: 1;
  margin-top: .6rem;
}
.rating-label { font-size: .95rem; color: var(--grey); margin-top: .3rem }

/* ---- Interior / split layout ---- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: center }

/* ---- Real photo figure ---- */
.fig { overflow: hidden; border-radius: var(--rad); background: var(--line) }
.fig img { width: 100%; height: 100%; object-fit: cover; display: block }
/* Honest placeholder for any card slot with no real photo */
.fig--ph {
  position: relative;
  background: linear-gradient(135deg, #F0ECEC, var(--marble));
  border: 1px dashed var(--line-gold);
  display: grid;
  place-items: center;
  text-align: center;
}
.ph { display: flex; flex-direction: column; gap: .3rem; padding: 1rem; max-width: 90% }
.ph__slot { font-family: var(--f-body); font-size: .65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mauve-deep) }
.ph__desc { font-family: var(--f-disp); font-style: italic; font-size: clamp(.9rem, .85rem + .3vw, 1.1rem); color: var(--grey); line-height: 1.3 }
.ph__ar { font-family: var(--f-body); font-size: .62rem; font-weight: 600; letter-spacing: .1em; color: var(--grey) }

/* ---- Gallery grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
}
.gallery-item { overflow: hidden; border-radius: var(--rad) }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease }
.gallery-item:hover img { transform: scale(1.025) }

/* ---- Contact form / info ---- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: clamp(1.6rem, 4vw, 2.6rem) }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: clamp(1.5rem, 4vw, 2.2rem);
}
.cform { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 1.4rem }
.cform label {
  display: block;
  font-family: var(--f-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: .35rem;
}
.cform input, .cform textarea, .cform select {
  width: 100%;
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--plum-ink);
  background: var(--marble);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: .85rem 1rem;
  transition: border-color .2s;
}
.cform input:focus, .cform textarea:focus, .cform select:focus {
  outline: none;
  border-color: var(--mauve);
}
.cform textarea { min-height: 6.5rem; resize: vertical }
.cform__note { font-size: .82rem; color: var(--grey); margin-top: .25rem }

.info-list { list-style: none; margin-top: 1rem }
.info-list li { padding-block: .55rem; border-bottom: 1px solid var(--line); font-size: .98rem; color: var(--grey) }
.info-list strong { color: var(--plum-ink) }

/* ---- FAQ ---- */
.faq-list { margin-top: clamp(1.6rem, 4vw, 2.4rem) }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding-block: 1.2rem;
}
.faq-q {
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: clamp(1.05rem, .98rem + .3vw, 1.25rem);
  color: var(--plum-ink);
  margin-bottom: .55rem;
}
.faq-a { font-size: .98rem; color: var(--grey); line-height: 1.65 }

/* ---- Footer ---- */
.footer {
  background: var(--plum-ink);
  color: var(--marble);
  padding-top: clamp(3rem, 6vw, 4.2rem);
}
.footer__inner { display: flex; flex-direction: column; gap: 2rem }
.footer__logo { height: 2.4rem; width: auto; object-fit: contain; filter: brightness(0) invert(1) opacity(.85) }
.footer__tag { font-family: var(--f-disp); font-style: italic; font-size: 1.05rem; margin-top: .7rem; color: rgba(246,244,242,.75) }
.footer__nav { margin-top: 1.1rem }
.footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem 1.2rem }
.footer__nav a { font-family: var(--f-body); font-size: .8rem; font-weight: 500; color: rgba(246,244,242,.75) }
.footer__nav a:hover { color: var(--gold) }
.footer__nap p, .footer__hours p { color: rgba(246,244,242,.75); font-size: .95rem; line-height: 1.75 }
.footer__nap a:hover { color: var(--gold) }
.footer__hours-title { font-family: var(--f-body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .74rem; margin-bottom: .4rem; color: var(--gold) }
.footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(194,161,90,.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding-bottom: 6rem; /* mobar clearance */
}
.footer__legal p { color: rgba(140,135,144,.8); font-size: .8rem }
.footer__legal-cta { color: var(--gold); font-family: var(--f-body); font-weight: 600; letter-spacing: .06em; font-size: .8rem }

/* ---- Mobile action bar ---- */
.mobar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  background: var(--marble);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(74,54,58,.08);
}
.mobar a {
  flex: 1;
  text-align: center;
  padding: .95rem;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mobar__call { color: var(--plum-ink); border-right: 1px solid var(--line) }
.mobar__cta { background: var(--mauve-deep); color: #fff }

/* ---- Reveal animation ---- */
[data-reveal] { opacity: 1 }
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].reveal-init { opacity: 0; transform: translateY(14px) }
  [data-reveal].reveal-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .55s ease }
}

/* ---- Responsive breakpoints ---- */
@media (min-width: 600px) {
  .goal-cards { grid-template-columns: 1fr 1fr }
  .gallery-grid { grid-template-columns: 1fr 1fr }
}
@media (min-width: 700px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 3rem }
}
@media (min-width: 850px) {
  .nav__links { display: flex }
  .mobar { display: none }
  .footer__legal { padding-bottom: 1.5rem }
  .footer__inner { flex-direction: row; justify-content: space-between }
  .split { grid-template-columns: 1fr 1fr }
  .split--wide { grid-template-columns: 1.1fr 1fr }
  .goal-cards { grid-template-columns: repeat(3, 1fr) }
  .gallery-grid { grid-template-columns: repeat(3, 1fr) }
}
@media (min-width: 1100px) {
  .goal-cards { grid-template-columns: repeat(5, 1fr) }
}
