:root {
  color-scheme: light;
  --ink: #1c3335;
  --ink-soft: #536a69;
  --teal: #145b5b;
  --teal-deep: #0c4548;
  --sea: #377f7d;
  --mint: #eaf4ef;
  --surface: #ffffff;
  --paper: #f4f8f5;
  --line: #dce8e2;
  --line-strong: #c7dad1;
  --danger: #a23f48;
  --gold: #d1b580;
  --shadow: 0 20px 56px rgba(22,66,61,.09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); font: 16px/1.5 "Segoe UI", Arial, sans-serif; background: radial-gradient(circle at 12% 5%,#e3f0eb 0%,transparent 34%),radial-gradient(circle at 100% 70%,#e8f2ef 0%,transparent 42%),var(--paper); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--teal); }
button:disabled { cursor: not-allowed; opacity: .46; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #61b6aa; outline-offset: 3px; }
.site-shell { width: min(100% - 36px, 760px); margin: 36px auto 0; }
.profile-card { background: var(--surface); min-height: 86vh; border: 1px solid #e6eee9; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.profile-banner { height: 305px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 25px 34px 30px; overflow: hidden; background: #2b5656; color: #fff; isolation: isolate; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; z-index: 0; }
.profile-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg,rgba(10,41,44,.96) 0%,rgba(13,52,56,.79) 26%,rgba(21,57,55,.31) 69%,rgba(20,56,57,.24) 100%),linear-gradient(105deg,rgba(32,83,76,.23),transparent 75%); }
.mini-brand { display: inline-flex; align-items: center; align-self: flex-start; gap: 9px; padding: 8px 12px 8px 8px; border: 1px solid rgba(255,255,255,.33); border-radius: 100px; background: rgba(13,52,50,.38); color: #f4fffa; backdrop-filter: blur(8px); font-size: .76rem; font-weight: 650; letter-spacing: .14em; }
.mini-brand, .profile-identity { position: relative; z-index: 2; }
.mini-brand svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: #e8f4eb; color: var(--teal-deep); }
.profile-identity { display: flex; align-items: end; gap: 18px; min-width: 0; }
.profile-avatar { flex: 0 0 68px; width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 18px; background: rgba(241,251,244,.94); color: var(--teal-deep); font: 500 2rem/1 Georgia,"Times New Roman",serif; box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.identity-copy { min-width: 0; }
.profile-role { margin: 0 0 4px; color: #cce5dc; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.profile-identity h1 { margin: 0; font: 500 clamp(1.7rem,4.5vw,2.3rem)/1.14 Georgia,"Times New Roman",serif; letter-spacing: -.025em; text-wrap: balance; text-shadow: 0 2px 14px rgba(5,31,30,.26); }
.profile-location { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; color: #e5f1e8; font-size: .9rem; }
.profile-location svg { width: 16px; height: 16px; }
.profile-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; padding: 11px 20px 12px; background: #fbfdfb; border-bottom: 1px solid var(--line); }
.profile-nav button { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 5px 4px 7px; border: 0; border-radius: 12px; background: transparent; color: #4d6664; font-size: .88rem; font-weight: 600; transition: background .18s,color .18s,transform .18s; }
.profile-nav button:hover { color: var(--teal-deep); background: #edf6f1; }
.profile-nav button.active { color: var(--teal-deep); }
.profile-nav button.active::after { content: ""; position: absolute; bottom: -12px; left: 32%; right: 32%; height: 3px; border-radius: 4px 4px 0 0; background: var(--teal); }
.nav-symbol { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #d8e7df; border-radius: 14px; background: #f0f7f2; color: #337774; transition: background .18s,border-color .18s,color .18s,transform .18s; }
.profile-nav button:hover .nav-symbol { transform: translateY(-2px); }
.profile-nav button.active .nav-symbol { color: #fff; background: var(--teal); border-color: var(--teal); box-shadow: 0 5px 13px rgba(20,91,91,.18); }
.nav-icon { width: 22px; height: 22px; stroke-linecap: round; stroke-linejoin: round; }
.template-note { padding: 11px 30px; background: #fff9ed; border-bottom: 1px solid #f0e5ce; color: #685637; font-size: .88rem; }
.template-note a { font-weight: 700; color: #315f55; }
.tab-panel { padding: 33px 37px 105px; min-height: 370px; }
.tab-panel h2 { margin: 0 0 19px; font: 500 1.58rem/1.25 Georgia,"Times New Roman",serif; letter-spacing: -.01em; }
.tab-panel .section-kicker { margin: 0 0 19px; font: 600 1.4rem/1.2 Georgia,"Times New Roman",serif; }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 12px 28px rgba(18,65,60,.05); }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 20px; background: var(--teal-deep); color: #fff; font-size: .94rem; font-weight: 650; letter-spacing: .02em; }
.card-heading small { font-size: .8rem; color: #ddede8; font-weight: 500; }
.service-row { border-top: 1px solid #e7efe9; transition: background .18s; }
.service-row:first-of-type { border-top: 0; }
.service-row:hover, .service-row.selected { background: #f4faf5; }
.service-pick { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px 7px; color: var(--ink); border: 0; background: transparent; text-align: left; }
.service-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.service-copy strong { font-size: 1rem; line-height: 1.32; font-weight: 650; }
.service-copy > span { color: var(--ink-soft); font-size: .9rem; }
.pick-ring { flex: 0 0 25px; width: 25px; height: 25px; display: grid; place-items: center; border: 1.5px solid #a8c5bc; border-radius: 50%; color: #fff; font-size: .88rem; font-weight: 700; }
.selected .pick-ring { background: var(--teal); border-color: var(--teal); }
.service-extra { padding: 0 20px 14px; }
.service-extra > button, .text-button { border: 0; background: transparent; padding: 0; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; font-size: .88rem; font-weight: 600; }
.service-extra p { margin: 8px 0 1px; color: var(--ink-soft); font-size: .93rem; }
.step-hint { color: var(--ink-soft); text-align: center; font-size: .9rem; margin: 17px 0; }
.sticky-action { position: sticky; bottom: 14px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 12px 14px 12px 18px; margin-top: 24px; border: 1px solid #d6e5dd; border-radius: 14px; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(20,66,62,.17); }
.sticky-action div { display: flex; flex-direction: column; min-width: 0; }
.sticky-action small { color: var(--ink-soft); font-size: .8rem; }
.sticky-action strong { white-space: nowrap; font-size: 1.1rem; }
.sticky-action strong span { color: var(--ink-soft); font-weight: 450; font-size: .83rem; }
.back-link { display: inline-flex; align-items: center; margin: 0 0 20px; padding: 0; border: 0; background: transparent; color: var(--teal); font-size: .94rem; font-weight: 600; }
.selection-summary { color: var(--ink-soft); margin: -11px 0 21px; font-size: .94rem; }
.calendar-box { display: flex; justify-content: center; padding: 11px; border: 1px solid var(--line); border-radius: 17px; background: #fcfefc; }
.calendar { width: min(100%,380px); margin: auto; padding: 5px; }
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; text-transform: capitalize; }
.cal-toolbar strong { font-size: 1.04rem; font-weight: 650; }
.cal-toolbar button { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid #dae8df; border-radius: 50%; background: #fff; color: var(--teal); font-size: 1.65rem; line-height: 1; }
.cal-toolbar button:hover { background: var(--mint); }
.cal-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; }
.cal-grid.headings { text-align: center; color: #708781; font-size: .8rem; }
.cal-grid.headings span { padding: 7px 0; }
.cal-day { width: 100%; aspect-ratio: 1; border: 0; border-radius: 12px; background: transparent; color: var(--ink); font-size: .94rem; }
.cal-day:not(:disabled):hover { background: #def1e8; }
.cal-day.outside { color: #aebdb5; }
.cal-day.selected { color: #fff; background: var(--teal); box-shadow: 0 3px 10px rgba(20,91,91,.19); }
.cal-day:disabled { opacity: .42; }
.date-heading { margin: 23px 0 12px; font-size: 1rem; font-weight: 650; text-transform: capitalize; }
.time-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.time { padding: 11px 4px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); font-size: .97rem; font-weight: 600; }
.time:hover { border-color: #5c9a8e; background: #f1faf5; }
.time.selected { color: #fff; border-color: var(--teal); background: var(--teal); }
.quiet { color: var(--ink-soft); font-size: .91rem; line-height: 1.5; }
.booking-summary { display: flex; gap: 13px; padding: 16px 17px; margin-bottom: 22px; border: 1px solid #d8e9df; border-radius: 13px; background: #eff7f1; }
.booking-summary > span { color: var(--teal); font-size: 1.4rem; line-height: 1; }
.booking-summary p { margin: 4px 0 0; font-size: .91rem; color: var(--ink-soft); }
.client-form, .admin-form { display: grid; gap: 9px; }
.client-form > label, .admin-form label { margin-top: 5px; font-size: .91rem; font-weight: 650; }
.client-form input:not([type="checkbox"]), .admin-form input:not([type="checkbox"]), .admin-form textarea { width: 100%; min-width: 0; min-height: 45px; padding: 10px 12px; border: 1px solid #cdded6; border-radius: 10px; background: #fff; color: var(--ink); }
.client-form input:not([type="checkbox"]):focus, .admin-form input:not([type="checkbox"]):focus, .admin-form textarea:focus { border-color: #559888; }
.client-form input[type="checkbox"], .admin-form input[type="checkbox"] { flex: none; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--teal); }
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 2px; color: var(--ink-soft); font-size: .87rem; line-height: 1.42; cursor: pointer; }
.form-error { color: var(--danger); margin: 4px 0; font-size: .91rem; }
.button, .admin-form button:not(.light) { display: inline-flex; justify-content: center; align-items: center; min-height: 45px; padding: 10px 18px; border: 1px solid var(--teal); border-radius: 11px; background: var(--teal); color: #fff; text-decoration: none; font-size: .92rem; font-weight: 650; box-shadow: 0 4px 12px rgba(20,91,91,.11); transition: background .15s,transform .15s,box-shadow .15s; }
.button:hover, .admin-form button:not(.light):hover { background: var(--teal-deep); box-shadow: 0 7px 18px rgba(20,91,91,.17); transform: translateY(-1px); }
.button.secondary, .admin-form .button.secondary { color: var(--teal); border-color: var(--line-strong); background: #fff; box-shadow: none; }
.button.secondary:hover { background: var(--mint); }
.button.light, .admin-form .button.light { color: var(--teal); border-color: transparent; background: transparent; box-shadow: none; }
.submit-button { width: 100%; min-height: 49px; margin-top: 8px; font-size: 1rem; }
.success-card { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 34px 20px; border: 1px solid var(--line); border-radius: 17px; background: #fcfefc; text-align: center; }
.success-mark { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid #bbdccc; border-radius: 50%; background: #e9f6ed; color: var(--teal); font-size: 2rem; font-weight: 700; }
.success-card h2 { margin: 8px 0 1px; }
.success-card p { margin: 0; }
.success-card > span { margin-bottom: 13px; color: var(--ink-soft); font-size: .87rem; }
.success-card .text-button { margin-top: 8px; }
.messenger-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 6px 0; }
.cancel-booking-link { display: inline-block; margin: 9px 0; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.cancel-details { padding: 14px 18px; margin: 18px 0; border: 1px solid var(--line-strong); border-radius: 12px; }
.cancel-details p { margin-bottom: 0; }
.cron-command { overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 14px; background: #eaf4ef; border-radius: 10px; font-size: .9rem; }
.gallery-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.gallery-card img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; background: #e4f0e9; }
.gallery-card p { margin: 0; padding: 14px 17px; color: var(--ink-soft); font-size: .9rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.gallery-grid figure { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.gallery-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-grid figcaption { padding: 9px 11px; color: var(--ink-soft); font-size: .9rem; }
.empty-card { display: grid; place-items: center; padding: 52px 24px; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--ink-soft); text-align: center; }
.review-list { display: grid; gap: 12px; }
.review-card { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.review-card > div { display: flex; justify-content: space-between; gap: 12px; }
.review-card time { color: #69807a; font-size: .83rem; white-space: nowrap; }
.review-card p { margin: 12px 0 0; color: #405957; white-space: pre-wrap; }
.review-form { padding-top: 21px; margin-top: 25px; border-top: 1px solid var(--line); }
.review-form h3 { margin: 0 0 6px; font-size: 1.05rem; }
.info-card { padding: 20px; margin-bottom: 13px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.info-card h3 { margin: 0 0 10px; font-size: 1rem; }
.info-card p { margin: 0; }
.info-card small { color: var(--ink-soft); }
.hours-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #edf2ed; font-size: .91rem; }
.hours-row strong { font-weight: 600; white-space: nowrap; }
.phone-link { color: var(--teal); font-weight: 650; }
.manage-link { display: inline-block; margin-top: 9px; color: var(--teal); font-weight: 600; text-decoration: underline; }
footer { padding: 22px 10px 34px; color: #6e837d; font-size: .8rem; text-align: center; }
/* Администратор и установка */
.setup-card { max-width: 520px; padding: 30px; margin: 8vh auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.setup-card h1 { margin: 0 0 14px; font: 500 1.9rem/1.2 Georgia,"Times New Roman",serif; }
.setup-card p { color: var(--ink-soft); line-height: 1.55; }
.setup-card code { color: var(--teal); }
.admin-shell { max-width: 1090px; margin: auto; padding: 36px 24px 82px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.admin-head h1 { margin: 0; font: 500 2rem/1.15 Georgia,"Times New Roman",serif; }
.admin-head p { margin: 6px 0 0; color: var(--ink-soft); }
.admin-head-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.admin-head a { white-space: nowrap; }
.link-button { border: 0; padding: 0; background: transparent; color: var(--teal); text-decoration: underline; }
.admin-grid { display: grid; grid-template-columns: 335px minmax(0,1fr); gap: 20px; align-items: start; }
.admin-box { min-width: 0; padding: 22px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 9px 30px rgba(22,66,61,.055); }
.admin-box h2 { margin: 0 0 16px; font: 500 1.35rem/1.3 Georgia,"Times New Roman",serif; }
.admin-box h3 { margin: 24px 0 11px; font-size: 1rem; }
.admin-box .calendar { width: 100%; }
.admin-box .cal-day { font-size: .88rem; }
.admin-list { display: grid; gap: 12px; }
.booking-item { display: grid; grid-template-columns: 65px minmax(0,1fr); gap: 11px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.booking-item .item-time { color: var(--teal); font-size: 1.1rem; font-weight: 750; }
.booking-item p { margin: 3px 0; font-size: .92rem; overflow-wrap: anywhere; }
.booking-item small, .booking-item button { display: block; }
.booking-item small { color: var(--ink-soft); }
.booking-item.cancelled { opacity: .55; }
.booking-item button, .admin-gallery button { margin-top: 7px; padding: 0; border: 0; background: transparent; color: var(--teal); font-size: .87rem; text-decoration: underline; }
.admin-date-title { text-transform: capitalize; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.admin-form textarea { min-height: 80px; resize: vertical; }
.admin-form #specialistArticle { min-height: 165px; line-height: 1.55; }
.schedule-row { display: grid; grid-template-columns: 120px minmax(0,1fr); align-items: center; gap: 8px; margin: 6px 0; }
.schedule-row label { margin: 0; }
.service-edit { display: grid; grid-template-columns: minmax(0,1fr) 100px 100px; gap: 8px; padding: 13px; margin: 9px 0; border: 1px solid var(--line); border-radius: 12px; }
.service-edit input:first-child, .service-edit textarea { grid-column: 1/-1; }
.service-edit button.light { justify-self: start; min-height: 27px; padding: 0; border: 0; background: transparent; color: var(--teal); box-shadow: none; }
.admin-message { padding: 11px 13px; margin: 10px 0; border: 1px solid #cce6d3; border-radius: 10px; background: #eff8f0; color: #265a43; }
.admin-message.error { border-color: #f0d5d5; background: #fff2f2; color: var(--danger); }
.admin-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.admin-gallery > div { display: flex; flex-direction: column; gap: 4px; font-size: .83rem; overflow-wrap: anywhere; }
.admin-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; }
.admin-gallery button { align-self: start; }
.admin-form .consent-row { align-items: center; gap: 8px; margin: 17px 0; }
.admin-form .button.secondary { width: fit-content; }
.review-card .admin-actions { display: flex; }
@media(max-width:720px) {
  .site-shell { width: 100%; margin: 0; }
  .profile-card { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .profile-banner { height: 264px; padding: 20px 20px 24px; }
  .profile-avatar { flex-basis: 60px; width: 60px; height: 60px; border-radius: 16px; font-size: 1.8rem; }
  .profile-identity { gap: 13px; }
  .profile-identity h1 { font-size: clamp(1.55rem,6.4vw,2rem); }
  .profile-nav { padding: 9px 10px 11px; }
  .profile-nav button.active::after { bottom: -11px; }
  .tab-panel { padding: 27px 17px 105px; }
  .template-note { padding: 11px 17px; }
  .admin-shell { padding: 23px 16px 65px; }
  .admin-grid { grid-template-columns: minmax(0,1fr); }
  .admin-head { align-items: flex-start; flex-direction: column; }
}
@media(max-width:390px) {
  .profile-banner { height: 246px; }
  .profile-nav button { font-size: .82rem; }
  .nav-symbol { width: 39px; height: 39px; border-radius: 12px; }
  .service-pick { padding: 15px 15px 6px; }
  .service-extra { padding: 0 15px 13px; }
  .time-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .sticky-action { bottom: 8px; padding: 10px; }
  .sticky-action strong span { font-size: .75rem; }
  .service-edit { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .admin-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .setup-card { padding: 24px; margin: 6vh 12px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Яркий малахит: тёмная шапка, солнечное золото и свежие светлые карточки. */
:root {
  --ink: #183b35;
  --ink-soft: #517069;
  --teal: #176f60;
  --teal-deep: #134f46;
  --sea: #319b85;
  --mint: #e1f7e9;
  --surface: #fcfff9;
  --paper: #e8f8ec;
  --line: #d4e8dd;
  --line-strong: #b7d7c6;
  --gold: #ffda72;
  --shadow: 0 25px 74px rgba(5,56,48,.26);
}
body {
  background: radial-gradient(circle at 12% 6%,rgba(100,222,171,.52),transparent 32%),
              radial-gradient(circle at 94% 63%,rgba(34,158,149,.57),transparent 36%),
              linear-gradient(130deg,#15574e 0%,#1d7464 45%,#124945 100%);
  background-attachment: fixed;
}
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline-color: #edbb4f;
}
.profile-card { background: var(--surface); border-color: rgba(230,255,237,.54); }
.profile-banner { background: #145f50; }
.profile-banner::before {
  background: linear-gradient(0deg,rgba(7,49,44,.98) 0%,rgba(10,74,63,.82) 25%,rgba(24,114,87,.31) 70%,rgba(17,95,87,.24) 100%),
              linear-gradient(112deg,rgba(46,179,140,.24),transparent 72%);
}
.mini-brand { border-color: rgba(242,246,210,.65); background: rgba(7,65,51,.64); color: #fff8db; }
.mini-brand svg { background: var(--gold); color: #175245; }
.profile-avatar { border: 2px solid #ffedba; background: var(--gold); color: #134b3f; box-shadow: 0 8px 26px rgba(5,44,38,.3); }
.profile-role { color: #fbe8a3; }
.profile-location { color: #e5fff1; }
.profile-nav { padding-top: 13px; padding-bottom: 14px; border-color: #3d8976; background: #14584e; }
.profile-nav button { color: #dfefe4; }
.profile-nav button:hover { color: #ffdd80; background: rgba(225,255,230,.08); }
.profile-nav button.active { color: #ffe28d; }
.profile-nav button.active::after { bottom: -14px; height: 4px; background: var(--gold); }
.nav-symbol { border-color: rgba(199,253,216,.34); background: rgba(232,255,236,.11); color: #c1f7dc; border-radius: 13px; }
.profile-nav button:hover .nav-symbol { border-color: #ffde88; background: rgba(255,229,164,.14); }
.profile-nav button.active .nav-symbol { border-color: #ffebaf; background: var(--gold); color: #134c40; box-shadow: 0 6px 20px rgba(0,35,29,.29); }
.nav-icon { width: 23px; height: 23px; }
.tab-panel { background: radial-gradient(circle at 98% 0%,rgba(194,245,212,.35),transparent 36%),#fcfff9; }
.tab-panel .section-kicker, .tab-panel h2 { color: #174940; }
.service-card { border-color: #c5e2d1; background: #fffefa; box-shadow: 0 17px 35px rgba(22,100,71,.1); }
.card-heading { background: linear-gradient(105deg,#176c58,#2a9977); color: #fffdf2; }
.card-heading small { color: #fff1b8; }
.service-row { border-color: #e0eee1; }
.service-row:hover, .service-row.selected { background: #eaf9e8; }
.service-row.selected { box-shadow: inset 4px 0 #68cda5; }
.pick-ring { border-color: #8bbcaf; }
.selected .pick-ring { border-color: #166c59; background: #166c59; color: #fff; }
.calendar-box, .success-card { border-color: #cde4d5; background: #fffefa; }
.cal-toolbar button { border-color: #bee0cc; }
.cal-day:not(:disabled):hover { background: #d7f3dd; }
.cal-day.outside { color: #839b8e; }
.time { background: #fffefa; }
.time:hover { border-color: #56a98a; background: #e4f8e8; }
.booking-summary { border-color: #c7e5ce; background: #e5f7e9; }
.booking-summary > span { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; border-radius: 10px; background: #c6ebd0; }
.sticky-action { border-color: #a9d9b9; background: rgba(252,255,248,.97); box-shadow: 0 12px 32px rgba(16,78,58,.2); }
.button, .admin-form button:not(.light) { border-color: #176f60; background: #176f60; color: #fff; box-shadow: 0 5px 16px rgba(23,111,96,.23); }
.button:hover, .admin-form button:not(.light):hover { background: #105349; }
.button.secondary, .admin-form .button.secondary { color: #17594b; background: #fffefa; }
.gallery-grid figure, .review-card, .info-card { background: #fffefa; }
.review-card p { color: #37594d; }
.hours-row { border-color: #e2eddf; }
footer { color: #e8ffed; }
.setup-card, .admin-box { background: #fffefa; }
.admin-head h1, .admin-head p, .admin-head a, .admin-head .link-button { color: #fff8d5; }
.admin-head a:hover, .admin-head .link-button:hover { color: #fff; }
.admin-message { border-color: #a5dbb3; background: #e4f8e8; }
.admin-message.error { background: #fff2f2; }
@media(max-width:720px) {
  .profile-nav button.active::after { bottom: -11px; }
}

/* VITASBOR — warm editorial theme, based on the supplied visual reference. */
:root {
  --ink: #233047;
  --ink-soft: #657085;
  --teal: #8b6334;
  --teal-deep: #654522;
  --sea: #ac7b3d;
  --mint: #f8f0e2;
  --surface: #fffdfa;
  --paper: #f8f5ef;
  --line: #eadfce;
  --line-strong: #d5c1a1;
  --gold: #be8d48;
  --danger: #a34345;
  --shadow: 0 24px 65px rgba(84, 61, 34, .10);
}
body { color: var(--ink); background: var(--paper); background-attachment: scroll; font-family: "Segoe UI", Arial, sans-serif; }
a { color: var(--teal-deep); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline-color: #a77639; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.home-page .site-shell { width: 100%; max-width: none; margin: 0; }
.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 104px; padding: 15px clamp(24px,4.5vw,75px); border-bottom: 1px solid #d6b17c; background: rgba(255,253,250,.17); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; color: #151921; text-decoration: none; }
.brand-mark { width: 55px; height: 63px; fill: none; stroke: #bd8430; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-type { display: flex; flex-direction: column; align-items: center; }
.brand-type strong { font: 400 clamp(1.6rem,2.6vw,2.45rem)/1 "Bodoni MT", Didot, Georgia, serif; letter-spacing: .13em; }
.brand-type small { margin-top: 7px; font-size: .55rem; font-weight: 650; letter-spacing: .38em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(10px,1.35vw,24px); margin-left: auto; }
.site-nav a { color: #4a5263; font-size: .91rem; text-decoration: none; white-space: nowrap; transition: color .2s; }
.site-nav a:hover { color: #a17337; }
.gold-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; padding: 11px 26px; border: 1px solid #d6b580; border-radius: 100px; background: linear-gradient(117deg,#8c6535 0%,#c49c5c 58%,#a7793b 100%); box-shadow: inset 0 1px rgba(255,255,255,.7),0 9px 22px rgba(126,86,38,.18); color: #fffdf8; font: 400 1.2rem/1.2 "Bodoni MT",Didot,Georgia,serif; text-decoration: none; text-align: center; transition: transform .2s,box-shadow .2s,filter .2s; }
.gold-button:hover { color: #fff; transform: translateY(-2px); box-shadow: inset 0 1px rgba(255,255,255,.7),0 12px 28px rgba(126,86,38,.25); filter: saturate(1.1); }
.gold-button span { font: 400 1.35rem/1 Arial,sans-serif; }
.header-cta { flex: 0 0 auto; min-height: 49px; padding: 9px 22px; font-size: 1rem; }
.menu-toggle { display: none; flex: 0 0 40px; width: 40px; height: 40px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border: 0; background: transparent; }
.menu-toggle span { width: 25px; height: 1.5px; background: #6f5534; }
.landing-hero { position: relative; isolation: isolate; min-height: 854px; margin-top: -104px; padding-top: 104px; overflow: hidden; background: #fcfaf6; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 59%; min-height: 750px; overflow: hidden; padding: 62px clamp(28px,4.7vw,76px) 92px; }
.hero-copy > * { position: relative; z-index: 1; }
.hero-copy::before { content: ""; position: absolute; z-index: 0; left: -74px; bottom: -125px; width: clamp(270px,28vw,470px); height: 550px; background: url("hero-foliage.png") left bottom / contain no-repeat; opacity: .42; pointer-events: none; }
.hero-copy::after { content: ""; position: absolute; z-index: 0; left: 0; top: 0; width: min(800px,100%); height: 100%; background: url("hero-arc.svg") left top / 100% 100% no-repeat; pointer-events: none; }
.eyebrow, .section-label { color: #795e47; font-size: .72rem; font-weight: 600; letter-spacing: .22em; }
.eyebrow { display: flex; align-items: center; gap: 17px; margin: 0 0 32px; white-space: nowrap; }
.eyebrow span, .hero-person span { display: block; width: 47px; height: 1px; flex: 0 0 47px; background: #b5843a; }
.hero-copy h1 { margin: 0 0 11px -5px; color: #101116; font: 400 clamp(3.25rem,6vw,6.5rem)/1 "Bodoni MT",Didot,Georgia,serif; letter-spacing: -.07em; white-space: nowrap; }
.hero-slogan { margin: 0 0 27px; color: #775020; font: 400 clamp(2.45rem,4.2vw,4.6rem)/1.05 "Bodoni MT",Didot,Georgia,serif; letter-spacing: -.035em; }
.hero-lead { margin: 0 0 27px; color: #35425a; font-size: clamp(1.15rem,1.9vw,1.75rem); line-height: 1.44; }
.hero-person { display: flex; align-items: center; gap: 16px; margin: 2px 0 39px; color: #374259; font-size: .91rem; }
.hero-cta { min-width: 302px; min-height: 65px; padding: 13px 29px; font-size: 1.55rem; }
.hero-visual { position: absolute; inset: 0; min-width: 0; }
.hero-photo { position: absolute; inset: 0; overflow: hidden; background: #dfd3c2; }
.hero-photo picture { display: block; width: 100%; height: 100%; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#fcfaf6 0%,rgba(252,250,246,.99) 22%,rgba(252,250,246,.93) 33%,rgba(252,250,246,.74) 43%,rgba(252,250,246,.29) 54%,rgba(252,250,246,0) 68%); pointer-events: none; }
.hero-detail { position: absolute; z-index: 3; bottom: 34px; left: 43%; width: 320px; padding: 13px 25px; border: 1px solid #d8b37c; border-radius: 24px; background: rgba(255,253,250,.95); box-shadow: 0 18px 45px rgba(94,65,33,.18); backdrop-filter: blur(10px); }
.hero-detail > div { display: flex; align-items: center; gap: 16px; min-height: 72px; color: #35425a; font-size: .98rem; line-height: 1.25; }
.hero-detail > div + div { border-top: 1px solid #e8d7c2; }
.hero-detail svg { width: 45px; height: 45px; flex: 0 0 45px; padding: 8px; border: 1px solid #ddb77e; border-radius: 50%; fill: none; stroke: #bb8335; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 27px clamp(22px,3.5vw,55px); border-top: 1px solid #e1c293; border-bottom: 1px solid var(--line); background: linear-gradient(90deg,rgba(255,253,249,.77),rgba(255,253,249,.97) 36%),url("hero-foliage.png") left 30% / 330px auto no-repeat,#fffdf9; }
.benefit { display: flex; align-items: center; gap: 15px; padding: 6px 23px; min-width: 0; }
.benefit + .benefit { border-left: 1px solid #d3b282; }
.benefit svg { width: 47px; height: 47px; flex: 0 0 47px; fill: none; stroke: #bc873c; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.benefit strong { display: block; color: #29334a; font-size: .7rem; letter-spacing: .13em; white-space: nowrap; }
.benefit p { margin: 6px 0 0; color: #667187; font-size: .85rem; line-height: 1.4; }
.story-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; padding: 105px clamp(28px,8vw,135px); background: #f8f5ef; scroll-margin-top: 24px; }
.section-label { margin: 0 0 16px; }
.story-section h2, .specialist-section h2, .contact-section h2, .booking-page-title h1 { margin: 0; color: #172136; font: 400 clamp(2.35rem,4.2vw,4.2rem)/1.08 "Bodoni MT",Didot,Georgia,serif; letter-spacing: -.035em; }
.story-section h2 em { color: #9a713b; font-weight: 400; }
.story-copy p { max-width: 600px; margin: 0 0 23px; color: #4c576b; font-size: 1.08rem; line-height: 1.8; }
.text-link { display: inline-flex; gap: 15px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid #a8793e; color: #795526; text-decoration: none; font-weight: 600; }
.specialist-section { display: grid; grid-template-columns: 110px minmax(0,1fr) auto; align-items: start; gap: 35px; padding: 58px clamp(28px,8vw,135px); border-top: 1px solid #e8d9c4; border-bottom: 1px solid #e8d9c4; background: #fffdf9; scroll-margin-top: 24px; }
.specialist-ornament { display: grid; place-items: center; flex: 0 0 110px; width: 110px; height: 110px; border: 1px solid #d0af7a; border-radius: 50%; }
.specialist-ornament svg { width: 63px; height: 63px; fill: none; stroke: #b98339; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.specialist-copy { min-width: 0; max-width: 720px; }
.specialist-section h2 { font-size: clamp(2rem,3.3vw,3.25rem); }
.specialist-section .specialist-meta { margin: 8px 0 0; color: #566074; }
.specialist-article { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e8d9c4; }
.specialist-section .specialist-article p { margin: 0 0 14px; color: #4c576b; font-size: 1.02rem; line-height: 1.75; }
.specialist-section .specialist-article p:last-child { margin-bottom: 0; }
.outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 10px 22px; margin-left: auto; border: 1px solid #b98845; border-radius: 100px; color: #775326; text-decoration: none; white-space: nowrap; transition: background .2s; }
.specialist-section .outline-button { margin: 27px 0 0; }
.outline-button:hover { background: #f8f0e2; }
.contact-section { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 90px clamp(28px,8vw,135px); background: radial-gradient(circle at 98% 5%,#ede0ca,transparent 34%),#f8f5ef; scroll-margin-top: 24px; }
.contact-section p:not(.section-label) { color: #5b6679; font-size: 1.08rem; }
.contact-phone { display: inline-block; margin-top: 2px; font-size: 1.25rem; text-decoration: none; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px clamp(28px,4.5vw,75px); border-top: 1px solid #e8d7bd; background: #fffdf9; color: #6d7280; font-size: .84rem; }
.site-footer a { text-decoration: none; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.services-page .site-header { background: #fffdf9; }
.services-intro { padding: 90px clamp(28px,8vw,135px) 65px; background: radial-gradient(circle at 95% 0%,#ead8b9,transparent 36%),url("hero-foliage.png") left -120px bottom -220px / 430px auto no-repeat,#fcfaf6; }
.services-intro h1, .services-end h2 { margin: 8px 0 20px; color: #172136; font: 400 clamp(2.9rem,5vw,5.5rem)/1.08 "Bodoni MT",Didot,Georgia,serif; letter-spacing: -.04em; }
.services-intro > p:last-child { max-width: 740px; margin: 0; color: #4c576b; font-size: 1.14rem; line-height: 1.7; }
.services-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 65px clamp(28px,8vw,135px) 90px; background: #f8f5ef; }
.service-card { display: flex; flex-direction: column; min-width: 0; padding: 32px; border: 1px solid #e8d7bd; border-radius: 22px; background: #fffdfa; box-shadow: 0 14px 35px rgba(84,61,34,.06); }
.service-card .section-label { margin-bottom: 12px; font-size: .64rem; }
.service-card h2 { margin: 0 0 17px; color: #172136; font: 400 clamp(1.7rem,2.1vw,2.25rem)/1.17 "Bodoni MT",Didot,Georgia,serif; }
.service-description { margin: 0 0 24px; color: #566074; line-height: 1.62; }
.service-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid #e8d7bd; color: #5f6978; }
.service-meta strong { color: #805b2c; font-size: 1.15rem; white-space: nowrap; }
.service-card .text-link { align-self: flex-start; margin-top: 22px; }
.services-end { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 85px clamp(28px,8vw,135px); background: #fffdf9; }
.services-end h2 { font-size: clamp(2.5rem,4vw,4.1rem); }
.services-end p:not(.section-label) { color: #566074; }

/* Booking, review, calendar and administration share the same palette. */
.booking-page { background: radial-gradient(circle at 0% 0%,#fffaf0,transparent 29%),var(--paper); }
.booking-shell { width: min(100% - 36px,1100px); margin: 0 auto; }
.booking-site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; border-bottom: 1px solid #dcc6a6; }
.booking-brand { display: inline-flex; align-items: center; gap: 10px; color: #1b2130; font: 400 1.65rem/1 "Bodoni MT",Didot,Georgia,serif; letter-spacing: .15em; text-decoration: none; }
.booking-brand svg { width: 32px; height: 40px; color: #b8843b; }
.back-home { color: #805f37; font-size: .91rem; text-decoration: none; }
.back-home:hover { text-decoration: underline; }
.booking-main { width: min(100%,790px); margin: 0 auto; padding: 53px 0 62px; }
.booking-page-title { margin-bottom: 28px; text-align: center; }
.booking-page-title h1 { font-size: clamp(2.5rem,5vw,4rem); }
.booking-page-title > p:last-child { margin: 10px 0 0; color: var(--ink-soft); }
.profile-card { min-height: 0; overflow: hidden; border: 1px solid #e5d5bc; border-radius: 22px; background: #fffdfa; box-shadow: var(--shadow); }
.profile-banner { height: auto; min-height: 177px; justify-content: space-between; gap: 15px; padding: 21px 31px 26px; overflow: hidden; background: radial-gradient(circle at 97% 4%,rgba(219,188,139,.26),transparent 46%),linear-gradient(120deg,#fffdf9,#f8f0e3); color: var(--ink); border-bottom: 1px solid #eadcc8; }
.profile-banner::before { content: none; }
.mini-brand, .profile-identity { position: relative; z-index: 1; }
.mini-brand { align-self: flex-start; padding: 0; border: 0; border-radius: 0; background: transparent; color: #966b35; backdrop-filter: none; font-size: .69rem; letter-spacing: .18em; }
.mini-brand svg { width: 22px; height: 25px; padding: 0; border-radius: 0; background: transparent; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.profile-identity { align-items: center; gap: 15px; }
.profile-avatar { display: grid; place-items: center; flex: 0 0 64px; width: 64px; height: 64px; border: 1px solid #d5b37d; border-radius: 50%; background: #fffdfa; box-shadow: none; }
.profile-avatar svg { width: 39px; height: 39px; fill: none; stroke: #b9863f; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.profile-role { margin: 0 0 3px; color: #886237; font-size: .75rem; letter-spacing: .11em; }
.profile-identity h2 { margin: 0; color: #1f293a; font: 400 2rem/1.15 "Bodoni MT",Didot,Georgia,serif; }
.profile-location { margin-top: 5px; color: #647085; font-size: .87rem; }
.profile-nav { gap: 0; padding: 8px 20px 10px; border-color: #eadcc9; background: #fffdf9; }
.profile-nav button { color: #6a7180; font-weight: 500; }
.profile-nav button:hover { color: #8c6230; background: #f9f3e8; }
.profile-nav button.active { color: #7e5829; }
.profile-nav button.active::after { bottom: -10px; height: 2px; background: #ac7b3f; }
.nav-symbol { width: 40px; height: 40px; border-color: #e6d7c1; border-radius: 50%; background: #fcf8f1; color: #a6793b; }
.profile-nav button:hover .nav-symbol { border-color: #c9a978; background: #f9f0e2; }
.profile-nav button.active .nav-symbol { border-color: #ba8b4d; background: #f7ecdb; color: #8b612c; box-shadow: none; }
.nav-icon { width: 20px; height: 20px; }
.tab-panel { min-height: 340px; padding: 35px 39px 72px; background: #fffdfa; }
.tab-panel h2, .tab-panel .section-kicker { color: #222c3d; font-family: "Bodoni MT",Didot,Georgia,serif; font-weight: 400; }
.tab-panel .section-kicker { font-size: 1.75rem; }
.service-card, .calendar-box, .success-card, .gallery-card, .gallery-grid figure, .review-card, .info-card { border-color: #e7d9c5; background: #fffefa; box-shadow: 0 10px 30px rgba(101,75,40,.045); }
.card-heading { background: linear-gradient(105deg,#9a713d,#c79b61); color: #fff; }
.card-heading small { color: #fff8eb; }
.service-row { border-color: #eee5d8; }
.service-row:hover, .service-row.selected { background: #faf4e9; }
.service-row.selected { box-shadow: inset 3px 0 #bb8b4d; }
.pick-ring { border-color: #c6a578; }
.selected .pick-ring { border-color: #a27338; background: #a27338; }
.cal-toolbar button { border-color: #e2d2b9; color: #906834; }
.cal-toolbar button:hover, .cal-day:not(:disabled):hover { background: #f8ecda; }
.cal-grid.headings, .cal-day.outside { color: #93929a; }
.cal-day.selected { background: #9b713d; box-shadow: 0 5px 13px rgba(139,99,52,.2); }
.time { border-color: #ddcbb0; background: #fffdfa; }
.time:hover { border-color: #b58547; background: #fbf4e9; }
.time.selected { border-color: #9b713d; background: #9b713d; }
.booking-summary { border-color: #e7d7bd; background: #fbf3e7; }
.booking-summary > span { background: #f1e1c8; color: #94682f; }
.sticky-action { border-color: #dcc4a3; background: rgba(255,253,248,.98); box-shadow: 0 12px 30px rgba(93,67,34,.15); }
.client-form input:not([type="checkbox"]), .admin-form input:not([type="checkbox"]), .admin-form textarea { border-color: #dfceb6; background: #fffefa; }
.client-form input:not([type="checkbox"]):focus, .admin-form input:not([type="checkbox"]):focus, .admin-form textarea:focus { border-color: #a3753a; }
.button, .admin-form button:not(.light) { border-color: #956b36; background: linear-gradient(110deg,#8a6437,#b98a4d); color: #fff; box-shadow: 0 6px 17px rgba(118,83,42,.16); }
.button:hover, .admin-form button:not(.light):hover { border-color: #785328; background: #79562c; box-shadow: 0 8px 20px rgba(118,83,42,.23); }
.button.secondary, .admin-form .button.secondary { border-color: #d9be94; background: #fffdfa; color: #775327; box-shadow: none; }
.button.secondary:hover { background: #f8f0e3; }
.button.light, .admin-form .button.light { background: transparent; color: #79582b; box-shadow: none; }
.success-mark { border-color: #d8b780; background: #f9edd9; color: #94672d; }
.review-card p { color: #4e5969; }
.hours-row { border-color: #eee4d6; }
.template-note { border-color: #eedac1; background: #fff7e9; }
.cron-command { background: #f8f0e2; }
footer { color: #797377; }
.setup-card, .admin-box { border-color: #e3d5c2; background: #fffdfa; box-shadow: var(--shadow); }
.setup-card { max-width: 650px; }
.setup-card h1, .admin-head h1, .admin-box h2 { color: #1b2939; font-family: "Bodoni MT",Didot,Georgia,serif; }
.admin-head h1 { font-size: 2.55rem; }
.admin-head p { color: #6b7080; }
.admin-head a, .admin-head .link-button { color: #805b2c; }
.admin-head a:hover, .admin-head .link-button:hover { color: #553918; }
.admin-message { border-color: #dec9a8; background: #fbf1e1; color: #624e35; }
.admin-message.error { border-color: #eed0d0; background: #fff3f3; color: var(--danger); }
.booking-item { border-color: #e4d6c4; background: #fffefa; }
.booking-item .item-time, .booking-item button, .admin-gallery button { color: #805c2d; }

@media (max-width: 1350px) {
  .site-header { gap: 15px; }
  .site-nav { display: none; position: absolute; top: calc(100% - 1px); right: 20px; width: min(310px,calc(100vw - 40px)); padding: 16px; border: 1px solid #e4d1b6; border-radius: 0 0 16px 16px; background: #fffdf9; box-shadow: 0 15px 34px rgba(72,50,29,.12); }
  .site-header.menu-open .site-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 11px 13px; border-radius: 8px; }
  .site-nav a:hover { background: #fbf2e5; }
  .menu-toggle { display: flex; }
  .hero-copy h1 { font-size: clamp(3rem,5.7vw,6.1rem); }
  .hero-slogan { font-size: clamp(2.3rem,3.7vw,3.5rem); }
  .benefits { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 16px; }
  .benefit:nth-child(3) { border-left: 0; }
  .services-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1150px) {
  .specialist-section { grid-template-columns: 110px minmax(0,1fr); }
  .specialist-section .outline-button { grid-column: 2; margin-top: 0; justify-self: start; }
}
@media (max-width: 850px) {
  .site-header { background: rgba(255,253,250,.94); }
  .landing-hero { display: flex; flex-direction: column; min-height: 0; margin-top: 0; padding-top: 0; }
  .hero-copy { width: 100%; min-height: 560px; padding: 60px clamp(30px,8vw,70px); background: #fcfaf6; }
  .hero-copy::before { opacity: .28; }
  .hero-copy h1 { font-size: clamp(3.6rem,9vw,6rem); }
  .hero-slogan { font-size: clamp(2.65rem,6.2vw,4rem); }
  .hero-visual { position: relative; inset: auto; display: flex; flex-direction: column; width: 100%; min-height: 0; margin: 0 auto; background: #fcfaf6; }
  .hero-photo { position: relative; inset: auto; height: 650px; }
  .hero-photo img { object-position: center 42%; }
  .hero-photo::after { background: linear-gradient(180deg,#fcfaf6 0%,rgba(252,250,246,0) 17%,rgba(252,250,246,0) 100%); }
  .hero-detail { position: relative; bottom: auto; left: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: calc(100% - 24px); margin: -16px auto 22px; padding: 9px; }
  .hero-detail > div { flex-direction: column; gap: 7px; padding: 7px 3px; text-align: center; }
  .hero-detail > div + div { border-top: 0; border-left: 1px solid #e8d7c2; }
  .story-section { gap: 24px; padding: 65px 40px; }
  .specialist-section { padding: 50px 40px; }
  .contact-section { padding: 65px 40px; }
  .services-intro { padding: 65px 40px 55px; }
  .services-list { padding: 55px 40px 70px; }
  .services-end { padding: 65px 40px; }
}
@media (max-width: 640px) {
  .site-header { min-height: 74px; padding: 8px 19px; }
  .brand { gap: 5px; }
  .brand-mark { width: 39px; height: 48px; }
  .brand-type strong { font-size: 1.6rem; }
  .brand-type small { margin-top: 5px; font-size: .42rem; letter-spacing: .25em; }
  .header-cta { display: none; }
  .hero-copy { min-height: 530px; padding: 47px 23px 55px; }
  .hero-copy::after { opacity: .5; }
  .eyebrow { gap: 9px; margin-bottom: 23px; font-size: .59rem; line-height: 1.45; white-space: normal; }
  .eyebrow span, .hero-person span { width: 25px; flex-basis: 25px; }
  .hero-copy h1 { margin-left: 0; font-size: clamp(2.7rem,10vw,4.1rem); }
  .hero-slogan { margin-bottom: 21px; font-size: clamp(2.3rem,9vw,3.4rem); }
  .hero-lead { font-size: 1.08rem; }
  .hero-lead br { display: none; }
  .hero-person { gap: 10px; margin-bottom: 25px; font-size: .78rem; line-height: 1.4; }
  .hero-cta { min-width: 0; width: min(100%,325px); min-height: 59px; padding: 12px 21px; font-size: 1.35rem; }
  .hero-visual { display: flex; flex-direction: column; min-height: 0; width: 100%; background: #fcfaf6; }
  .hero-photo { position: relative; inset: auto; height: 540px; }
  .hero-detail { position: relative; bottom: auto; left: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: calc(100% - 24px); margin: -16px auto 22px; padding: 9px; border-radius: 17px; }
  .hero-detail > div { flex-direction: column; min-height: 100px; gap: 7px; padding: 7px 3px; font-size: .7rem; text-align: center; }
  .hero-detail > div + div { border-top: 0; border-left: 1px solid #e8d7c2; }
  .hero-detail svg { width: 33px; height: 33px; flex-basis: 33px; padding: 5px; }
  .benefits { grid-template-columns: 1fr; gap: 0; padding: 13px 22px; }
  .benefit { min-height: 79px; padding: 12px 3px; }
  .benefit + .benefit, .benefit:nth-child(3) { border-left: 0; border-top: 1px solid #e8dac6; }
  .benefit svg { width: 40px; height: 40px; flex-basis: 40px; }
  .story-section { grid-template-columns: 1fr; gap: 21px; padding: 56px 24px; }
  .story-section h2, .contact-section h2 { font-size: 2.7rem; }
  .story-copy p { font-size: 1rem; }
  .specialist-section { grid-template-columns: 1fr; gap: 18px; padding: 44px 24px; }
  .specialist-ornament { width: 76px; height: 76px; flex-basis: 76px; }
  .specialist-ornament svg { width: 46px; height: 46px; }
  .specialist-section .outline-button { grid-column: auto; justify-self: start; white-space: normal; }
  .contact-section { display: grid; gap: 25px; padding: 56px 24px; }
  .contact-section .gold-button { justify-self: start; }
  .site-footer { flex-wrap: wrap; padding: 24px; }
  .services-intro { padding: 57px 24px 45px; }
  .services-intro > p:last-child { font-size: 1rem; }
  .services-list { grid-template-columns: 1fr; gap: 16px; padding: 45px 20px 60px; }
  .service-card { padding: 25px; }
  .services-end { display: grid; padding: 55px 24px; }
  .services-end .gold-button { justify-self: start; }
  .booking-shell { width: 100%; }
  .booking-site-header { padding: 15px 19px; }
  .booking-brand { font-size: 1.35rem; }
  .back-home { font-size: .84rem; }
  .booking-main { padding: 37px 0 45px; }
  .booking-page-title { padding: 0 20px; }
  .booking-page-title h1 { font-size: 2.55rem; }
  .profile-card { min-height: 0; border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
  .profile-banner { height: auto; min-height: 150px; padding: 19px 21px 24px; }
  .profile-avatar { flex-basis: 52px; width: 52px; height: 52px; }
  .profile-avatar svg { width: 32px; height: 32px; }
  .profile-identity h2 { font-size: 1.6rem; }
  .profile-nav { padding: 8px 9px 10px; }
  .profile-nav button.active::after { bottom: -10px; }
  .tab-panel { padding: 26px 18px 82px; }
  .admin-shell { padding: 28px 17px 60px; }
  .admin-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 390px) {
  .hero-copy h1 { font-size: 10vw; }
  .hero-slogan { font-size: 8.6vw; }
  .hero-photo { height: 490px; }
  .profile-nav button { font-size: .81rem; }
  .nav-symbol { width: 36px; height: 36px; }
  .time-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* Private client history in the specialist's administration area. */
.clients-shell { max-width: 1220px; }
.client-grid { display: grid; grid-template-columns: minmax(280px,350px) minmax(0,1fr); gap: 20px; align-items: start; }
.client-grid > * { min-width: 0; }
.client-search label { display: block; margin-bottom: 8px; font-size: .88rem; font-weight: 650; }
.client-search > div, .client-name-form > div { display: flex; gap: 8px; }
.client-search input, .client-name-form input { flex: 1; min-width: 0; padding: 10px 11px; border: 1px solid #dfceb6; border-radius: 9px; background: #fffefa; font: inherit; }
.client-search .button, .client-name-form .button { flex: 0 0 auto; min-height: 40px; padding: 8px 12px; }
.client-list { display: grid; gap: 7px; margin: 16px 0; }
.client-entry { display: grid; gap: 4px; width: 100%; padding: 13px; border: 1px solid #e4d6c4; border-radius: 12px; background: #fffefa; color: #1b2939; font: inherit; text-align: left; cursor: pointer; }
.client-entry:hover, .client-entry.selected { border-color: #ac854e; background: #fbf3e7; }
.client-entry span { color: #765833; }
.client-entry small { color: #687180; }
.client-pager { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 13px 0; color: #687180; font-size: .83rem; }
.client-pager > div { display: flex; gap: 5px; }
.client-pager .button { min-height: 32px; padding: 5px 8px; font-size: .82rem; }
.client-new { width: 100%; margin-top: 12px; }
.client-title { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.client-title p { margin: -8px 0 16px; color: #586477; overflow-wrap: anywhere; }
.client-name-form { padding: 14px 0; border-block: 1px solid #e7d9c5; }
.client-name-form label { margin-bottom: 7px; }
.client-name-form .button { margin-top: 0 !important; }
.client-events { display: grid; gap: 9px; }
.client-event { padding: 14px; border: 1px solid #e3d5c2; border-radius: 12px; background: #fffefa; }
.client-event.unverified { border-color: #d5bd89; background: #fffaf0; }
.client-event.missed, .client-event.cancelled { opacity: .72; }
.client-event-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.client-event-top time { flex: 0 0 auto; color: #765833; font-size: .83rem; }
.client-event p { margin: 7px 0 3px; line-height: 1.45; overflow-wrap: anywhere; }
.client-event small { color: #687180; }
.client-event-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 11px; }
.client-event-actions button { padding: 0; border: 0; background: transparent; color: #805c2d; font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.client-grid .admin-form input { width: 100%; }
.client-grid .admin-form button { margin-top: 14px; }
@media (max-width: 800px) {
  .client-grid { grid-template-columns: minmax(0,1fr); }
  .client-title { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .client-event-top { align-items: start; flex-direction: column; }
  .client-search > div, .client-name-form > div { flex-wrap: wrap; }
  .client-search input, .client-name-form input { flex-basis: 100%; }
}
