:root {
  --cream: #efe7d8;
  --cream-2: #e5dbc8;
  --ink: #1e2420;
  --ink-soft: rgba(30, 36, 32, 0.56);
  --line: rgba(30, 36, 32, 0.22);
  --teal: #40865c;
  --deep: #18241e;
  --pad: clamp(18px, 3vw, 48px);
}
* { box-sizing: border-box; }
html { background: var(--cream); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif; font-weight: 400;
  font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  /* clip (not hidden) so the body never becomes its own scroll area, which can unpin the fixed header on iPhone */
  overflow-x: hidden; overflow-x: clip;
  font-variant-emoji: text;
}
/* Film grain over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.07;
  background: url("../editorial/grain.png");
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
/* Avoid a single word left alone on the last line */
p, li, blockquote { text-wrap: pretty; }
.big { font-weight: 400; letter-spacing: -0.02em; line-height: 0.92; }
/* Brand kit fonts: Alice for display headings, Noto Serif for smaller headings and quotes, Source Sans 3 for everything else.
   Alice only has one weight, so never fake a bold version of it. */
h1, h2, .big, .svc-list a, .svc-group a { font-family: "Alice", Georgia, serif; font-synthesis: none; }
h3, blockquote { font-family: "Noto Serif", Georgia, serif; }
.caps { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.rule { height: 1px; background: var(--ink); opacity: 0.85; margin: 0 var(--pad); transform-origin: left; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: 72px; padding: 0 var(--pad); background: rgba(239, 231, 216, 0.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 30px; }
.brand span { font-family: "Alice", Georgia, serif; font-weight: 400; font-size: 17px; letter-spacing: 0.07em; color: var(--teal); white-space: nowrap; }
.nav-links { display: flex; gap: 6px; }
.nav-links a, .nav-links button, .nav-book, .nav-menu {
  font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
}
.nav-links a, .nav-links button {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid transparent; border-radius: 2px;
  background: none; cursor: pointer; transition: border-color 0.25s;
}
.nav-links a:hover, .nav-links button:hover, .nav-links button[aria-expanded="true"] { border-color: var(--ink); }
.nav-links button .plus { display: inline-block; font-weight: 300; font-size: 15px; line-height: 1; transition: transform 0.35s; }
.nav-links button[aria-expanded="true"] .plus { transform: rotate(45deg); }
.nav-book { justify-self: end; white-space: nowrap; }
.nav-book:hover { color: var(--teal); }
.nav-menu { display: none; background: none; border: 1px solid var(--ink); border-radius: 2px; padding: 0; width: 38px; height: 38px; cursor: pointer; place-items: center; }
/* Mobile menu icon: a + that turns into an x when the menu is open */
.nav-icon { position: relative; display: block; width: 16px; height: 16px; transition: transform 0.4s cubic-bezier(.7,0,.2,1); }
.nav-icon::before, .nav-icon::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1.2px; background: var(--ink); }
.nav-icon::after { transform: rotate(90deg); }
.nav-menu[aria-expanded="true"] .nav-icon { transform: rotate(45deg); }

/* Services panel */
.svc-panel {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 39; background: #8a8a62; color: var(--ink);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 0.6s cubic-bezier(.7,0,.2,1), visibility 0s linear 0.6s;
}
.svc-panel.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.6s cubic-bezier(.7,0,.2,1), visibility 0s; }
.svc-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; padding: 36px var(--pad) 48px; }
.svc-main { display: none; }
.svc-list { list-style: none; margin: 0; padding: 0; width: min(100%, 560px); }
.svc-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-left: -9px; padding: 1px 9px;
  border: 1px solid transparent; border-radius: 2px;
  font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.06; letter-spacing: -0.01em;
  transition: opacity 0.3s, border-color 0.3s;
}
.svc-list a .plus { font-size: 0.5em; font-weight: 300; opacity: 0; transition: opacity 0.3s; }
.svc-list:hover a { opacity: 0.38; }
.svc-list a:hover, .svc-list a:focus-visible { opacity: 1; border-color: var(--ink); outline: none; }
.svc-list a:hover .plus, .svc-list a:focus-visible .plus { opacity: 1; }
.svc-panel.open .svc-list li { animation: svcIn 0.7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(0.12s + var(--i) * 0.03s); }
@keyframes svcIn { from { opacity: 0; transform: translateY(14px); } }
.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; align-self: start; }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.5s, transform 0.9s cubic-bezier(.2,.7,.2,1); }
.svc-media img.on { opacity: 1; transform: scale(1); }
.svc-shade { position: fixed; inset: 72px 0 0; z-index: 38; background: rgba(24, 36, 30, 0.35); opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.svc-shade.open { opacity: 1; pointer-events: auto; }

/* Footer */
.foot { background: var(--deep); color: var(--cream); padding: 100px var(--pad) 32px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 80px; }
.foot-top h2 { font-size: clamp(2.6rem, 5vw, 5rem); margin-bottom: 30px; }
.foot-top .caps { color: rgba(239, 231, 216, 0.5); margin-bottom: 14px; }
.foot-top address { font-style: normal; line-height: 1.7; }
.foot-top a:hover { color: #ced6ad; }
.foot-word { font-size: clamp(3.6rem, 16vw, 19.5rem); color: rgba(239, 231, 216, 0.95); white-space: nowrap; margin-left: -0.04em; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(239, 231, 216, 0.2); font-size: 13px; color: rgba(239, 231, 216, 0.55); }
.foot-base nav { display: flex; gap: 22px; }

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto auto; gap: 14px; }
  .nav-links { display: none; }
  .nav-menu { display: inline-grid; }
  .svc-panel { bottom: 0; overflow-y: auto; }
  .svc-inner { grid-template-columns: 1fr; padding-top: 24px; }
  .svc-main { display: block; list-style: none; margin: 0 0 24px; padding: 0 0 20px; border-bottom: 1px solid var(--ink); }
  .svc-main a { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; line-height: 2.2; }
  .svc-media { display: none; }
  .foot-top { grid-template-columns: 1fr; padding-bottom: 50px; }
  .foot-base { flex-direction: column; }
}
@media (max-width: 480px) {
  .nav-book .long { display: none; }
  .brand span { font-size: 15px; letter-spacing: 0.05em; }
}

/* Current page in the nav */
.nav-links a[aria-current="page"] { border-color: var(--ink); }

/* Page transition: a cream panel slides up between pages */
.pt { position: fixed; inset: 0; z-index: 60; background: var(--cream-2); pointer-events: none; transform: translateY(100%); }
html.js .pt.pt-cover { transform: translateY(0); }

/* Smooth-scroll library basics (desktop only) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Pill buttons, shared by every page (the footer uses one) */
.pill {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.3s; white-space: nowrap;
}
.pill:hover { background: var(--teal); }
.pill.light { background: var(--cream); color: var(--ink); }
.pill.light:hover { background: #fff; }

/* Long services menu: scroll inside the panel on short screens */
.svc-panel { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }

/* Price sections: line the intro text up above the side box */
@media (min-width: 901px) {
  .lz-prices .gp-head { grid-template-columns: 1.6fr 1fr; gap: 40px; }
}

/* Services panel: grouped sections */
.svc-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr); gap: 48px; }
.svc-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 36px; }
.svc-group h3 { font-family: inherit; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(24, 36, 30, 0.35); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.svc-group ul { list-style: none; margin: 0; padding: 0; }
.svc-group a {
  display: block; margin-left: -8px; padding: 3px 8px; border: 1px solid transparent; border-radius: 2px;
  font-size: clamp(1.15rem, 1.5vw, 1.5rem); line-height: 1.2; letter-spacing: -0.01em;
  transition: opacity 0.3s, border-color 0.3s;
}
.svc-groups:hover a { opacity: 0.38; }
.svc-group a:hover, .svc-group a:focus-visible { opacity: 1; border-color: var(--ink); outline: none; }
.svc-group a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.svc-panel.open .svc-group, .svc-panel.open .svc-foot { animation: svcIn 0.7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(0.12s + var(--i, 6) * 0.05s); }
.svc-foot { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--ink); }
.svc-foot a { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.svc-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.svc-media { aspect-ratio: 4 / 3; }
@media (max-width: 1100px) {
  .svc-inner { grid-template-columns: 1fr; }
  .svc-media { display: none; }
}
@media (max-width: 900px) {
  .svc-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .svc-group a { font-size: 1.15rem; padding: 4px 8px; }
}
@media (max-width: 340px) {
  .svc-groups { grid-template-columns: 1fr; }
}

/* WhatsApp chat button */
.wa-chat {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 12px;
  background: var(--deep); color: var(--cream); border-radius: 999px;
  box-shadow: 0 8px 24px rgba(24, 36, 30, 0.22); transition: background 0.3s, transform 0.3s;
}
.wa-chat:hover, .wa-chat:focus-visible { background: var(--teal); transform: translateY(-2px); outline: none; }
.wa-icon { width: 30px; height: 30px; flex: none; padding: 4px; border-radius: 50%; background: #25d366; color: #fff; }
.wa-label { display: grid; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; line-height: 1.2; }
.wa-hours { font-size: 11px; font-weight: 400; letter-spacing: 0.02em; color: rgba(239, 231, 216, 0.7); }
@media (max-width: 900px) {
  .wa-chat { right: 16px; bottom: 16px; padding: 8px; }
  .wa-icon { width: 38px; height: 38px; padding: 6px; }
  .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media print { .wa-chat { display: none; } }

/* Chat panel */
.wa-chat.is-open { background: var(--teal); }
.chat-panel {
  position: fixed; right: 20px; bottom: 86px; z-index: 31; width: min(360px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column;
  background: var(--cream); color: var(--ink); border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(24, 36, 30, 0.28);
}
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--deep); color: var(--cream); }
.chat-avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.chat-avatar img { width: 22px; height: auto; }
.chat-who { display: grid; gap: 2px; flex: 1; min-width: 0; }
.chat-who strong { font-size: 15px; font-weight: 500; }
.chat-who span { font-size: 12px; color: rgba(239, 231, 216, 0.75); }
.chat-close { width: 32px; height: 32px; flex: none; border: 0; border-radius: 50%; background: transparent; color: var(--cream); font-size: 22px; line-height: 1; cursor: pointer; }
.chat-close:hover, .chat-close:focus-visible { background: rgba(239, 231, 216, 0.15); outline: none; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--cream-2); min-height: 180px; }
.chat-msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.4; display: grid; gap: 6px; }
.chat-msg p { margin: 0; }
.chat-them { align-self: flex-start; background: var(--cream); border-bottom-left-radius: 4px; }
.chat-me { align-self: flex-end; background: var(--deep); color: var(--cream); border-bottom-right-radius: 4px; }
.chat-link { font-weight: 500; border-bottom: 1px solid currentColor; justify-self: start; }
.chat-link:hover { color: var(--teal); }
.chat-chips { display: grid; gap: 8px; justify-items: start; }
.chat-chip {
  padding: 8px 13px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
  font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.chat-chip:hover, .chat-chip:focus-visible { background: var(--ink); color: var(--cream); outline: none; }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 12px 6px; background: var(--cream); border-top: 1px solid var(--line); }
.chat-input {
  flex: 1; resize: none; min-height: 42px; max-height: 120px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit; font-size: 15px; line-height: 1.35;
}
.chat-input:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: transparent; }
.chat-send { height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.chat-send:hover, .chat-send:focus-visible { background: var(--teal); outline: none; }
.chat-note { margin: 0; padding: 0 14px 12px; background: var(--cream); font-size: 11.5px; color: var(--ink-soft); }
.chat-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) {
  .chat-panel { right: 16px; left: 16px; width: auto; bottom: 82px; max-height: calc(100dvh - 160px); }
}
@media print { .chat-panel { display: none; } }
.svc-group h3 a { color: inherit; } .svc-group h3 a:hover { color: var(--teal); }

/* Footer: four columns, then a base line with the MM Digital credit */
.foot-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-social { margin-top: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.foot-base { align-items: center; flex-wrap: wrap; }
.foot-base a:hover { color: var(--cream); }
.foot-credit { color: rgba(239, 231, 216, 0.75); }
.foot-credit b { font-weight: 600; color: var(--cream); }
@media (max-width: 1100px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; } .foot-base { align-items: flex-start; } }
/* Leave room under the footer for the floating WhatsApp button, so the base line stays visible */
.foot { padding-bottom: 104px; }

/* Phone menu: Price list, Blog, About and Contact at the top, styled like the links at the bottom */
.svc-top { display: none; }
@media (max-width: 900px) {
  .svc-top { display: flex; gap: 8px 22px; margin: 0 0 24px; padding: 0 0 18px; border-top: 0; border-bottom: 1px solid var(--ink); }
  .svc-foot:not(.svc-top) a[href="price-list.html"],
  .svc-foot:not(.svc-top) a[href="/price-list"] { display: none; }
}

/* Cookie bar: bottom left on desktop, full width on phones (the WhatsApp button steps aside while it's open) */
.cc-bar {
  position: fixed; left: 20px; bottom: 20px; z-index: 50; width: min(440px, calc(100vw - 40px));
  display: grid; gap: 10px; padding: 22px 22px 20px; background: var(--deep); color: var(--cream);
  border-radius: 14px; box-shadow: 0 18px 50px rgba(24, 36, 30, 0.28);
}
.cc-bar[hidden] { display: none; }
.cc-title { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #ced6ad; }
.cc-text { font-size: 15px; line-height: 1.45; color: rgba(239, 231, 216, 0.88); }
.cc-text a { color: var(--cream); border-bottom: 1px solid currentColor; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cc-btn {
  flex: 1 1 0; min-width: 140px; height: 46px; padding: 0 18px; border: 1px solid var(--cream); border-radius: 999px;
  background: var(--cream); color: var(--ink); font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
}
.cc-btn[data-cc="denied"] { background: transparent; color: var(--cream); }
.cc-btn:hover, .cc-btn:focus-visible { background: #fff; color: var(--ink); outline: none; }
.cc-reopen { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.cc-reopen:hover { color: var(--cream); }
@media (max-width: 900px) {
  .cc-bar { left: 12px; right: 12px; bottom: 12px; width: auto; }
  body.cc-open .wa-chat { display: none; }
}
@media print { .cc-bar { display: none; } }

/* Header on small laptops (901–1180px): tighter links, and no forced centring, so the links never run into the clinic name */
@media (min-width: 901px) and (max-width: 1180px) {
  .nav { grid-template-columns: auto 1fr auto; column-gap: 16px; }
  .nav-links { justify-self: center; gap: 2px; }
  .nav-links a, .nav-links button { padding: 5px 7px; }
}
@media (min-width: 901px) and (max-width: 1040px) { .nav-book .long { display: none; } }

/* Search (header button and panel, added by site.js) */
.nav-end { justify-self: end; display: flex; align-items: center; gap: 18px; }
.nav-search {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid transparent; border-radius: 2px;
  background: none; cursor: pointer; color: var(--ink); font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color 0.25s;
}
.nav-search:hover, .nav-search[aria-expanded="true"] { border-color: var(--ink); }
.site-search { position: fixed; top: 72px; left: 0; right: 0; z-index: 39; background: var(--cream); border-bottom: 1px solid var(--line); max-height: calc(100vh - 72px); overflow-y: auto; }
.site-search[hidden], .ss-shade[hidden] { display: none; }
.ss-shade { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; z-index: 38; background: rgba(24, 36, 30, 0.35); }
.ss-inner { max-width: 860px; margin: 0 auto; padding: 28px var(--pad) 36px; }
.ss-label { display: block; color: var(--teal); margin-bottom: 10px; }
.ss-row { display: flex; gap: 12px; align-items: center; }
.ss-input {
  flex: 1; min-width: 0; font: inherit; font-size: clamp(1.3rem, 2.6vw, 1.8rem); padding: 10px 0; border: 0; border-bottom: 1px solid var(--ink);
  background: transparent; color: var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none;
}
.ss-input:focus { outline: none; border-bottom-color: var(--teal); }
.ss-input::-webkit-search-cancel-button { display: none; }
.ss-close { font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; background: none; border: 1px solid var(--ink); border-radius: 2px; padding: 6px 12px; cursor: pointer; color: var(--ink); }
.ss-status { margin: 14px 0 6px; color: var(--ink-soft); font-size: 15px; min-height: 1.4em; }
.ss-results { list-style: none; margin: 0; padding: 0; }
.ss-results li { border-top: 1px solid var(--line); }
.ss-results li:last-child { border-bottom: 1px solid var(--line); }
.ss-results a { display: grid; gap: 4px; padding: 14px 0; }
.ss-results a:hover .ss-title, .ss-results a:focus-visible .ss-title { color: var(--teal); }
.ss-title { font-size: 1.25rem; }
.ss-desc { color: var(--ink-soft); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.ss-open { overflow: hidden; }
@media (max-width: 900px) {
  .nav-end { gap: 8px; }
  .nav-search { padding: 0; width: 38px; height: 38px; justify-content: center; border-color: var(--ink); }
  .nav-search-label { display: none; }
}
@media (max-width: 480px) {
  .nav { gap: 8px; }
  .nav-end { gap: 2px; }
  .nav-search { width: 34px; height: 34px; border-color: transparent; }
  .brand { gap: 7px; }
}
@media (max-width: 400px) {
  .brand span { font-size: 13.5px; letter-spacing: 0.04em; }
}
