:root {
  color-scheme: light;
  --bg: #f7f6f4;
  --surface: #ffffff;
  --surface-2: #eeece8;
  --border: #e0ded9;
  --text: #17181c;
  --text-dim: #55585f;
  --text-mute: #86898f;
  --chrome: #3a3d44;
  --green: #1f7a34;
  --green-dark: #145a26;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0a0c;
  --surface: #161719;
  --surface-2: #111214;
  --border: #2b2c30;
  --text: #f4f5f6;
  --text-dim: #9a9ea3;
  --text-mute: #5f6266;
  --chrome: #c6cbd0;
  --green: #2ba847;
  --green-dark: #1c7a34;
}

* { box-sizing: border-box; }
/* Any element using [hidden] must actually hide, even if an author rule
   elsewhere sets its own display (author CSS beats the UA [hidden] rule at
   equal specificity - bit us once already on .osc-chat-panel). */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', -apple-system, sans-serif;
  line-height: 1.5;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin: 0 0 12px;
}
p { margin: 0 0 12px; color: var(--text-dim); }

a { color: var(--red); text-decoration: none; }
a:hover { color: #ff443a; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none !important;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { border-color: var(--chrome); color: var(--chrome); background: transparent; }
.btn-outline:hover { border-color: var(--red); color: var(--red); background: transparent; }
.btn-call { background: var(--red); color: #fff; padding: 10px 18px; font-size: 15px; }
.btn-call:hover { background: var(--green-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-text { border-color: var(--chrome); color: var(--chrome); background: transparent; padding: 9px 16px; font-size: 15px; }
.btn-text:hover { border-color: var(--red); color: var(--red); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 20px;
  flex-wrap: wrap;
}
.brand-logo { height: 56px; display: block; background: #0a0a0c; padding: 5px 9px; border-radius: 7px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--chrome); font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; }
.nav a:hover { color: var(--red); }

/* Hero */
.hero {
  padding: 90px 0 60px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(226,36,29,0.16), transparent 65%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero-logo { max-width: 320px; width: 100%; height: auto; margin: 0 auto 28px; display: block; border-radius: 18px; box-shadow: 0 14px 40px rgba(0,0,0,0.18); }
.hero h1 { font-size: clamp(30px, 5.5vw, 56px); max-width: 780px; margin: 0 auto 18px; }
.hero-sub { max-width: 560px; margin: 0 auto 30px; font-size: 18px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 40px auto 0;
}
.stat-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 10px;
  text-align: center;
}
.stat-chip strong {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--red);
}
.stat-chip span { display: block; font-size: 12px; color: var(--text-dim); margin-top: 4px; }

/* Services */
.services { padding: 70px 0; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.service-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  text-decoration: none !important;
}
.service-card h3 { color: var(--text); font-size: 18px; text-transform: none; }
.service-card:hover { border-color: var(--red); }
.service-card-link { color: var(--red); font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 14px; }

/* Reviews */
.reviews { padding: 70px 0; background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rating-line { color: var(--red); font-weight: 600; font-size: 18px; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.review-card {
  margin: 0;
  padding: 22px;
  background: var(--surface);
  border-left: 3px solid var(--red);
  border-radius: 6px;
}
.review-card p { color: var(--text); font-style: italic; }
.review-card cite { color: var(--text-dim); font-style: normal; font-size: 13px; }

/* About */
.about { padding: 70px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-stats { display: flex; flex-direction: column; gap: 14px; }
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}
.stat strong { display: block; font-family: 'Rajdhani', sans-serif; font-size: 24px; color: var(--red); }
.stat span { color: var(--text-dim); font-size: 14px; }

/* Contact */
.contact { padding: 70px 0 0; background: var(--surface-2); border-top: 1px solid var(--border); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-bottom: 60px; }
.contact-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.quote-form { display: flex; flex-direction: column; gap: 14px; }
.quote-form label { font-size: 14px; color: var(--text-dim); display: flex; flex-direction: column; gap: 6px; }
.quote-form input, .quote-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--red); }
.form-note { font-size: 13px; margin-top: -4px; }

.form-confirm {
  margin-top: 10px;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 6px;
}
.form-confirm-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.form-confirm-text {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  margin: 0 0 14px;
}
.form-confirm-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form-confirm-actions .btn { padding: 10px 18px; font-size: 14px; }
.form-confirm-note { font-size: 12px; color: var(--text-mute); margin: 12px 0 0; }

.map-embed iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}
[data-theme="dark"] .map-embed iframe {
  filter: grayscale(0.3) invert(0.9) contrast(0.9);
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-logo { height: 44px; background: #0a0a0c; padding: 4px 7px; border-radius: 6px; }
.footer-inner p { margin: 0; font-size: 14px; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: var(--chrome); font-size: 14px; }
.footer-nav a:hover { color: var(--red); }
.copyright { color: var(--text-mute); font-size: 12px; width: 100%; text-align: center; margin-top: 10px; }

/* Nav active state */
.nav a.active { color: var(--red); }

/* Section head row ("Heading" + "View all →" link) */
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}
.section-head-row h2 { margin: 0; }
.section-head-row .view-all { font-family: 'Rajdhani', sans-serif; font-weight: 600; color: var(--chrome); text-decoration: none; }
.section-head-row .view-all:hover { color: var(--red); }

/* Sub-page hero (shorter than home's) */
.page-hero {
  padding: 60px 0 40px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(226,36,29,0.14), transparent 65%), var(--bg);
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4.5vw, 44px); margin: 0 0 12px; }
.page-hero p { max-width: 560px; margin: 0 auto; }

/* Final CTA band */
.cta-band { padding: 50px 0 70px; text-align: center; }
.cta-band h2 { font-size: 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Services page: process steps */
.process { padding: 60px 0; background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process h2 { text-align: center; font-size: 26px; margin: 0 0 30px; }
.process-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: center;
}
.process-step .num { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--red); font-size: 32px; margin-bottom: 8px; }
.process-step h3 { font-size: 17px; margin: 0 0 6px; }
.process-step p { font-size: 14px; margin: 0; }

/* Promo panel */
.promo-panel {
  max-width: 800px;
  margin: 50px auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}
.promo-panel h2 { font-size: 22px; margin: 0 0 10px; }
.promo-panel p { margin: 0; }

/* Reviews page: before/after placeholders */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.ba-item { position: relative; }
.ba-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 3px;
}
.ba-placeholder {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  font-size: 13px;
  text-align: center;
  padding: 10px;
}

/* About page */
.photo-placeholder {
  width: 100%;
  height: 340px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  font-size: 14px;
}
.team { padding: 60px 0; background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.team h2 { text-align: center; font-size: 26px; margin: 0 0 30px; }
.team-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: var(--surface);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  font-size: 12px;
}
.team-role { font-family: 'Rajdhani', sans-serif; color: var(--text); font-size: 15px; font-weight: 600; }
.team-name { color: var(--text-dim); font-size: 13px; }

/* Bottom tab bar (mobile only) */
.bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav-inner { display: flex; }
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px 6px;
  color: var(--text-dim);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.bottom-nav a:hover { text-decoration: none; }
.bottom-nav a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bottom-nav a.active { color: var(--red); }

@media (max-width: 720px) {
  .nav { display: none; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 60px 0 40px; }
  .hero-sub { font-size: 16px; }
  .hero-cta, .contact-actions, .cta-actions { flex-direction: column; }
  .hero-cta .btn, .contact-actions .btn, .cta-actions .btn { width: 100%; text-align: center; }
  .header-inner { padding: 10px 16px; }
  .brand-logo { height: 44px; }
  .bottom-nav { display: block; }
  body { padding-bottom: 62px; }
}

@media (max-width: 400px) {
  .btn-call, .btn-text { padding: 9px 14px; font-size: 13px; }
}

.call-short { display: none; }
@media (max-width: 480px) {
  .header-actions { gap: 6px; }
  .call-full { display: none; }
  .call-short { display: inline; }
}

/* Motion: scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* Before/after slider (Reviews page) */
.ba-slider {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  user-select: none;
  touch-action: pan-y;
}
.ba-slider-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--text-mute);
  font-size: 13px;
  text-align: center;
  padding: 10px;
}
.ba-slider-after { clip-path: inset(0 0 0 50%); }
.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--red);
  cursor: ew-resize;
  transform: translateX(-50%);
}
.ba-slider-handle::after {
  content: '\21C6';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.ba-slider-tag {
  position: absolute;
  top: 10px;
  z-index: 2;
  background: rgba(10,10,12,0.75);
  color: var(--chrome);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 3px;
}
.ba-slider-tag.before { left: 10px; }
.ba-slider-tag.after { right: 10px; }

/* Stat count-up target */
.stat-chip strong[data-count], .stat strong[data-count] { font-variant-numeric: tabular-nums; }

/* Gallery page */
.photo-grid {
  column-count: 2;
  column-gap: 18px;
  margin-top: 28px;
}
.photo-grid img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  break-inside: avoid;
  cursor: zoom-in;
  transition: opacity 0.15s ease;
}
.photo-grid img:hover { opacity: 0.88; }
@media (min-width: 720px) {
  .photo-grid { column-count: 3; }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10,10,12,0.92);
  align-items: center;
  justify-content: center;
  padding: 30px;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-close:hover { border-color: var(--red); color: var(--red); }

/* Booking page */
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.booking-form { display: flex; flex-direction: column; gap: 14px; }
.booking-form fieldset { border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; }
.booking-form legend { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--red); font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; padding: 0 6px; }
.booking-form label { font-size: 14px; color: var(--text-dim); display: flex; flex-direction: column; gap: 6px; }
.booking-form input, .booking-form select, .booking-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline: none; border-color: var(--red); }
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-aside { display: flex; flex-direction: column; gap: 16px; }
.booking-aside .stat { text-align: left; }

.booking-form .req { color: var(--red); font-weight: 700; }
.booking-form .optional { color: var(--text-mute); font-weight: 400; text-transform: none; font-size: 12px; letter-spacing: 0; }
.booking-form .field-error { display: none; color: var(--red); font-size: 12.5px; }
.booking-form.was-validated input:invalid ~ .field-error,
.booking-form.was-validated select:invalid ~ .field-error,
.booking-form.was-validated textarea:invalid ~ .field-error { display: block; }
.booking-form.was-validated input:invalid,
.booking-form.was-validated select:invalid,
.booking-form.was-validated textarea:invalid { border-color: var(--red); }

@media (max-width: 720px) {
  .booking-grid { grid-template-columns: 1fr; }
  .booking-row { grid-template-columns: 1fr; }
}

/* Chat widget */
.osc-chat-toggle {
  position: fixed;
  left: 20px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.28);
  z-index: 60;
}
.osc-chat-toggle:hover { background: var(--green-dark); }
.osc-chat-live-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--bg);
  display: none;
}
.osc-chat-live-dot.show { display: block; }

.osc-chat-panel {
  position: fixed;
  left: 20px;
  bottom: 90px;
  width: min(340px, calc(100vw - 40px));
  max-height: min(480px, calc(100vh - 140px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 60;
}
.osc-chat-panel[hidden] { display: none; }
.osc-chat-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.osc-chat-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.osc-chat-close:hover { color: var(--red); }
.osc-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.osc-chat-bubble {
  font-size: 14px;
  line-height: 1.4;
  padding: 9px 12px;
  border-radius: 10px;
  max-width: 85%;
  white-space: pre-wrap;
}
.osc-chat-assistant { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); align-self: flex-start; }
.osc-chat-user { background: var(--red); color: #fff; align-self: flex-end; }
.osc-chat-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--border);
}
.osc-chat-form input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.osc-chat-form input:focus { outline: none; border-color: var(--red); }
.osc-chat-form button {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  width: 38px;
  cursor: pointer;
  font-size: 16px;
}
.osc-chat-form button:hover { background: var(--green-dark); }

@media (max-width: 720px) {
  .osc-chat-toggle { bottom: 74px; }
  .osc-chat-panel { bottom: 140px; }
}

/* Breadcrumb (service detail pages) */
.breadcrumb { font-size: 13px; color: var(--text-mute); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--red); }

/* Service detail pages */
.service-detail { padding: 60px 0 20px; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.service-detail-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.service-detail-list li {
  color: var(--text-dim);
  font-size: 15px;
  padding-left: 22px;
  position: relative;
}
.service-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
}
.service-detail-photo { height: 320px; width: 100%; object-fit: cover; display: block; border-radius: 10px; }
@media (max-width: 820px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-photo { order: -1; height: 220px; }
}

/* Admin dashboard */
.admin-wrap { max-width: 1040px; margin: 0 auto; padding: 40px 20px 80px; }
.admin-login { max-width: 340px; margin: 80px auto; display: grid; gap: 14px; }
.admin-login input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}
.admin-login-error { color: var(--red); font-size: 14px; display: none; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-toolbar .btn { padding: 9px 16px; font-size: 14px; }
.booking-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }
table.booking-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.booking-table th, .booking-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.booking-table td.wrap-cell { white-space: normal; max-width: 260px; }
.booking-table th { color: var(--text-mute); font-family: 'Rajdhani', sans-serif; text-transform: uppercase; font-size: 12px; letter-spacing: 0.04em; background: var(--surface-2); }
.booking-table tr.is-unseen { background: rgba(226,36,29,0.08); }
.booking-table tr.is-unseen td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.badge-new { background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 3px; text-transform: uppercase; margin-left: 6px; }
.row-actions { display: flex; gap: 8px; }
.row-actions button, .row-actions a { font-size: 12px; padding: 5px 10px; }
.admin-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface);
  border: 1px solid var(--red);
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 50;
  max-width: 300px;
  font-size: 14px;
  display: none;
}
.admin-toast.show { display: block; }
.admin-empty { color: var(--text-mute); padding: 30px; text-align: center; }

/* Theme toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--chrome);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}
.theme-toggle:hover { border-color: var(--red); color: var(--red); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* Chat: live agent */
.osc-chat-agent-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.osc-chat-agent-status { display: flex; align-items: center; gap: 6px; color: var(--text-mute); font-size: 12px; }
.osc-chat-agent-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-mute); }
.osc-chat-agent-status.online { color: #16a34a; }
.osc-chat-agent-status.online .dot { background: #22c55e; }
.osc-chat-agent-btn {
  background: none;
  border: 1px solid var(--chrome);
  color: var(--chrome);
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.osc-chat-agent-btn:hover { border-color: var(--red); color: var(--red); }
.osc-chat-agent-btn:disabled { opacity: 0.5; cursor: default; }
.osc-chat-agent-msg { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: var(--text); }
.osc-chat-system { align-self: center; color: var(--text-mute); font-size: 12px; font-style: italic; background: none; }

/* Admin: live chat panel */
.presence-toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); }
.presence-toggle input { width: 16px; height: 16px; }
.admin-section-title { font-size: 16px; margin: 30px 0 12px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.04em; font-family: 'Rajdhani', sans-serif; }
.conv-list { display: grid; gap: 8px; }
.conv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
}
.conv-row.is-unread { border-color: var(--red); }
.conv-row-preview { color: var(--text-mute); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 360px; }
.conv-thread {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  max-height: 420px;
}
.conv-thread-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.conv-thread-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--border); }
.conv-thread-form input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.admin-empty-small { color: var(--text-mute); padding: 16px; text-align: center; font-size: 13px; }

/* Booking photo upload */
.photo-upload { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.photo-upload-btn {
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 10px 16px;
  background: var(--bg);
  color: var(--text-dim);
  cursor: pointer;
  font-size: 14px;
}
.photo-upload-btn:hover { border-color: var(--red); color: var(--red); }
.photo-upload-preview { display: none; align-items: center; gap: 10px; }
.photo-upload-preview.show { display: flex; }
.photo-upload-preview img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); }
.photo-upload-remove { background: none; border: none; color: var(--text-mute); cursor: pointer; font-size: 13px; text-decoration: underline; }
.photo-thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 5px; border: 1px solid var(--border); display: block; }

/* Admin: gallery photo grid */
.gallery-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}
.gallery-admin-item { position: relative; }
.gallery-admin-item img { width: 100%; height: 100px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); display: block; }
.gallery-delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.gallery-delete-btn:hover { background: var(--red); }

/* Admin auth (bootstrap/login/team/account) */
.admin-login-sub { font-size: 13px; color: var(--text-mute); text-align: center; margin: -8px 0 4px; }
.admin-login-alt { font-size: 13px; text-align: center; margin: 4px 0 0; }
.muted-line { font-size: 13px; color: var(--text-mute); margin: 4px 0; }
.team-add-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.team-add-form input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  flex: 1;
  min-width: 160px;
}
.team-list { display: grid; gap: 8px; margin-bottom: 10px; }
.pkrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.change-password-details { margin-top: 14px; }
.change-password-details summary { cursor: pointer; color: var(--text-dim); font-size: 14px; margin-bottom: 10px; }
