/* Repast Memories — cinematic dark-luxury theme */
:root {
  --bg: #0d0e12;
  --bg2: #14161c;
  --card: #171a21;
  --card2: #1d212a;
  --gold: #c9a24b;
  --gold-hi: #e8cd7e;
  --gold-dim: rgba(201, 162, 75, .22);
  --text: #f3eee2;
  --muted: #a9a396;
  --line: rgba(201, 162, 75, .16);
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
section { scroll-margin-top: calc(var(--nav-h) + 12px); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.eyebrow {
  font-size: .78rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem;
}
.eyebrow.light { color: var(--gold-hi); }
.lede, .section-sub { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.rule { display: flex; justify-content: center; margin: 1.4rem 0; }
.rule span { display: block; width: 88px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 2rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #191407; box-shadow: 0 10px 30px rgba(201, 162, 75, .28); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(201, 162, 75, .38); }
.btn-ghost { border-color: rgba(243, 238, 226, .35); color: var(--text); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2.6rem; font-size: 1.08rem; }
.btn-sm { padding: .6rem 1.4rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(13, 14, 18, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: .02em; }
.brand-flame { width: 26px; height: 26px; color: var(--gold); filter: drop-shadow(0 0 8px rgba(201, 162, 75, .6)); }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .25s ease; border-radius: 2px; }
.nav-links a:hover::after { width: 100%; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.lang-switch { display: flex; gap: 4px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: 0; background: transparent; color: var(--muted); font: 600 .78rem var(--font-body);
  padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.lang-switch button.active { background: var(--gold); color: #191407; }
.lang-switch button:not(.active):hover { color: var(--text); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/sample-tv.jpg") center 30% / cover no-repeat;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(13, 14, 18, .72) 0%, rgba(13, 14, 18, .45) 40%, rgba(13, 14, 18, .88) 100%),
  radial-gradient(ellipse at center, transparent 30%, rgba(13, 14, 18, .55) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; padding: calc(var(--nav-h) + 40px) 24px 80px; }
.hero-inner h1 { text-shadow: 0 4px 40px rgba(0, 0, 0, .6); }
.hero-inner .lede { margin: 0 auto 2.2rem; color: #d8d2c2; font-size: 1.2rem; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 44px; border: 2px solid rgba(243, 238, 226, .4); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-hint span { width: 4px; height: 9px; border-radius: 4px; background: var(--gold); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(12px); opacity: .2; } }

/* ---------- stats ---------- */
.stats { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 44px; padding-bottom: 44px; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { display: block; margin-top: .5rem; color: var(--muted); font-size: .92rem; letter-spacing: .04em; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-sub { margin-bottom: 3rem; }

/* ---------- services bento ---------- */
.services-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.svc-card {
  grid-column: span 3;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc-card:nth-child(3), .svc-card:nth-child(4), .svc-card:nth-child(5) { grid-column: span 2; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-dim); }
.svc-media { height: 190px; overflow: hidden; position: relative; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-media img { transform: scale(1.07); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13, 14, 18, .55) 100%); }
.svc-body { padding: 26px 26px 30px; position: relative; }
.svc-body .num { position: absolute; top: -34px; right: 22px; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--gold); opacity: .85; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.svc-body h3 { margin-bottom: .4rem; }
.svc-body p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- packages ---------- */
.pkg-featured {
  position: relative; background: linear-gradient(135deg, #1e1a10 0%, var(--card) 55%);
  border: 1px solid var(--gold); border-radius: calc(var(--radius) + 4px);
  padding: 44px; margin-bottom: 28px; box-shadow: 0 20px 60px rgba(201, 162, 75, .12);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pkg-featured:hover { transform: translateY(-4px); box-shadow: 0 28px 70px rgba(201, 162, 75, .18); }
.flag {
  position: absolute; top: -15px; left: 40px;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #191407;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px;
}
.pkg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pkg-head h3 { margin: 0; font-size: 1.7rem; }
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.pkg-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: 10px; }
.pkg-list li { padding-left: 30px; position: relative; color: #d8d2c2; }
.pkg-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pkg-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-dim); }
.pkg-card .pkg-head h3 { font-size: 1.3rem; }
.pkg-card .price { font-size: 2rem; }
.pkg-card p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.pkg-link { color: var(--gold); font-weight: 600; text-decoration: none; font-size: .95rem; }
.pkg-link:hover { color: var(--gold-hi); text-decoration: underline; }
.rush-note { margin-top: 2.4rem; text-align: center; color: var(--muted); }

/* ---------- gallery ---------- */
.gallery-hint { color: var(--muted); font-size: .9rem; margin: -1.6rem 0 1.6rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g-item {
  position: relative; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in;
  background: var(--card); aspect-ratio: 4 / 3; font: inherit; color: inherit; text-align: left;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item::after { content: ""; position: absolute; inset: 0; border-radius: 14px; border: 1px solid var(--line); pointer-events: none; transition: border-color .3s; }
.g-item:hover::after { border-color: var(--gold); }
.g-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 14, .88));
  color: #eee9db; font-size: .86rem; line-height: 1.45;
}

/* ---------- samples carousel ---------- */
.carousel { position: relative; }
.car-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 6px 18px; scrollbar-width: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-slide {
  flex: 0 0 min(560px, 82%); scroll-snap-align: center; margin: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); transition: border-color .3s;
}
.car-slide:hover { border-color: var(--gold-dim); }
.car-slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.car-slide figcaption { padding: 18px 22px 22px; color: #d8d2c2; font-size: .98rem; }
.car-btn {
  position: absolute; top: 38%; z-index: 3; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--gold-dim); background: rgba(13, 14, 18, .7); color: var(--gold);
  font-size: 1.7rem; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: all .25s; display: flex; align-items: center; justify-content: center; padding-bottom: 4px;
}
.car-btn:hover { background: var(--gold); color: #191407; }
.car-prev { left: -8px; } .car-next { right: -8px; }
.car-dots { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.car-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(243, 238, 226, .22); cursor: pointer; padding: 0; transition: all .25s; }
.car-dots button.active { background: var(--gold); transform: scale(1.35); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 30px; position: relative; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.step:hover { transform: translateY(-5px); border-color: var(--gold-dim); }
.step-num {
  font-family: var(--font-display); font-size: 4.4rem; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 1rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: 0; background: url("images/sample-projector.jpg") center / cover no-repeat; }
.cta-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,14,18,.82), rgba(13,14,18,.68)); }
.cta-inner { position: relative; z-index: 2; padding: 110px 24px; }
.cta-inner h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.cta-inner p { color: #d8d2c2; max-width: 600px; margin: 0 auto 2.2rem; font-size: 1.12rem; }

/* ---------- booking ---------- */
.book-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; margin-top: 1rem; }
.book-side h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.contact-card {
  display: flex; align-items: center; gap: 18px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 16px; transition: all .3s ease;
}
a.contact-card:hover { transform: translateX(6px); border-color: var(--gold-dim); box-shadow: var(--shadow); }
.contact-card.static { cursor: default; }
.contact-card svg { width: 34px; height: 34px; color: var(--gold); flex-shrink: 0; }
.contact-card strong { display: block; font-size: 1.05rem; }
.contact-card small { color: var(--muted); font-size: .9rem; }

.form-card {
  background: rgba(23, 26, 33, .78); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 40px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: .88rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; color: #d8d2c2; }
input, select, textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; font: 1rem var(--font-body);
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(243, 238, 226, .16);
  color: var(--text); transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, .18); }
select option { background: var(--card2); color: var(--text); }
textarea { resize: vertical; min-height: 110px; }
input[type="date"] { color-scheme: dark; }
.form-error { color: #f0a3a3; background: rgba(240, 100, 100, .08); border: 1px solid rgba(240, 100, 100, .3); border-radius: 10px; padding: 12px 16px; font-size: .92rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 48px; text-align: center; background: #0a0b0e; }
.footer .brand-name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; margin-bottom: .2rem; }
.footer-addr { color: var(--muted); font-size: .9rem; max-width: 560px; margin: 1.2rem auto; }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(37, 211, 102, .4); transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .5); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 9, 12, .94);
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; max-width: min(1080px, 92vw); text-align: center; }
.lb-img { max-width: 100%; max-height: 78vh; border-radius: 12px; box-shadow: var(--shadow); margin: 0 auto; }
.lb-cap { color: #d8d2c2; margin-top: 16px; font-size: 1rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  color: var(--text); cursor: pointer; border-radius: 50%; width: 52px; height: 52px;
  font-size: 1.8rem; display: flex; align-items: center; justify-content: center; transition: all .25s; padding-bottom: 4px;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: #191407; border-color: var(--gold); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.reveal.visible { opacity: 1; transform: none; }
.services-bento .reveal:nth-child(2), .pkg-grid .reveal:nth-child(2), .steps .reveal:nth-child(2), .gallery-grid .reveal:nth-child(2), .gallery-grid .reveal:nth-child(5) { transition-delay: .12s; }
.services-bento .reveal:nth-child(3), .pkg-grid .reveal:nth-child(3), .steps .reveal:nth-child(3), .gallery-grid .reveal:nth-child(3), .gallery-grid .reveal:nth-child(6) { transition-delay: .24s; }
.services-bento .reveal:nth-child(4), .pkg-grid .reveal:nth-child(4) { transition-delay: .36s; }
.hero .reveal { opacity: 1; transform: none; animation: heroIn 1s cubic-bezier(.16, 1, .3, 1) both; }
.hero .reveal:nth-child(2) { animation-delay: .15s; } .hero .reveal:nth-child(3) { animation-delay: .3s; }
.hero .reveal:nth-child(4) { animation-delay: .45s; } .hero .reveal:nth-child(5) { animation-delay: .6s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .services-bento .svc-card { grid-column: span 3; }
  .book-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; background: rgba(13, 14, 18, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 12px 24px 24px; gap: 4px; border-bottom: 1px solid var(--line); margin-left: 0;
  }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 1.05rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .car-btn { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .services-bento .svc-card { grid-column: span 6; }
  .pkg-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .pkg-featured { padding: 36px 26px; }
  .hero-ctas .btn { width: 100%; }
  .nav .btn-sm { display: none; }
  .car-slide { flex-basis: 86%; }
}

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