:root {
  --ink: #142033;
  --ink-soft: #3a4658;
  --paper: #f6f1e8;
  --paper-2: #efe6d8;
  --white: #fffcf7;
  --line: #d9d0c3;
  --brass: #9a7043;
  --brass-dark: #7a5630;
  --ok: #2c5a4a;
  --danger: #8b3a32;
  --max: 1120px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--brass-dark); }
a:hover { color: var(--ink); }
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
h1, h2, h3, .brand {
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
p { color: var(--ink-soft); }
.lede { font-size: 1.15rem; max-width: 42rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, white);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.header-inner { min-height: 4.1rem; }
.brand { color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"]:not(.btn) {
  color: var(--ink);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--brass);
}
.nav a.btn-solid,
.nav a.btn-solid:hover,
.nav a.btn-solid:focus-visible {
  color: var(--white);
}
.nav a.btn-solid[aria-current="page"] {
  background: var(--brass-dark);
  color: var(--white);
}
.header-cta { display: flex; gap: 0.7rem; align-items: center; flex-shrink: 0; }
.link-quiet { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.55rem 1rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; border: 1px solid transparent;
}
.btn-solid { background: var(--ink); color: var(--white); }
a.btn-solid, a.btn-solid:hover, a.btn-solid:focus-visible { color: var(--white); }
.btn-solid:hover { background: #0c1522; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-brass { background: var(--brass); color: var(--white); }
.btn-brass:hover { background: var(--brass-dark); color: var(--white); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 0.35rem 0.55rem; }

/* Language switcher — compact dropdown */
.lang-switch {
  position: relative;
  margin-inline-start: auto;
  flex-shrink: 0;
}
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  background: var(--white);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
  user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-inline-end: 1.5px solid var(--ink-soft);
  border-bottom: 1.5px solid var(--ink-soft);
  transform: rotate(45deg) translateY(-1px);
  margin-top: -0.15rem;
}
.lang-switch[open] summary {
  border-color: var(--ink);
}
.lang-switch[open] summary::after {
  transform: rotate(-135deg) translateY(-1px);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  inset-inline-end: 0;
  z-index: 40;
  min-width: 11.5rem;
  display: grid;
  gap: 0.1rem;
  padding: 0.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ink) 12%, transparent);
}
.lang-menu a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}
.lang-menu a:hover { color: var(--ink); background: var(--paper-2); }
.lang-menu a[aria-current="true"] {
  color: var(--ink);
  background: var(--paper-2);
}

/* Trust */
.trust {
  background: var(--ink); color: #eadfcf; font-size: 0.88rem;
  padding: 0.55rem 0; letter-spacing: 0.01em;
}
.trust .wrap { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
.trust span::before { content: "·"; margin-inline-end: 1.2rem; opacity: 0.5; }
.trust span:first-child::before { content: none; margin: 0; }

/* Hero / sections */
.hero { padding: 3.4rem 0 2.6rem; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--brass-dark); font-weight: 700; margin-bottom: 0.7rem; }
section, .block { padding: 2.6rem 0; }
.band { background: var(--paper-2); }
.grid-3, .grid-4, .grid-2 { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card, .frame {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.15rem 1.2rem;
}
.card p:last-child, .prose p:last-child { margin-bottom: 0; }
.frame { min-height: 9.5rem; display: flex; flex-direction: column; justify-content: flex-end; background:
  repeating-linear-gradient(-45deg, #f3ece1, #f3ece1 10px, #efe6d8 10px, #efe6d8 20px); }
.frame strong { font-family: var(--serif); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.8rem; text-decoration: none; color: var(--ink); background: var(--white); }
.chip:hover { border-color: var(--ink); }
.timeline { display: grid; gap: 0.8rem; }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 0.9rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.num { font-family: var(--serif); font-size: 1.4rem; color: var(--brass-dark); }
.callout {
  border-inline-start: 4px solid var(--danger);
  background: #f8ece9;
  padding: 1rem 1.1rem;
  border-start-start-radius: 0;
  border-start-end-radius: 12px;
  border-end-end-radius: 12px;
  border-end-start-radius: 0;
}
.callout.ok { border-inline-start-color: var(--ok); background: #e7f0eb; }
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 0.7rem 0.75rem; text-align: start; vertical-align: top; }
th { font-family: var(--serif); background: var(--paper-2); }
.city-card { height: 100%; display: flex; flex-direction: column; gap: 0.35rem; }
.city-card ul { margin: 0.2rem 0 0; padding-inline-start: 1.1rem; color: var(--ink-soft); }
ul { padding-inline-start: 1.2rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem 1rem; margin-bottom: 0.55rem; }
.faq summary { cursor: pointer; font-weight: 650; }
.fine { font-size: 0.9rem; color: var(--ink-soft); }

/* Forms */
form { display: grid; gap: 0.85rem; }
label { font-size: 0.88rem; font-weight: 650; display: grid; gap: 0.3rem; }
input, select, textarea {
  font: inherit; padding: 0.55rem 0.7rem; border-radius: 10px; border: 1px solid var(--line); background: var(--white);
}
textarea { min-height: 7rem; }
.check { display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 500; }
button[type="submit"] { cursor: pointer; }
.form-layout { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1.4rem; align-items: start; }
.error { color: var(--danger); font-size: 0.88rem; display: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.4rem 0 5.5rem; background: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 0.9fr;
  gap: 2rem 2.4rem;
  align-items: start;
}
.footer-brand .brand { display: inline-block; margin-bottom: 0.45rem; }
.footer-brand p { max-width: 22rem; margin: 0; }
.footer-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin: 0 0 0.7rem;
}
.footer-links .footer-label { grid-column: 1 / -1; }
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.4rem;
}
.footer-links a, .footer-contact a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--ink); }
.footer-contact { display: grid; gap: 0.4rem; align-content: start; }
.legal { margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-soft); }
.page-end { padding: 1.5rem 0 2.2rem; text-align: center; }
.mobile-bar {
  display: none; position: fixed; inset-inline: 0; bottom: 0; gap: 0.5rem;
  padding: 0.55rem 0.8rem calc(0.55rem + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line); z-index: 30;
}
.mobile-bar .btn { flex: 1; }

.hero { overflow: hidden; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.hero-art {
  width: 100%;
  max-height: 22rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pic { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; display: block; }
.card.media, .frame, .city-card { padding: 0; overflow: hidden; }
.card.media .pad, .city-card .pad, .frame figcaption { padding: 1rem 1.15rem 1.2rem; display: grid; gap: 0.25rem; }
.city-home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.city-home a { text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.city-home h3 { margin: 0.85rem 1rem 1rem; font-size: 1.05rem; }

/* Locale fonts */
html[lang="ru"] h1,
html[lang="ru"] h2,
html[lang="ru"] h3,
html[lang="ru"] .brand,
html[lang="ru"] .frame strong,
html[lang="ru"] .num,
html[lang="ru"] th {
  font-family: "Source Serif 4", "Source Sans 3", Georgia, serif;
  font-weight: 600;
}
html[lang="ar"] {
  font-family: "Noto Naskh Arabic", "Source Sans 3", sans-serif;
}
html[lang="ar"] body { font-family: "Noto Naskh Arabic", "Source Sans 3", sans-serif; }
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .brand,
html[lang="ar"] .frame strong,
html[lang="ar"] .num,
html[lang="ar"] th {
  font-family: "Noto Naskh Arabic", serif;
  font-weight: 700;
  letter-spacing: 0;
}
html[lang="zh-Hans"] {
  font-family: "Noto Sans SC", "Source Sans 3", sans-serif;
}
html[lang="zh-Hans"] body { font-family: "Noto Sans SC", "Source Sans 3", sans-serif; }
html[lang="zh-Hans"] h1,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3,
html[lang="zh-Hans"] .brand,
html[lang="zh-Hans"] .frame strong,
html[lang="zh-Hans"] .num,
html[lang="zh-Hans"] th {
  font-family: "Noto Serif SC", "Noto Sans SC", serif;
  font-weight: 600;
  letter-spacing: 0;
}

html[dir="rtl"] .kicker {
  letter-spacing: 0.04em;
  text-transform: none;
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] .brand {
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .hero-split, .city-home { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .grid-3, .grid-4, .grid-2, .form-layout, .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 4.1rem;
    inset-inline: 0;
    background: var(--paper);
    padding: 1rem 1.2rem 1.2rem;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .menu-toggle { display: inline-block; }
  .hero { padding-top: 2.2rem; }
  .mobile-bar { display: flex; }
  .header-inner { flex-wrap: wrap; gap: 0.55rem 0.75rem; }
  .lang-switch { margin-inline-start: auto; }
  .header-cta { gap: 0.5rem; }
}

/* Legal / guide prose */
.legal-prose { max-width: 44rem; }
.legal-prose h2 { margin-top: 2rem; font-size: 1.25rem; }
.legal-prose p, .legal-prose li { color: var(--ink-soft); }
.legal-prose ol, .legal-prose ul { color: var(--ink-soft); }
.guide-index { display: grid; gap: 1rem; }
.guide-index .card h2 { font-size: 1.2rem; }
.guide-index .card h2 a { color: inherit; text-decoration: none; }
.guide-index .card h2 a:hover { color: var(--brass-dark); }
textarea.short { min-height: 4.5rem; }
.form-banner { margin: 0 0 0.35rem; }
#emergency-note { margin: 0; color: var(--danger); }
#emergency-note[hidden] { display: none; }

.card.stack p { margin: 0.2rem 0; }
.card.stack h3 { margin-bottom: 0.55rem; }
.card.stack .fine { margin-top: 0.55rem; }

.price-panel { align-self: start; }
.price-figure {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0.15rem 0 0.65rem;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.checklist { margin: 0.45rem 0 0; padding-inline-start: 1.15rem; }
.checklist li { margin: 0.4rem 0; color: var(--ink-soft); }
.start-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.4rem;
  align-items: center;
}
.start-row .callout { margin: 0; }
.start-row .callout h2 { margin-top: 0; }
@media (max-width: 900px) {
  .start-row { grid-template-columns: 1fr; }
  .start-row .btn { justify-self: start; }
}

/* Floating contact — icon rail */
.contact-dock {
  position: fixed;
  inset-inline-end: 1.15rem;
  bottom: 1.4rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.contact-dock.is-tucked {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.contact-dock-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}
.contact-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}
.contact-chip-label {
  opacity: 0;
  transform: translateX(8px);
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--ink) 16%, transparent);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
html[dir="rtl"] .contact-chip-label { transform: translateX(-8px); }
.contact-chip:hover .contact-chip-label,
.contact-chip:focus-visible .contact-chip-label,
.contact-dock.is-open .contact-chip-label {
  opacity: 1;
  transform: none;
}
.contact-chip-ico {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--ink) 12%, transparent);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.contact-chip:hover .contact-chip-ico,
.contact-chip:focus-visible .contact-chip-ico {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.contact-chip.is-ms:hover .contact-chip-ico,
.contact-chip.is-ms:focus-visible .contact-chip-ico {
  background: #0866FF;
  border-color: #0866FF;
}
.contact-chip.is-wa:hover .contact-chip-ico,
.contact-chip.is-wa:focus-visible .contact-chip-ico {
  background: #1f8a4c;
  border-color: #1f8a4c;
}
.contact-dock-toggle {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: none;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--ink) 22%, transparent);
}
.contact-dock-toggle:hover { background: #0c1522; }
.contact-dock-close { display: none; }
.contact-dock.is-open .contact-dock-open { display: none; }
.contact-dock.is-open .contact-dock-close { display: grid; }
@media (max-width: 900px) {
  .contact-dock {
    bottom: calc(4.35rem + env(safe-area-inset-bottom));
    inset-inline-end: 0.85rem;
  }
  .contact-dock-toggle { display: grid; }
  .contact-dock-stack { display: none; }
  .contact-dock.is-open .contact-dock-stack { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-dock, .contact-chip-label, .contact-chip-ico { transition: none; }
}

/* Treatment category cards */
.tx-list { display: grid; gap: 1.15rem; }
.tx-card {
  display: grid;
  grid-template-columns: minmax(12rem, 0.95fr) minmax(0, 1.2fr);
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}
.tx-card .pic {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}
.tx-card .pad { padding: 1.1rem 1.25rem 1.25rem; }
.tx-card .pad h2 { margin-top: 0.1rem; }
.tx-card .pad p { margin: 0.28rem 0; }
@media (max-width: 900px) {
  .tx-card { grid-template-columns: 1fr; }
  .tx-card .pic { aspect-ratio: 16 / 10; max-height: 16rem; min-height: 0; }
}
