:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-logo: "Century Gothic", Futura, "Avenir Next", "Trebuchet MS", sans-serif;
  --font-logo-display: "Segoe Script", "Lucida Handwriting", "Brush Script MT", cursive;
  --bg: #fff7f2;
  --surface: #ffffff;
  --surface-2: #f7e7df;
  --text: #241d19;
  --muted: #756860;
  --line: rgba(150, 112, 70, 0.16);
  --accent: #c7a464;
  --accent-2: #d7a56c;
  --accent-dark: #9c713a;
  --button-text: #ffffff;
  --shadow: 0 24px 70px rgba(92, 52, 41, 0.15);
  --radius: 18px;
  --page-max: 1640px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
}

body.theme-clinic {
  --bg: #fbf6ef;
  --surface: #ffffff;
  --surface-2: #efe3d4;
  --text: #241b16;
  --muted: #75675c;
  --line: rgba(150, 112, 70, 0.16);
  --accent: #c7a464;
  --accent-2: #ead8bd;
  --accent-dark: #9c713a;
  --button-text: #ffffff;
  --shadow: 0 24px 70px rgba(120, 86, 49, 0.14);
}

body.theme-beauty {
  --bg: #fff7f2;
  --surface: #ffffff;
  --surface-2: #f7e4dc;
  --text: #271f1a;
  --muted: #7c6c63;
  --line: rgba(150, 112, 70, 0.16);
  --accent: #c7a464;
  --accent-2: #d2a065;
  --accent-dark: #9c713a;
  --button-text: #ffffff;
  --shadow: 0 28px 70px rgba(117, 66, 52, 0.16);
}

body.theme-signature {
  --bg: #070605;
  --surface: #11100f;
  --surface-2: #1b1714;
  --text: #fff8ec;
  --muted: #d0c2ae;
  --line: rgba(231, 194, 119, 0.18);
  --accent: #d3a64e;
  --accent-2: #8e211d;
  --accent-dark: #f1d48b;
  --button-text: #090706;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.56);
}

body.theme-selector {
  --bg: #f5f2eb;
  --surface: #ffffff;
  --surface-2: #ece3d7;
  --text: #201c18;
  --muted: #71695f;
  --line: rgba(32, 28, 24, 0.14);
  --accent: #b9955a;
  --accent-2: #c8a461;
  --accent-dark: #8a622e;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--text);
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6.6vw, 5.9rem);
}

h2 {
  max-width: 780px;
  font-size: clamp(2.1rem, 3.8vw, 3.9rem);
}

h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.12rem;
}

h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.theme-signature .eyebrow {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  min-height: 80px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav,
.version-switch,
.action-row,
.service-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.site-nav {
  justify-content: end;
  gap: clamp(12px, 2vw, 24px);
}

.site-nav a:not(.button),
.version-switch a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:not(.button):hover,
.version-switch a:hover,
.version-switch .is-active {
  color: var(--text);
}

.version-switch {
  justify-content: end;
}

.version-switch a {
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.version-switch .is-active {
  border-color: var(--line);
  background: var(--surface);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary,
.button--nav {
  background: linear-gradient(135deg, var(--accent-dark), color-mix(in srgb, var(--accent) 76%, var(--accent-dark)));
  color: var(--button-text);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent-dark) 24%, transparent);
}

.button--soft {
  border-color: color-mix(in srgb, var(--accent) 44%, transparent);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--accent-dark);
  backdrop-filter: blur(12px);
}

.theme-signature .hero .button--soft {
  border-color: color-mix(in srgb, #ffffff 42%, transparent);
  background: color-mix(in srgb, #ffffff 12%, transparent);
  color: #ffffff;
}

.theme-signature .button--primary,
.theme-signature .button--nav {
  background: linear-gradient(135deg, #f1d48b, #b67c2e);
  color: var(--button-text);
}

.button--ghost {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--text);
}

.button--nav {
  min-height: 40px;
  padding: 0 16px;
}

.back-link {
  color: var(--accent-dark);
  font-weight: 850;
}

.theme-signature .back-link {
  color: var(--accent);
}

.back-link::before {
  display: inline-block;
}

.back-link::before {
  content: "←";
  padding-right: 7px;
}

.section,
.hero,
.service-hero,
.booking-band,
.proof-strip,
.selector-page {
  padding-inline: clamp(18px, 5vw, 72px);
}

.section,
.hero,
.service-hero,
.booking-band,
.proof-strip,
.site-footer {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
}

.section {
  padding-top: clamp(58px, 7vw, 96px);
  padding-bottom: clamp(58px, 7vw, 96px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.12rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center h2,
.section-heading--center p {
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(690px, calc(100vh - 80px));
  padding-top: clamp(62px, 8vw, 104px);
  padding-bottom: clamp(58px, 7vw, 94px);
  overflow: hidden;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(42, 31, 25, 0.16), rgba(42, 31, 25, 0.08) 42%, rgba(42, 31, 25, 0.02)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  color: var(--text);
}

.theme-clinic .hero {
  background-image:
    linear-gradient(90deg, rgba(48, 34, 25, 0.28), rgba(48, 34, 25, 0.12) 46%, rgba(48, 34, 25, 0.04)),
    var(--hero-image);
}

.theme-signature .hero {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.1)),
    var(--hero-image);
}

.hero__panel {
  position: relative;
  width: min(52vw, 680px);
  margin-left: clamp(12px, 3.2vw, 52px);
  padding: clamp(36px, 5vw, 72px) clamp(28px, 4.6vw, 64px);
  color: #ffffff;
  isolation: isolate;
}

.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
  background: color-mix(in srgb, #b99d82 82%, transparent);
  box-shadow: 24px 0 80px rgba(44, 31, 22, 0.18);
}

.theme-clinic .hero__panel::before {
  background: color-mix(in srgb, #dce7e3 84%, transparent);
}

.theme-signature .hero__panel::before {
  background: color-mix(in srgb, #0b0908 88%, transparent);
  box-shadow: 28px 0 90px rgba(0, 0, 0, 0.36);
}

.hero__copy {
  max-width: 540px;
}

.hero__logo {
  width: clamp(74px, 7vw, 104px);
  margin-bottom: 20px;
  border-radius: 16px;
}

.hero__logo-wrap::after {
  content: none;
}

.hero .eyebrow,
.hero h1,
.hero p {
  color: #ffffff;
}

.theme-clinic .hero .eyebrow,
.theme-clinic .hero h1,
.theme-clinic .hero p {
  color: #2f231b;
}

.hero h1 {
  max-width: 520px;
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: clamp(2.65rem, 4.2vw, 4.55rem);
  line-height: 1.02;
  font-style: italic;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.22);
}

.hero h1 span {
  display: block;
}

.hero__place {
  font-size: 0.82em;
}

.hero__copy > p:not(.eyebrow) {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.12rem, 1.32vw, 1.28rem);
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.theme-clinic .hero__copy > p:not(.eyebrow) {
  color: #5f4e43;
}

.action-row {
  margin-top: 28px;
}

.action-row--center {
  justify-content: center;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 54%, transparent);
}

.proof-strip span {
  min-height: auto;
  display: grid;
  gap: 2px;
  place-items: center;
  padding: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: center;
}

.proof-strip span:last-child {
  border-right: 0;
}

.proof-strip strong {
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
}

.proof-strip small {
  color: var(--muted);
  font-weight: 800;
}

.page-hero {
  padding: clamp(82px, 10vw, 142px) clamp(18px, 5vw, 72px) clamp(46px, 7vw, 82px);
  background:
    radial-gradient(circle at 85% 12%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 72%, transparent), color-mix(in srgb, var(--bg) 92%, transparent));
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}

.page-hero > div {
  max-width: 920px;
}

.page-hero h1 {
  margin-top: 18px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: clamp(1.15rem, 1.35vw, 1.36rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 16px 42px rgba(25, 27, 24, 0.07);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

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

.service-card__image {
  display: block;
  margin: 14px 14px 0;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-2);
}

.theme-clinic .service-card__image {
  aspect-ratio: 16 / 7.6;
}

.service-card:first-child .service-card__image img {
  object-position: 62% center;
}

.service-card__image img,
.gallery-grid img,
.gallery-section--minimal img,
.contact-section > img,
.studio-panel figure img,
.owner-panel figure img,
.service-hero figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-clinic .service-card__image img {
  filter: saturate(0.78) contrast(0.96);
}

.service-card__body {
  min-height: 282px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px 28px;
  text-align: center;
}

.service-card__area {
  margin: 0;
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.36rem, 1.8vw, 1.86rem);
  font-weight: 600;
  line-height: 1.05;
}

.theme-signature .service-card__area {
  color: var(--accent);
}

.service-card__body p:not(.eyebrow) {
  font-size: 1.02rem;
}

.back-to-top {
  position: fixed;
  right: clamp(14px, 2.5vw, 30px);
  bottom: clamp(14px, 2.5vw, 30px);
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--accent-dark);
  box-shadow: 0 16px 34px rgba(25, 27, 24, 0.12);
  font-size: 0.9rem;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.pricing-section {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 80%, transparent), color-mix(in srgb, var(--surface-2) 58%, transparent));
  border-top: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 18px 46px rgba(25, 27, 24, 0.08);
}

.pricing-card h3 {
  margin: 0;
  padding: 18px 24px;
  background: color-mix(in srgb, var(--accent) 18%, var(--surface-2));
  color: var(--accent-dark);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.pricing-list {
  display: grid;
  padding: 8px 24px 18px;
}

.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px dotted color-mix(in srgb, var(--accent) 34%, var(--line));
  color: var(--muted);
  font-size: clamp(1.02rem, 1.05vw, 1.14rem);
}

.pricing-row:last-child {
  border-bottom: 0;
}

.pricing-row strong {
  color: var(--text);
  font-size: 1.08em;
  white-space: nowrap;
}

.gallery-section {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 76%, transparent), color-mix(in srgb, var(--surface) 56%, transparent));
  border-top: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}

.gallery-section--minimal {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 16px;
  background: transparent;
}

.gallery-section--minimal img {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: saturate(0.75);
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid img {
  aspect-ratio: 3 / 4;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(25, 27, 24, 0.08);
}

.gallery-grid .is-large {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
}

.studio-panel,
.owner-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.38fr) minmax(420px, 0.62fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  max-width: 1120px;
}

.studio-panel > div,
.owner-panel > div {
  max-width: 820px;
}

.studio-panel > div > p:not(.eyebrow),
.owner-panel > div > p:not(.eyebrow) {
  font-size: 1.08rem;
}

.studio-panel figure,
.owner-panel figure {
  margin: 0;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  border: 10px solid color-mix(in srgb, var(--accent) 18%, var(--surface));
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.studio-panel figure img,
.owner-panel figure img {
  aspect-ratio: 1;
}

.owner-panel figure {
  max-width: 500px;
  justify-self: start;
}

.owner-panel > div {
  justify-self: start;
}

.owner-panel figure img {
  transform: rotate(-1.4deg) scale(1.04);
  transform-origin: center;
}

.studio-panel figure {
  border-radius: 28px;
}

.studio-panel figure img {
  object-position: center;
}

.studio-panel figcaption,
.owner-panel figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 800;
}

.facts {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
}

.facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--accent-dark);
  font-weight: 850;
}

.facts dd {
  margin: 0;
  color: var(--text);
}

.booking-band {
  padding-top: clamp(62px, 8vw, 108px);
  padding-bottom: clamp(62px, 8vw, 108px);
  background: var(--accent-dark);
  text-align: center;
}

.theme-signature .booking-band {
  background: linear-gradient(135deg, #1b1513, #5b1e1a 58%, #c99d55);
}

.booking-band h2,
.booking-band p {
  margin-inline: auto;
  color: var(--button-text);
}

.theme-clinic .booking-band h2,
.theme-clinic .booking-band p,
.theme-beauty .booking-band h2,
.theme-beauty .booking-band p {
  color: #ffffff;
}

.booking-band p {
  max-width: 720px;
  opacity: 0.78;
}

.booking-band .eyebrow {
  color: color-mix(in srgb, var(--button-text) 80%, transparent);
}

.review-grid {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.review-grid article,
.faq-list details,
.detail-copy,
.detail-list,
.related-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.review-grid article {
  grid-column: span 2;
  padding: 30px;
}

.review-grid article:nth-child(4) {
  grid-column: 2 / span 2;
}

.review-grid article:nth-child(5) {
  grid-column: 4 / span 2;
}

.rating-link {
  display: inline-grid;
  gap: 6px;
  justify-items: center;
  color: var(--text);
}

.rating-link strong {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  font-weight: 500;
  line-height: 1;
}

.rating-link span {
  color: var(--accent-dark);
  font-weight: 850;
}

.theme-signature .rating-link span {
  color: var(--accent);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.review-grid span {
  color: var(--accent);
  letter-spacing: 0.1em;
}

.review-grid article p {
  margin: 16px 0;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.55vw, 1.5rem);
  font-style: italic;
  line-height: 1.25;
}

.faq-list {
  display: grid;
  max-width: 980px;
  gap: 12px;
}

.faq-list details {
  padding: 0 24px;
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 0;
  color: var(--text);
  font-weight: 850;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.5fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.contact-section address {
  margin: 24px 0 0;
  color: var(--muted);
  font-style: normal;
}

.contact-section address a {
  color: var(--text);
  font-weight: 850;
}

.contact-section > img {
  width: 100%;
  max-height: 360px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr 0.7fr;
  gap: 28px;
  padding: 54px clamp(18px, 5vw, 72px);
  border-top: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  background: #241714;
  color: rgba(255, 244, 238, 0.76);
}

.theme-signature .site-footer {
  background: #050403;
}

.site-footer strong {
  color: #ffffff;
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: rgba(255, 244, 238, 0.76);
}

.footer-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.footer-photos img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
}

.site-footer nav,
.site-footer div:last-child {
  display: grid;
  gap: 8px;
}

.footer-credit {
  margin-top: 10px;
  color: color-mix(in srgb, var(--accent) 86%, rgba(255, 244, 238, 0.76));
  font-size: 0.88rem;
}

.footer-credit a {
  display: inline;
  color: inherit;
  font-weight: 850;
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.48fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  padding-top: clamp(42px, 6vw, 78px);
  padding-bottom: clamp(42px, 6vw, 78px);
}

.service-hero h1 {
  max-width: 880px;
  font-size: clamp(2.8rem, 5.8vw, 5.2rem);
}

.service-hero p:not(.eyebrow) {
  max-width: 700px;
  font-size: clamp(1.12rem, 1.35vw, 1.3rem);
}

.service-hero figure {
  margin: 0;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  overflow: hidden;
  aspect-ratio: 4 / 4.05;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-hero figure img {
  border-radius: 18px;
  object-position: center 58%;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
  gap: 20px;
  background: color-mix(in srgb, var(--surface-2) 62%, transparent);
}

.detail-copy,
.detail-list {
  padding: clamp(24px, 4vw, 42px);
}

.detail-cta .button--ghost {
  border-color: color-mix(in srgb, var(--accent) 54%, transparent);
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
  color: var(--accent-dark);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 18%, transparent);
}

.detail-copy p:not(.eyebrow),
.detail-list li {
  font-size: 1.06rem;
}

.detail-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.detail-benefits div {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
}

.detail-benefits span {
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.detail-benefits strong {
  color: var(--text);
  line-height: 1.35;
}

.service-note {
  margin: 28px 0 0;
  padding: 16px;
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--surface-2) 58%, transparent);
  color: var(--text);
  font-weight: 800;
}

.detail-list ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid var(--line);
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: 1.1em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.service-gallery {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 78%, transparent), color-mix(in srgb, var(--surface-2) 48%, transparent));
  border-top: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}

.service-gallery__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 16px;
}

.service-gallery__grid img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(25, 27, 24, 0.08);
  object-fit: cover;
}

.service-gallery__grid .is-large {
  grid-row: span 2;
  min-height: 656px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.related-grid a {
  display: grid;
  min-height: 150px;
  align-content: end;
  padding: 22px;
}

.related-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.related-grid strong {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
}

.detail-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.detail-cta h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.detail-cta p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.08rem;
}

.selector-page {
  min-height: 100vh;
  padding-top: clamp(48px, 8vw, 90px);
  padding-bottom: clamp(48px, 8vw, 90px);
}

.selector-hero {
  max-width: 920px;
  margin-bottom: 36px;
}

.selector-hero img {
  width: 112px;
  margin-bottom: 28px;
  border-radius: var(--radius);
}

.selector-hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.1rem;
}

.version-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.version-card {
  display: grid;
  min-height: 360px;
  align-content: end;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.version-card span {
  color: var(--accent-dark);
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.version-card h2 {
  margin: 14px 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.version-card.theme-signature {
  border-color: rgba(201, 157, 85, 0.24);
  background: #181211;
  color: #fbf4e8;
}

.version-card.theme-signature h2,
.version-card.theme-signature strong {
  color: #fbf4e8;
}

.version-card.theme-signature span {
  color: #c99d55;
}

.version-card.theme-clinic {
  background: #f7faf5;
}

.version-card.theme-beauty {
  background: #fff8ef;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .version-switch {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .service-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-hero figure {
    max-height: 620px;
  }

  .service-grid,
  .version-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    opacity: 0;
    transition:
      max-height 200ms ease,
      opacity 200ms ease,
      padding 200ms ease;
  }

  .site-header.is-open .site-nav {
    max-height: 520px;
    padding: 18px;
    border-color: var(--line);
    opacity: 1;
  }

  .version-switch {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .proof-strip,
  .service-grid,
  .gallery-section--minimal,
  .studio-panel,
  .owner-panel,
  .contact-section,
  .site-footer,
  .service-detail-grid,
  .service-gallery__grid,
  .detail-benefits,
  .detail-cta,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: var(--line);
  }

  .proof-strip span {
    min-height: 86px;
    padding: 14px 10px;
    border-right: 0;
    background: color-mix(in srgb, var(--surface) 92%, var(--bg));
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid .is-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-grid article,
  .review-grid article:nth-child(4),
  .review-grid article:nth-child(5) {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .brand strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 70vh;
    padding-top: 34px;
    padding-bottom: 38px;
    background-position: 68% center;
  }

  .hero__panel {
    width: min(92vw, 420px);
    margin-left: 0;
    padding: 30px 24px;
  }

  .hero__panel::before {
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
  }

  .hero h1 {
    max-width: 310px;
    font-size: clamp(2.02rem, 8.7vw, 2.82rem);
    line-height: 1.09;
  }

  .hero__copy > p:not(.eyebrow) {
    max-width: 300px;
    font-size: 1.02rem;
  }

  .hero__logo {
    width: 70px;
    margin-bottom: 16px;
  }

  .proof-strip strong {
    font-size: 1.48rem;
  }

  .proof-strip small {
    font-size: 0.86rem;
  }

  .service-hero {
    padding-top: 34px;
  }

  .service-hero figure {
    aspect-ratio: 4 / 4.2;
  }

  .action-row,
  .service-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-card__body {
    min-height: auto;
  }

  .pricing-list {
    padding: 4px 18px 14px;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }

  .pricing-row strong {
    white-space: normal;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    min-height: 260px;
  }

  .service-gallery__grid .is-large,
  .service-gallery__grid img {
    min-height: 280px;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .version-cards {
    grid-template-columns: 1fr;
  }
}

/* Luxury beauty redesign */
:root {
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --page-max: 1760px;
  --radius: 6px;
}

body.theme-beauty,
body.theme-clinic {
  --bg: #f1e5d4;
  --surface: #fffdf9;
  --surface-2: #ead7bc;
  --text: #241b16;
  --muted: #75675c;
  --line: rgba(180, 143, 91, 0.2);
  --accent: #c7a464;
  --accent-2: #ead8bd;
  --accent-dark: #9c713a;
  --button-text: #ffffff;
  --shadow: 0 28px 86px rgba(87, 59, 35, 0.13);
}

body.theme-beauty,
body.theme-clinic {
  background: #f1e5d4;
}

body.theme-signature {
  --bg: #0b0806;
  --surface: #15100d;
  --surface-2: #211812;
  --text: #fff8ed;
  --muted: #d4c5ae;
  --line: rgba(214, 172, 104, 0.24);
  --accent: #d7ad63;
  --accent-2: #7d5130;
  --accent-dark: #e8c987;
  --button-text: #15100d;
  --shadow: 0 34px 96px rgba(0, 0, 0, 0.5);
}

body {
  background:
    radial-gradient(circle at 12% 6%, color-mix(in srgb, var(--accent-2) 28%, transparent), transparent 24%),
    var(--bg);
  font-size: 16px;
}

h1,
h2 {
  letter-spacing: 0;
}

.site-header {
  min-height: 78px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.theme-signature .site-header {
  background: rgba(8, 6, 5, 0.78);
}

.brand {
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 52%, transparent);
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, #ffffff 80%, var(--accent-2)), color-mix(in srgb, var(--accent) 28%, var(--surface)));
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.theme-signature .brand-mark {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.brand strong {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.site-nav a:not(.button) {
  color: color-mix(in srgb, var(--text) 72%, transparent);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.button {
  min-height: 48px;
  border-radius: 999px;
  padding-inline: 28px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.button--primary,
.button--nav {
  background: linear-gradient(135deg, #b9904f, #dfc180);
  color: #20160f;
  box-shadow: 0 16px 34px rgba(154, 111, 53, 0.2);
}

.theme-signature .button--primary,
.theme-signature .button--nav {
  background: linear-gradient(135deg, #f2d794, #b98742);
  color: #130d09;
}

.button--ghost {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.hero {
  max-width: none;
  min-height: clamp(480px, 68svh, 670px);
  padding: clamp(52px, 6vw, 84px) clamp(24px, 7vw, 128px);
  background-image:
    linear-gradient(90deg, rgba(20, 13, 8, 0.72) 0%, rgba(20, 13, 8, 0.5) 42%, rgba(20, 13, 8, 0.08) 100%),
    var(--hero-image);
  background-position: center;
}

.theme-clinic .hero,
.theme-signature .hero {
  background-image:
    linear-gradient(90deg, rgba(20, 13, 8, 0.74) 0%, rgba(20, 13, 8, 0.5) 42%, rgba(20, 13, 8, 0.08) 100%),
    var(--hero-image);
}

.hero__copy {
  max-width: 620px;
}

.hero__kicker {
  margin-bottom: 18px;
  color: #fff8ed;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 26px;
  color: #fff8ed;
  font-size: clamp(3.8rem, 8vw, 8.8rem);
  font-style: normal;
  font-weight: 400;
  line-height: 0.92;
  text-shadow: 0 20px 68px rgba(0, 0, 0, 0.42);
}

.featured-lpg {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: center;
  padding-top: clamp(78px, 9vw, 140px);
  padding-bottom: clamp(78px, 9vw, 140px);
}

.featured-lpg figure {
  margin: 0;
  min-height: 560px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

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

.featured-lpg h2 {
  font-size: clamp(3rem, 5.6vw, 6.2rem);
}

.featured-lpg p:not(.eyebrow) {
  max-width: 520px;
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
}

.section {
  padding-top: clamp(72px, 8vw, 132px);
  padding-bottom: clamp(72px, 8vw, 132px);
}

.section-heading {
  margin-bottom: clamp(42px, 5vw, 76px);
}

.section-heading--center {
  max-width: 920px;
}

.section-heading--center h2 {
  margin-inline: auto;
}

.eyebrow {
  color: var(--accent-dark);
  letter-spacing: 0.18em;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 18px 60px rgba(70, 44, 24, 0.08);
}

.service-card__image {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 0;
}

.service-card:first-child .service-card__image img {
  object-position: center;
}

.service-card__body {
  min-height: 230px;
  padding: 26px;
  text-align: left;
}

.service-card__body h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2vw, 2.25rem);
  font-weight: 400;
  line-height: 1;
}

.service-card__body p {
  font-size: 0.98rem;
}

.service-card__actions {
  margin-top: 12px;
}

.gallery-section {
  max-width: none;
  background: color-mix(in srgb, var(--surface-2) 48%, var(--bg));
}

.gallery-grid {
  max-width: 1440px;
  margin-inline: auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.gallery-grid img {
  aspect-ratio: 3 / 4;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
}

.gallery-grid .is-large {
  grid-column: span 2;
  grid-row: span 2;
}

.booking-band {
  max-width: none;
  background:
    linear-gradient(rgba(28, 18, 12, 0.72), rgba(28, 18, 12, 0.72)),
    url("/assets/salon-interior.jpeg") center / cover;
}

.review-grid {
  max-width: 1040px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-grid article,
.review-grid article:nth-child(4),
.review-grid article:nth-child(5) {
  grid-column: auto;
}

.review-grid article {
  border-radius: 6px;
  padding: 28px;
}

.contact-section {
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 0.7fr) minmax(320px, 0.9fr);
  align-items: stretch;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  background: color-mix(in srgb, var(--surface) 86%, var(--bg));
  color: var(--text);
  font: inherit;
}

.map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.site-footer {
  max-width: none;
  background: #1d130d;
}

.back-to-top {
  border-color: var(--line);
  color: var(--accent-dark);
}

@media (max-width: 1180px) {
  .featured-lpg,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 76vh;
    padding: 72px 22px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5.4rem);
  }

  .featured-lpg figure {
    min-height: 360px;
  }

  .service-grid,
  .gallery-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid .is-large {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Compact services, detail routes and mobile navigation */
.back-link::before {
  content: "\2190";
}

.back-to-top {
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.back-to-top.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

.brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  background: #090807;
  object-fit: contain;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: 15px;
  overflow: hidden;
  padding: 18px;
  border-radius: 8px;
  cursor: default;
}

.service-card--featured {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--line));
}

.service-card h3 {
  min-height: 2.25em;
  margin: 0;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.8vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
  text-align: center;
}

.service-card__image,
.theme-clinic .service-card__image {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}

.service-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.service-card__actions .button {
  min-width: 0;
  min-height: 44px;
  padding-inline: 14px;
  white-space: normal;
  text-align: center;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}

.gallery-grid a img {
  width: 100%;
  height: 100%;
  transition: transform 420ms ease;
}

.gallery-grid a:hover img {
  transform: scale(1.025);
}

.gallery-grid--preview {
  max-width: 1180px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid--preview img {
  aspect-ratio: 4 / 5;
}

.gallery-grid--full {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid--full a:nth-child(5n + 1) {
  grid-row: span 2;
}

.gallery-grid--full img {
  min-height: 100%;
  aspect-ratio: 3 / 4;
}

.review-carousel {
  width: 100%;
  overflow: hidden;
  outline: none;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.review-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: review-scroll 58s linear infinite;
}

.review-carousel:hover .review-track,
.review-carousel:focus .review-track,
.review-carousel:focus-within .review-track,
.review-carousel:active .review-track {
  animation-play-state: paused;
}

.review-track article {
  width: min(360px, 78vw);
  flex: 0 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.review-track article > span {
  color: var(--accent);
  letter-spacing: 0.1em;
}

.review-track article p {
  margin: 14px 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.3;
}

@keyframes review-scroll {
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.site-footer {
  grid-template-columns: minmax(280px, 1.2fr) minmax(160px, 0.6fr) minmax(220px, 0.8fr);
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-brand img {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 24%;
}

.footer-brand p {
  margin: 4px 0 0;
}

.service-hero {
  max-width: 1240px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(42px, 6vw, 78px);
  padding-bottom: clamp(58px, 8vw, 100px);
}

.service-hero__heading {
  grid-column: 1 / -1;
}

.service-hero__heading .back-link {
  display: inline-block;
  margin-bottom: 26px;
}

.service-hero__heading .eyebrow {
  margin-bottom: 10px;
}

.service-hero h1 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 6rem);
}

.service-hero figure {
  grid-column: 1;
  max-width: none;
  justify-self: stretch;
  aspect-ratio: 16 / 10;
  padding: 0;
  border-radius: 8px;
}

.service-hero figure img {
  border-radius: 7px;
}

.service-hero__intro {
  grid-column: 2;
  align-self: center;
}

.retail-note {
  position: relative;
  margin: 24px 0 4px;
  padding: 18px 20px 18px 25px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent-2) 26%, var(--surface));
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
}

.retail-note::before {
  position: absolute;
  top: 17px;
  bottom: 17px;
  left: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--accent);
  content: "";
}

.service-description__text {
  margin-bottom: 18px;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  line-height: 1.35;
}

.description-toggle {
  display: inline;
  margin: 0 0 0 0.22em;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.description-toggle:hover {
  color: var(--text);
}

.description-toggle--collapse {
  margin: 24px 0 0;
}

[data-description-rest] {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

[data-description-rest][hidden],
[data-description-full][hidden],
[data-description-excerpt][hidden],
[data-description-expand][hidden] {
  display: none !important;
}

.service-more__section {
  margin-top: 26px;
}

.service-more__section h3 {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.service-more__section ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.service-hero__intro .action-row {
  margin-top: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .service-grid,
  .gallery-grid--full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-hero {
    grid-template-columns: 1fr;
  }

  .service-hero__heading,
  .service-hero figure,
  .service-hero__intro {
    grid-column: 1;
  }
}

@media (max-width: 860px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    min-height: 66px;
    padding: 9px 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    max-width: none;
    overflow: visible;
    font-family: var(--font-logo);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0;
    text-overflow: clip;
    text-transform: none;
    white-space: nowrap;
  }

  .site-nav {
    right: 16px;
    left: auto;
    width: min(276px, calc(100vw - 48px));
    justify-items: stretch;
    gap: 0;
    border-radius: 8px;
    text-align: center;
  }

  .site-header.is-open .site-nav {
    max-height: 430px;
    padding: 12px;
  }

  .site-nav a:not(.button) {
    width: 100%;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 0.9rem;
  }

  .site-nav .button--nav {
    width: 100%;
    margin-top: 12px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.1;
  }

  .hero {
    min-height: 44svh;
    padding: 0;
    align-items: stretch;
    background-image:
      linear-gradient(180deg, transparent 36%, rgba(27, 18, 13, 0.72) 100%),
      var(--hero-image);
    background-position: 53% center;
  }

  .hero__copy {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px 22px;
    transform: none;
  }

  .hero__copy > p.hero__kicker:not(.eyebrow) {
    max-width: 320px;
    margin-bottom: 18px;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.04;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-transform: none;
    white-space: normal;
  }

  .hero h1 {
    display: none;
  }

  .hero .action-row {
    justify-content: flex-start;
  }

  .hero .button--primary {
    width: auto;
    min-height: 42px;
    padding-inline: 24px;
    border-radius: 3px;
  }

  .section {
    padding: 48px 16px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    gap: 11px;
    padding: 13px;
  }

  .service-card h3 {
    min-height: 0;
    font-size: clamp(1.35rem, 7vw, 1.7rem);
  }

  .service-card__image,
  .theme-clinic .service-card__image {
    aspect-ratio: 16 / 6.6;
  }

  .service-card__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .service-card__actions .button {
    width: 100%;
    min-height: 40px;
    padding: 8px 9px;
    font-size: 0.76rem;
    line-height: 1.15;
  }

  .gallery-grid--preview,
  .gallery-grid--full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .gallery-grid--preview img,
  .gallery-grid--full img {
    min-height: 0;
    aspect-ratio: 1;
  }

  .gallery-grid--full a:nth-child(5n + 1) {
    grid-row: auto;
  }

  .service-hero {
    gap: 22px;
    padding: 30px 16px 54px;
  }

  .service-hero__heading .back-link {
    margin-bottom: 18px;
  }

  .service-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .service-hero figure {
    max-height: 230px;
    aspect-ratio: 16 / 9.5;
  }

  .service-description__text {
    margin-bottom: 14px;
    font-size: 1.08rem;
  }

  .retail-note {
    margin-top: 18px;
    padding: 15px 16px 15px 20px;
    font-size: 0.94rem;
  }

  .service-hero__intro .action-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-hero__intro .button {
    width: 100%;
  }

  .service-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .service-gallery__grid .is-large,
  .service-gallery__grid img {
    min-height: 170px;
    border-radius: 6px;
  }

  .service-gallery__grid .is-large {
    grid-row: auto;
  }

  .review-section {
    overflow: hidden;
  }

  .review-carousel {
    width: calc(100% + 32px);
    margin-left: -16px;
  }

  .review-track article {
    width: 276px;
    padding: 20px;
  }

  .rating-link strong {
    font-size: 2.5rem;
  }

  .site-footer {
    gap: 30px;
    padding: 42px 20px;
  }

  .footer-brand img {
    width: 62px;
    height: 62px;
  }

  .back-to-top {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
