/* ═══════════════════════════════════════════════════════
   CabinetZone — Shared site styles
   Covers: custom props, base reset, nav, buttons,
           mobile overlay, label, reveal, mobile overrides
   ═══════════════════════════════════════════════════════ */

:root {
  --dark:       #131720;
  --dark-2:     #1a2030;
  --dark-3:     #222838;
  --accent:     #c4a882;
  --accent-lt:  #d4bc9e;
  --warm-mid:   #8a7b6a;
  --light:      #f7f4ef;
  --light-2:    #ede8e0;
  --text:       #2d2825;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { cursor: default; user-select: none; }

a, button, [role="button"], label[for], summary { cursor: pointer; }
input, textarea, select { cursor: text; user-select: text; }
h1, h2, h3, h4, .serif { font-family: 'Cormorant Garamond', serif; }

/* ── Nav ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 3rem;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(19,23,32,0.96);
  backdrop-filter: blur(14px);
  padding: 0.5rem 3rem;
  box-shadow: 0 1px 0 rgba(196,168,130,0.12);
}
.nav-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-link {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); text-decoration: none; position: relative;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--accent); transition: width 0.3s ease;
}
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { width: 100%; }
.nav-link:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.nav-links { display: none; align-items: center; gap: 2.5rem; }
.nav-hamburger { display: flex; }
.nav-call-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex-shrink: 0;
  border: 1px solid rgba(196,168,130,0.35);
  color: var(--accent); text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.nav-call-btn:hover { background: rgba(196,168,130,0.12); border-color: var(--accent); }
.nav-call-btn:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
}

/* ── Buttons ── */
.btn-gold {
  font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  display: inline-block; padding: 0.8rem 1.875rem;
  background: var(--accent); color: var(--dark);
  border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(196,168,130,0.28), 0 1px 4px rgba(196,168,130,0.2);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.btn-gold:hover { background: var(--accent-lt); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(196,168,130,0.38); }
.btn-gold:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(196,168,130,0.2); }
.btn-gold:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-ghost {
  font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  display: inline-block; padding: 0.8rem 1.875rem;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.35); cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.07); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); }
.btn-ghost:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }

.btn-dark {
  font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  display: inline-block; padding: 0.8rem 1.875rem;
  background: var(--dark); color: #fff; border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(19,23,32,0.2);
  transition: background 0.25s ease, transform 0.2s ease;
}
.btn-dark:hover { background: var(--dark-2); transform: translateY(-1px); }
.btn-dark:active { transform: translateY(0); }
.btn-dark:focus-visible { outline: 1px solid var(--dark); outline-offset: 3px; }

/* ── Mobile menu overlay ── */
#mmenu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: #0d111a;
  flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem;
}
#mmenu.open { display: flex; }
.mlink {
  font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 300;
  color: rgba(255,255,255,0.75); text-decoration: none;
  transition: color 0.2s ease;
}
.mlink:hover { color: var(--accent); }
#mmenu .btn-gold { margin-top: 0.5rem; box-shadow: none; }

/* ── Section label ── */
.label {
  font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
}
.label::before {
  content: ''; display: inline-block; width: 2rem; height: 1px; background: var(--accent);
}
footer .label::before { display: none; }

/* ── Contact form ── */
.finput {
  width: 100%; padding: 0.875rem 1rem; font-family: 'Inter', sans-serif; font-size: 0.875rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(196,168,130,0.2); color: #fff; outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.finput::placeholder { color: rgba(255,255,255,0.3); }
.finput:focus { border-color: var(--accent); background: rgba(255,255,255,0.08); }
.finput.invalid { border-color: rgba(220,90,90,0.7); }
.finput.valid   { border-color: rgba(80,180,120,0.5); }
select.finput { color: rgba(255,255,255,0.3); padding-right: 2.5rem; appearance: none; cursor: pointer; }
select.finput.has-value { color: #fff; }
.select-wrap { position: relative; }
.select-wrap svg { position: absolute; right: 0.875rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: rgba(196,168,130,0.6); }
.field-error { font-size: 0.68rem; letter-spacing: 0.04em; color: #e08080; margin-top: 0.35rem; display: none; padding-left: 0.125rem; }
.field-error.visible { display: block; }
.form-banner { padding: 0.875rem 1rem; font-size: 0.8rem; letter-spacing: 0.04em; display: none; border: 1px solid; }
.form-banner.error   { display: block; color: #e08080; border-color: rgba(220,90,90,0.4); background: rgba(220,90,90,0.08); }
.form-banner.success { display: block; color: #70c090; border-color: rgba(80,180,120,0.4); background: rgba(80,180,120,0.08); }

/* ── Gallery lightbox (service detail pages) ── */
#svc-lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(9,12,18,0.97);
  display: none; flex-direction: column;
}
#svc-lightbox.open { display: flex; }
.svc-lb-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.125rem 2rem; flex-shrink: 0;
  border-bottom: 1px solid rgba(196,168,130,0.08);
}
.svc-lb-close {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(196,168,130,0.2); background: transparent; cursor: pointer;
  color: rgba(255,255,255,0.6);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.svc-lb-close:hover { border-color: rgba(196,168,130,0.7); color: #fff; }
.svc-lb-stage {
  flex: 1; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem;
}
#svc-lb-img { width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; }
.svc-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(196,168,130,0.2); background: transparent; cursor: pointer;
  color: rgba(255,255,255,0.6);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.svc-lb-nav:hover { border-color: rgba(196,168,130,0.65); color: #fff; }
.svc-lb-nav.dim { opacity: 0.25; pointer-events: none; }
#svc-lb-prev { left: 1.25rem; }
#svc-lb-next { right: 1.25rem; }
.svc-lb-strip {
  flex-shrink: 0; padding: 0.875rem 2rem;
  border-top: 1px solid rgba(196,168,130,0.07);
  display: flex; gap: 0.5rem; justify-content: center; overflow-x: auto;
}
.svc-lb-strip::-webkit-scrollbar { height: 2px; }
.svc-lb-strip::-webkit-scrollbar-thumb { background: rgba(196,168,130,0.4); }
.svc-lb-thumb {
  width: 78px; height: 58px; object-fit: cover; flex-shrink: 0; cursor: pointer;
  opacity: 0.38; border: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.svc-lb-thumb:hover { opacity: 0.7; }
.svc-lb-thumb.active { opacity: 1; border-color: var(--accent); }
.gallery-slot { cursor: pointer; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Shared mobile overrides ── */
@media (max-width: 767px) {
  html, body { overflow-x: hidden; }
  #navbar { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  #navbar.scrolled { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  footer { padding: 4rem 1.25rem 2rem !important; }
  .mob-footer { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  footer img[style*="height:84px"] { height: 64px !important; }
  .mob-stack { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
}
