/* Service / treatment detail pages — matches treatments.html theme */
:root {
  --bg: #080808;
  --surface: #111111;
  --card: #181818;
  --border: #222222;
  --border2: #2e2e2e;
  --white: #ffffff;
  --off-white: #f0ede8;
  --text: #c8c8c8;
  --muted: #888888;
  --dim: #444444;
  --ff-d: "Cormorant Garamond", Georgia, serif;
  --ff-b: "Montserrat", sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --fs-body: 16px;
  --fs-label: 12px;
  --fs-micro: 11px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}
body.svc-page {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-b), ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size-adjust: 0.52;
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}

.mirror-x {
  transform: scaleX(-1);
}
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border2);
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 8, 0.5);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--ff-d), ui-serif, Georgia, "Times New Roman", serif;
  font-size-adjust: 0.44;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--white);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}
.nav-logo em {
  font-style: italic;
}
.nav-logo .logo-main{ white-space: nowrap; }
.nav-logo .logo-sub{ white-space: nowrap; }
.footer-logo .logo-main{ white-space: nowrap; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-contact {
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.9);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-contact a {
  color: rgba(255,255,255,.9);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-contact a:hover {
  color: var(--white);
}

/* never show mobile-only links on desktop */
.nav-links .nav-mobile-only{ display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8,8,8,.30);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle-lines::before { transform: translate(-50%, calc(-50% - 6px)); }
.nav-toggle-lines::after { transform: translate(-50%, calc(-50% + 6px)); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 190;
}
.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
body.nav-lock { overflow: hidden; }

/* Hero / article */
.svc-hero {
  padding: 48px clamp(22px, 4.2vw, 60px) 32px;
  max-width: 900px;
}
.svc-breadcrumb {
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 24px;
}
.svc-breadcrumb a {
  color: var(--muted);
  transition: color 0.2s;
}
.svc-breadcrumb a:hover {
  color: var(--white);
}
.svc-breadcrumb span[aria-hidden="true"] {
  margin: 0 10px;
  opacity: 0.5;
}
.svc-eyebrow {
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 16px;
}
.svc-hero h1 {
  font-family: var(--ff-d), ui-serif, Georgia, serif;
  font-size-adjust: 0.44;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 12px;
}
.svc-subtitle {
  font-family: var(--ff-d);
  font-style: italic;
  font-size: 18px;
  color: rgba(255,255,255,.76);
  line-height: 1.5;
}

.svc-image {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* Full-bleed strip: ~16:9 on very wide screens only. */
.svc-image .img-ph {
  min-height: max(200px, min(56.25vw, 620px));
}

/* Laptop / small desktop: switch earlier to a taller strip so clinical shots keep compositional sense (less ultra-wide crop). */
@media (max-width: 1420px) {
  .svc-image .img-ph {
    min-height: max(240px, min(68vw, 640px));
  }
}

@media (max-width: 720px) {
  .svc-image .img-ph {
    min-height: max(200px, min(56vw, 500px));
  }
}

/* Keep Botox illustration focal point on narrow screens */
.svc-image--botox .img-ph > img{
  object-position: 50% 40%;
}
@media (max-width: 760px){
  .svc-image--botox .img-ph > img{ object-position: 50% 34%; }
}

.svc-image--hydrafacial .img-ph > img,
.svc-image--morpheus8 .img-ph > img {
  object-position: 50% 42%;
}
@media (max-width: 900px) {
  .svc-image--hydrafacial .img-ph > img,
  .svc-image--morpheus8 .img-ph > img {
    object-position: 50% 38%;
  }
}
.img-ph {
  position: relative;
  background: var(--card);
  overflow: hidden;
}
.img-ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.svc-content {
  max-width: 720px;
  padding: 48px clamp(22px, 4.2vw, 60px) 80px;
  margin: 0 auto;
}
/* Tablet: article uses full horizontal space of the page (image is full-bleed above). */
@media (max-width: 1380px) {
  .svc-content {
    max-width: 100%;
  }
}
.svc-section {
  margin-bottom: 40px;
}
.svc-section h2 {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-bottom: 14px;
}
.svc-section p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}
.svc-list {
  list-style: none;
}
.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}
.svc-list li::before {
  content: '\2013';
  color: var(--white);
  font-size: var(--fs-label);
  flex-shrink: 0;
  margin-top: 2px;
}
.svc-list li:last-child {
  border-bottom: none;
}

.svc-faq .svc-faq-item {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.svc-faq .svc-faq-item:last-child {
  border-bottom: none;
}
.svc-faq-q {
  font-size: 17px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.svc-faq-a {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

.svc-cta {
  margin-top: 48px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  font-family: var(--ff-b);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease);
}
.btn-light {
  background: var(--white);
  color: var(--bg);
}
.btn-light:hover {
  background: var(--off-white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  border-color: var(--white);
}

/* Footer */
footer {
  padding: 56px 60px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  max-width: 100%;
  overflow-x: clip;
}
.footer-logo {
  font-family: var(--ff-d), ui-serif, Georgia, "Times New Roman", serif;
  font-size-adjust: 0.44;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--white);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: start;
  text-align: left;
  line-height: 1.05;
  white-space: nowrap;
}
.footer-logo em {
  font-style: italic;
  font-weight: 400;
}

.logo-sub{
  margin-top: 4px;
  font-family: var(--ff-b), ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
  white-space: nowrap;
}
@media (max-width: 600px){
  .logo-sub{ font-size: 10px; letter-spacing: .12em; }
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(28px, auto);
  column-gap: 28px;
  row-gap: 10px;
  list-style: none;
  justify-content: center;
  justify-items: center;
}
.footer-nav a {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.footer-nav a:hover {
  color: var(--white);
}
.footer-info {
  text-align: right;
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  color: var(--dim);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.footer-info a {
  color: var(--dim);
  transition: color 0.2s;
}
.footer-info a{ display:block; }
.footer-info a:first-child{ white-space: nowrap; }
.footer-info a:hover {
  color: var(--muted);
}
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--dim);
  text-transform: uppercase;
}

/* WhatsApp float — match treatments.html */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  z-index: 520;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(120% 120% at 20% 15%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 55%),
    rgba(17, 17, 17, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.wa-float svg {
  width: 30px;
  height: 30px;
}
.wa-float .wa-ico {
  fill: rgba(255, 255, 255, 0.92);
}
@media (hover: hover) {
  .wa-float:hover {
    transform: translate3d(0, -2px, 0);
    border-color: rgba(255, 255, 255, 0.3);
  }
}

@media (max-width: 1380px) {
  .site-nav {
    padding: 18px 24px;
  }
  .nav-links,
  .nav-contact {
    display: none;
  }
  /* Layout: contacts near-right, burger at far-right */
  .nav-logo{ order: 1; }
  .nav-links{ order: 2; }
  .nav-contact{
    order: 3;
    margin-left: auto;
    margin-right: 10px;
  }
  .nav-toggle {
    order: 4;
    display: inline-grid;
    place-items: center;
    z-index: 220;
  }
  .site-nav.nav-open{
    background: rgba(8,8,8,.98);
    backdrop-filter: blur(16px);
    border-bottom-color: transparent;
  }
  /* Show white X when open (hide only middle line) */
  .site-nav.nav-open .nav-toggle-lines { background: transparent; }
  .site-nav.nav-open .nav-toggle-lines::before { transform: translate(-50%, -50%) rotate(45deg); }
  .site-nav.nav-open .nav-toggle-lines::after { transform: translate(-50%, -50%) rotate(-45deg); }

  .site-nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 18px 18px 26px;
    background: rgba(8,8,8,.98);
    border-bottom: 1px solid var(--border);
    z-index: 210;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  /* Tablet: show contacts in header, allow wrap on narrower widths */
  .site-nav .nav-contact{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-label);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    flex-wrap: wrap; /* allows wrap when narrower */
    justify-content: flex-end;
    max-width: 42vw;
  }
  .site-nav .nav-contact a{ white-space: normal; }

  /* Mobile-only links appear only on mobile */
  .nav-links .nav-mobile-only a{ color: rgba(255,255,255,.85); }
  .nav-links .nav-mobile-only a:hover{ color: var(--white); }
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
    gap: 20px;
  }
  .footer-logo{ justify-self: center; align-items: center; text-align: center; }
  .footer-nav {
    width: min(520px, 100%);
    margin: 0 auto;
    justify-content: center;
  }
  .footer-info {
    text-align: center;
  }
}

/* Wide tablet: keep phone + directions on one line */
@media (min-width: 760px) and (max-width: 1380px){
  .site-nav .nav-contact{ flex-wrap: nowrap; white-space: nowrap; max-width: none; }
  .site-nav .nav-contact a{ white-space: nowrap; }
}

/* Mobile: hide header contacts; show in burger menu */
@media (max-width: 600px){
  .site-nav .nav-contact{ display: none; }
  .nav-links .nav-mobile-only{ display: block; }
}

@media (max-width: 600px) {
  footer {
    padding: 34px 18px;
    gap: 16px;
  }
  .footer-logo {
    font-size: 20px;
    justify-self: center;
    align-items: center;
    text-align: center;
  }
  .footer-info {
    line-height: 2.0;
  }
}

