:root {
  --bg: #07080c;
  --bg-elevated: #101218;
  --line: rgba(232, 197, 71, 0.18);
  --gold: #e8c547;
  --lime: #b8ff3d;
  --whatsapp: #25d366;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #e8c547 #101218;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
}

.bg-noise {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}

.gold-text {
  background: linear-gradient(120deg, #fff6c8 0%, #e8c547 38%, #9a7a1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lime-glow {
  box-shadow: 0 0 0 1px rgba(184, 255, 61, 0.25), 0 12px 40px rgba(184, 255, 61, 0.18);
}

.gold-glow {
  box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.28), 0 16px 48px rgba(232, 197, 71, 0.16);
}

.glass {
  background: rgba(10, 12, 18, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-scrolled {
  background: rgba(7, 8, 12, 0.88);
  border-bottom: 1px solid rgba(232, 197, 71, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(232, 197, 71, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 197, 71, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 80%);
}

.orb {
  filter: blur(70px);
  animation: float 10s ease-in-out infinite;
}

.video-shell {
  box-shadow: inset 0 0 0 1px rgba(232, 197, 71, 0.24), 0 25px 60px rgba(0, 0, 0, 0.42);
}

.gallery-viewport {
  min-width: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.gallery-card {
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.gallery-card:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 197, 71, 0.4);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.28);
}

.gallery-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 132px;
  border: 1px solid rgba(232, 197, 71, 0.22);
  background: rgba(255, 255, 255, 0.02);
  color: #f4efe8;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.gallery-nav:hover {
  background: rgba(232, 197, 71, 0.08);
  border-color: rgba(232, 197, 71, 0.4);
  transform: translateY(-1px);
}

.gallery-nav span:first-child {
  opacity: 0.9;
}

.gallery-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.gallery-dot.active {
  width: 30px;
  background: linear-gradient(90deg, #e8c547, #b8ff3d);
  box-shadow: 0 0 20px rgba(232, 197, 71, 0.35);
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -22px, 0) scale(1.08); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }

.card-hover {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 197, 71, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(232, 197, 71, 0.12);
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stars {
  letter-spacing: 2px;
  color: #e8c547;
}

.wa-pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid #25d366;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.22); opacity: 0; }
}

.modal-backdrop {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-panel {
  transform: translateY(18px) scale(0.98);
  transition: transform 0.28s ease;
}

.modal-backdrop.open .modal-panel {
  transform: none;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(232, 197, 71, 0.35);
}

.stamp {
  animation: stampIn 1.1s cubic-bezier(0.2, 0.9, 0.25, 1.15) both;
}

@keyframes stampIn {
  0% { transform: rotate(-12deg) scale(1.4); opacity: 0; }
  100% { transform: rotate(-12deg) scale(1); opacity: 1; }
}

.site-logo {
  width: 4.5rem;
  height: 4.5rem;
}

@media (min-width: 640px) {
  .site-logo {
    width: 5.25rem;
    height: 5.25rem;
  }
}

.gallery-card img {
  display: block;
  height: 220px;
  object-fit: cover;
  width: 100%;
}

@media (min-width: 640px) {
  .gallery-card img {
    height: 260px;
  }
}

@media (max-width: 640px) {
  .site-logo {
    width: 4.2rem;
    height: 4.2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .gallery-card img {
    height: 170px;
  }

  .gallery-nav {
    min-width: 110px;
    padding: 0.7rem 0.9rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .video-shell video {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .orb, .marquee-track, .stamp, .wa-pulse::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
