/*
  Visual refresh (screen only), layered on top of site.css and admin.css.
  It changes look and feel only: no markup, routes or behaviour depend on it,
  so removing the <link> to this file restores the previous design.
  Guided by the ui-ux-pro-max skill: "Trust & Authority" pattern for healthcare,
  calm soft-UI surfaces, 16px body text, visible focus, 44px touch targets,
  reduced-motion support. Palette stays olive + sand.
*/

:root {
  --cream: #faf8f1;
  --surface: #ffffff;
  --line: #e6e8da;
  --line-strong: #d6dac4;
  --muted: #646a57;
  --radius: 1.25rem;
  --radius-sm: .85rem;
  --shadow-soft: 0 1px 2px rgba(31, 39, 20, .04), 0 8px 24px rgba(31, 39, 20, .06);
  --shadow-lift: 0 2px 4px rgba(31, 39, 20, .05), 0 18px 40px rgba(31, 39, 20, .12);
  --ring: 0 0 0 3px #fff, 0 0 0 5px var(--olive-500);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html {
  font-size: 16px;
}

body {
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, .h1 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.4rem); line-height: 1.35; }
h2, .h2 { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 1.9rem); line-height: 1.4; }
h3, .h3 { line-height: 1.45; }

::selection {
  background: var(--olive-300);
  color: var(--olive-950);
}

/* Keyboard focus is always visible; mouse clicks stay clean. */
:focus-visible {
  outline: none;
  box-shadow: var(--ring) !important;
}

.btn:focus-visible,
.nav-link:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  box-shadow: var(--ring) !important;
}

a,
button,
[role="button"],
summary,
label[for],
.form-check-input {
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
}

.btn-sm {
  min-height: 2.25rem;
  padding-inline: 1rem;
}

.btn-lg {
  min-height: 3.25rem;
  padding-inline: 1.75rem;
  font-size: 1.05rem;
}

.btn-success,
.btn-primary {
  box-shadow: 0 6px 16px rgba(75, 93, 46, .22);
}

.btn-success:hover,
.btn-primary:hover {
  box-shadow: 0 8px 22px rgba(75, 93, 46, .3);
}

.btn-sand {
  box-shadow: 0 8px 22px rgba(194, 165, 104, .35);
}

.btn:active {
  transform: translateY(1px);
}

.btn-link {
  min-height: auto;
}

/* ---------- Forms ---------- */
.form-label {
  font-weight: 600;
  color: var(--olive-950);
  margin-bottom: .4rem;
  font-size: .95rem;
}

.form-control,
.form-select {
  min-height: 2.9rem;
  border-radius: var(--radius-sm);
  border-color: var(--line-strong);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}

.form-control:hover,
.form-select:hover {
  border-color: var(--olive-300);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--olive-600);
  box-shadow: 0 0 0 4px rgba(116, 135, 74, .18);
}

textarea.form-control {
  min-height: 7rem;
}

.form-control-sm,
.form-select-sm {
  min-height: 2.25rem;
}

.form-check-input {
  width: 1.15em;
  height: 1.15em;
  border-color: var(--line-strong);
}

.form-check-input:checked {
  background-color: var(--olive-700);
  border-color: var(--olive-700);
}

.input-validation-error,
.form-control.is-invalid {
  border-color: #c0392b;
  background-color: #fffafa;
}

.field-validation-error {
  color: #b42318;
}

/* ---------- Surfaces ---------- */
.card,
.card-soft,
.list-group,
.table-responsive {
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}

.card-header {
  background: var(--olive-50);
  border-bottom-color: var(--line);
  font-weight: 600;
  color: var(--olive-900);
}

.alert {
  border-radius: var(--radius-sm);
}

.badge {
  font-weight: 600;
  padding: .4em .75em;
  border-radius: 999px;
}

/* ---------- Tables ---------- */
.table {
  --bs-table-hover-bg: var(--olive-50);
  vertical-align: middle;
}

.table > thead th {
  font-size: .85rem;
  letter-spacing: .01em;
  color: var(--olive-800);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
  padding-block: .85rem;
}

.table > tbody td {
  padding-block: .8rem;
  border-color: var(--line);
}

.table > tbody tr {
  transition: background-color .15s var(--ease);
}

.table > tbody tr:hover > * {
  background-color: var(--olive-50);
}

/* ---------- Public navigation ---------- */
.site-nav {
  background: rgba(250, 248, 241, .82);
  border-bottom: 1px solid rgba(75, 93, 46, .08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset;
  padding-block: .6rem;
}

.site-nav .navbar-brand {
  font-size: 1.05rem;
}

.site-nav .nav-link {
  position: relative;
  border-radius: 999px;
  padding: .5rem .9rem !important;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.site-nav .nav-link:hover {
  background: var(--olive-100);
  color: var(--olive-900);
}

.site-nav .nav-link.active,
.site-nav .nav-link[aria-current="page"] {
  color: var(--olive-900);
  font-weight: 700;
  background: var(--olive-100);
}

.site-nav .navbar-toggler {
  border: 1px solid var(--line-strong);
  border-radius: .85rem;
  padding: .55rem .7rem;
}

.site-nav .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift);
  padding: .4rem;
}

.site-nav .dropdown-item {
  border-radius: .6rem;
  padding: .6rem .9rem;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus {
  background: var(--olive-100);
  color: var(--olive-900);
}

@media (max-width: 1199.98px) {
  .site-nav .navbar-collapse {
    margin-top: .75rem;
    padding: .75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
  }

  .site-nav .navbar-nav .btn {
    width: 100%;
    margin-top: .35rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(194, 165, 104, .32), transparent 60%),
    radial-gradient(40rem 26rem at 0% 110%, rgba(116, 135, 74, .45), transparent 60%),
    linear-gradient(140deg, var(--olive-800) 0%, var(--olive-950) 75%);
}

/* A faint dotted texture, like acupoint markers, when no video or poster covers the hero. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(227, 211, 168, .16) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 65%);
  mask-image: linear-gradient(200deg, #000 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  background: linear-gradient(180deg, rgba(31, 39, 20, .25) 0%, rgba(31, 39, 20, .65) 100%);
}

.hero-content {
  padding-block: 7rem 6.5rem;
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.hero .lead {
  max-width: 38rem;
}

.hero-eyebrow {
  backdrop-filter: blur(6px);
  font-weight: 500;
}

/* ---------- Home: quick facts ---------- */
.stats {
  margin-top: -4rem;
}

.stat {
  border: 1px solid rgba(255, 255, 255, .7);
  padding: 1.4rem 1.5rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.stat:hover {
  transform: translateY(-3px);
}

.stat-icon,
.service-icon {
  background: linear-gradient(145deg, var(--olive-50), var(--olive-100));
  box-shadow: inset 0 0 0 1px rgba(116, 135, 74, .14);
}

/* ---------- Section headings ---------- */
.section {
  padding-block: 5rem;
}

.section-title {
  margin-bottom: 3.25rem;
}

.section-title .kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .9rem;
  margin-bottom: .75rem;
  border-radius: 999px;
  background: rgba(194, 165, 104, .14);
  /* Dark enough to read on the sand background (WCAG AA, 4.5:1). */
  color: #735a2d;
  font-size: .8rem;
  letter-spacing: .04em;
}

.section-title h1,
.section-title h2 {
  text-wrap: balance;
}

.section-title p {
  font-size: 1.02rem;
}

/* ---------- Services ---------- */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1.75rem 1.75rem;
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--olive-600), var(--sand-500));
  opacity: 0;
  transition: opacity .25s var(--ease);
}

.service-card:hover::before,
.service-card:focus-within::before {
  opacity: 1;
}

.service-card .btn {
  margin-top: auto;
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.6rem;
}

/* ---------- Booking steps ---------- */
.steps {
  background:
    radial-gradient(30rem 16rem at 50% 0%, rgba(255, 255, 255, .8), transparent 70%),
    var(--olive-50);
}

.steps .row {
  position: relative;
}

@media (min-width: 768px) {
  .steps .row::before {
    content: "";
    position: absolute;
    top: 2.6rem;
    inset-inline: 18%;
    border-top: 2px dashed var(--olive-300);
  }
}

.step {
  position: relative;
}

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.25rem;
  background: linear-gradient(145deg, var(--olive-600), var(--olive-800));
  box-shadow: 0 0 0 6px var(--olive-50), 0 10px 24px rgba(75, 93, 46, .25);
}

/* ---------- Posts ---------- */
.post-card {
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.post-body {
  font-size: 1.05rem;
  line-height: 2;
}

/* ---------- Call to action ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.5rem);
  background:
    radial-gradient(26rem 14rem at 100% 0%, rgba(194, 165, 104, .35), transparent 70%),
    linear-gradient(135deg, var(--olive-700), var(--olive-950));
  box-shadow: var(--shadow-lift);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(227, 211, 168, .14) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(40rem 18rem at 100% 0%, rgba(116, 135, 74, .25), transparent 70%),
    var(--olive-950);
  padding-block: 4rem 2rem;
}

.site-footer a {
  text-underline-offset: .25em;
}

.social a {
  width: 2.75rem;
  height: 2.75rem;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}

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

/* ---------- Sign in / sign up panels ---------- */
.auth-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.2);
  box-shadow: var(--shadow-lift);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-block: 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.auth-panel::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--olive-600), var(--sand-500));
}

.auth-panel h1 {
  font-size: 1.6rem;
}

/* ---------- Date picker and booking ---------- */
.date-picker {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift);
}

.slot-grid .btn {
  min-height: 2.75rem;
}

/* ---------- Management panel ---------- */
.admin-body {
  background: #f4f4ec;
}

.admin-sidebar {
  background:
    radial-gradient(24rem 16rem at 100% 0%, rgba(116, 135, 74, .35), transparent 70%),
    linear-gradient(180deg, var(--olive-900), var(--olive-950));
}

.admin-nav a {
  min-height: 2.75rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.admin-nav a.active {
  background: linear-gradient(135deg, var(--olive-600), var(--olive-700));
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.admin-topbar {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom-color: var(--line);
}

.page-head h1 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem);
}

.kpi {
  position: relative;
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.kpi::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--olive-500), var(--sand-500));
  opacity: .8;
}

a.kpi:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--olive-300);
}

.kpi-value {
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
}

.kpi-label {
  color: var(--muted);
}

/* Two key figures per row on phones instead of one long column. */
@media (max-width: 575.98px) {
  .row:has(> div > .kpi) > div {
    flex: 0 0 auto;
    width: 50%;
  }

  .kpi {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
    padding: 1rem;
  }

  .kpi-value {
    font-size: 1.6rem;
  }

  .kpi-label {
    font-size: .85rem;
    line-height: 1.5;
  }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .stat:hover,
  a.kpi:hover,
  .social a:hover,
  .btn:active {
    transform: none;
  }
}

/* ---------- Small-screen spacing ---------- */
.row > .auth-panel {
  margin-inline: calc(var(--bs-gutter-x) * .5);
}

@media (max-width: 767.98px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-block: 4.5rem 5.5rem;
  }

  .section {
    padding-block: 3.5rem;
  }
}

/* Clickable dashboard figures look clickable: the number is underlined on hover and an arrow shows the way. */
a.kpi {
  color: inherit;
  text-decoration: none;
  padding-inline-end: 2.5rem;
}

a.kpi::before {
  content: "\F284"; /* bootstrap-icons chevron-left */
  font-family: "bootstrap-icons";
  position: absolute;
  inset-inline-end: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--olive-500);
  font-size: 1rem;
  transition: inset-inline-end .2s var(--ease);
}

[dir="ltr"] a.kpi::before {
  content: "\F285"; /* chevron-right */
}

a.kpi:hover::before {
  inset-inline-end: .7rem;
  color: var(--olive-800);
}

a.kpi:hover .kpi-value {
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-thickness: 2px;
}

/* ---------- English pages ----------
   Vazirmatn is drawn for Persian; its Latin letters run wide and heavy in English menus and labels.
   English pages use the system's Latin UI font (Segoe UI on Windows) and keep Vazirmatn for any Persian text. */
html[lang="en"] {
  --bs-body-font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Vazirmatn", sans-serif;
}

html[lang="en"] body {
  letter-spacing: 0;
}

/* Longer English menu labels: a little wider sidebar, smaller type, one line each. */
html[lang="en"] .admin-sidebar {
  width: 272px;
}

html[lang="en"] .admin-nav a {
  min-height: 2.4rem;
  padding: .5rem .8rem;
  font-size: .9rem;
  line-height: 1.3;
  white-space: nowrap;
}

html[lang="en"] .admin-nav a i {
  font-size: 1rem;
  flex: none;
}

html[lang="en"] .admin-nav-group {
  margin: .9rem .8rem .3rem;
  font-size: .7rem;
  letter-spacing: .08em;
}

html[lang="en"] .admin-brand {
  font-size: .95rem;
}

/* Search boxes in page headers sit on one line with their buttons instead of wrapping under them. */
.page-head form.d-flex {
  flex-wrap: nowrap;
  align-items: center;
}

.page-head form.d-flex > .form-control {
  width: auto;
  min-width: 14rem;
}

@media (max-width: 575.98px) {
  .page-head form.d-flex {
    flex-wrap: wrap;
  }

  .page-head form.d-flex > .form-control {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* ---------- Top menu of the public site ----------
   With an account the menu carries up to ten items; each stays on one line and the bar uses the wider screen. */
.site-nav .nav-link,
.site-nav .btn {
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .site-nav > .container {
    max-width: min(1520px, calc(100% - 2rem));
  }

  .site-nav .navbar-nav .nav-link {
    padding: .45rem .7rem !important;
  }

  .site-nav .navbar-nav .btn {
    padding: .4rem .85rem;
  }
}

/* English labels are longer than the Persian ones. */
html[lang="en"] .site-nav .navbar-nav .nav-link,
html[lang="en"] .site-nav .navbar-nav .btn {
  font-size: .93rem;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-nav .navbar-nav .nav-link {
    padding: .4rem .5rem !important;
    font-size: .88rem;
  }

  .site-nav .navbar-nav .btn {
    font-size: .88rem;
    padding: .35rem .65rem;
  }

  .site-nav .brand-text small {
    display: none;
  }
}

/* ---------- Site menu: icons, active underline, booking button, account menu (2026-10-12) ---------- */
.site-nav {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(75, 93, 46, .1);
  box-shadow: 0 .35rem 1.5rem rgba(31, 42, 28, .06);
}

.site-nav .main-menu .nav-link,
.site-nav .account-toggle,
.site-nav .lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--olive-900);
  background: transparent;
  border: 0;
}

.site-nav .main-menu .nav-link i,
.site-nav .account-toggle i,
.site-nav .lang-switch i {
  font-size: 1.05rem;
  color: var(--olive-600);
  transition: transform .2s var(--ease);
}

.site-nav .main-menu .nav-link:hover i { transform: translateY(-2px) scale(1.08); }

/* A short bar under the current page and, growing in, under the link pointed at. */
.site-nav .main-menu .nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 22%;
  bottom: .15rem;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--olive-600), var(--sand-500));
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}

.site-nav .main-menu .nav-link:hover::after,
.site-nav .main-menu .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.site-nav .main-menu .nav-link[aria-current="page"] {
  background: rgba(116, 135, 74, .12);
  color: var(--olive-900);
}

.site-nav .btn-book,
.btn-book {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .55rem 1.15rem;
  font-weight: 700;
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--olive-600), var(--olive-800, #3a4823));
  box-shadow: 0 .5rem 1.2rem rgba(75, 93, 46, .28);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.site-nav .btn-book:hover,
.btn-book:hover,
.btn-book:focus-visible,
.site-nav .btn-book:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 .75rem 1.6rem rgba(75, 93, 46, .35);
}

.site-nav .account-toggle {
  padding: .45rem .9rem;
  border: 1px solid rgba(75, 93, 46, .2);
}

.site-nav .account-toggle:hover,
.site-nav .account-toggle[aria-expanded="true"] { background: rgba(116, 135, 74, .1); }

.site-nav .lang-switch {
  padding: .35rem .7rem !important;
  font-size: .85rem;
  background: rgba(194, 165, 104, .16);
}

.site-nav .lang-switch:hover { background: rgba(194, 165, 104, .28); }

.site-nav .dropdown-menu {
  min-width: 14rem;
  padding: .5rem;
  border: 1px solid rgba(75, 93, 46, .12);
  border-radius: 1rem;
  box-shadow: 0 1rem 2.5rem rgba(31, 42, 28, .14);
}

.site-nav .dropdown-item {
  border-radius: .65rem;
  padding: .55rem .75rem;
}

.site-nav .dropdown-item i { color: var(--olive-600); }
.site-nav .dropdown-item.text-danger i { color: inherit; }

@media (min-width: 1200px) {
  .site-nav .main-menu { gap: .15rem; }
  .site-nav .main-menu .nav-link { padding: .5rem .75rem !important; }
}

/* The menu fits beside the clinic's name in both languages; below 1400px the menu icons give way. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-nav .main-menu .nav-link { padding: .45rem .55rem !important; font-size: .9rem; }
  .site-nav .main-menu .nav-link i { display: none; }
  .site-nav .btn-book { padding: .5rem .9rem; font-size: .9rem; }
}

/* The menu folds into a panel below 1200px: full-width rows with their icons, the booking button on top. */
@media (max-width: 1199.98px) {
  .site-nav .main-menu .nav-link { width: 100%; padding: .7rem .9rem !important; }
  .site-nav .main-menu .nav-link::after { display: none; }
  .site-nav .main-menu .nav-link i {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: .7rem;
    background: rgba(116, 135, 74, .12);
  }
  .site-nav .side-menu { display: grid; grid-template-columns: 1fr auto; gap: .6rem; margin-top: .6rem; padding-top: .8rem; border-top: 1px solid rgba(75, 93, 46, .12); }
  .site-nav .side-menu > li:first-child { grid-column: 1 / -1; }
  .site-nav .btn-book { width: 100%; justify-content: center; padding: .75rem 1rem; }
  .site-nav .account-toggle { width: 100%; justify-content: center; }
  .site-nav .lang-switch { height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav .main-menu .nav-link::after,
  .site-nav .main-menu .nav-link i,
  .site-nav .btn-book { transition: none; }
}

/* ---------- Booking prepayment (2026-10-12) ---------- */
.btn-book { justify-content: center; }

.pay-page { max-width: 34rem; }

.pay-steps {
  display: flex;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  counter-reset: step;
}

.pay-steps li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  color: var(--muted);
  position: relative;
}

.pay-steps li i {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  font-size: 1.1rem;
}

.pay-steps li.done i { background: var(--olive-600); border-color: var(--olive-600); color: #fff; }
.pay-steps li.current { color: var(--olive-900); font-weight: 700; }
.pay-steps li.current i { border-color: var(--olive-600); color: var(--olive-700, var(--olive-600)); box-shadow: 0 0 0 4px rgba(116, 135, 74, .18); }

.pay-card { border-radius: var(--radius); border-color: var(--line); }

.pay-summary { margin: 0 0 1rem; }

.pay-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px dashed var(--line-strong);
}

.pay-summary dt { font-weight: 400; color: var(--muted); }
.pay-summary dd { margin: 0; font-weight: 600; text-align: end; }
.pay-summary .pay-amount { border-bottom: 0; font-size: 1.15rem; }
.pay-summary .pay-amount dd { color: var(--olive-800, #3a4823); font-weight: 800; }

.pay-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  font-size: 2rem;
  color: #fff;
}

.pay-icon.ok { background: linear-gradient(135deg, #3f9a5a, #2c7a44); }
.pay-icon.fail { background: linear-gradient(135deg, #c0392b, #96281b); }
.pay-icon.warn { background: linear-gradient(135deg, #d39e00, #a87d00); }
.btn-book.btn-sm { padding: .3rem .85rem; font-size: .85rem; }
.btn-book.btn-lg { padding: .8rem 1.4rem; }

.deposit-note {
  background: #f4f6ea;
  border: 1px solid var(--line-strong);
  border-inline-start: 4px solid var(--olive-600);
  color: var(--olive-900);
  border-radius: var(--radius-sm);
}
.pay-steps li.done.current i { color: #fff; }

/* ---------- Social networks in the site's colours: contact tiles, footer, visit statistics (2026-10-12) ---------- */
.sn-icon {
  --sn-cut: var(--olive-50);
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--olive-50);
  border: 1px solid var(--olive-300);
  color: var(--olive-700);
  font-size: 1.15rem;
  line-height: 1;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.sn-mark { width: 1.15em; height: 1.15em; display: block; overflow: visible; }
.sn-mark text { fill: var(--sn-cut); font-family: inherit; }

/* Contact page */
/* Columns only as wide as a full name needs: two side by side where there is room, else one. */
.sn-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: .6rem;
}

.sn-tile {
  display: flex;
  align-items: center;
  gap: .7rem;
  height: 100%;
  padding: .55rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--olive-900);
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.sn-tile-name { flex: 1; min-width: 0; line-height: 1.35; word-break: keep-all; overflow-wrap: normal; }


.sn-tile:hover,
.sn-tile:focus-visible {
  color: var(--olive-900);
  border-color: var(--olive-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.sn-tile:hover .sn-icon,
.sn-tile:focus-visible .sn-icon {
  --sn-cut: var(--olive-700);
  background: var(--olive-700);
  border-color: var(--olive-700);
  color: #fff;
}


/* Footer: the speech-bubble initial cuts out in the footer colour */
.social a { --sn-cut: #2f3725; border: 1px solid rgba(255, 255, 255, .12); }
.social a:hover { --sn-cut: var(--olive-600); }
.social .sn-mark { width: 1.1rem; height: 1.1rem; }

/* Admin > Site visits */
.sn-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: .75rem;
}

.sn-stat {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.sn-stat .sn-icon { --sn-cut: var(--olive-700); background: var(--olive-700); border-color: var(--olive-700); color: #fff; }
.sn-stat.is-empty { opacity: .6; }
.sn-stat.is-empty .sn-icon { --sn-cut: var(--olive-50); background: var(--olive-50); border-color: var(--olive-300); color: var(--olive-600); }
.sn-stat-body { flex: 1; min-width: 0; }
.sn-stat-name { font-weight: 700; }

.sn-stat-figures {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .9rem;
  font-size: .82rem;
  color: var(--muted);
}

.sn-stat-figures strong { color: var(--olive-900); font-size: .95rem; }

.sn-stat-bar {
  height: .35rem;
  margin-top: .4rem;
  border-radius: 999px;
  background: var(--olive-100);
  overflow: hidden;
}

.sn-stat-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--olive-500), var(--olive-700));
}

.sn-stat-share {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--olive-700);
}


@media (max-width: 575.98px) {
  .sn-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .sn-tile { gap: .55rem; padding: .5rem .6rem; }
  .sn-tile .sn-icon { width: 2.2rem; height: 2.2rem; font-size: 1.05rem; }
}
