:root {
  --ivory: #fbf7f1;
  --cream: #f3ece2;
  --sand: #e6d7c4;
  --gold: #b0894a;
  --gold-soft: #c9a36a;
  --gold-deep: #8c6a32;
  --ink: #1a1612;
  --ink-soft: #3a332c;
  --muted: #7a7168;
  --white: #fffcf8;
  --line: rgba(176, 137, 74, 0.28);
  --shadow: 0 24px 60px rgba(26, 22, 18, 0.12);
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.01em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}

h1,
h2,
h3,
.serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.95;
  font-weight: 400;
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.55rem;
  line-height: 1.2;
}

p.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.scrolled,
.site-header.solid {
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 36px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  height: 72px;
  width: auto;
  display: block;
}

footer .logo-mark {
  height: 90px;
  width: auto;
}

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

.logo-text strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.logo-text span {
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  color: var(--gold-deep);
  text-transform: uppercase;
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.primary a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

nav.primary a:hover,
nav.primary a.active {
  color: var(--gold-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 13px 26px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: 0.25s ease;
}

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

.btn-filled {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}

.btn-filled:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--white);
}

.btn-light {
  border-color: rgba(255, 252, 248, 0.55);
  color: var(--white);
}

.btn-light:hover {
  background: var(--white);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  content: "";
}

.menu-toggle span {
  top: 20px;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: end start;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 22, 18, 0.28) 0%, rgba(26, 22, 18, 0.18) 40%, rgba(26, 22, 18, 0.72) 100%),
    linear-gradient(90deg, rgba(26, 22, 18, 0.45), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 8vw 10vh;
  max-width: 820px;
}

.hero-content h1 {
  margin: 16px 0 22px;
}

.hero-content p {
  color: rgba(255, 252, 248, 0.84);
  max-width: 28rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Sections */
section {
  padding: 110px 0;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 640px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.split.reverse .copy {
  order: 2;
}

.frame {
  position: relative;
}

.frame img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold-soft);
  z-index: -1;
}

.copy .eyebrow {
  margin-bottom: 14px;
}

.copy h2 {
  margin-bottom: 20px;
}

.copy p {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.meta-list {
  list-style: none;
  margin: 28px 0 32px;
  display: grid;
  gap: 10px;
}

.meta-list li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.meta-list li::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
  margin-top: 12px;
  flex: none;
}

/* Treatments preview */
.treatments-preview {
  background: linear-gradient(180deg, var(--cream), var(--ivory));
}

.grid-treatments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.treat-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 28px 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.treat-card h3 {
  margin: 10px 0 8px;
}

.treat-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.price {
  margin-top: 22px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  color: var(--gold-deep);
}

.price small {
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 6px;
}

/* Gallery */
.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 280px 320px;
  gap: 14px;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic .wide {
  grid-column: 1 / 3;
}

.mosaic .tall {
  grid-row: 1 / 3;
  grid-column: 3;
}

/* Offers */
.offers {
  background: var(--ink);
  color: var(--ivory);
}

.offers .eyebrow {
  color: var(--gold-soft);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.offer {
  border: 1px solid rgba(201, 163, 106, 0.28);
  padding: 32px 28px;
}

.offer h3 {
  margin: 12px 0 10px;
}

.offer p {
  color: rgba(251, 247, 241, 0.72);
  font-size: 0.95rem;
}

/* Treatment menu page */
.page-hero {
  padding: 168px 0 72px;
  background:
    linear-gradient(180deg, rgba(26, 22, 18, 0.55), rgba(26, 22, 18, 0.35)),
    url("../images/treatment-room-4.jpg") center/cover no-repeat;
  color: var(--white);
}

.page-hero.clinic {
  background-image:
    linear-gradient(180deg, rgba(26, 22, 18, 0.5), rgba(26, 22, 18, 0.32)),
    url("../images/treatment-room-1.jpg");
  background-size: cover;
  background-position: center;
}

.page-hero.contact {
  background-image:
    linear-gradient(180deg, rgba(26, 22, 18, 0.5), rgba(26, 22, 18, 0.32)),
    url("../images/hallway.jpg");
  background-size: cover;
  background-position: center;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-top: 12px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.menu-item {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
}

.menu-item h3 {
  font-size: 1.35rem;
}

.menu-item p {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.92rem;
}

.was {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.85rem;
  margin-right: 8px;
}

.badge {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  padding: 3px 8px;
  margin-left: 8px;
}

.note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 32px;
}

.contact-card h3 {
  margin-bottom: 8px;
}

.contact-card + .contact-card {
  margin-top: 18px;
}

.hours {
  list-style: none;
  margin-top: 12px;
}

.hours li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-size: 0.95rem;
}

.map-wrap {
  min-height: 520px;
  border: 1px solid var(--line);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

/* Footer */
footer {
  background: #120f0c;
  color: rgba(251, 247, 241, 0.78);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

footer .logo-text strong,
footer h4 {
  color: var(--ivory);
}

footer h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

footer a:hover {
  color: var(--gold-soft);
}

.legal {
  border-top: 1px solid rgba(201, 163, 106, 0.18);
  padding-top: 18px;
  font-size: 0.78rem;
  color: rgba(251, 247, 241, 0.5);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1a1612;
  color: var(--ivory);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--gold);
}

.wa-float:hover {
  background: var(--gold-deep);
}

.gallery-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-page img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.gallery-page img:nth-child(1),
.gallery-page img:nth-child(6) {
  height: 520px;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.value {
  border-top: 1px solid var(--gold);
  padding-top: 18px;
}

.value h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.value p {
  color: var(--muted);
  font-size: 0.9rem;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.compare article {
  padding: 40px 36px;
}

.compare article:first-child {
  background: var(--ink);
  color: var(--ivory);
  border-right: 1px solid rgba(201, 163, 106, 0.25);
}

.compare article:first-child .eyebrow {
  color: var(--gold-soft);
}

.compare article:first-child p,
.compare article:first-child li {
  color: rgba(251, 247, 241, 0.78);
}

.compare ul {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.compare li {
  padding-left: 18px;
  position: relative;
  font-size: 0.95rem;
}

.compare article:first-child li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--gold-soft);
}

.compare article:last-child li {
  color: var(--muted);
}

.compare article:last-child li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--sand);
}

.page-hero .tagline {
  max-width: 36rem;
  color: rgba(255, 252, 248, 0.9);
  margin-top: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.28rem, 2.5vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
}

.page-hero .tagline-note {
  max-width: 34rem;
  color: rgba(255, 252, 248, 0.7);
  margin-top: 14px;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  nav.primary {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 360px);
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    padding: 92px 32px 32px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }

  nav.primary.open {
    transform: none;
  }

  .menu-toggle {
    display: block;
  }

  .split,
  .split.reverse,
  .grid-treatments,
  .offers-grid,
  .menu-grid,
  .contact-grid,
  .footer-grid,
  .values,
  .gallery-page,
  .mosaic,
  .compare {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .compare article:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(201, 163, 106, 0.25);
  }

  .split.reverse .copy {
    order: 0;
  }

  .frame img,
  .gallery-page img,
  .gallery-page img:nth-child(1),
  .gallery-page img:nth-child(6) {
    height: 420px;
  }

  .mosaic .wide,
  .mosaic .tall {
    grid-column: auto;
    grid-row: auto;
  }

  .logo-mark { height: 56px; }
  footer .logo-mark { height: 72px; }

  .hero-content {
    padding: 0 24px 72px;
  }

  .site-header,
  .site-header.scrolled,
  .site-header.solid {
    padding: 12px 18px;
  }
}

a.treat-card { color: inherit; }
a.treat-card:hover { border-color: var(--gold); }

.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.package {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 32px 26px;
}
.package.featured { border-color: var(--gold); background: var(--white); }
.package h3 { margin: 8px 0 10px; }
.package p { color: var(--muted); font-size: 0.94rem; }

.faq-list { max-width: 820px; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--gold-deep); }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); padding: 0 0 22px; max-width: 640px; }

.page-hero .tagline {
  max-width: 36rem;
  margin-top: 16px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  color: rgba(255,252,248,0.9);
}
.page-hero .note { color: rgba(255,252,248,0.7); margin-top: 12px; }

@media (max-width: 980px) {
  .packages { grid-template-columns: 1fr; }
}
