@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Lato:wght@400;700&family=Montserrat:wght@400;600;700&family=Nunito:wght@400;700&family=Open+Sans:wght@400;600;700&family=Oswald:wght@400;600&family=Playfair+Display:wght@400;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Poppins:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --bg: #120e09;
  --bg-2: #1a1510;
  --bg-3: #221c14;
  --gold: #c5a059;
  --gold-2: #e8d09a;
  --text: #f2f2f2;
  --muted: #b3a894;
  --line: rgba(197, 160, 89, 0.22);
  --wa: #25d366;
  --danger: #c45c4a;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --page:
    radial-gradient(1100px 520px at 50% -8%, rgba(197, 160, 89, 0.28), transparent 58%),
    radial-gradient(700px 420px at 100% 100%, rgba(92, 58, 18, 0.45), transparent 55%),
    radial-gradient(640px 380px at 0% 85%, rgba(62, 40, 16, 0.4), transparent 52%),
    linear-gradient(180deg, #2a2116 0%, #16110c 42%, #0f0c09 100%);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: #16110c;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--page);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #000; }

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: linear-gradient(180deg, rgba(22, 17, 12, 0.94), rgba(18, 14, 9, 0.88));
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.brand img {
  height: 40px;
  width: auto;
}
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.nav a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.nav a:hover, .nav a.active { color: var(--gold-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #111;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  color: var(--gold-2);
}
.btn.ghost:hover { background: var(--gold); color: #111; }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #06210f; }
.btn.small { padding: 8px 14px; }
.btn.full { width: 100%; }

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 96px 20px 72px;
  background: transparent;
}
.hero-inner { text-align: center; width: min(920px, 100%); }
.logo-hero {
  width: min(760px, 100%);
  height: auto;
  margin: 0 auto 28px;
}
.kicker {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(28px, 4.4vw, 46px);
  margin: 10px 0 0;
  line-height: 1.15;
}
.hero h1 span { color: var(--gold-2); }
.lede {
  max-width: 540px;
  margin: 14px auto 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.section { padding: 72px 0; }
.section-head { margin-bottom: 32px; }
.section-head h2,
h1, h2, h3 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0;
  color: #fff;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { margin: 8px 0 0; color: var(--muted); }
.section-head .kicker {
  letter-spacing: .14em;
  line-height: 1.45;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.card .photo {
  aspect-ratio: 1 / 1;
  background: #111;
  overflow: hidden;
  position: relative;
}
.card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  background: #000;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.badge.sold { border-color: var(--danger); color: #f0c2ba; }
.card-body { padding: 16px; }
.card-body h3 { font-size: 18px; letter-spacing: -.02em; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.price {
  margin-top: 12px;
  color: var(--gold-2);
  font-size: 22px;
  font-weight: 800;
}

.empty {
  border: 1px solid var(--line);
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  background: var(--bg-2);
}
.empty img { width: min(280px, 80%); margin: 0 auto 16px; }

.about { padding-top: 24px; }
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 48px;
}
.about-card {
  min-height: 380px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 32px 20px;
}
.about-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  background: #0f0c09;
  border: 1px solid var(--line);
  padding: 12px;
}
.about-card p {
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold-2);
}
.about-copy h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 8px 0 16px;
}
.about-copy > p:not(.kicker) {
  color: var(--muted);
  margin: 0 0 24px;
}
.features { display: grid; gap: 4px; }
.feature {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.feature > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}
.feature strong { display: block; font-size: 15px; }
.feature p {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 0;
}

.cta-strip {
  padding: 48px 0;
  background: linear-gradient(90deg, rgba(197, 160, 89, 0.18), rgba(197, 160, 89, 0.04));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-strip h2 { font-size: clamp(24px, 3vw, 34px); }

.page-hero {
  padding: 120px 0 24px;
  text-align: center;
  background: transparent;
}
.page-hero img { height: 52px; margin: 0 auto 16px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); }
.section-more { text-align: center; margin-top: 28px; }

.showroom {
  --item-w: clamp(210px, 27vw, 330px);
  position: relative;
  outline: none;
}
.showroom-stage {
  position: relative;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
}
.showroom-items { display: contents; }
.showroom-item {
  flex: 0 0 var(--item-w);
  display: block;
  color: inherit;
  text-decoration: none;
}
.showroom-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f0c09;
}
.showroom-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.showroom-photo.placeholder {
  display: grid;
  place-items: center;
  font-size: 64px;
  font-weight: 800;
  color: var(--gold);
}
.showroom-plate {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}
.showroom-item.is-cutout .showroom-photo {
  border: 0;
  background: none;
  overflow: visible;
}
.showroom-item.is-cutout .showroom-photo img {
  object-fit: contain;
  object-position: 50% 100%;
}
.showroom-stand,
.showroom-shadow,
.showroom-light,
.showroom-info,
.showroom-dots { display: none; }

.showroom.is-ready .showroom-stage {
  display: block;
  overflow: visible;
  height: calc(var(--item-w) * 0.97 + 24px);
  padding: 0;
  perspective: 1500px;
  perspective-origin: 50% 30%;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.showroom.is-ready .showroom-stage.is-dragging { cursor: grabbing; }
.showroom.is-ready .showroom-items {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-style: preserve-3d;
}
.showroom.is-ready .showroom-item {
  position: absolute;
  top: 18px;
  left: 50%;
  width: var(--item-w);
}
.showroom.is-ready .showroom-photo {
  border-radius: 10px;
  box-shadow: 0 26px 40px -22px rgba(0, 0, 0, 0.9);
  transition: border-color .4s ease, box-shadow .4s ease;
}
.showroom.is-ready .showroom-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(8, 6, 4, var(--dim, 0));
  pointer-events: none;
}
.showroom.is-ready .showroom-item.is-front .showroom-photo {
  border-color: rgba(232, 208, 154, 0.65);
  box-shadow:
    0 0 0 1px rgba(232, 208, 154, 0.25),
    0 30px 48px -24px rgba(0, 0, 0, 0.95),
    0 0 50px -18px rgba(232, 208, 154, 0.45);
}
.showroom.is-ready .showroom-item.is-cutout .showroom-photo,
.showroom.is-ready .showroom-item.is-cutout.is-front .showroom-photo {
  border-radius: 0;
  box-shadow: none;
}
.showroom.is-ready .showroom-item.is-cutout .showroom-photo::after { display: none; }
.showroom.is-ready .showroom-item.is-cutout .showroom-photo img {
  filter: brightness(calc(1 - var(--dim, 0)));
}
.showroom.is-ready .showroom-shadow {
  display: block;
  position: absolute;
  left: 8%;
  right: 8%;
  top: calc(var(--item-w) * 0.75 - var(--item-w) * 0.05);
  height: calc(var(--item-w) * 0.1);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent);
  z-index: -1;
  pointer-events: none;
}
.showroom.is-ready .showroom-item:not(.is-cutout) .showroom-shadow { opacity: .6; }
.showroom.is-ready .showroom-plate { opacity: 0; transition: opacity .3s ease; }

.showroom.is-ready .showroom-light {
  display: block;
  position: absolute;
  left: 50%;
  top: -60px;
  width: min(900px, 120%);
  height: 120%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 34% 60% at 50% 0%, rgba(232, 208, 154, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 30% at 50% 82%, rgba(197, 160, 89, 0.16), transparent 72%);
  pointer-events: none;
}
.showroom.is-ready .showroom-stand {
  display: block;
  position: absolute;
  z-index: 1;
  left: 50%;
  top: calc(18px + var(--item-w) * 0.6);
  width: calc(var(--item-w) * 1.4);
  max-width: 100%;
  aspect-ratio: 1;
  transform: translateX(-50%) scaleY(0.26);
  transform-origin: 50% 0;
  pointer-events: none;
}
.showroom-disc {
  --spin: 0deg;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(18, 14, 9, 0.2) 0 34%, transparent 35%),
    radial-gradient(circle, #2a2117 0 58%, #19130d 70%, #0d0a07 71%);
  border: 3px solid rgba(197, 160, 89, 0.7);
  box-shadow:
    0 0 0 10px rgba(197, 160, 89, 0.08),
    0 0 90px 10px rgba(197, 160, 89, 0.25),
    inset 0 0 60px rgba(0, 0, 0, 0.8);
}
.showroom-disc span {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  transform: rotate(var(--spin));
  background:
    repeating-conic-gradient(from 0deg, rgba(232, 208, 154, 0.32) 0deg 1.2deg, transparent 1.2deg 15deg),
    conic-gradient(from 0deg, rgba(232, 208, 154, 0.12), transparent 25%, rgba(232, 208, 154, 0.12) 50%, transparent 75%, rgba(232, 208, 154, 0.12));
  -webkit-mask: radial-gradient(circle, transparent 0 62%, #000 63% 100%);
  mask: radial-gradient(circle, transparent 0 62%, #000 63% 100%);
}

.showroom.is-ready .showroom-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 4vw, 40px);
  position: relative;
  z-index: 3;
  margin-top: 8px;
  text-align: center;
}
.showroom-text {
  min-width: 0;
  flex: 0 1 460px;
  transition: opacity .18s ease, transform .18s ease;
}
.showroom-text.is-changing { opacity: 0; transform: translateY(6px); }
.showroom-text h3 { font-size: clamp(18px, 2.2vw, 24px); letter-spacing: -.02em; }
.showroom-meta { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.showroom-text .price { margin: 6px 0 12px; font-size: 20px; }
.showroom-nav {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(26, 21, 16, 0.85);
  color: var(--gold-2);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.showroom-nav:hover { background: var(--gold); color: #111; border-color: var(--gold); }
.showroom.is-ready .showroom-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.showroom-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.3);
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.showroom-dots button.active { width: 26px; background: var(--gold); }

.stand-admin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 8px 0;
}
.stand-admin img {
  width: 220px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid var(--line);
  background-color: #2a2117;
  background-image:
    linear-gradient(45deg, #1a1510 25%, transparent 25%, transparent 75%, #1a1510 75%),
    linear-gradient(45deg, #1a1510 25%, transparent 25%, transparent 75%, #1a1510 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
}

@media (max-width: 600px) {
  .showroom { --item-w: min(58vw, 250px); }
  .showroom-nav { width: 40px; height: 40px; font-size: 22px; }
}

.detail-page { padding: 112px 0 72px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}
.crumbs a:hover { color: var(--gold-2); }
.detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  min-width: 0;
}
.detail-gallery,
.detail-info,
.detail-expertise,
.gallery,
.gallery-stage {
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 1100px) {
  .detail {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
    gap: 24px;
  }
}
.gallery-stage {
  position: relative;
}
.gallery-main {
  width: 100%;
  height: min(52vw, 280px);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0b08;
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
  color: inherit;
  touch-action: pan-y;
}
.gallery-main img, .gallery-main video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
}
.gallery-nav {
  appearance: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 10, 8, 0.72);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-nav:hover { background: rgba(197, 160, 89, 0.92); color: #111; }
.gallery-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 10px;
  background: rgba(8, 6, 4, 0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}
.gallery-main img {
  pointer-events: none;
  transition: transform .3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity .3s ease;
}
.gallery-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform .3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity .3s ease;
}
.gallery-main.dragging .gallery-slide,
.gallery-main.dragging img { transition: none; }
.gallery-main.is-video { cursor: default; }
.thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.thumbs button {
  appearance: none;
  border: 1px solid var(--line);
  background: #111;
  padding: 0;
  width: 84px;
  height: 64px;
  cursor: pointer;
  flex: 0 0 84px;
  overflow: hidden;
  line-height: 0;
  position: relative;
}
.thumbs button.active, .thumbs button:hover { border-color: var(--gold); }
.thumbs img, .thumbs video {
  width: 84px;
  height: 64px;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.thumbs .thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}
.detail-desc {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.detail-desc h2 { font-size: 18px; margin-bottom: 8px; }
.rich,
.detail .rich,
.detail .rich p,
.editor-area,
.editor-area p {
  color: #fff;
  line-height: 1.65;
}
.rich p,
.editor-area p { margin: 0 0 10px; }
.rich b, .rich strong, .rich i, .rich em, .rich u,
.editor-area b, .editor-area strong, .editor-area i, .editor-area em, .editor-area u {
  color: inherit;
}
.rich ul, .rich ol,
.editor-area ul, .editor-area ol {
  margin: 0 0 10px;
  padding-left: 22px;
}
.rich li, .editor-area li { margin: 0 0 4px; }

.editor { border: 1px solid var(--line); background: #111; }
.editor-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-bottom: 1px solid var(--line);
}
.editor-bar button {
  min-width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: #1a1510;
  color: var(--gold-2);
  cursor: pointer;
}
.editor-bar select, .editor-color input {
  height: 32px;
  background: #1a1510;
  border: 1px solid var(--line);
  color: var(--text);
}
.editor-bar select { min-width: 92px; font-size: 12px; }
.editor-color { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.editor-area {
  min-height: 160px;
  padding: 12px;
  outline: none;
}
.detail-expertise { margin: 0; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; }
.spec {
  border: 1px solid var(--line);
  padding: 12px;
  background: var(--bg-2);
}
.spec span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.spec strong { font-weight: 700; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.detail p { color: var(--muted); }
.detail .rich,
.detail .rich p { color: #fff; }
.detail .rich b, .detail .rich strong, .detail .rich i, .detail .rich em, .detail .rich u {
  color: inherit;
}

.expertise { margin: 0; }
.expertise h2 { font-size: 18px; margin-bottom: 12px; }
.expertise table { width: 100%; border-collapse: collapse; }
.expertise th, .expertise td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  font-size: 14px;
}
.expertise th { color: var(--muted); font-weight: 600; width: 58%; }
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 12px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}
.form-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}
.exp {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}
.exp.orijinal { color: #9fd49a; border-color: #3d6a3a; }
.exp.belirtilmedi { color: var(--muted); border-color: var(--line); }
.exp.lokal { color: #e8d09a; border-color: var(--gold); }
.exp.boyali { color: #e0a36a; border-color: #a86a2a; }
.exp.degisen { color: #f0c2ba; border-color: var(--danger); }
.expertise-admin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 6, 4, 0.94);
  display: grid;
  place-items: center;
  padding: 48px 56px;
  touch-action: none;
}
.lightbox[hidden] { display: none !important; }
.lb-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  z-index: 1;
}
.lb-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(96vw, 1600px);
  max-height: 88vh;
  transition: transform .3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity .3s ease;
  transform-origin: center center;
  will-change: transform, opacity;
}
.lightbox img, .lightbox video {
  max-width: min(96vw, 1600px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
}
.lightbox img { pointer-events: none; }
.lightbox.dragging .lb-slide,
.lightbox.dragging img { transition: none; }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  z-index: 2;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  cursor: pointer;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}
.lb-close { top: 16px; right: 16px; font-size: 32px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; }
.info-card, .map-frame {
  border: 1px solid var(--line);
  background: var(--bg-2);
  min-height: 400px;
}
.info-card { padding: 24px; }
.info-row { margin: 0 0 14px; }
.info-row span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.info-row strong { display: block; }
.info-row strong + strong { margin-top: 6px; }
.map-frame {
  position: relative;
  align-self: stretch;
  min-height: 400px;
  overflow: hidden;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 110px;
  color: var(--muted);
  font-size: 13px;
  background: transparent;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-brand img { height: 36px; }

.float-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-cta a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.float-cta .wa { background: var(--wa); color: #06210f; }
.float-cta .call { background: var(--gold); color: #111; }
.float-cta svg { width: 22px; height: 22px; }

.photo.placeholder, .gallery-main.photo.placeholder {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 42px;
  font-weight: 800;
}

.admin-body { background: var(--page); background-attachment: fixed; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side {
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  background: #0a0a0a;
}
.side img { height: 36px; margin-bottom: 24px; }
.side a {
  display: block;
  padding: 10px 12px;
  color: var(--muted);
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 600;
}
.side a.active, .side a:hover { color: var(--gold-2); background: #161616; }
.admin-main { padding: 28px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; }
.table th { color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.form { display: grid; gap: 12px; max-width: 760px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
input, select, textarea {
  background: #111;
  border: 1px solid var(--line);
  padding: 11px 12px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { min-height: 120px; resize: vertical; }
.row-2, .row-3 { display: grid; gap: 12px; }
.row-2 { grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: 1fr 1fr 1fr; }
.flash { padding: 12px 14px; margin-bottom: 16px; border: 1px solid var(--line); }
.flash.ok { border-color: var(--gold); color: var(--gold-2); }
.flash.err { border-color: var(--danger); color: #f0c2ba; }
.login-box {
  width: min(420px, calc(100% - 32px));
  margin: 12vh auto;
  padding: 32px;
  border: 1px solid var(--line);
  background: #0d0d0d;
}
.login-box img { width: min(280px, 100%); margin: 0 auto 20px; }
.photo-admin { display: flex; gap: 10px; flex-wrap: wrap; }
.photo-admin label {
  width: 110px;
  display: grid;
  gap: 6px;
  font-size: 12px;
}
.photo-admin img, .photo-admin video {
  width: 110px;
  height: 110px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  background: #000;
}
.photo-admin input { width: auto; }
.lead-media img, .lead-media video {
  width: 220px;
  height: 160px;
}
.table tr.unread td { color: var(--gold-2); font-weight: 700; }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.public-form { max-width: 760px; }
.public-form h2 { font-size: 18px; margin: 8px 0 0; }
.seo-copy {
  padding-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.seo-copy h2 {
  font-size: clamp(20px, 3vw, 28px);
  margin-bottom: 14px;
}
.seo-copy p { margin: 0 0 12px; }
.sort-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sort-actions form { display: inline; }
.sort-actions .btn:disabled { opacity: .35; cursor: default; }

@media (min-width: 861px) {
  .gallery-main { height: min(58vw, 520px); min-height: 320px; }
}
@media (max-width: 860px) {
  .wrap { width: min(1120px, calc(100% - 24px)); }
  .contact-grid, .admin-shell, .row-2, .row-3, .expertise-admin, .about-grid { grid-template-columns: 1fr; }
  .side { display: flex; gap: 6px; overflow-x: auto; padding: 12px; }
  .side a { white-space: nowrap; }
  .brand { max-width: 38%; min-width: 0; }
  .brand img { height: 28px; max-width: 100%; }
  .header-inner {
    height: auto;
    min-height: 56px;
    padding: 8px 0;
    gap: 8px;
  }
  .nav {
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0;
  }
  .nav a {
    padding: 6px 5px;
    font-size: 11px;
  }
  .hero { padding-top: 84px; }
  .hero-contact { display: none; }
  .page-hero { padding-top: 96px; }
  .page-hero h1 { font-size: clamp(26px, 8vw, 40px); }
  .detail-page { padding: 96px 0 48px; }
  .crumbs {
    font-size: 12px;
    gap: 6px;
  }
  .crumbs span:last-child {
    flex: 1 1 80px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .detail-info h1 {
    font-size: 22px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .gallery-nav {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }
  .gallery-nav.prev { left: 6px; }
  .gallery-nav.next { right: 6px; }
  .thumbs { -webkit-overflow-scrolling: touch; }
  .thumbs button {
    width: 60px;
    height: 46px;
    flex-basis: 60px;
  }
  .thumbs img, .thumbs video {
    width: 60px;
    height: 46px;
  }
  .actions .btn { flex: 1 1 calc(50% - 10px); }
  .expertise th, .expertise td { font-size: 13px; padding: 8px 4px; }
  .admin-main { padding: 16px; }
  .lightbox { padding: 56px 12px; }
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .card-body { padding: 10px; }
  .card-body h3 { font-size: 14px; }
  .card .meta { font-size: 11px; gap: 4px 8px; }
  .card .price { font-size: 15px; margin-top: 8px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .about-card { min-height: 280px; }
}
