/* =============================================================
   VISpominov.si – Site Stylesheet
   Photo Restoration Memorial Service
   ============================================================= */

/* ===== VARIABLES ===== */
:root {
  --cream: #FAF6F0;
  --warm: #FDF9F4;
  --sep-lt: #E8DDD0;
  --sep: #C4A882;
  --sep-dk: #8B6F4E;
  --brown: #5C3D2E;
  --dark: #1A1208;
  --gold: #C9A84C;
  --gold-lt: #E8C97A;
  --txt: #2C1A0E;
  --muted: #7A6355;
  --sh-s: 0 4px 30px rgba(92,61,46,.08);
  --sh-m: 0 8px 40px rgba(92,61,46,.15);
  --sh-l: 0 20px 60px rgba(26,18,8,.25);
  --r: 16px;
  --rs: 8px;
  --ease: cubic-bezier(.25,.46,.45,.94);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--cream);
  color: var(--txt);
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== NAV ===== */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .4s var(--ease);
}

#site-nav.scrolled {
  background: rgba(250,246,240,.95);
  backdrop-filter: blur(20px);
  padding: 12px 40px;
  box-shadow: 0 2px 30px rgba(92,61,46,.1);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  transition: color .4s;
  min-width: 10px;
}

#site-nav.scrolled .nav-logo {
  color: var(--brown);
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color .3s;
}

#site-nav.scrolled .nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--gold-lt);
}

#site-nav.scrolled .nav-links a:hover {
  color: var(--brown);
}

.nav-cta-link {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 500 !important;
}

.nav-cta-link:hover {
  background: var(--gold-lt) !important;
}

.nav-hbg {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  z-index: 801;
}

.nav-hbg span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all .4s var(--ease);
  border-radius: 2px;
}

#site-nav.scrolled .nav-hbg span {
  background: var(--brown);
}

.nav-hbg.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hbg.open span:nth-child(2) {
  opacity: 0;
}

.nav-hbg.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  #site-nav {
    padding: 14px 20px;
  }

  #site-nav.scrolled {
    padding: 10px 20px;
  }

  .nav-hbg {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(26,18,8,.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 800;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
    color: rgba(255,255,255,.9) !important;
  }

  .nav-cta-link {
    background: var(--gold) !important;
    color: var(--dark) !important;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  padding: 15px 36px;
  cursor: pointer;
  transition: all .35s var(--ease);
  letter-spacing: .02em;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--dark);
  box-shadow: 0 8px 28px rgba(201,168,76,.38);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(201,168,76,.5);
}

.btn-ghost {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 11px 26px;
  font-size: .9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: .5; }
  50%      { opacity: 1; }
}

.reveal,
.reveal-l,
.reveal-r {
  opacity: 0;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal   { transform: translateY(40px); }
.reveal-l { transform: translateX(-40px); }
.reveal-r { transform: translateX(40px); }

.reveal.vis,
.reveal-l.vis,
.reveal-r.vis {
  opacity: 1;
  transform: none;
}

/* ===== SECTIONS ===== */
section {
  padding: 96px 24px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.sec-lbl {
  font-family: 'DM Sans', sans-serif;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sep-dk);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sec-lbl::before,
.sec-lbl::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--sep);
  flex-shrink: 0;
}

.sec-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.13;
  color: var(--brown);
  letter-spacing: -.02em;
}

.sec-h em {
  font-style: italic;
  color: var(--sep-dk);
}

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #1A1208;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  image-rendering: auto;
}

#hero-img-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

#hero-vid-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(135deg, rgba(26,18,8,.78) 0%, rgba(92,61,46,.52) 60%, rgba(26,18,8,.82) 100%);
}

.hero-body {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 880px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.38);
  backdrop-filter: blur(10px);
  color: var(--gold-lt);
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .8s .2s var(--ease) forwards;
}

.hero-badge::before {
  content: '\2726';
  font-size: .65rem;
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6.8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.07;
  color: #fff;
  letter-spacing: -.025em;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp .9s .4s var(--ease) forwards;
}

.hero-h1 em {
  color: var(--gold-lt);
  font-style: italic;
}

.hero-p {
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  color: rgba(255,255,255,.82);
  font-weight: 300;
  font-style: italic;
  max-width: 640px;
  margin: 0 auto 38px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp .9s .6s var(--ease) forwards;
}

.hero-acts {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .9s .8s var(--ease) forwards;
}

.hero-watch-row {
  margin-top: 22px;
  opacity: 0;
  animation: fadeUp .9s 1s var(--ease) forwards;
  display: none;
}

.hero-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .3s;
}

.hero-watch-btn:hover {
  color: var(--gold-lt);
}

.hero-watch-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  transition: all .3s;
}

.hero-watch-btn:hover .hero-watch-ico {
  border-color: var(--gold-lt);
  background: rgba(201,168,76,.14);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.48);
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp .8s 1.4s var(--ease) forwards;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2.2s infinite;
}

/* ===== jQuery Ripples Support ===== */
.jquery-ripples {
  position: relative;
  z-index: 0;
}

/* ===== VIDEO MODAL ===== */
#vid-modal {
  position: fixed;
  inset: 0;
  z-index: 9900;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8,5,2,.9);
  backdrop-filter: blur(14px);
}

#vid-modal.open {
  display: flex;
  animation: fadeIn .3s;
}

.vmod-inner {
  position: relative;
  width: min(860px, 92vw);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.65);
}

.vmod-inner iframe,
.vmod-inner video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  border: none;
}

.vmod-x {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
}

.vmod-x:hover {
  background: rgba(201,168,76,.7);
}

/* ===== MEMORIES ===== */
#memories {
  background: var(--warm);
  position: relative;
  overflow: hidden;
}

#memories::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(201,168,76,.055), transparent 70%);
  pointer-events: none;
}

.mem-hdr {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 68px;
}

.mem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 26px;
  margin-top: 56px;
}

.mc {
  background: #fff;
  border-radius: var(--r);
  padding: 32px 28px;
  box-shadow: var(--sh-s);
  border: 1px solid var(--sep-lt);
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}

.mc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sep), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.mc:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-m);
}

.mc:hover::before {
  transform: scaleX(1);
}

.mc-icon {
  font-size: 2.3rem;
  margin-bottom: 16px;
  display: block;
}

.mc h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 10px;
}

.mc p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.mem-quote-box {
  background: linear-gradient(135deg, var(--brown), var(--sep-dk));
  color: #fff;
  border-radius: 22px;
  padding: 52px 56px;
  text-align: center;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}

.mem-quote-box::before {
  content: '\201C';
  position: absolute;
  top: -28px;
  left: 28px;
  font-family: 'Playfair Display', serif;
  font-size: 14rem;
  line-height: 1;
  color: rgba(255,255,255,.055);
  pointer-events: none;
}

.mem-quote-box blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  font-style: italic;
  line-height: 1.52;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.mem-quote-box cite {
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-lt);
}

/* ===== GALLERY / SLIDER ===== */
#gallery {
  background: var(--dark);
  padding: 96px 0;
}

#gallery .container {
  padding: 0 24px;
}

#gallery .sec-lbl {
  color: var(--sep);
}

#gallery .sec-lbl::before,
#gallery .sec-lbl::after {
  background: var(--sep-dk);
}

#gallery .sec-h {
  color: var(--cream);
}

.gal-sub-txt {
  color: rgba(250,246,240,.6);
  font-size: 1.06rem;
  margin-top: 10px;
  font-style: italic;
}

.slider-wrap {
  overflow: hidden;
  border-radius: 18px;
}

.slider-track {
  display: flex;
  gap: 22px;
  transition: transform .52s var(--ease);
  will-change: transform;
}

.slide {
  min-width: calc(50% - 11px);
  border-radius: 14px;
  overflow: hidden;
  background: var(--brown);
  box-shadow: var(--sh-l);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .slide {
    min-width: 100%;
  }
}

.cmp {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  user-select: none;
  cursor: col-resize;
  touch-action: none;
}

.cmp-b,
.cmp-a {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.cmp-a {
  clip-path: inset(0 0 0 50%);
  will-change: clip-path;
}

.cmp-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0,0,0,.4);
}

.cmp-hdl {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  font-size: .95rem;
  transition: box-shadow .2s;
}

.cmp-hdl.act {
  box-shadow: 0 6px 28px rgba(0,0,0,.55);
}

.cmp-lb,
.cmp-la {
  position: absolute;
  bottom: 12px;
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 7;
  pointer-events: none;
}

.cmp-lb { left: 12px; }
.cmp-la { right: 12px; }

.sl-cap {
  padding: 18px 22px;
  background: rgba(26,18,8,.96);
}

.sl-cap h4 {
  font-family: 'Playfair Display', serif;
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: 3px;
}

.sl-cap p {
  color: var(--muted);
  font-size: .86rem;
}

.sl-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.sl-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(196,168,130,.28);
  background: rgba(196,168,130,.1);
  color: var(--sep);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s;
}

.sl-btn:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.sl-dots {
  display: flex;
  gap: 7px;
}

.sl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(196,168,130,.3);
  cursor: pointer;
  transition: all .3s;
}

.sl-dot.on {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}

/* ===== PROCESS ===== */
#process {
  background: var(--sep-lt);
}

.proc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  margin-top: 56px;
  position: relative;
}

.proc-grid::before {
  content: '';
  position: absolute;
  top: 53px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sep), transparent);
}

@media (max-width: 650px) {
  .proc-grid::before {
    display: none;
  }
}

.proc-step {
  text-align: center;
  padding: 0 12px;
}

.proc-num {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brown), var(--sep-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  box-shadow: 0 8px 28px rgba(92,61,46,.22);
  position: relative;
  z-index: 1;
}

.proc-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  color: var(--brown);
  margin-bottom: 8px;
}

.proc-step p {
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
#testimonials {
  background: var(--cream);
}

.test-hdr {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 24px;
}

.tc {
  background: #fff;
  border-radius: var(--r);
  padding: 32px 28px;
  box-shadow: var(--sh-s);
  border: 1px solid var(--sep-lt);
  transition: all .4s var(--ease);
}

.tc:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-m);
}

.tc-stars {
  color: var(--gold);
  font-size: .9rem;
  margin-bottom: 14px;
  letter-spacing: 3px;
}

.tc-txt {
  font-style: italic;
  font-size: 1rem;
  color: var(--txt);
  line-height: 1.72;
  margin-bottom: 20px;
  position: relative;
}

.tc-txt::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 3.6rem;
  color: var(--sep-lt);
  position: absolute;
  top: -16px;
  left: -8px;
  line-height: 1;
}

.tc-auth {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--sep-lt);
  padding-top: 16px;
}

.tc-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tc-av-init {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sep), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.tc-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  color: var(--brown);
}

.tc-loc {
  font-size: .8rem;
  color: var(--muted);
}

/* ===== LOCATION ===== */
#location {
  background: var(--warm);
}

.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

@media (max-width: 800px) {
  .loc-grid {
    grid-template-columns: 1fr;
  }
}

.loc-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  color: var(--brown);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}

.loc-items {
  margin-top: 26px;
}

.loc-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.loc-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sep-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.loc-t strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1px;
}

.loc-t span {
  font-size: 1rem;
  color: var(--txt);
}

.map-box {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-m);
  height: 360px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== UPLOAD ===== */
#upload {
  background: linear-gradient(160deg, var(--dark), var(--brown));
  position: relative;
  overflow: hidden;
}

#upload::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C4A882' fill-opacity='.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

#upload > .container {
  position: relative;
  z-index: 1;
}

#upload .sec-lbl {
  color: var(--sep);
}

#upload .sec-lbl::before,
#upload .sec-lbl::after {
  background: var(--sep-dk);
}

#upload .sec-h {
  color: var(--cream);
}

.up-sub {
  color: rgba(250,246,240,.65);
  font-size: 1.06rem;
  margin-top: 10px;
  font-style: italic;
}

.up-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
  align-items: start;
}

@media (max-width: 840px) {
  .up-grid {
    grid-template-columns: 1fr;
  }
}

.up-bens {
  padding-top: 6px;
}

.ben {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.ben-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201,168,76,.13);
  border: 1px solid rgba(201,168,76,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ben-txt strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  color: var(--cream);
  margin-bottom: 2px;
}

.ben-txt span {
  font-size: .9rem;
  color: rgba(250,246,240,.55);
  line-height: 1.55;
}

.fcard {
  background: rgba(250,246,240,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(196,168,130,.17);
  border-radius: 20px;
  padding: 36px;
}

.fl {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(250,246,240,.65);
  margin-bottom: 6px;
}

.fi,
.fta {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(196,168,130,.17);
  border-radius: var(--rs);
  padding: 12px 16px;
  color: var(--cream);
  font-family: 'Crimson Pro', serif;
  font-size: 1.02rem;
  outline: none;
  transition: all .3s;
}

.fi::placeholder,
.fta::placeholder {
  color: rgba(250,246,240,.3);
}

.fi:focus,
.fta:focus {
  border-color: rgba(201,168,76,.45);
  background: rgba(255,255,255,.11);
}

.fta {
  resize: vertical;
  min-height: 110px;
}

.fg {
  margin-bottom: 16px;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 480px) {
  .frow {
    grid-template-columns: 1fr;
  }
}

.dzone {
  border: 2px dashed rgba(196,168,130,.27);
  border-radius: var(--r);
  padding: 34px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .3s;
  position: relative;
}

.dzone.dov {
  border-color: var(--gold);
  background: rgba(201,168,76,.07);
}

.dzone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.dz-ico {
  font-size: 2.3rem;
  margin-bottom: 9px;
}

.dz-t {
  color: rgba(250,246,240,.68);
  font-size: .95rem;
  margin-bottom: 4px;
}

.dz-h {
  color: rgba(250,246,240,.36);
  font-size: .8rem;
  font-family: 'DM Sans', sans-serif;
}

.flist {
  margin-top: 10px;
}

.fitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.08);
  border-radius: var(--rs);
  padding: 6px 12px;
  margin-top: 6px;
  font-size: .86rem;
  color: var(--cream);
}

.frm {
  background: none;
  border: none;
  color: rgba(250,246,240,.4);
  font-size: .9rem;
  cursor: pointer;
  transition: color .2s;
  padding: 2px;
}

.frm:hover {
  color: #ff6b6b;
}

.btn-sub {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 15px;
  border-radius: var(--rs);
  border: none;
  cursor: pointer;
  transition: all .35s var(--ease);
  letter-spacing: .03em;
  box-shadow: 0 8px 26px rgba(201,168,76,.28);
  margin-top: 6px;
}

.btn-sub:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(201,168,76,.44);
}

.f-ok {
  display: none;
  text-align: center;
  padding: 44px 24px;
}

.f-ok.show {
  display: block;
}

.f-ok-ico {
  font-size: 3.6rem;
  margin-bottom: 16px;
}

.f-ok h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 8px;
}

.f-ok p {
  color: rgba(250,246,240,.68);
  font-size: 1rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  padding: 50px 24px 28px;
  text-align: center;
}

.f-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
}

.f-tag {
  color: var(--muted);
  font-style: italic;
  font-size: .95rem;
  margin-bottom: 26px;
}

.f-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  list-style: none;
}

.f-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}

.f-links a:hover {
  color: var(--gold);
}

.f-div {
  width: 52px;
  height: 1px;
  background: var(--sep-dk);
  margin: 0 auto 20px;
}

.f-copy {
  color: rgba(122,99,85,.5);
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: var(--gold);
  color: var(--dark);
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: .9rem;
  box-shadow: 0 8px 26px rgba(201,168,76,.38);
  z-index: 99999;
  transform: translateY(80px);
  opacity: 0;
  transition: all .4s var(--ease);
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ===== HERO SLIDESHOW ===== */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  background-size: cover;
  background-position: center;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,18,8,.73), rgba(60,35,20,.48) 55%, rgba(26,18,8,.79) 100%);
}

.hero-dots-bar {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.hdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
  cursor: pointer;
  border: none;
  transition: all .4s var(--ease);
}

.hdot.on {
  background: var(--gold);
  width: 26px;
  border-radius: 4px;
}

/* STW (Slideshow Text Wrapper) transitions */
.stw .hero-badge,
.stw .hero-h1,
.stw .hero-p,
.stw .hero-acts,
.stw .hero-watch-row {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.stw.hin .hero-badge {
  opacity: 1;
  transform: none;
  transition-delay: .04s;
}

.stw.hin .hero-h1 {
  opacity: 1;
  transform: none;
  transition-delay: .17s;
}

.stw.hin .hero-p {
  opacity: 1;
  transform: none;
  transition-delay: .3s;
}

.stw.hin .hero-acts {
  opacity: 1;
  transform: none;
  transition-delay: .44s;
}

.stw.hin .hero-watch-row {
  opacity: 1;
  transform: none;
  transition-delay: .58s;
}

.stw.hout .hero-badge,
.stw.hout .hero-h1,
.stw.hout .hero-p,
.stw.hout .hero-acts,
.stw.hout .hero-watch-row {
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}

/* ===== LOADING VEIL ===== */
#initVeil {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  transition: opacity .6s;
}

/* ===== INLINE EDIT MODE ===== */
.edit-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(20,14,6,.97);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--gold);
  padding: 0 20px;
  height: 56px;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body.edit-mode .edit-bar {
  display: flex;
}

body.edit-mode #site-nav {
  top: 56px;
}

.edit-bar-logo {
  font-family: 'Playfair Display', serif;
  color: var(--gold-lt);
  font-size: 1.05rem;
  margin-right: 8px;
  white-space: nowrap;
}

.edit-bar-logo span {
  color: var(--muted);
  font-size: .75rem;
  font-family: 'DM Sans', sans-serif;
}

.eb-btn {
  background: none;
  border: 1px solid rgba(196,168,130,.22);
  color: var(--muted);
  padding: 7px 16px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  cursor: pointer;
  transition: all .3s;
  white-space: nowrap;
}

.eb-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.eb-btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--dark);
  border: none;
  font-weight: 500;
}

.eb-btn.primary:hover {
  box-shadow: 0 6px 20px rgba(201,168,76,.35);
}

.eb-btn.danger {
  border-color: rgba(255,107,107,.3);
  color: #ff8888;
}

.eb-btn.danger:hover {
  border-color: #ff6b6b;
  color: #ff6b6b;
}

.eb-sep {
  width: 1px;
  height: 28px;
  background: rgba(196,168,130,.15);
  flex-shrink: 0;
}

.eb-mode-badge {
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-lt);
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: .08em;
  white-space: nowrap;
}

body.edit-mode [data-editable] {
  position: relative;
  cursor: text;
  transition: outline .2s, background .2s;
}

body.edit-mode [data-editable]:hover {
  outline: 2px dashed rgba(201,168,76,.6);
  outline-offset: 3px;
  border-radius: 4px;
}

body.edit-mode [data-editable]:focus {
  outline: 2px solid var(--gold) !important;
  outline-offset: 3px;
  border-radius: 4px;
  background: rgba(201,168,76,.04);
}

body.edit-mode [data-editable][contenteditable] {
  outline: 2px solid var(--gold) !important;
}

/* ===== BACKEND MODAL ===== */
#be-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(10,7,3,.88);
  backdrop-filter: blur(14px);
  overflow-y: auto;
}

#be-modal.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
}

.bm-inner {
  background: #1A1208;
  border: 1px solid rgba(196,168,130,.15);
  border-radius: 20px;
  width: 100%;
  max-width: 820px;
  overflow: hidden;
}

.bm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(196,168,130,.1);
}

.bm-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--cream);
}

.bm-x {
  background: none;
  border: 1px solid rgba(196,168,130,.2);
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: .95rem;
  cursor: pointer;
  transition: all .3s;
}

.bm-x:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.bm-body {
  padding: 24px 28px;
}

/* ===== BACKEND FORM ELEMENTS ===== */
.be-lbl {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
  margin-top: 13px;
}

.be-lbl:first-child {
  margin-top: 0;
}

.be-in,
.be-ta,
.be-sel {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(196,168,130,.13);
  border-radius: var(--rs);
  padding: 10px 14px;
  color: var(--cream);
  font-family: 'Crimson Pro', serif;
  font-size: .96rem;
  outline: none;
  transition: border-color .3s;
}

.be-in:focus,
.be-ta:focus,
.be-sel:focus {
  border-color: var(--gold);
}

.be-ta {
  min-height: 75px;
  resize: vertical;
}

.be-sel option {
  background: #1A1208;
  color: var(--cream);
}

.be-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 540px) {
  .be-row2 {
    grid-template-columns: 1fr;
  }
}

.be-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: .86rem;
  padding: 10px 22px;
  border-radius: var(--rs);
  border: none;
  cursor: pointer;
  transition: all .3s;
  margin-top: 14px;
}

.be-btn:hover {
  box-shadow: 0 6px 20px rgba(201,168,76,.3);
}

.be-btn-del {
  background: rgba(255,107,107,.12);
  color: #ff8888;
  border: 1px solid rgba(255,107,107,.2);
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  padding: 6px 13px;
  border-radius: var(--rs);
  cursor: pointer;
  transition: all .3s;
}

.be-btn-del:hover {
  background: rgba(255,107,107,.22);
  color: #ff6b6b;
}

.be-btn-add {
  background: rgba(201,168,76,.12);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.2);
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  padding: 6px 13px;
  border-radius: var(--rs);
  cursor: pointer;
  transition: all .3s;
}

.be-btn-add:hover {
  background: rgba(201,168,76,.22);
}

.be-item {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(196,168,130,.07);
  border-radius: var(--rs);
  padding: 16px;
  margin-bottom: 9px;
}

.be-ihead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.be-ihead span {
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  color: var(--muted);
}

.be-tog {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-top: 12px;
  user-select: none;
}

.be-sw {
  width: 44px;
  height: 22px;
  background: rgba(255,255,255,.1);
  border-radius: 11px;
  position: relative;
  transition: background .3s;
  flex-shrink: 0;
}

.be-sw::after {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--muted);
  top: 2.5px;
  left: 2.5px;
  transition: all .3s;
}

.be-sw.on {
  background: rgba(201,168,76,.28);
}

.be-sw.on::after {
  background: var(--gold);
  transform: translateX(21px);
}

.be-sw-lbl {
  font-family: 'DM Sans', sans-serif;
  font-size: .86rem;
  color: var(--muted);
}

.imgw {
  border: 2px dashed rgba(196,168,130,.22);
  border-radius: var(--rs);
  padding: 18px 14px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: all .3s;
  margin-top: 6px;
}

.imgw.dov {
  border-color: var(--gold);
  background: rgba(201,168,76,.06);
}

.imgw input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.imgw-t {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  color: rgba(250,246,240,.45);
}

.imgw-t b {
  color: var(--gold-lt);
}

.imgw-prev {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 5px;
  margin-top: 7px;
  display: none;
}

.be-tabs-row {
  display: flex;
  gap: 3px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 20px;
}

.be-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .3s;
  text-align: center;
}

.be-tab.on {
  background: var(--gold);
  color: var(--dark);
  font-weight: 500;
}

.be-sec {
  display: none;
}

.be-sec.on {
  display: block;
}

/* ===== LOGIN MODAL ===== */
#login-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10,7,3,.92);
  backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
}

#login-modal.show {
  display: flex;
}

.login-box {
  background: #1A1208;
  border: 1px solid rgba(196,168,130,.18);
  border-radius: 20px;
  padding: 48px 44px;
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.login-ico {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.login-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  color: var(--cream);
  margin-bottom: 6px;
}

.login-sub {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 26px;
}

.login-input {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(196,168,130,.18);
  border-radius: var(--rs);
  padding: 12px 16px;
  color: var(--cream);
  font-size: 1rem;
  outline: none;
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
  text-align: center;
  transition: border-color .3s;
}

.login-input:focus {
  border-color: var(--gold);
}

.login-input[type="password"] {
  letter-spacing: .18em;
}

#loginErr {
  color: #ff8888;
  font-size: .84rem;
  margin-bottom: 10px;
  display: none;
}
