@import url("https://fonts.googleapis.com/css2?family=Markazi+Text:wght@500;600&family=Vazirmatn:wght@300;400;500;700&display=swap");

/* ============================================================
   کلینیک پوست و زیبایی آرمان: «برگهٔ روشن»
   ============================================================ */

:root {
  /* colour */
  --shell: #F7EEE6;
  --peach-soft: #F3DFD0;
  --peach: #E8BFA4;
  --olive: #3B4728;
  --ink: #2A2822;
  --moss: #5A5F45;
  --rule: #D8C3B1;
  --olive-hover: #2E3820;

  /* type */
  --font-head: "Markazi Text", "Vazirmatn", serif;
  --font-body: "Vazirmatn", Tahoma, sans-serif;
  --fs-1: clamp(2.1rem, 1.35rem + 3vw, 3.6rem);
  --fs-2: clamp(1.6rem, 1.25rem + 1.5vw, 2.4rem);
  --fs-3: 1.375rem;
  --fs-4: 1.125rem;
  --fs-5: 1rem;
  --fs-6: 0.875rem;

  /* space */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
  --s-9: 112px;

  --wrap: 1180px;
  --radius: 2px;
  --radius-round: 999px;
  --line: 1px solid var(--rule);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-5);
  font-weight: 400;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.35;
  color: var(--olive);
  overflow-wrap: break-word;
  text-wrap: balance;
}
h1 { font-size: var(--fs-1); line-height: 1.25; }
h2 { font-size: var(--fs-2); }
h3 { font-size: var(--fs-3); }
h4 { font-size: var(--fs-4); }

p { margin: 0 0 var(--s-4); overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }

a { color: var(--olive); text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
a:hover { color: var(--olive-hover); text-decoration-thickness: 2px; }

ul, ol { margin: 0; padding: 0; }
img, svg { max-width: 100%; display: block; }
svg { overflow: visible; }

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: var(--radius);
}

::selection { background: var(--peach); color: var(--ink); }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--s-4);
  top: -100px;
  z-index: 100;
  padding: var(--s-2) var(--s-4);
  background: var(--olive);
  color: var(--shell);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: var(--s-4); color: var(--shell); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s-5);
}

.lead {
  font-size: var(--fs-4);
  color: var(--moss);
  line-height: 1.95;
  max-width: 40em;
}

.muted { color: var(--moss); }
.small { font-size: var(--fs-6); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: var(--s-2) var(--s-5);
  border: 1px solid var(--olive);
  border-radius: var(--radius-round);
  font-family: var(--font-body);
  font-size: var(--fs-5);
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--olive); color: var(--shell); }
.btn--primary:hover { background: var(--olive-hover); color: var(--shell); }
.btn--quiet { background: transparent; color: var(--olive); }
.btn--quiet:hover { background: var(--peach-soft); color: var(--olive-hover); }
.btn[disabled],
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow::after { content: "←"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(-4px); }

/* ---------- header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 238, 230, .94);
  border-bottom: var(--line);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 72px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--olive);
  text-decoration: none;
}
.brand__mark { width: 34px; height: 40px; flex: none; color: var(--olive); }
.brand__name {
  font-family: var(--font-head);
  font-size: var(--fs-3);
  font-weight: 600;
  line-height: 1.1;
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-6);
  font-weight: 400;
  color: var(--moss);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: var(--s-1) var(--s-4);
  background: transparent;
  border: var(--line);
  border-radius: var(--radius-round);
  color: var(--olive);
  font-family: var(--font-body);
  font-size: var(--fs-6);
  font-weight: 500;
  cursor: pointer;
}
.nav-toggle__bars { width: 18px; height: 12px; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s var(--ease);
}
.nav-toggle__bars::before { top: 2px; }
.nav-toggle__bars::after { bottom: 2px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-3.5px) rotate(-45deg); }

.site-nav { display: none; width: 100%; padding-bottom: var(--s-5); }
.site-nav[data-open="true"] { display: block; }
.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.site-nav a:not(.btn) {
  display: block;
  padding: var(--s-3) 0;
  border-bottom: var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:not(.btn):hover { color: var(--olive); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--olive); }
.site-nav a[aria-current="page"]:not(.btn)::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-start: var(--s-2);
  border-radius: 50%;
  background: var(--peach);
  border: 1px solid var(--olive);
  vertical-align: middle;
}
.site-nav .btn { margin-top: var(--s-4); width: 100%; }

/* ---------- sections ---------- */
.section { padding-block: var(--s-8); }
.section--soft { background: var(--peach-soft); }
.section--ruled { border-top: var(--line); }
.section__head { max-width: 46rem; margin-bottom: var(--s-7); }
.section__head h2 + p { margin-top: var(--s-4); }

.split { display: grid; gap: var(--s-7); align-items: start; }

/* ---------- page head (inner pages) ---------- */
.page-head { padding-block: var(--s-8) var(--s-7); border-bottom: var(--line); }
.page-head h1 { max-width: 18em; }
.page-head .lead { margin-top: var(--s-4); }
.breadcrumb { font-size: var(--fs-6); color: var(--moss); margin-bottom: var(--s-4); }
.breadcrumb a { color: var(--moss); }

/* ---------- hero ---------- */
.hero { padding-block: var(--s-7) var(--s-8); }
.hero__grid { display: grid; gap: var(--s-6); align-items: center; }
.hero h1 { max-width: 12em; }
.hero .lead { margin-top: var(--s-5); }
.hero .btn-row { margin-top: var(--s-6); }
.hero__note { margin-top: var(--s-5); font-size: var(--fs-6); color: var(--moss); }
.hero__art { color: var(--olive); max-width: 420px; margin-inline: auto; width: 100%; }

.reveal { animation: rise .8s var(--ease) both; }
.reveal--late { animation-delay: .15s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- ledger (credentials) ---------- */
.ledger {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--olive);
  border-bottom: var(--line);
}
.ledger li {
  padding: var(--s-5) var(--s-4);
  border-bottom: var(--line);
}
.ledger li:nth-child(odd) { border-inline-end: var(--line); }
.ledger li:last-child { border-bottom: 0; }
.ledger__value {
  display: block;
  font-family: var(--font-head);
  font-size: var(--fs-2);
  font-weight: 600;
  line-height: 1.2;
  color: var(--olive);
}
.ledger__label { display: block; margin-top: var(--s-1); font-size: var(--fs-6); color: var(--moss); }

/* ---------- treatments (four questions) ---------- */
.treatments { list-style: none; border-top: 1px solid var(--olive); }
.treatment {
  display: grid;
  gap: var(--s-4);
  padding-block: var(--s-6);
  border-bottom: var(--line);
  transition: background-color .25s var(--ease);
}
.treatment:hover { background: rgba(243, 223, 208, .55); }
.treatment__name { display: flex; gap: var(--s-3); align-items: flex-start; }
.treatment__icon { width: 28px; height: 28px; flex: none; margin-top: 6px; color: var(--olive); }
.treatment__facts { margin: 0; display: grid; gap: var(--s-4); }
.treatment__facts div { min-width: 0; }
.treatment__facts dt { font-size: var(--fs-6); font-weight: 700; color: var(--olive); }
.treatment__facts dd { margin: 0; font-size: var(--fs-6); line-height: 1.85; color: var(--ink); }
.treatment__more { align-self: end; }
.treatment--full { padding-block: var(--s-7); }
.treatment--full .treatment__facts dd { font-size: var(--fs-5); }

.disclaimer {
  margin-top: var(--s-5);
  padding-inline-start: var(--s-4);
  border-inline-start: 2px solid var(--peach);
  font-size: var(--fs-6);
  color: var(--moss);
  max-width: 46rem;
}

/* ---------- booking path ---------- */
.path { list-style: none; display: grid; gap: var(--s-5); position: relative; }
.path li { position: relative; padding-inline-start: var(--s-7); }
.path li::before {
  content: "";
  position: absolute;
  inset-inline-start: 10px;
  top: 14px;
  bottom: calc(-1 * var(--s-5));
  border-inline-start: 1px solid var(--olive);
}
.path li:last-child::before { display: none; }
.path__node {
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  color: var(--olive);
  background: var(--shell);
}
.path__title { display: block; font-family: var(--font-head); font-size: var(--fs-3); font-weight: 600; color: var(--olive); line-height: 1.4; }
.path__text { display: block; font-size: var(--fs-6); color: var(--moss); }

/* ---------- week calendar ---------- */
.week {
  border: var(--line);
  background: var(--shell);
  padding: var(--s-4);
}
.week__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  font-weight: 500;
}
.week__nav {
  min-width: 44px;
  min-height: 44px;
  border: var(--line);
  border-radius: var(--radius-round);
  background: transparent;
  color: var(--olive);
  font-family: var(--font-body);
  cursor: pointer;
}
.week__nav:hover { background: var(--peach-soft); }
.week__days {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
}
.week__day { min-width: 0; }
.week__day h3,
.week__dayname {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-6);
  font-weight: 700;
  color: var(--olive);
  text-align: center;
  padding-bottom: var(--s-2);
  border-bottom: var(--line);
  margin-bottom: var(--s-2);
}
.week__date { display: block; font-weight: 400; color: var(--moss); }
.week__slots { list-style: none; display: grid; gap: var(--s-2); }
.slot {
  display: block;
  text-align: center;
  width: 100%;
  min-height: 40px;
  padding: var(--s-1) var(--s-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--peach-soft);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-6);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.slot:hover { border-color: var(--olive); }
.slot[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--shell); }
.slot[disabled],
.slot[aria-disabled="true"] {
  background: transparent;
  color: var(--moss);
  text-decoration: line-through;
  cursor: not-allowed;
  border-style: dashed;
}
.week__legend { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-4); font-size: var(--fs-6); color: var(--moss); }
.week__legend span::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-inline-end: var(--s-2);
  vertical-align: -1px;
  border: 1px solid var(--rule);
  background: var(--peach-soft);
}
.week__legend .is-taken::before { background: transparent; border-style: dashed; }
.week__legend .is-picked::before { background: var(--olive); border-color: var(--olive); }

/* ---------- booking (contact.html) ---------- */
.booking { border: 1px solid var(--olive); background: var(--shell); }
.booking__progress {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: var(--line);
}
.booking__progress li {
  padding: var(--s-3) var(--s-2);
  font-size: var(--fs-6);
  text-align: center;
  color: var(--moss);
  border-inline-end: var(--line);
}
.booking__progress li:last-child { border-inline-end: 0; }
.booking__progress [aria-current="step"] { color: var(--olive); font-weight: 700; background: var(--peach-soft); box-shadow: inset 0 -2px 0 var(--olive); }
.booking__progress .is-done { color: var(--olive); }
.booking__step { border: 0; margin: 0; padding: var(--s-6) var(--s-5); min-width: 0; }
.booking__step legend { font-family: var(--font-head); font-size: var(--fs-3); font-weight: 600; color: var(--olive); padding: 0; margin-bottom: var(--s-4); }
.booking__actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding: 0 var(--s-5) var(--s-6); }
.booking__summary { margin: 0; display: grid; gap: var(--s-2); border-top: var(--line); padding-top: var(--s-4); }
.booking__summary div { display: grid; grid-template-columns: 8em 1fr; gap: var(--s-3); }
.booking__summary dt { color: var(--moss); font-size: var(--fs-6); }
.booking__summary dd { margin: 0; font-weight: 500; }

.booking + .split { margin-top: var(--s-7); }
.choice-list { list-style: none; display: grid; gap: var(--s-3); }
.choice {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  padding: var(--s-4);
  border: var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice:hover { border-color: var(--olive); }
.choice input { margin-top: 7px; accent-color: var(--olive); width: 18px; height: 18px; flex: none; }
.choice:has(input:checked) { border-color: var(--olive); background: var(--peach-soft); }
.choice__title { display: block; font-weight: 500; }
.choice__text { display: block; font-size: var(--fs-6); color: var(--moss); }

/* ---------- people ---------- */
.roster { list-style: none; display: grid; gap: var(--s-4); }
.roster li { display: flex; gap: var(--s-4); align-items: center; padding-bottom: var(--s-4); border-bottom: var(--line); }
.roster svg { width: 40px; height: 40px; flex: none; color: var(--olive); }
.roster strong { display: block; font-family: var(--font-head); font-size: var(--fs-3); color: var(--olive); line-height: 1.3; }
.roster span { font-size: var(--fs-6); color: var(--moss); }

.person {
  padding: var(--s-5);
  border: var(--line);
  border-top: 2px solid var(--olive);
  background: var(--shell);
}
.person__role { font-size: var(--fs-6); color: var(--moss); }
.person__id {
  display: inline-block;
  margin-top: var(--s-3);
  padding: var(--s-1) var(--s-3);
  border: var(--line);
  border-radius: var(--radius-round);
  font-size: var(--fs-6);
  background: var(--peach-soft);
}
.person ul { margin-top: var(--s-4); padding-inline-start: var(--s-5); font-size: var(--fs-6); }

/* ---------- checklist ---------- */
.checklist { list-style: none; display: grid; gap: var(--s-4); }
.checklist li { position: relative; padding-inline-start: 40px; }
.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--olive);
  border-radius: 50%;
  background: var(--shell);
}
.checklist li::after {
  content: "";
  position: absolute;
  inset-inline-start: 8px;
  top: 10px;
  width: 8px;
  height: 5px;
  border-bottom: 1.5px solid var(--olive);
  border-left: 1.5px solid var(--olive);
  transform: rotate(-45deg);
}
.checklist strong { display: block; color: var(--olive); font-weight: 700; }
.checklist span { display: block; font-size: var(--fs-6); color: var(--moss); }

/* ---------- article teaser & prose ---------- */
.feature {
  display: grid;
  gap: var(--s-6);
  padding-block: var(--s-6);
  border-top: 1px solid var(--olive);
  border-bottom: var(--line);
}
.feature__art { width: 120px; color: var(--olive); }
.feature h3 { font-size: var(--fs-2); }
.feature__toc { list-style: none; display: grid; gap: var(--s-2); margin-block: var(--s-4); font-size: var(--fs-6); color: var(--moss); }
.feature__toc li::before { content: "— "; color: var(--olive); }

.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--s-7); margin-bottom: var(--s-4); }
.prose h3 { margin-top: var(--s-6); margin-bottom: var(--s-3); }
.prose ul,
.prose ol { padding-inline-start: var(--s-5); margin-bottom: var(--s-4); }
.prose li { margin-bottom: var(--s-2); }
.prose blockquote {
  margin: var(--s-6) 0;
  padding-inline-start: var(--s-5);
  border-inline-start: 3px solid var(--peach);
  font-family: var(--font-head);
  font-size: var(--fs-3);
  color: var(--olive);
}

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--olive); max-width: 52rem; }
.faq__item { border-bottom: var(--line); }
.faq__item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-5);
  font-family: var(--font-head);
  font-size: var(--fs-3);
  font-weight: 600;
  color: var(--olive);
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--font-body); font-weight: 300; flex: none; }
.faq__item[open] summary::after { content: "−"; }
.faq__answer { padding-bottom: var(--s-5); color: var(--ink); max-width: 46rem; }

/* ---------- visit ---------- */
.visit__list { margin: 0; display: grid; gap: var(--s-4); }
.visit__list div { padding-bottom: var(--s-4); border-bottom: var(--line); }
.visit__list dt { font-size: var(--fs-6); color: var(--moss); }
.visit__list dd { margin: 0; font-size: var(--fs-4); font-weight: 500; }
.kaj-map { color: var(--olive); border: var(--line); background: var(--peach-soft); padding: var(--s-4); }
.kaj-map figcaption { font-size: var(--fs-6); color: var(--moss); margin-top: var(--s-2); }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--s-5); max-width: 40rem; }
.form__row { display: grid; gap: var(--s-5); }
.form__field { display: grid; gap: var(--s-2); }
.form__field label { font-weight: 500; font-size: var(--fs-6); color: var(--olive); }
.form__hint { font-size: var(--fs-6); color: var(--moss); }
.form__input {
  width: 100%;
  min-height: 48px;
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--rule);
  border-bottom: 1.5px solid var(--olive);
  border-radius: var(--radius);
  background: #FFFBF8;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-5);
  line-height: 1.6;
}
textarea.form__input { min-height: 132px; resize: vertical; }
.form__input:focus-visible { outline: 2px solid var(--olive); outline-offset: 1px; }
.form__input::placeholder { color: var(--moss); opacity: .8; }
.form__field[data-state="error"] .form__input { border-color: #8E3B2E; border-bottom-color: #8E3B2E; }
.form__field[data-state="error"] label::after { content: " (لازم است)"; color: #8E3B2E; font-weight: 400; }
.form__field[data-state="ok"] .form__input { border-bottom-color: var(--olive); }
.form__status { margin: 0; min-height: 1.9em; font-size: var(--fs-6); }
.form__status[data-state="error"] { color: #8E3B2E; }
.form__status[data-state="sent"] { color: var(--olive); font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { background: var(--olive); color: var(--shell); padding-block: var(--s-8) var(--s-6); }
.site-footer a { color: var(--shell); }
.site-footer a:hover { color: var(--peach-soft); }
.site-footer :focus-visible { outline-color: var(--peach); }
.site-footer__grid { display: grid; gap: var(--s-6); }
.site-footer h2 { color: var(--shell); font-size: var(--fs-3); margin-bottom: var(--s-3); }
.site-footer ul { list-style: none; display: grid; gap: var(--s-2); }
.site-footer p { color: var(--peach-soft); }
.site-footer__base {
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(247, 238, 230, .3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  font-size: var(--fs-6);
  color: var(--peach-soft);
}
.site-footer .brand { color: var(--shell); }
.site-footer .brand__mark { color: var(--peach); }
.site-footer .brand__name small { color: var(--peach-soft); }

/* ---------- style guide ---------- */
.swatches { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-4); }
.swatch { border: var(--line); background: var(--shell); }
.swatch__chip { height: 88px; border-bottom: var(--line); }
.swatch__chip--shell { background: var(--shell); }
.swatch__chip--peach-soft { background: var(--peach-soft); }
.swatch__chip--peach { background: var(--peach); }
.swatch__chip--olive { background: var(--olive); }
.swatch__chip--ink { background: var(--ink); }
.swatch__chip--moss { background: var(--moss); }
.swatch__chip--rule { background: var(--rule); }
.swatch__meta { padding: var(--s-3); font-size: var(--fs-6); }
.swatch__meta strong { display: block; color: var(--olive); }
.type-sample { display: grid; gap: var(--s-2); padding-block: var(--s-4); border-bottom: var(--line); }
.type-sample code { font-size: var(--fs-6); color: var(--moss); direction: ltr; text-align: start; }
.fs-1 { font-size: var(--fs-1); }
.fs-2 { font-size: var(--fs-2); }
.fs-3 { font-size: var(--fs-3); }
.fs-4 { font-size: var(--fs-4); }
.fs-5 { font-size: var(--fs-5); }
.fs-6 { font-size: var(--fs-6); }
.motifs { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-6); color: var(--olive); }
.motifs li { display: grid; gap: var(--s-2); justify-items: center; font-size: var(--fs-6); color: var(--moss); }
.motifs svg { width: 80px; height: 80px; color: var(--olive); }

/* ============================================================
   breakpoints
   ============================================================ */
@media (min-width: 600px) {
  .wrap { padding-inline: var(--s-6); }
  .ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ledger li:nth-child(odd) { border-inline-end: 0; }
  .ledger li { border-inline-end: var(--line); }
  .ledger li:nth-child(3n) { border-inline-end: 0; }
  .treatment__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-6); }
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week__days { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: 120px 1fr; }
}

@media (min-width: 900px) {
  .section { padding-block: var(--s-9); }
  .site-header__inner { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .site-nav,
  .site-nav[data-open="false"] { display: block; width: auto; padding-bottom: 0; }
  .site-nav ul { flex-direction: row; align-items: center; gap: var(--s-5); }
  .site-nav a:not(.btn) { padding: var(--s-2) 0; border-bottom: 0; }
  .site-nav .btn { margin-top: 0; width: auto; margin-inline-start: var(--s-2); }
  .hero { padding-block: var(--s-8) var(--s-9); }
  .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s-8); }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); }
  .split--wide { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .ledger { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ledger li,
  .ledger li:nth-child(3n) { border-bottom: 0; border-inline-end: var(--line); }
  .ledger li:last-child { border-inline-end: 0; }
  .treatment {
    grid-template-columns: 15rem minmax(0, 1fr) auto;
    align-items: start;
    gap: var(--s-6);
    padding-inline: var(--s-3);
  }
  .treatment__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
  .treatment--full { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1200px) {
  .wrap { padding-inline: var(--s-7); }
  .treatment { grid-template-columns: 17rem minmax(0, 1fr) auto; }
}

@media (max-width: 380px) {
  .wrap { padding-inline: var(--s-4); }
  .btn { padding-inline: var(--s-4); }
  .booking__step { padding-inline: var(--s-4); }
  .booking__progress li { padding-inline: var(--s-1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header,
  .site-footer,
  .nav-toggle { display: none; }
  body { background: #fff; }
}

/* === services: treatment jump list === */
.page-head .btn-row { margin-top: var(--s-6); }
.treatment--full .disclaimer { margin-top: 0; }
.treatment--full .btn-row { margin-top: var(--s-2); }

/* === contact: booking status, calendar and result === */
.booking__step:focus { outline: none; }
.booking__step:focus-visible { outline: 2px solid var(--olive); outline-offset: -6px; }
.booking__status { padding: 0 var(--s-5) var(--s-3); }
.booking__note { margin-top: var(--s-4); font-size: var(--fs-6); color: var(--moss); }
.booking .week__head { flex-wrap: wrap; justify-content: center; text-align: center; }
.booking .week__head [data-week-label] { flex: 1 1 10rem; }
.week__empty { font-size: var(--fs-6); color: var(--moss); text-align: center; }
.booking__result { display: grid; gap: var(--s-5); padding: var(--s-6) var(--s-5); }
.booking__result:focus { outline: none; }
.booking__result:focus-visible { outline: 2px solid var(--olive); outline-offset: -6px; }
.booking__result .checklist { margin-top: var(--s-2); }

/* === contact: people === */
.people { list-style: none; display: grid; gap: var(--s-5); }
.person__mark { width: 40px; height: 40px; color: var(--olive); margin-bottom: var(--s-3); }
.person h3 { margin-bottom: var(--s-1); }
.people__note { margin-top: var(--s-6); }
@media (min-width: 600px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .booking__status { padding-inline: var(--s-4); }
  .booking__result { padding-inline: var(--s-4); }
}
