:root {
  --navy: #101d2b;
  --graphite: #172430;
  --amber: #f2b84b;
  --milk: #f5f1e8;
  --blue: #7995aa;
  --ink: #091016;
  --line: rgba(245, 241, 232, .12);
  color-scheme: dark;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--milk);
  background: var(--navy);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { min-width: 320px; margin: 0; background: var(--navy); }
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.header.is-scrolled {
  border-color: var(--line);
  background: rgba(16, 29, 43, .94);
  backdrop-filter: blur(16px);
}
.header-inner { height: 82px; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 30px; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(242,184,75,.55); border-radius: 50%; color: var(--amber); }
.brand-mark svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: "Oswald", sans-serif; font-size: 20px; letter-spacing: .16em; }
.brand-copy small { margin-top: 5px; color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .24em; }
.nav { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 38px); }
.nav a { color: #c9d2d7; font-size: 13px; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.nav a:hover { color: var(--amber); }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-accent { background: var(--amber); color: var(--ink); }
.button-accent:hover { background: #ffc85d; }
.button-ghost { border-color: rgba(245,241,232,.24); background: rgba(245,241,232,.02); color: var(--milk); }
.button-ghost:hover { border-color: var(--amber); }
.header-book { min-height: 44px; }
.menu-toggle { display: none; }

.hero {
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(121,149,170,.035), transparent 25rem),
    #101d2b;
}
.hero-grid {
  display: grid;
  min-height: 100svh;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 82px 0 44px;
  text-align: center;
}
.hero-copy {
  display: flex;
  max-width: 1100px;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: hero-rise .7s cubic-bezier(.22,1,.36,1) both;
}
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 0 20px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: var(--amber); }
.hero h1, .section h2 { margin: 0; font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; }
.hero h1 {
  max-width: 1050px;
  margin-inline: auto;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(56px, 5.4vw, 78px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
  word-spacing: .08em;
  text-wrap: balance;
}
.hero h1 em, .section h2 em { color: var(--amber); font-style: normal; }
.hero-lead {
  max-width: 650px;
  margin: 28px auto 38px;
  color: #bcc7cb;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  animation: hero-rise .7s .12s cubic-bezier(.22,1,.36,1) both;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  animation: hero-rise .7s .18s cubic-bezier(.22,1,.36,1) both;
}
.hero-meta { display: flex; justify-content: center; gap: 52px; margin-top: 34px; }
.hero-meta div { display: grid; gap: 5px; }
.hero-meta strong { font-family: "Oswald", sans-serif; font-size: 19px; letter-spacing: .02em; }
.hero-meta span { color: #8397a3; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.scroll-indicator {
  position: relative;
  width: 24px;
  height: 38px;
  margin-top: 28px;
  border: 1px solid rgba(245,241,232,.35);
  border-radius: 20px;
  transform: translateX(-50%);
}
.scroll-indicator span {
  position: absolute;
  width: 3px;
  height: 7px;
  left: 50%;
  top: 7px;
  border-radius: 4px;
  background: var(--amber);
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { opacity: .35; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 11px); }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-visual { position: relative; height: 590px; align-self: end; overflow: hidden; border-inline: 1px solid var(--line); background: linear-gradient(160deg, #172430 0%, #0d1821 74%, #091016 100%); }
.hero-visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 49.8%, rgba(121,149,170,.09) 50%, transparent 50.2%), linear-gradient(rgba(121,149,170,.07) 49.8%, transparent 50.2%); background-size: 80px 80px; content: ""; opacity: .35; }
.beam { position: absolute; z-index: 1; width: 520px; height: 260px; top: 115px; left: 46%; background: linear-gradient(90deg, rgba(242,184,75,.34), rgba(242,184,75,0)); clip-path: polygon(0 44%, 100% 0, 100% 100%, 0 56%); transform-origin: left center; filter: blur(7px); animation: beam 8s ease-in-out infinite alternate; }
@keyframes beam { from { transform: rotate(-12deg); } to { transform: rotate(13deg); } }
.lighthouse { position: absolute; z-index: 2; width: 94%; max-width: 550px; right: -7%; bottom: 0; filter: drop-shadow(0 30px 30px rgba(0,0,0,.45)); }
.visual-index { position: absolute; z-index: 3; right: 18px; bottom: 18px; color: #91a2ab; font-size: 9px; font-weight: 800; letter-spacing: .16em; writing-mode: vertical-rl; }

.hero-scene {
  position: relative;
  height: 520px;
  align-self: end;
  overflow: hidden;
  border-inline: 1px solid rgba(245, 241, 232, .07);
  background:
    linear-gradient(180deg, rgba(121,149,170,.025), transparent 55%),
    linear-gradient(90deg, transparent 49.8%, rgba(121,149,170,.06) 50%, transparent 50.2%);
  background-size: 100% 100%, 56px 56px;
}

.hero-scene svg {
  position: absolute;
  z-index: 2;
  bottom: -10px;
  width: 84%;
  height: 94%;
  filter: drop-shadow(0 28px 22px rgba(0, 0, 0, .42));
}

.hero-scene-left svg { left: -12%; }
.hero-scene-right svg { right: -12%; }

.hero-scene > span {
  position: absolute;
  z-index: 3;
  bottom: 26px;
  color: rgba(245, 241, 232, .38);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

.hero-scene-left > span { right: 14px; }
.hero-scene-right > span { left: 14px; }

.scene-orbit {
  position: absolute;
  width: 260px;
  height: 260px;
  top: 118px;
  left: 50%;
  border: 1px solid rgba(242, 184, 75, .10);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 58px rgba(121,149,170,.018);
}

.trust-strip { border-block: 1px solid var(--line); background: #0d1821; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { display: grid; min-height: 86px; place-content: center; gap: 5px; border-right: 1px solid var(--line); text-align: center; }
.trust-grid div:first-child { border-left: 1px solid var(--line); }
.trust-grid strong { font-family: "Oswald", sans-serif; font-size: 15px; letter-spacing: .04em; }
.trust-grid span { color: #8297a3; font-size: 10px; }

.section { padding: 110px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 42px; }
.section h2 { font-size: clamp(42px, 5vw, 68px); line-height: .95; letter-spacing: -.04em; }
.section-heading > p { margin: 0 0 4px; color: #98aab2; font-size: 12px; line-height: 1.8; }
.services { background: #0d1821; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 170px; display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(23,36,48,.65); transition: background .25s ease, transform .25s ease; }
.service-card:hover { z-index: 1; background: #172430; transform: translateY(-3px); }
.service-card h3 { margin: 0 0 8px; font-family: "Oswald", sans-serif; font-size: 21px; text-transform: uppercase; }
.service-card p { max-width: 330px; margin: 0; color: #94a5ac; font-size: 12px; line-height: 1.6; }
.service-footer { grid-column: 2; display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: 18px; }
.service-footer strong { font-family: "Oswald", sans-serif; font-size: 20px; color: var(--milk); }
.service-footer button { border: 0; background: transparent; color: var(--amber); font-size: 11px; font-weight: 800; }
.service-footer button span { margin-left: 5px; }
.source-note { margin: 18px 0 0; color: #718793; font-size: 11px; line-height: 1.6; }

.about { background: var(--navy); }
.about-grid { display: grid; grid-template-columns: 48% 52%; align-items: center; gap: 70px; }
.about-art { position: relative; height: 520px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 44%, rgba(242,184,75,.12), transparent 20%), linear-gradient(145deg, #172430, #091016); }
.about-art::before { position: absolute; width: 360px; height: 360px; left: 50%; top: 50%; border: 1px solid rgba(121,149,170,.18); border-radius: 50%; content: ""; transform: translate(-50%, -50%); box-shadow: 0 0 0 70px rgba(121,149,170,.025), 0 0 0 140px rgba(121,149,170,.018); }
.about-monogram { position: absolute; left: 50%; top: 50%; display: grid; width: 150px; height: 150px; place-items: center; border: 1px solid rgba(242,184,75,.6); border-radius: 50%; color: var(--amber); font-family: "Oswald", sans-serif; font-size: 74px; transform: translate(-50%, -50%); }
.about-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, var(--amber), transparent); opacity: .5; transform-origin: center; }
.line-one { width: 500px; left: calc(50% - 250px); top: 50%; }
.line-two { width: 420px; left: calc(50% - 210px); top: 50%; transform: rotate(38deg); }
.about-copy p:not(.eyebrow) { max-width: 520px; color: #b0bec3; font-size: 15px; line-height: 1.85; }
.about-copy .button { margin-top: 18px; }

.reviews { border-block: 1px solid var(--line); background: #172430; }
.reviews-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.reviews-inner h2 { font-size: clamp(70px, 8vw, 112px); }
.reviews-inner h2 em { font-size: .5em; }
.reviews-copy { max-width: 430px; justify-self: end; }
.reviews-copy p { color: #a8b5ba; line-height: 1.7; }

.contacts { background: #0d1821; }
.contacts-grid { display: grid; grid-template-columns: 43% 57%; gap: 40px; align-items: center; }
.contact-copy dl { display: grid; margin: 30px 0; }
.contact-copy dl div { display: grid; grid-template-columns: 130px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-copy dt { color: #7f96a3; font-size: 11px; font-weight: 700; }
.contact-copy dd { margin: 0; font-size: 13px; }
.contact-copy dd a { text-decoration: none; }
.contact-actions { display: flex; gap: 10px; }
.map-wrap { height: 470px; overflow: hidden; border: 1px solid var(--line); background: #172430; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(.55) contrast(1.08) sepia(.12); }

.footer { border-top: 1px solid var(--line); background: #091016; }
.footer-inner { min-height: 120px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-inner p { color: #8397a3; font-size: 11px; }
.footer-link { justify-self: end; border: 0; background: transparent; color: var(--milk); font-size: 12px; font-weight: 800; }
.footer-link span { color: var(--amber); }

.yclients-modal { position: fixed; z-index: 500; inset: 0; display: flex; align-items: stretch; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .28s ease, visibility 0s linear .28s; }
.yclients-modal.is-open { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .28s ease; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,9,14,.88); }
.modal-panel { position: relative; z-index: 2; width: 100%; height: 100%; margin: 0; overflow: hidden; border: 0; background: #080d13; box-shadow: none; transform: scale(.995); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.yclients-modal.is-open .modal-panel { transform: scale(1); }
.booking-window { display: block; background: radial-gradient(circle at 50% 43%, rgba(121,149,170,.08), transparent 25%), #080d13; }
.booking-top { position: absolute; z-index: 5; top: 0; left: 0; width: 100%; height: 108px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; }
.booking-brand { display: flex; align-items: center; gap: 12px; color: var(--milk); }
.booking-brand .brand-mark { width: 64px; height: 64px; border-radius: 8px 8px 50% 50%; }
.booking-brand .brand-mark svg { width: 52px; height: 52px; }
.booking-brand .brand-copy strong { font-size: 22px; }
.booking-logo {
  width: 88px;
  height: 88px;
}
.booking-close { display: inline-flex; height: 44px; align-items: center; gap: 14px; border: 1px solid rgba(245,241,232,.16); border-radius: 3px; background: rgba(8,13,19,.5); color: var(--milk); }
.booking-close span { font-size: 10px; font-weight: 800; }
.booking-close b { font-size: 21px; font-weight: 400; }
.booking-welcome { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 115px 24px 60px; text-align: center; }
.booking-welcome[hidden] { display: none; }
.booking-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: #98a7ad; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.booking-kicker span { width: 78px; height: 1px; background: var(--amber); }
.booking-welcome h2 { margin: 0; font-family: "Oswald", "Arial Narrow", sans-serif; font-size: clamp(54px, 7vw, 100px); line-height: .94; letter-spacing: -.04em; }
.booking-welcome h2 em { color: var(--amber); font-style: normal; }
.booking-address { margin: 26px 0 30px; color: #9babb1; font-size: 13px; line-height: 1.6; }
.booking-action { min-width: 230px; min-height: 62px; border: 2px solid var(--amber); border-radius: 2px; background: rgba(242,184,75,.05); color: var(--milk); box-shadow: inset 0 0 0 5px rgba(8,13,19,.9); font-size: 12px; font-weight: 900; letter-spacing: .13em; transition: background .2s ease, color .2s ease; }
.booking-action:hover { background: var(--amber); color: var(--ink); }
.booking-phone { margin-top: 34px; color: var(--milk); font-family: "Oswald", sans-serif; font-size: clamp(24px, 3vw, 38px); font-weight: 700; text-decoration: none; }
.booking-widget { position: absolute; z-index: 4; inset: 108px 0 0; background: #fff; }
.booking-widget[hidden] { display: none; }
.booking-loader { position: absolute; z-index: 1; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; background: #fff; color: #7995aa; }
.booking-loader span { width: 34px; height: 34px; border: 2px solid #dce3e1; border-top-color: #172430; border-radius: 50%; animation: booking-spin .8s linear infinite; }
.booking-loader p { margin: 0; font-size: 11px; font-weight: 800; }
@keyframes booking-spin { to { transform: rotate(360deg); } }
.booking-widget iframe { position: relative; z-index: 2; width: 100%; height: 100%; border: 0; background: #fff; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .container { width: min(100% - 36px, 760px); }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .nav { position: absolute; top: 82px; right: 18px; width: min(320px, calc(100% - 36px)); display: grid; gap: 0; padding: 10px; border: 1px solid var(--line); background: #101d2b; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: .2s ease; }
  .nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav a { padding: 15px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: grid; width: 44px; height: 44px; align-content: center; gap: 7px; padding: 11px; border: 1px solid var(--line); background: transparent; }
  .menu-toggle span { height: 1px; background: var(--milk); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-scene { display: none; }
  .about-grid { gap: 35px; }
  .contacts-grid { grid-template-columns: 48% 52%; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .container { width: calc(100% - 32px); }
  .header-inner { height: 72px; grid-template-columns: 1fr auto; }
  .nav { top: 72px; }
  .header-book { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-mark svg { width: 34px; height: 34px; }
  .brand-logo { width: 58px; height: 58px; }
  .hero { min-height: 100svh; }
  .hero-grid { min-height: 100svh; grid-template-columns: 1fr; padding: 104px 0 28px; }
  .hero h1 { max-width: 520px; font-size: clamp(42px, 12vw, 56px); line-height: 1; }
  .hero-lead { max-width: 360px; margin: 22px auto 28px; font-size: 16px; }
  .hero-actions { width: 100%; flex-direction: column; align-items: center; }
  .hero-actions .button { width: min(320px, 100%); }
  .scroll-indicator { margin-top: 22px; }
  .hero-visual { width: calc(100% + 32px); height: 430px; margin-left: -16px; border-inline: 0; }
  .lighthouse { width: 92%; }
  .beam { width: 420px; left: 38%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div { border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .section h2 { font-size: 43px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 155px; padding: 22px 18px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-art { height: 360px; }
  .about-monogram { width: 120px; height: 120px; font-size: 60px; }
  .reviews-inner { grid-template-columns: 1fr; gap: 28px; }
  .reviews-copy { justify-self: start; }
  .contacts-grid { grid-template-columns: 1fr; }
  .contact-copy dl div { grid-template-columns: 112px 1fr; }
  .contact-actions { flex-direction: column; }
  .contact-actions .button { width: 100%; }
  .map-wrap { height: 360px; }
  .footer-inner { grid-template-columns: 1fr auto; padding: 24px 0; }
  .footer-inner p { display: none; }
  .modal-panel { width: 100%; }
}

@media (max-width: 700px) {
  .modal-panel {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .booking-window {
    display: block;
  }

  .booking-top { height: 88px; padding: 0 16px; }
  .booking-brand .brand-mark { width: 48px; height: 48px; }
  .booking-brand .brand-mark svg { width: 40px; height: 40px; }
  .booking-brand .brand-copy strong { font-size: 18px; }
  .booking-logo { width: 64px; height: 64px; }
  .booking-close span { display: none; }
  .booking-close { width: 44px; justify-content: center; padding: 0; }
  .booking-welcome { padding: 104px 18px 40px; }
  .booking-kicker { font-size: 9px; }
  .booking-kicker span { width: 28px; }
  .booking-welcome h2 { font-size: clamp(48px, 15vw, 68px); }
  .booking-address { max-width: 320px; font-size: 12px; }
  .booking-action { width: min(230px, calc(100% - 32px)); }
  .booking-phone { margin-top: 26px; font-size: 23px; }
  .booking-widget { inset: 88px 0 0; }
}

/* Local booking form */
.booking-form-wrap {
  position: absolute;
  inset: 108px 0 0;
  overflow-y: auto;
  padding: 38px clamp(24px, 6vw, 84px);
  background: #f6f7f5;
  color: #172430;
}

.booking-form-heading {
  margin-bottom: 24px;
  text-align: center;
}

.booking-form-heading p {
  margin: 0 0 8px;
  color: #7995aa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.booking-form-heading h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  text-transform: uppercase;
}

.booking-form-heading h2 em {
  color: #b28a35;
  font-style: normal;
}

.booking-form {
  max-width: 920px;
  margin: 0 auto;
}

.booking-fields,
.booking-client-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.booking-client-fields {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}

.booking-form label,
.slots-field legend {
  display: grid;
  gap: 8px;
  color: #52636d;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.booking-form input,
.booking-form select {
  width: 100%;
  height: 50px;
  border: 1px solid #ccd3d2;
  border-radius: 4px;
  background: #fff;
  color: #172430;
  font-size: 14px;
  padding: 0 12px;
  text-transform: none;
  letter-spacing: normal;
  opacity: 1;
  appearance: auto;
  -webkit-text-fill-color: #172430;
  color-scheme: light;
}

.booking-form select option {
  background: #fff;
  color: #172430;
  opacity: 1;
  -webkit-text-fill-color: #172430;
}

.booking-form select option:hover,
.booking-form select option:checked {
  background: #eaf0ef;
  color: #172430;
  -webkit-text-fill-color: #172430;
}

.slots-field {
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid #dde2e1;
  border-radius: 4px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.slots-grid p {
  grid-column: 1 / -1;
  margin: 4px 0;
  color: #7c898f;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
}

.slot-button {
  height: 42px;
  border: 1px solid #ccd3d2;
  border-radius: 4px;
  background: #fff;
  color: #172430;
  font-size: 13px;
  font-weight: 800;
}

.slot-button.is-selected {
  border-color: #f2b84b;
  background: #f2b84b;
}

.booking-message {
  min-height: 21px;
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.booking-message.is-error { color: #9b3b3b; }
.booking-message.is-success { color: #287558; }

.booking-submit {
  display: flex;
  max-width: 260px;
  margin: 8px auto 0;
  border: 0;
  background: #f2b84b;
  color: #101d2b;
  box-shadow: none;
}

/* Premium step-by-step booking */
.booking-form-wrap {
  inset: 108px 0 0;
  overflow-y: auto;
  padding: 28px clamp(18px, 5vw, 64px);
  background:
    radial-gradient(circle at 78% 12%, rgba(242,181,68,.055), transparent 24rem),
    linear-gradient(135deg, rgba(233,212,160,.018), transparent 34%),
    #090d10;
  color: #f4f0e8;
}

.booking-form {
  max-width: 980px;
  min-height: calc(100vh - 164px);
  margin: 0 auto;
  border: 1px solid rgba(233,212,160,.12);
  background: rgba(17,23,27,.96);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}

.booking-progress {
  height: 66px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid rgba(233,212,160,.12);
}

.booking-progress-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #717977;
  border-right: 1px solid rgba(233,212,160,.10);
  font-family: "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}

.booking-progress-step:last-child { border-right: 0; }
.booking-progress-step span { font-size: 11px; letter-spacing: .12em; }
.booking-progress-step b { font-size: 12px; letter-spacing: .08em; }
.booking-progress-step.is-active { color: #f2b544; background: rgba(242,181,68,.055); }
.booking-progress-step.is-complete { color: #a8ada9; }

.booking-step {
  display: none;
  min-height: calc(100vh - 230px);
  padding: clamp(26px, 4vw, 48px);
}

.booking-step.is-active {
  display: block;
  animation: booking-step-in .28s ease;
}

@keyframes booking-step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.booking-step > h2,
.booking-form-heading h2 {
  max-width: 760px;
  margin: 0 0 28px;
  color: #f4f0e8;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-align: left;
}

.booking-step > h2 em,
.booking-form-heading h2 em { color: #f2b544; }

.booking-kicker {
  margin: 0 0 12px;
  color: #929a96;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.booking-native-select { display: none; }

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

.booking-master-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  border: 1px solid rgba(233,212,160,.13);
  border-radius: 3px;
  background:
    linear-gradient(180deg, transparent 46%, rgba(9,13,16,.94)),
    linear-gradient(145deg, #1d252b, #090d10);
  color: #f4f0e8;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}

.booking-master-card:hover,
.booking-master-card.is-selected {
  border-color: #f2b544;
  transform: translateY(-3px);
}

.booking-master-card.booking-master-has-photo {
  background-image: linear-gradient(180deg, transparent 35%, rgba(9,13,16,.94)), var(--booking-portrait);
  background-size: cover;
  background-position: center 35%;
}

.booking-master-has-photo .booking-master-avatar[hidden] { display: none; }
.master-portrait--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.master-portrait--photo::before { display: none; }
.master-description { white-space: pre-line; overflow-wrap: anywhere; }

.booking-master-avatar {
  position: absolute;
  left: 50%;
  top: 70px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border: 1px solid rgba(242,181,68,.48);
  border-radius: 50%;
  color: #f2b544;
  font-family: "Oswald", sans-serif;
  font-size: 34px;
}

.booking-master-photo--mikhail .booking-master-avatar,
.booking-master-photo--ksenia .booking-master-avatar,
.booking-master-photo--roman .booking-master-avatar,
.booking-master-photo--ilya .booking-master-avatar { display: none; }

.booking-master-info { display: grid; gap: 3px; }
.booking-master-info strong { font-family: "Oswald", sans-serif; font-size: 20px; text-transform: uppercase; }
.booking-master-info small { color: #a3a9ab; font-size: 11px; }
.booking-master-check {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242,181,68,.42);
  border-radius: 50%;
  color: transparent;
}
.booking-master-card.is-selected .booking-master-check { background: #f2b544; color: #090d10; }

.booking-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 390px;
  overflow-y: auto;
  padding-right: 4px;
}

.booking-service-card {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(233,212,160,.12);
  border-radius: 3px;
  background: #11171b;
  color: #f4f0e8;
  text-align: left;
  cursor: pointer;
}
.booking-service-card span { display: grid; min-width: 0; gap: 3px; }
.booking-service-card strong { overflow-wrap: anywhere; font-family: "Oswald", sans-serif; font-size: 15px; text-transform: uppercase; }
.booking-service-card small { color: #969d99; }
.booking-service-card b { color: #f2b544; font-family: "Oswald", sans-serif; font-size: 18px; white-space: nowrap; }
.booking-service-card i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(233,212,160,.34);
  border-radius: 3px;
  color: transparent;
  font-style: normal;
  line-height: 1;
}
.booking-service-card.is-selected i { background: #f2b544; color: #11171b; }
.booking-service-card.is-selected { border-color: #f2b544; background: rgba(242,181,68,.07); }
.booking-service-total { color: #f2b544; font-weight: 700; }
.booking-service-total:empty { display: none; }

.booking-time-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 14px;
  align-items: start;
}

.booking-date-field {
  display: grid;
  gap: 8px;
  color: #a3a9ab;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.booking-form input,
.booking-form select {
  border: 1px solid rgba(233,212,160,.16);
  border-radius: 3px;
  background: #11171b;
  color: #f4f0e8;
  -webkit-text-fill-color: #f4f0e8;
  color-scheme: dark;
}
.booking-form input::placeholder { color: #747d78; }

.slots-field {
  margin: 0;
  min-width: 0;
  border: 1px solid rgba(233,212,160,.12);
  background: #11171b;
}
.slots-field legend { color: #a3a9ab; }
.slots-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 96px;
}
.slots-grid p { color: #969d99; }
.slot-button {
  border: 1px solid rgba(233,212,160,.15);
  background: #1d252b;
  color: #f4f0e8;
}
.slot-button.is-selected { border-color: #f2b544; background: #f2b544; color: #090d10; }
.slot-button:disabled {
  border-color: #33383c;
  background: #25292c;
  color: #878c90;
  cursor: not-allowed;
}
.slot-legend { margin: 10px 0 0; color: #a3a9ab; font-size: 12px; }
.slot-legend:empty { display: none; }
.booking-calendar { grid-column: 1 / -1; grid-row: 1; }
.booking-calendar label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.booking-calendar-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 4px; margin-top: 8px; }
.booking-calendar-days .slot-button { height: 32px; }

.booking-step[data-booking-step="2"] {
  max-width: 1060px;
  margin-inline: auto;
}

[data-booking-step="2"] .booking-time-layout {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 11fr);
  align-items: start;
  gap: 16px;
}

[data-booking-step="2"] :is(.booking-calendar, .slots-field) {
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
  margin: 0;
  padding: clamp(12px, 2.4vw, 22px);
  border: 1px solid #30383d;
  border-radius: 8px;
  background: #11171b;
}

[data-booking-step="2"] h3 {
  margin: 0;
  color: #f4f0e8;
  font: 600 17px/1.3 "Oswald", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.booking-month-nav {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  text-align: center;
}

.booking-month-nav button,
.booking-calendar-day {
  min-width: 0;
  height: 39px;
  border: 1px solid #30383d;
  border-radius: 6px;
  background: #1d252b;
  color: #f4f0e8;
  transition: background-color .16s ease, border-color .16s ease;
}

.booking-month-nav button {
  padding: 0;
  color: #f2b544;
  font-size: 23px;
  line-height: 1;
}

[data-booking-step="2"] :is(.booking-weekdays, .booking-calendar-days) {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  text-align: center;
}

.booking-weekdays {
  color: #a3a9ab;
  font-size: 11px;
  font-weight: 700;
}

.booking-calendar-day {
  position: relative;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
}

.booking-calendar-day:not(:disabled):not(.is-selected)::after {
  position: absolute;
  inset: auto 0 4px;
  width: 3px;
  height: 3px;
  margin-inline: auto;
  border-radius: 50%;
  background: #f2b544;
  content: "";
}

.booking-calendar-day[aria-current="date"]:not(.is-selected) {
  box-shadow: inset 0 0 0 1px #a3a9ab;
}

[data-booking-step="2"] :is(.booking-calendar-day, .slot-button).is-selected {
  border-color: #f2b544;
  background: #f2b544;
  color: #090d10;
}

[data-booking-step="2"] :is(.booking-calendar-day, .slot-button, .booking-month-nav button):not(:disabled):hover {
  border-color: #f2b544;
}

[data-booking-step="2"] :is(.booking-calendar-day, .slot-button, .booking-month-nav button):focus-visible {
  outline: 2px solid #f2b544;
  outline-offset: 2px;
}

.booking-calendar-day:disabled,
.booking-month-nav button:disabled {
  border-color: #222a2e;
  background: #141a1e;
  color: #737a7e;
  cursor: not-allowed;
}

.booking-selected-date {
  margin: 6px 0 14px;
  color: #a3a9ab;
  font-size: 14px;
}

.booking-selected-date::first-letter { text-transform: uppercase; }

[data-booking-step="2"] .slots-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

[data-booking-step="2"] .slot-button {
  min-width: 0;
  height: 42px;
  border-radius: 6px;
  transition: background-color .16s ease, border-color .16s ease;
}

[data-booking-step="2"] .slot-button:not(:disabled):not(.is-selected):hover {
  background: #2a3238;
}

@media (max-width: 720px) {
  [data-booking-step="2"] .booking-time-layout { grid-template-columns: minmax(0, 1fr); }
  [data-booking-step="2"] .slots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-booking-step="2"] .slot-button { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-booking-step="2"] :is(.booking-calendar-day, .slot-button, .booking-month-nav button) { transition: none; }
}
.admin-schedule-controls { margin: 16px; }
.admin-schedule-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.admin-schedule-form label { display: grid; gap: 4px; }
.admin-schedule-form input, .admin-schedule-form select, .admin-schedule-form textarea {
  border: 1px solid #ccd3d2; border-radius: 4px; padding: 8px; color: #172430; background: #fff;
}
.booking-no-slots { grid-column: 1 / -1; text-align: center; }

.booking-client-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}
.booking-form label { color: #a3a9ab; }
.booking-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr);
  gap: 14px;
}
.booking-summary {
  min-height: 145px;
  box-sizing: border-box;
  padding: 20px 22px;
  border: 1px solid #30383D;
  background: #11171b;
}
.booking-summary > p {
  margin: 0 0 16px;
  color: #f2b544;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.booking-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.booking-summary dl div {
  display: grid;
  grid-template-columns: minmax(76px, 32%) minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  min-width: 0;
  line-height: 1.45;
}
.booking-summary dt {
  min-width: 0;
  color: #a3a9ab;
  font-size: 12px;
}
.booking-summary dd {
  min-width: 0;
  margin: 0;
  color: #f4f0e8;
  font-size: 13px;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.booking-summary ul,
.booking-success-summary ul {
  margin: 0;
  padding-inline-start: 18px;
  overflow-wrap: normal;
}

.booking-summary ul {
  overflow-wrap: anywhere;
}

.confirm-booking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 52px;
  min-width: 230px;
  padding: 14px 24px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.booking-step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.booking-step-actions--end { justify-content: flex-end; }
.booking-back {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #a3a9ab;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.booking-next,
.booking-submit {
  max-width: none;
  min-width: 210px;
  min-height: 50px;
  margin: 0;
  background: #f2b544;
  color: #090d10;
}
.booking-next:disabled,
.booking-submit:disabled { opacity: .38; cursor: not-allowed; }
.booking-loading { grid-column: 1 / -1; color: #969d99; }

.booking-success {
  text-align: center;
  align-content: center;
}
.booking-success.is-active { display: grid; justify-items: center; }
.booking-success-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid #f2b544;
  border-radius: 50%;
  color: #090d10;
  background: #f2b544;
  font-size: 34px;
}
.booking-success > h2 { text-align: center; }
.booking-success-summary {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 22px;
  text-align: left;
}
.booking-success-summary div { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid rgba(233,212,160,.12); background: #11171b; }
.booking-success-summary dt { color: #858d88; }
.booking-success-summary dd { margin: 0; color: #f4f0e8; }

@media (max-width: 767px) {
  .booking-form-wrap {
    inset: 88px 0 0;
    padding: 12px;
  }

  .booking-form {
    min-height: calc(100vh - 112px);
  }

  .booking-progress {
    height: 58px;
  }

  .booking-progress-step {
    gap: 0;
  }

  .booking-progress-step b { display: none; }
  .booking-progress-step span { font-size: 12px; }

  .booking-step {
    min-height: calc(100vh - 158px);
    padding: 22px 14px 16px;
  }

  .booking-step > h2 {
    margin-bottom: 18px;
    font-size: 34px;
  }

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

  .booking-master-card {
    min-height: 190px;
    padding: 10px;
  }

  .booking-master-info strong { font-size: 17px; }

  .booking-service-grid {
    grid-template-columns: 1fr;
    max-height: 330px;
  }

  .booking-service-card {
    min-height: 64px;
  }

  .booking-time-layout,
  .booking-contact-layout,
  .booking-client-fields {
    grid-template-columns: 1fr;
  }

  .booking-time-layout {
    gap: 10px;
  }

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

  .booking-client-fields {
    gap: 10px;
  }

  .booking-summary {
    min-height: 0;
  }

  .booking-summary {
    padding: 16px;
  }

  .booking-summary dl div {
    grid-template-columns: 1fr;
    row-gap: 3px;
  }

  .confirm-booking-button {
    width: 100%;
    min-width: 0;
  }

  .booking-step-actions {
    position: sticky;
    bottom: -16px;
    z-index: 4;
    margin: 16px -14px -16px;
    padding: 10px 14px;
    background: rgba(17,23,27,.98);
    border-top: 1px solid rgba(233,212,160,.10);
  }

  .booking-step-actions--end {
    position: static;
    margin: 16px 0 0;
    padding: 0;
    border: 0;
  }

  .booking-back {
    min-width: 74px;
  }

  .booking-next,
  .booking-submit {
    min-width: 0;
    flex: 1;
  }

  .booking-success-summary {
    grid-template-columns: 1fr;
  }
}

/* Admin */
.admin-body {
  background: #edf1f2;
  color: #172430;
  color-scheme: light;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #101d2b;
}

.admin-login-card {
  width: min(400px, 100%);
  display: grid;
  gap: 12px;
  padding: 36px;
  border: 1px solid rgba(245,241,232,.12);
  border-radius: 8px;
  background: #172430;
  color: #f5f1e8;
}

.admin-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  align-self: center;
  margin: 0 auto 6px;
}

.admin-header-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.admin-login-card p {
  margin: 0 0 12px;
  color: #aab8bf;
}

.admin-login-card label {
  font-size: 12px;
  font-weight: 800;
}

.admin-login-card input {
  height: 48px;
  border: 1px solid #455963;
  border-radius: 4px;
  background: #101d2b;
  color: #fff;
  padding: 0 12px;
}

.admin-login-card a {
  margin-top: 8px;
  color: #aab8bf;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
}

.admin-error {
  padding: 10px;
  border-radius: 4px;
  background: #5d2930;
  color: #fff;
  font-size: 13px;
}

.admin-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: #101d2b;
  color: #f5f1e8;
}

.admin-header div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.admin-header strong {
  color: #f2b84b;
  font-family: "Oswald", sans-serif;
  letter-spacing: .12em;
}

.admin-header a {
  color: #f5f1e8;
  font-size: 12px;
  text-decoration: none;
}

.admin-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px;
}

.admin-booking-nav {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.admin-booking-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #172430;
  color: #fff;
  text-decoration: none;
  transition: background-color .18s ease;
}

.admin-booking-nav a:hover {
  background: #2b4358;
}

.admin-archive-icon {
  position: relative;
  width: 16px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.admin-archive-icon::after {
  position: absolute;
  inset: 3px 4px auto;
  border-top: 1px solid currentColor;
  content: "";
}

.admin-booking-message {
  margin: 12px 16px;
}

.admin-booking-message[role="alert"] {
  color: #9b2929;
}

.archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-body .archive-actions button,
.admin-body .archive-secondary {
  height: auto;
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  font-size: 13px;
}

.admin-body .archive-restore { background: #286345; color: #fff; }
.admin-body .archive-purge { background: #9b2929; color: #fff; }
.admin-body .archive-secondary { background: #e7edef; color: #172430; }
.archive-actions button:disabled { opacity: .55; cursor: default; }

.archive-dialog {
  width: min(420px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 20px;
  border: 1px solid #d9e0df;
  border-radius: 10px;
  background: #fff;
  color: #172430;
  white-space: normal;
}

.archive-dialog::backdrop { background: rgba(9, 16, 22, .6); }
.archive-dialog h2 { margin: 0; font-size: 19px; }

.archive-dialog form,
.archive-dialog label {
  display: grid;
  gap: 8px;
}

.archive-dialog .archive-actions {
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .admin-booking-nav a { justify-content: center; width: 100%; }
  .admin-archive-table td:last-child { min-width: 166px; }
  .admin-archive-table .archive-actions { flex-direction: column; }
}

.admin-section {
  margin-bottom: 24px;
  border: 1px solid #d9e0df;
  border-radius: 8px;
  background: #fff;
}

.admin-section-heading {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #e5e9e8;
}

.admin-section-heading h1,
.admin-section-heading h2 {
  margin: 0;
  font-size: 20px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #edf0ef;
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  color: #6e7d84;
  font-size: 10px;
  text-transform: uppercase;
}

.admin-table select,
.admin-table input[type="date"],
.booking-edit input[name="time"] {
  height: 36px;
  border: 1px solid #ccd3d2;
  border-radius: 4px;
  background: #fff;
  color: #172430;
  padding: 0 8px;
}

.admin-table select option {
  background: #fff;
  color: #172430;
}

.booking-edit {
  display: inline-block;
  vertical-align: top;
}

.booking-status {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.booking-status button {
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid #ccd3d2;
  border-radius: 4px;
  background: #fff;
  color: #172430;
  font-size: 12px;
  cursor: pointer;
}

.booking-status button[aria-pressed="true"] {
  border-color: #172430;
  background: #172430;
  color: #fff;
}

.booking-edit form,
.booking-edit label {
  display: grid;
  gap: 4px;
}

.booking-edit form {
  margin-top: 8px;
  gap: 8px;
}

.booking-edit-services {
  max-width: 264px;
  margin: 0;
  padding: 8px;
  border: 1px solid #ccd3d2;
  border-radius: 4px;
  white-space: normal;
}

.booking-edit-services label {
  display: flex;
  align-items: start;
}

.booking-edit-services label[hidden] { display: none; }
.booking-edit-unavailable { color: #9b2929; }

.admin-empty {
  padding: 40px;
  color: #7c898f;
  text-align: center;
}

.masters-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 16px;
}

.masters-list a {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #e1e6e5;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}

.masters-list a:hover,
.masters-list a:focus-visible {
  background: #edf3f7;
  border-color: #7995aa;
}

.masters-list span,
.masters-list small {
  color: #75858c;
}

.master-selected,
.master-status {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 6px;
  background: #edf3f7;
  color: #233d52;
}

.master-controls,
.master-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
}

.master-controls {
  justify-content: space-between;
  padding: 16px;
}

.master-filters label {
  display: grid;
  gap: 4px;
  font-size: 13px;
}

.master-filters select,
.master-panel .archive-dialog input[type="text"] {
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid #ccd3d2;
  border-radius: 6px;
  background: #fff;
  color: #172430;
}

.master-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: #172430;
  color: #fff;
  transition: filter .18s ease;
}

.master-button:hover:not(:disabled) { filter: brightness(1.2); }
.master-danger { background: #9b2929; }
.master-button:disabled { opacity: .5; cursor: default; }

.master-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0 16px 16px;
}

.master-stats div {
  padding: 12px;
  border: 1px solid #d9e0df;
  border-radius: 8px;
}

.master-stats dt { font-size: 13px; }
.master-stats dd { margin: 6px 0 0; font-size: 22px; font-weight: 700; }
.master-revenue { color: #286345; }
.master-cancellations { color: #9b2929; }
.master-row-completed .master-status { background: #e5f3ea; color: #286345; }
.master-row-cancelled .master-status { background: #f9e9e9; color: #9b2929; }

@media (max-width: 600px) {
  .master-filters { width: 100%; }
  .master-filters label { flex: 1 1 135px; }
  .master-controls > button { width: 100%; }
  .master-stats { grid-template-columns: repeat(auto-fit, minmax(126px, 1fr)); }
}

.schedule-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px;
}

.schedule-list form {
  display: grid;
  grid-template-columns: 70px 1fr 1fr auto;
  align-items: center;
  gap: 8px;
}

.schedule-list input {
  height: 38px;
  border: 1px solid #ccd3d2;
  border-radius: 4px;
  padding: 0 8px;
}

.schedule-list button,
.booking-actions button,
.booking-edit summary {
  height: 38px;
  border: 0;
  border-radius: 4px;
  background: #172430;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

.booking-edit summary {
  padding: 0 10px;
  line-height: 38px;
}

@media (max-width: 700px) {
  .booking-form-wrap {
    inset: 88px 0 0;
    padding: 24px 16px;
  }
  .booking-fields,
  .booking-client-fields {
    grid-template-columns: 1fr;
  }
  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .masters-list,
  .schedule-list {
    grid-template-columns: 1fr;
  }
  .schedule-list form {
    grid-template-columns: 60px 1fr 1fr;
  }
  .schedule-list button {
    grid-column: 1 / -1;
  }
  .admin-main {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Stage 1: cinematic industrial hero and header */
:root {
  --navy: #090d10;
  --graphite: #11171b;
  --amber: #f2b544;
  --milk: #f4f0e8;
  --blue: #a3a9ab;
  --line: rgba(233, 212, 160, .14);
  --ink: #090d10;
}

.header {
  height: 82px;
  border-bottom: 1px solid rgba(233, 212, 160, .10);
  background: rgba(9, 13, 16, .82);
  backdrop-filter: blur(14px);
}

.header.is-scrolled {
  background: rgba(9, 13, 16, .96);
  border-bottom-color: rgba(233, 212, 160, .16);
}

.header-inner {
  width: min(1440px, calc(100% - 64px));
  max-width: none;
  grid-template-columns: 260px 1fr 180px;
  height: 82px;
  gap: 24px;
}

.brand { gap: 9px; }
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: contrast(1.05);
}
.brand-copy strong {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 18px;
}
.brand-copy small { color: #9d9d95; }

.nav {
  justify-content: center;
  gap: clamp(16px, 2.1vw, 34px);
}
.nav a {
  position: relative;
  color: #d8d6cf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.nav a::after {
  position: absolute;
  width: 0;
  height: 1px;
  left: 0;
  bottom: -9px;
  background: var(--amber);
  content: "";
  transition: width .2s ease;
}
.nav a:hover::after { width: 100%; }

.header-book {
  width: 180px;
  min-height: 48px;
  background: var(--amber);
  color: #090d10;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(115deg, rgba(9,13,16,.96) 0%, rgba(9,13,16,.90) 44%, rgba(9,13,16,.18) 72%, rgba(9,13,16,.62) 100%),
    #090d10;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 82px 0 0;
  background:
    linear-gradient(90deg, transparent 49.92%, rgba(233,212,160,.035) 50%, transparent 50.08%);
  background-size: 56px 56px;
  content: "";
  opacity: .38;
}

.hero::after {
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 1px;
  right: -130px;
  top: 175px;
  background: linear-gradient(90deg, transparent, rgba(242,181,68,.72), transparent);
  transform: rotate(-38deg);
  content: "";
  opacity: .7;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 64px));
  min-height: 100svh;
  display: grid;
  grid-template-columns: 54% 46%;
  align-items: center;
  gap: 0;
  margin: 0 auto;
  padding: 82px 0 118px;
  text-align: left;
}

.hero-copy {
  max-width: 760px;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 56px 20px 0;
  animation: hero-rise .75s cubic-bezier(.22,1,.36,1) both;
}

.hero .eyebrow {
  justify-content: flex-start;
  margin: 0 0 24px;
  color: #a8aaa4;
  font-size: 10px;
  letter-spacing: .22em;
}
.hero .eyebrow span { width: 44px; }

.hero h1,
.hero h1 span,
.hero h1 strong,
.hero h1 em {
  display: block;
  margin: 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(64px, 6.1vw, 88px);
  line-height: .91;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.hero h1 span {
  color: #f4f0e8;
  animation: hero-rise .72s .08s both;
}
.hero h1 strong {
  color: #f4f0e8;
  font-weight: 700;
  animation: hero-rise .72s .16s both;
}
.hero h1 em {
  margin-top: 2px;
  color: var(--amber);
  font-style: normal;
  animation: hero-rise .72s .24s both;
}

.hero-lead {
  max-width: 520px;
  margin: 30px 0 34px;
  color: #bdc0ba;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.58;
  animation: hero-rise .72s .30s both;
}

.hero-actions {
  justify-content: flex-start;
  gap: 12px;
  animation: hero-rise .72s .38s both;
}
.hero-actions .button {
  min-height: 58px;
  padding-inline: 24px;
  border-radius: 2px;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 13px;
  letter-spacing: .11em;
}
.hero-actions .button-accent {
  min-width: 238px;
  background: var(--amber);
  color: #090d10;
  box-shadow: 0 16px 38px rgba(0,0,0,.16);
}
.hero-actions .button-accent:hover { background: #ffd16a; }
.hero-actions .button-ghost {
  min-width: 178px;
  border: 1px solid rgba(244,240,232,.32);
  background: rgba(9,13,16,.28);
  backdrop-filter: blur(4px);
}
.button-arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.hero-actions .button-accent:hover .button-arrow { transform: translateX(5px); }

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 650px;
  width: 100%;
  margin-top: 38px;
  border-top: 1px solid rgba(233,212,160,.12);
  border-bottom: 1px solid rgba(233,212,160,.12);
  animation: hero-rise .72s .46s both;
}
.hero-features div {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  min-height: 68px;
  gap: 10px;
  padding: 0 16px;
  border-right: 1px solid rgba(233,212,160,.12);
  color: #d9d7ce;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-features div:last-child { border-right: 0; }
.hero-features svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-media {
  position: absolute;
  z-index: -1;
  width: 48%;
  height: calc(100% - 82px);
  right: 0;
  bottom: 82px;
  overflow: hidden;
  background: #11171b;
}
.hero-media::before {
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(90deg, #090d10 0%, rgba(9,13,16,.72) 8%, rgba(9,13,16,.08) 32%, rgba(9,13,16,.10) 100%),
    linear-gradient(0deg, rgba(9,13,16,.52) 0%, transparent 28%);
  content: "";
}
.hero-media::after {
  position: absolute;
  z-index: 4;
  width: 1px;
  height: 72%;
  right: 38px;
  top: 16%;
  background: linear-gradient(transparent, rgba(233,212,160,.34), transparent);
  content: "";
}
.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 54% center;
  filter: saturate(.72) contrast(1.12) brightness(.78);
  animation: hero-image .95s cubic-bezier(.22,1,.36,1) both;
}
.hero-media-vignette {
  position: absolute;
  z-index: 2;
  inset: 0;
  box-shadow: inset 0 0 110px rgba(9,13,16,.56);
  pointer-events: none;
}
.hero-media-mark {
  position: absolute;
  z-index: 5;
  right: 28px;
  bottom: 118px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(233,212,160,.40);
  color: #e9d4a0;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
}
.hero-media-mark i {
  position: absolute;
  width: 28px;
  height: 1px;
  background: var(--amber);
  transform: rotate(-38deg);
}
.hero-media p {
  position: absolute;
  z-index: 5;
  right: 22px;
  bottom: 82px;
  margin: 0;
  color: rgba(244,240,232,.60);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}
@keyframes hero-image {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

.hero-bottom {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  height: 82px;
  border-top: 1px solid rgba(233,212,160,.12);
  background: rgba(9,13,16,.86);
  backdrop-filter: blur(10px);
}
.hero-bottom-inner {
  width: min(1440px, calc(100% - 64px));
  height: 82px;
  display: grid;
  grid-template-columns: 1.45fr 1fr .7fr 120px;
  align-items: center;
  margin: 0 auto;
}
.hero-bottom-inner > div {
  display: grid;
  min-height: 42px;
  align-content: center;
  gap: 5px;
  border-right: 1px solid rgba(233,212,160,.12);
  padding: 0 26px;
}
.hero-bottom-inner > div:first-child { padding-left: 0; }
.hero-bottom-inner small {
  color: #858b88;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-bottom-inner strong {
  color: #dedfd8;
  font-size: 12px;
  font-weight: 700;
}
.hero-bottom .scroll-indicator {
  width: 120px;
  height: 82px;
  margin: 0;
  border: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-decoration: none;
  transform: none;
}
.hero-bottom .scroll-indicator span {
  position: static;
  width: auto;
  height: auto;
  background: none;
  color: #9fa59f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: none;
  animation: none;
}
.hero-bottom .scroll-indicator i {
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--amber);
  border-bottom: 1px solid var(--amber);
  transform: rotate(45deg);
  animation: scroll-arrow 1.8s ease-in-out infinite;
}
@keyframes scroll-arrow {
  0%, 100% { transform: translateY(-3px) rotate(45deg); }
  50% { transform: translateY(4px) rotate(45deg); }
}

@media (max-width: 1180px) {
  .header-inner {
    width: calc(100% - 40px);
    grid-template-columns: 210px 1fr 160px;
  }
  .nav { gap: 14px; }
  .nav a { font-size: 10px; }
  .header-book { width: 160px; }
  .hero-grid {
    width: calc(100% - 40px);
    grid-template-columns: 58% 42%;
  }
  .hero-copy { padding-right: 30px; }
  .hero h1 { font-size: clamp(58px, 6.3vw, 74px); }
  .hero-features { max-width: 580px; }
  .hero-bottom-inner { width: calc(100% - 40px); }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .nav {
    position: absolute;
    top: 82px;
    right: 20px;
  }
  .header-book { display: none; }
  .hero-grid {
    grid-template-columns: 56% 44%;
  }
  .hero-copy { padding-right: 20px; }
  .hero h1 { font-size: clamp(52px, 7vw, 64px); }
  .hero-media { width: 44%; }
  .hero-features div {
    grid-template-columns: 28px 1fr;
    padding: 0 8px;
    font-size: 9px;
  }
  .hero-bottom-inner {
    grid-template-columns: 1.25fr 1fr .65fr;
  }
  .hero-bottom .scroll-indicator { display: none; }
}

@media (max-width: 700px) {
  .header { height: 72px; }
  .header-inner {
    width: calc(100% - 32px);
    height: 72px;
  }
  .brand-logo { width: 52px; height: 52px; }
  .brand-copy strong { font-size: 16px; }
  .nav {
    top: 72px;
    right: 16px;
  }
  .hero {
    min-height: 780px;
  }
  .hero::before { inset: 72px 0 0; }
  .hero::after { display: none; }
  .hero-grid {
    width: calc(100% - 32px);
    min-height: 780px;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    padding: 120px 0 148px;
  }
  .hero-copy {
    max-width: 520px;
    padding: 0;
  }
  .hero .eyebrow {
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: clamp(48px, 15vw, 64px);
    line-height: .94;
  }
  .hero-lead {
    margin: 22px 0 26px;
    font-size: 16px;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-features {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }
  .hero-features div {
    min-height: 50px;
    border-right: 0;
    border-bottom: 1px solid rgba(233,212,160,.12);
  }
  .hero-features div:last-child { border-bottom: 0; }
  .hero-media {
    z-index: -2;
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
    opacity: .24;
  }
  .hero-media::before {
    background:
      linear-gradient(180deg, rgba(9,13,16,.55) 0%, rgba(9,13,16,.90) 62%, rgba(9,13,16,.98) 100%);
  }
  .hero-media::after,
  .hero-media-mark,
  .hero-media p { display: none; }
  .hero-media img {
    object-position: center;
  }
  .hero-bottom {
    height: 128px;
  }
  .hero-bottom-inner {
    width: calc(100% - 32px);
    height: 128px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-bottom-inner > div {
    padding: 0 10px;
  }
  .hero-bottom-inner > div:nth-child(1) {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid rgba(233,212,160,.12);
  }
  .hero-bottom-inner > div:nth-child(2) {
    padding-left: 0;
  }
  .hero-bottom-inner > div:nth-child(3) {
    border-right: 0;
  }
  .hero-bottom .scroll-indicator { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero h1 span,
  .hero h1 strong,
  .hero h1 em,
  .hero-lead,
  .hero-actions,
  .hero-features,
  .hero-media img,
  .hero-bottom .scroll-indicator i {
    animation: none;
  }
}

@media (min-width: 981px) {
  .header-inner { grid-template-columns: 220px 1fr 180px; }
  .nav {
    position: static;
    width: auto;
    display: flex;
    visibility: visible;
    opacity: 1;
    transform: none;
    border: 0;
    background: transparent;
    padding: 0;
  }
  .nav a {
    padding: 0;
    border: 0;
  }
  .menu-toggle { display: none; }
  .header-book { display: inline-flex; }
}

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav {
    position: absolute;
    z-index: 120;
    top: 82px;
    right: 20px;
    width: 320px;
    display: grid;
    gap: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .nav a {
    padding: 15px;
    border-bottom: 1px solid rgba(233,212,160,.12);
  }
  .nav a::after { display: none; }
  .menu-toggle {
    display: grid;
  }
  .header-book { display: none; }
}

/* Stage 2: services catalogue */
.services {
  position: relative;
  border-top: 1px solid rgba(233,212,160,.10);
  background:
    radial-gradient(ellipse at 82% 18%, rgba(242,181,68,.08), transparent 32rem),
    linear-gradient(135deg, rgba(233,212,160,.025), transparent 34%),
    #090d10;
}

.services .container {
  width: min(1440px, calc(100% - 64px));
  max-width: none;
}

.services .section-heading {
  align-items: end;
  margin-bottom: 38px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(233,212,160,.12);
}

.services .section-heading .eyebrow {
  justify-content: flex-start;
  color: #979e9b;
}

.services .section-heading h2 {
  max-width: 760px;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(44px, 5vw, 68px);
  line-height: .96;
  letter-spacing: -.04em;
}

.services .section-heading h2::after {
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 18px;
  background: #f2b544;
  content: "";
}

.services .section-heading > p {
  max-width: 360px;
  color: #999f9c;
  font-size: 12px;
  line-height: 1.7;
  text-align: right;
}

.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 0;
  background: transparent;
}

.service-card {
  position: relative;
  min-height: 220px;
  grid-template-columns: 1fr;
  gap: 14px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(233,212,160,.16);
  border-radius: 3px;
  background: #11171b;
  box-shadow: 0 18px 42px rgba(0,0,0,.2);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.service-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(9,13,16,.96) 0%, rgba(9,13,16,.86) 42%, rgba(9,13,16,.58) 100%),
    linear-gradient(0deg, rgba(9,13,16,.62), transparent 72%),
    var(--service-image);
  background-position: center, center, center;
  background-size: cover;
  content: "";
  opacity: .8;
  transform: scale(1.015);
  transition: opacity .35s ease, transform .55s ease;
}

.service-card::before {
  position: absolute;
  z-index: 2;
  width: 0;
  height: 2px;
  left: 0;
  top: -1px;
  background: #f2b544;
  content: "";
  transition: width .28s ease;
}

.service-card:hover {
  z-index: 2;
  border-color: rgba(242,181,68,.52);
  box-shadow: 0 24px 48px rgba(0,0,0,.34), 0 0 24px rgba(242,181,68,.07);
  transform: translateY(-4px);
}

.service-card:hover::before { width: 100%; }

.service-card:hover::after {
  opacity: 1;
  transform: scale(1.055);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card--feature {
  grid-column: 1 / -1;
  min-height: 238px;
}

.service-card--feature::after {
  background-image:
    linear-gradient(90deg, rgba(9,13,16,.97) 0%, rgba(9,13,16,.88) 35%, rgba(9,13,16,.43) 100%),
    linear-gradient(0deg, rgba(9,13,16,.62), transparent 78%),
    var(--service-image);
  background-position: center, center, 50% 58%;
}

.service-number {
  color: #f2b544;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
  padding-top: 2px;
}

.service-card h3 {
  margin: 0 0 8px;
  color: #f4f0e8;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 24px;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.service-card p {
  max-width: 420px;
  color: #9fa7a4;
  font-size: 13px;
  line-height: 1.65;
}

.service-footer {
  align-items: end;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(233,212,160,.18);
}

.service-footer strong {
  color: #f2b544;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 29px;
}

.service-footer button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #f2b544;
  border-radius: 2px;
  background: #f2b544;
  color: #090d10;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.service-footer button:hover {
  border-color: #f4f0e8;
  background: #f4f0e8;
  transform: translateX(2px);
}

.service-footer button:focus-visible {
  outline: 2px solid #f4f0e8;
  outline-offset: 3px;
}

.source-note {
  margin-top: 18px;
  color: #7f8985;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .services .container {
    width: calc(100% - 32px);
  }

  .services .section-heading {
    display: block;
  }

  .services .section-heading h2 {
    font-size: 40px;
  }

  .services .section-heading > p {
    max-width: none;
    margin-top: 18px;
    text-align: left;
  }

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

  .service-card {
    min-height: 170px;
    grid-template-columns: 44px 1fr;
    padding: 20px 14px;
  }

  .service-card--feature {
    grid-column: auto;
    min-height: 190px;
  }

  .service-card h3 {
    font-size: 21px;
  }

  .service-footer strong {
    font-size: 25px;
  }

  .service-footer button { min-height: 42px; }
}

@media (max-width: 767px) {
  .services-grid {
    gap: 10px;
  }

  .service-card,
  .service-card--feature {
    box-sizing: border-box;
    min-width: 0;
    min-height: 118px;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 12px 12px;
    border-radius: 3px;
  }

  .service-card::after {
    opacity: .56;
  }

  .service-card--feature::after {
    background-image:
      linear-gradient(90deg, rgba(9,13,16,.95) 0%, rgba(9,13,16,.86) 58%, rgba(9,13,16,.68) 100%),
      linear-gradient(0deg, rgba(9,13,16,.68), transparent 78%),
      var(--service-image);
  }

  .service-copy {
    min-width: 0;
  }

  .service-title-row {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
  }

  .service-card h3 {
    min-width: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .service-description {
    max-width: none;
    max-height: none;
    min-width: 0;
    margin: 5px 0 0;
    color: #b1b7b3;
    font-size: 12px;
    line-height: 1.45;
    overflow: visible;
    opacity: 1;
  }

  .service-footer {
    grid-column: auto;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 9px;
    padding-top: 9px;
  }

  .service-footer strong {
    min-width: 0;
    white-space: nowrap;
    font-size: 22px;
    line-height: 1;
  }

  .service-footer button {
    flex: 0 0 auto;
    min-width: 118px;
    min-height: 44px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: .06em;
  }

  .service-card.is-description-open {
    min-height: 150px;
  }

  @media (prefers-reduced-motion: reduce) {
    .service-description,
    .service-card {
      transition: none;
    }
  }
}

/* Stage 2: master cards */
.masters {
  border-top: 1px solid rgba(233,212,160,.10);
  background:
    radial-gradient(circle at 78% 20%, rgba(233,212,160,.035), transparent 22rem),
    #090d10;
}

.masters .container {
  width: min(1440px, calc(100% - 64px));
  max-width: none;
}

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

.master-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(233,212,160,.12);
  background: #11171b;
  transition: transform .25s ease, border-color .25s ease;
}

.master-card:hover {
  border-color: rgba(242,181,68,.36);
  transform: translateY(-4px);
}

.master-portrait {
  position: relative;
  height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(233,212,160,.07), transparent 50%),
    linear-gradient(180deg, #1d252b, #090d10);
}

.master-portrait::before {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(233,212,160,.14);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 38px rgba(233,212,160,.018);
}

.master-portrait span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid rgba(242,181,68,.48);
  border-radius: 50%;
  color: #e9d4a0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 64px;
  line-height: 1;
  background: rgba(9,13,16,.30);
}

.master-portrait i {
  position: absolute;
  width: 240px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,181,68,.42), transparent);
  transform: rotate(-38deg);
}

.master-portrait--ilya {
  background: #11171b;
}

.master-portrait--mikhail,
.master-portrait--ksenia,
.master-portrait--roman {
  background: #11171b;
}

.master-portrait--ilya::before,
.master-portrait--mikhail::before,
.master-portrait--ksenia::before,
.master-portrait--roman::before { display: none; }

.master-portrait--ilya img,
.master-portrait--mikhail img,
.master-portrait--ksenia img,
.master-portrait--roman img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 400ms ease;
}

.master-portrait--ilya::after,
.master-portrait--mikhail::after,
.master-portrait--ksenia::after,
.master-portrait--roman::after {
  position: absolute;
  inset: 48% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(9,13,16,.72));
  content: "";
  pointer-events: none;
}

.master-card:hover .master-portrait--ilya img,
.master-card:hover .master-portrait--mikhail img,
.master-card:hover .master-portrait--ksenia img,
.master-card:hover .master-portrait--roman img {
  transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
  .master-portrait--ilya img,
  .master-portrait--mikhail img,
  .master-portrait--ksenia img,
  .master-portrait--roman img {
    transition: none;
  }

  .master-card:hover .master-portrait--ilya img,
  .master-card:hover .master-portrait--mikhail img,
  .master-card:hover .master-portrait--ksenia img,
  .master-card:hover .master-portrait--roman img {
    transform: none;
  }
}

.master-info {
  position: relative;
  min-height: 110px;
  padding: 18px 18px 14px;
  border-top: 1px solid rgba(233,212,160,.12);
}

.master-info h3 {
  margin: 0 0 6px;
  color: #f4f0e8;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 24px;
  text-transform: uppercase;
}

.master-info p {
  margin: 0 0 12px;
  color: #9da49f;
  font-size: 12px;
}

.master-info button {
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f2b544;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.master-info button span {
  display: inline-block;
  margin-left: 6px;
  transition: transform .2s ease;
}

.master-info button:hover span { transform: translateX(5px); }

@media (max-width: 980px) {
  .masters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .masters .container {
    width: calc(100% - 32px);
  }

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

  .master-card {
    min-height: 340px;
  }

  .master-portrait {
    height: 230px;
  }
}

/* Stage 2: remaining sections */
.about,
.reviews,
.contacts,
.footer {
  border-color: rgba(233,212,160,.12);
}

.about {
  background:
    linear-gradient(135deg, rgba(233,212,160,.025), transparent 35%),
    #11171b;
}

.about-grid {
  width: min(1440px, calc(100% - 64px));
  max-width: none;
  grid-template-columns: 46% 54%;
  gap: 54px;
  margin-inline: auto;
}

.about-art {
  height: 480px;
  border: 1px solid rgba(233,212,160,.12);
  background:
    linear-gradient(135deg, rgba(233,212,160,.04), transparent 45%),
    #090d10;
}

.about-monogram {
  border-color: rgba(242,181,68,.48);
  color: #e9d4a0;
  background: rgba(9,13,16,.30);
}

.about-copy h2,
.reviews-inner h2,
.contacts h2,
.section-heading h2 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
}

.about-copy h2 em { color: #f2b544; }

.reviews {
  background: #090d10;
}

.reviews-inner {
  width: min(1440px, calc(100% - 64px));
  max-width: none;
  margin-inline: auto;
  grid-template-columns: 45% 55%;
}

.reviews-inner h2 {
  color: #f4f0e8;
  font-size: clamp(72px, 8vw, 112px);
}

.reviews-inner h2 em { color: #f2b544; }

.reviews-copy {
  border-left: 1px solid rgba(233,212,160,.12);
  padding-left: 42px;
}

.contacts {
  background:
    linear-gradient(135deg, rgba(233,212,160,.022), transparent 35%),
    #11171b;
}

.contacts-grid {
  width: min(1440px, calc(100% - 64px));
  max-width: none;
  grid-template-columns: 42% 58%;
  margin-inline: auto;
}

.contact-copy dl {
  border-top: 1px solid rgba(233,212,160,.12);
}

.contact-copy dl div {
  border-bottom: 1px solid rgba(233,212,160,.12);
}

.map-wrap {
  height: 470px;
  overflow: hidden;
  border: 1px solid rgba(233,212,160,.12);
  background: #090d10;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .map-wrap {
    height: 320px;
  }
}

.footer {
  background: #090d10;
  border-top: 1px solid rgba(233,212,160,.12);
}

.footer-inner {
  width: min(1440px, calc(100% - 64px));
  max-width: none;
  margin-inline: auto;
}

@media (max-width: 700px) {
  .about-grid,
  .reviews-inner,
  .contacts-grid,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .about-grid,
  .reviews-inner,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .reviews-copy {
    border-left: 0;
    padding-left: 0;
  }
}
.header-cabinet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.client-user-icon {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
}

.client-user-icon::before,
.client-user-icon::after {
  position: absolute;
  content: "";
  border: 1px solid currentColor;
}

.client-user-icon::before { inset: 0 4px 7px; border-radius: 50%; }
.client-user-icon::after { inset: 8px 1px 0; border-radius: 6px 6px 2px 2px; }

@media (min-width: 981px) and (max-width: 1200px) {
  .header-inner .nav { gap: 12px; }
}

@media (max-width: 980px) {
  .header-inner .nav { max-width: calc(100vw - 40px); }
}

.client-cabinet {
  width: min(760px, calc(100% - 32px));
  margin: 24px auto 56px;
}

.client-cabinet-nav,
.client-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.client-cabinet-nav { justify-content: space-between; margin-bottom: 18px; }
.client-cabinet-nav a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.client-cabinet-nav img { width: 44px; height: 44px; object-fit: contain; }

.client-cabinet-card,
.client-access-card,
.client-dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111b24;
  color: var(--milk);
}

.client-cabinet-card { padding: clamp(16px, 4vw, 30px); }
.client-cabinet-card h1,
.client-dialog h2 { margin-top: 0; font-family: "Oswald", sans-serif; }
.client-access-card { margin: 18px 0; padding: 14px; text-align: center; }
.client-access-card p { margin: 6px 0 10px; }
.client-access-card [data-copy-status]:empty { display: none; }
.client-access-card [data-access-code] {
  display: block;
  color: #f2b544;
  font: 700 clamp(26px, 8vw, 44px)/1.3 "Oswald", sans-serif;
  letter-spacing: .16em;
  user-select: all;
}

.client-actions .booking-action { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.client-danger {
  padding: 10px 14px;
  border: 1px solid #ad5656;
  border-radius: 4px;
  background: #732a2a;
  color: #fff;
}

.client-visit { display: flex; align-items: start; flex-wrap: wrap; gap: 18px; margin-bottom: 22px; }
.client-master-photo { width: 145px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.client-visit-details { flex: 1 1 250px; min-width: 0; margin: 0; display: grid; gap: 11px; }
.client-visit-details div { display: grid; grid-template-columns: minmax(100px, 32%) 1fr; gap: 10px; }
.client-visit-details dt { color: #a3a9ab; }
.client-visit-details dd { margin: 0; min-width: 0; overflow-wrap: break-word; }
.client-visit-details ul { margin: 0; padding-inline-start: 18px; }
.client-status-confirmed, .client-status-completed { color: #a6d9a5; }
.client-status-cancelled { color: #ff9e9e; }

.client-dialog { width: min(580px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 18px; }
.client-dialog::backdrop { background: rgba(0, 0, 0, .65); }
.client-dialog form, .client-login-form { display: grid; gap: 12px; }
.client-dialog label:not(.booking-service-card), .client-login-form label { display: grid; gap: 5px; }
.client-dialog input:not([type="checkbox"]), .client-dialog select, .client-login-form input {
  border: 1px solid #5c6a74;
  border-radius: 4px;
  background: #11171b;
  color: #f4f0e8;
  padding: 9px;
  min-height: 39px;
}

.client-login-form input { max-width: 240px; letter-spacing: .16em; text-transform: uppercase; }
.client-login-form .booking-action { justify-self: start; }
.client-dialog fieldset { min-width: 0; border: 1px solid var(--line); }
.client-service-options { display: grid; gap: 6px; }
.client-service-options .booking-service-card { grid-template-columns: auto 1fr; min-height: 44px; }

.admin-code-search { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; margin: 12px 16px; }
.admin-code-search label { display: grid; gap: 4px; font-size: 13px; }
.admin-code-search input { width: 120px; min-height: 38px; border: 1px solid #ccd3d2; border-radius: 4px; padding: 8px; text-transform: uppercase; }
.admin-change-source { font-size: 12px; margin-bottom: 6px; }
.admin-history-event { padding: 16px; border-bottom: 1px solid #d9e0df; }
.admin-history-event h2 { margin: 0; font-size: 17px; }
.admin-history-values { display: flex; flex-wrap: wrap; gap: 16px; }
.admin-history-values > div { flex: 1 1 210px; padding: 12px; border: 1px solid #d9e0df; border-radius: 6px; }
.admin-history-values dd { margin: 0 0 5px; overflow-wrap: anywhere; }

@media (max-width: 480px) {
  .client-actions > * { flex: 1 1 auto; }
  .client-visit-details div { grid-template-columns: 1fr; gap: 3px; }
}
.master-card-links .master-report-link {
  margin-top: 5px;
  padding: 7px 10px;
  color: #172430;
  font-size: 12px;
}

.report-body {
  background: #090d10;
  color: #f4f0e8;
  color-scheme: dark;
}

.report-main > * { margin-block: 0 15px; }
.report-main h1 { font: 700 clamp(24px, 4vw, 36px)/1.2 "Oswald", sans-serif; }
.report-main h2 { margin: 0 0 10px; font-size: 16px; }
.report-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid #30383d;
  border-radius: 8px;
  background: #11171b;
}

.report-heading, .report-links, .report-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.report-heading { justify-content: space-between; }
.report-heading h2 { margin: 0; }
.report-links a { color: #f2b544; }
.report-filters { align-items: end; }
.report-filters label { display: grid; gap: 4px; min-width: 0; font-size: 13px; }
.report-filters :is(input,select) {
  min-height: 37px;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid #48545b;
  border-radius: 5px;
  background: #1d252b;
  color: #f4f0e8;
}
.report-filters input { width: 138px; }
.report-filters .report-range-toggle input { width: auto; min-height: auto; accent-color: #f2b544; }
.report-range-toggle { align-self: center; }
.report-custom-range {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.report-custom-range[hidden] { display: none; }
.report-date-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.report-primary {
  min-height: 37px;
  border: 0;
  border-radius: 5px;
  padding: 5px 12px;
  background: #f2b544;
  color: #090d10;
  font-weight: 700;
}
.report-card details, .report-card summary { cursor: pointer; }
.report-card > summary + form { margin-top: 12px; }
.report-metrics, .report-charts { display: grid; gap: 10px; }
.report-metrics { grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); }
.report-charts { grid-template-columns: repeat(2,minmax(0,1fr)); }
.report-metrics :is(dt, small), .report-note { color: #a3a9ab; }
.report-metrics dt { font-size: 13px; }
.report-metrics dd { margin: 7px 0; color: #f2b544; font-size: 23px; font-weight: 700; }
.report-note { font-size: 13px; }
.report-line { display: block; width: 100%; height: 104px; }
.report-bars { margin: 0; padding: 0; list-style: none; max-height: 255px; overflow: auto; }
.report-bars li {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(55px, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 5px 0;
  font-size: 13px;
}
.report-bars meter { width: 100%; height: 14px; accent-color: #f2b544; }
.report-bars meter::-webkit-meter-optimum-value { background: #f2b544; }
.report-bars meter::-moz-meter-bar { background: #f2b544; }
.report-main .admin-table :is(th,td) { border-color: #30383d; }
.report-main .admin-table th { color: #a3a9ab; }
.report-main .admin-table details p { margin: 4px 0; }
.report-main .admin-table-wrap + nav { margin-top: 12px; }
@media (max-width: 640px) {
  .report-charts { grid-template-columns: minmax(0,1fr); }
  .report-metrics { grid-template-columns: repeat(auto-fit,minmax(132px,1fr)); }
}
