/* =========================================================
   PMU Bar Shar — soft & elegant
   Palette: beige / cream / black
   Fonts: Cormorant Garamond (display) + Jost (body)
   Mobile-first, responsive
   ========================================================= */

:root {
  --cream:      #faf6f0;
  --beige:      #ece3d7;
  --beige-deep: #d9ccba;
  --sand:       #c9b79f;
  --taupe:      #8a7c6a;
  --ink:        #1c1a17;
  --ink-soft:   #3a352f;
  --muted:      #6f665b;
  --white:      #ffffff;

  --maxw: 1140px;
  --radius: 4px;
  --ease: cubic-bezier(.4, 0, .2, 1);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.section { padding: 5rem 0; }
.section-soft { background: var(--beige); }
.section-head { margin-bottom: 3rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1rem; }

p { color: var(--muted); max-width: 65ch; }
.center p { margin-inline: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1rem;
}
.lead { font-size: 1.1rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .95rem 2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  min-height: 44px;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--ink-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--sand); }
.btn-ghost:hover { background: var(--beige-deep); }
.btn-nav {
  padding: .6rem 1.3rem;
  background: var(--ink);
  color: var(--cream);
  font-size: .72rem;
  min-height: 0;
}
.btn-nav:hover { background: var(--ink-soft); }

.link-arrow {
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--sand);
  padding-bottom: 2px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--taupe); border-color: var(--taupe); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--beige-deep);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
}
.brand-logo { display: block; height: 40px; width: auto; }
.footer-logo { display: block; height: 64px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav a {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.primary-nav a:hover { color: var(--taupe); }
.primary-nav a.active { color: var(--ink); border-bottom: 1px solid var(--sand); padding-bottom: 2px; }
.primary-nav a.btn-nav { border-bottom: none; padding-bottom: .6rem; color: var(--cream); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 88vh, 760px);
  padding: clamp(4rem, 10vw, 7rem) 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(28,26,23,.45) 0%, rgba(28,26,23,.30) 40%, rgba(28,26,23,.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
  margin-inline: auto;
}
.hero-logo {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 1.75rem;
}
.hero .eyebrow { color: rgba(250,246,240,.85); }
.hero h1 { color: var(--cream); margin: .5rem 0 1.5rem; }
.hero .lead { color: rgba(250,246,240,.92); max-width: 52ch; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero .btn-ghost { color: var(--cream); border-color: rgba(250,246,240,.6); }
.hero .btn-ghost:hover { background: rgba(250,246,240,.12); border-color: var(--cream); }

.page-hero {
  background: var(--beige);
  padding: clamp(3rem, 9vw, 5.5rem) 0;
  border-bottom: 1px solid var(--beige-deep);
}
.page-hero h1 { margin: .5rem 0 1rem; }
.page-hero .lead { max-width: 52ch; margin-inline: auto; }

/* ---------- Cards (treatments preview) ---------- */
.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.card {
  background: var(--cream);
  border: 1px solid var(--beige-deep);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card h3 { margin-bottom: .6rem; }
.card p { margin-bottom: 1.2rem; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(28,26,23,.08); }

/* ---------- Features ---------- */
.features { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.feature-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sand);
  display: block;
  margin-bottom: .5rem;
}
.feature h3 { margin-bottom: .5rem; }

/* ---------- Treatments (detail) ---------- */
.treatment {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--beige-deep);
}
.treatment:last-child { border-bottom: none; }
.treatment-media {
  background: var(--beige);
  border: 1px solid var(--beige-deep);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  color: var(--taupe);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .1em;
  overflow: hidden;
}
.treatment-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.treatment-body h2 { margin-bottom: 1rem; }
.treatment-body p { margin-bottom: 1.2rem; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.ticks li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .6rem;
  color: var(--ink-soft);
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .65em;
  width: 7px; height: 7px;
  background: var(--sand);
  border-radius: 50%;
}

/* ---------- Prices ---------- */
.price-group { margin-bottom: 3rem; }
.price-group h2 { margin-bottom: 1.2rem; font-size: 1.7rem; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--beige-deep);
}
.price-name { color: var(--ink-soft); }
.price-name em { color: var(--taupe); font-style: italic; font-size: .9em; }
.price-dots { flex: 1; border-bottom: 1px dotted var(--sand); transform: translateY(-3px); }
.price-amount {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  white-space: nowrap;
}
.price-note { font-size: .9rem; color: var(--taupe); margin-top: 1.5rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.about-media {
  background: var(--beige);
  border: 1px solid var(--beige-deep);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  color: var(--taupe);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .1em;
  overflow: hidden;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-body h2 { margin-bottom: 1.2rem; }
.about-body p { margin-bottom: 1.1rem; }

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  padding: 5rem 0;
}
.cta h2 { color: var(--cream); margin-bottom: 1rem; }
.cta p { color: var(--beige-deep); margin-bottom: 2rem; }
.cta .btn-primary { background: var(--cream); color: var(--ink); }
.cta .btn-primary:hover { background: var(--beige); }

/* ---------- Footer ---------- */
.site-footer { background: var(--beige); border-top: 1px solid var(--beige-deep); padding-top: 3.5rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand .brand-name { font-size: 1.5rem; }
.footer-brand p { color: var(--taupe); font-size: .9rem; margin-top: .4rem; }
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1rem;
}
.footer-col a { display: block; color: var(--ink-soft); font-size: .95rem; padding: .3rem 0; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--taupe); }
.footer-bottom { border-top: 1px solid var(--beige-deep); padding: 1.5rem 0; }
.footer-bottom p { font-size: .82rem; color: var(--taupe); text-align: center; }

/* ---------- Focus states (a11y) ---------- */
a:focus-visible, .btn:focus-visible, button:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--beige-deep);
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-120%);
    transition: transform .35s var(--ease);
    box-shadow: 0 20px 40px rgba(28,26,23,.08);
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav a { width: 100%; padding: .9rem 0; border-bottom: 1px solid var(--beige); }
  .primary-nav a.active { border-bottom: 1px solid var(--beige); }
  .primary-nav a.btn-nav { text-align: center; margin-top: 1rem; padding: .9rem 1.3rem; border-bottom: none; }
}

@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { gap: 1.25rem; }
}

@media (min-width: 768px) {
  .features { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .treatment { grid-template-columns: 1fr 1fr; gap: 3.5rem; padding: 4rem 0; }
  .treatment.reverse .treatment-media { order: 2; }
  .about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .footer-inner { grid-template-columns: 2fr 1fr 1.4fr; }
}

@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
