/* =========================
   0) Variables + Base
========================= */
:root{
  --bg:#050505;
  --bg2:#0b0b0b;
  --text:#f0f0f0;
  --muted:#b8b8b8;
  --gold:#d4af37;
  --gold2:#f0d27a;
  --card:rgba(255,255,255,.05);
  --stroke:rgba(255,255,255,.10);
  --strokeGold:rgba(212,175,55,.30);
  --shadow: 0 26px 70px rgba(0,0,0,.65);
  --r:18px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(212,175,55,.14), transparent 60%),
    radial-gradient(900px 600px at 20% 110%, rgba(212,175,55,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), #000);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.container{width:min(1140px, 92vw); margin:0 auto}

/* =========================
   1) Background Layers
========================= */
#smokeCanvas{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grain{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

/* page content above background */
main, footer{
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce){
  #smokeCanvas{ display:none; }
}

/* =========================
   2) Buttons (Global)
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:#fff;
  font-weight:650;
  font-size:14px;
  transition: .25s ease;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(212,175,55,.34);
  background: rgba(212,175,55,.12);
}

.btn-gold{
  border-color: rgba(212,175,55,.45);
  background: linear-gradient(180deg, rgba(212,175,55,.30), rgba(212,175,55,.12));
}

.btn-gold:hover{
  background: linear-gradient(180deg, rgba(240,210,122,.34), rgba(212,175,55,.14));
}

/* =========================
   3) Hero + Cards
========================= */
.hero{ padding: 76px 0 34px; }
.hero-inner{ max-width: 980px; }

.pill{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(212,175,55,.26);
  background: rgba(212,175,55,.08);
  color: rgba(240,210,122,.95);
  font-weight:700;
  font-size:13px;
}

.hero-title{
  margin:14px 0 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.7px;
}

.hero-lead{
  margin:0;
  color: rgba(240,240,240,.82);
  line-height:1.7;
  max-width: 70ch;
}

.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

/* split layout */
.hero-split{
  margin-top:22px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:14px;
  align-items:stretch;
}
.hero-left{ display:grid; gap:14px; }
.hero-right{ display:flex; }

.hero-photo{
  position:relative;
  width:100%;
  border-radius: 22px;
  overflow:hidden;
  border:1px solid rgba(212,175,55,.22);
  background: rgba(255,255,255,.03);
  box-shadow: 0 30px 90px rgba(0,0,0,.70);
  min-height: 330px;
}

.hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.92;
  transform: scale(1.03);
  transition: opacity 900ms ease, transform 1200ms ease;
}

.hero-photo img.fade-out{
  opacity:0;
  transform: scale(1.01);
}

.photo-glow{
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 30% 20%, rgba(212,175,55,.18), transparent 55%);
  pointer-events:none;
}

.hero-dots{
  position:absolute;
  left:16px;
  bottom:16px;
  display:flex;
  gap:8px;
  z-index:3;
}
.hero-dots span{
  width:8px; height:8px;
  border-radius:999px;
  border:1px solid rgba(212,175,55,.40);
  background: rgba(0,0,0,.35);
  opacity:.9;
}
.hero-dots span.active{
  background: rgba(212,175,55,.65);
  box-shadow: 0 0 18px rgba(212,175,55,.25);
}

/* glass cards */
.glass-card{
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  padding:18px;
}
.glass-card h3{margin:0 0 8px; letter-spacing:-.2px}
.glass-card p{margin:0; color: rgba(240,240,240,.78); line-height:1.6}

.tags{margin-top:12px; display:flex; flex-wrap:wrap; gap:10px}
.tags span{
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(212,175,55,.22);
  background: rgba(0,0,0,.25);
  color: rgba(240,210,122,.92);
}

@media (max-width: 980px){
  .hero-split{grid-template-columns: 1fr}
  .hero-photo{min-height: 260px}
}

/* =========================
   4) Sections + Grid + Product Cards
========================= */
.section{padding: 32px 0 74px}
.section-tight{padding-top: 0}

.section-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-end;
  margin-bottom: 16px;
}

.section-title{margin:0; font-size: 26px; letter-spacing:-.4px}
.section-sub{margin:6px 0 0; color: rgba(240,240,240,.68)}

.count{
  font-size: 13px;
  color: rgba(240,240,240,.70);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.28);
  padding:10px 12px;
  border-radius: 14px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

@media (max-width: 980px){
  .grid{grid-template-columns: repeat(2, 1fr)}
}

.card{
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.10);
  background: radial-gradient(800px 300px at 0% 0%, rgba(212,175,55,.12), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 22px 55px rgba(0,0,0,.60);
  overflow:hidden;
  transition: .25s ease;
}

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(212,175,55,.25);
}

/* Product images with swap (home.js) */
.card-top{
  position:relative;
  height: 400px;
  padding:0;
  overflow:hidden;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.card-top:after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.70));
  pointer-events:none;
}

.card-top .card-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:0;
  transform: scale(1.06);
  transition: opacity 700ms ease, transform 1400ms ease;
  will-change: opacity, transform;
}

.card-top .card-img.is-active{
  opacity:1;
  transform: scale(1.02);
}

/* category badge */
.badge{
  position:absolute;
  left:12px;
  top:12px;
  z-index:3;
  display:inline-flex;
  padding:7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.26);
  background: rgba(0,0,0,.26);
  color: rgba(240,210,122,.92);
  font-size:12px;
  font-weight:700;
}

/* optional pause class */
.card-top.is-paused .card-img{ transition:none; }

.card-body{padding:14px}
.card-title{margin:0 0 6px; font-weight:900; letter-spacing:.2px}
.card-notes{margin:0; color: rgba(240,240,240,.75); line-height:1.6; font-size:14px}

.meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
  color: rgba(240,240,240,.70);
  font-size:12px;
}
.meta span{
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
}

/* =========================
   5) CTA
========================= */
.cta{
  border-radius: 22px;
  border: 1px solid rgba(212,175,55,.24);
  background: radial-gradient(1000px 500px at 10% 10%, rgba(212,175,55,.12), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  padding: 18px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
}

.cta h2{margin:0 0 6px}
.cta p{margin:0; color: rgba(240,240,240,.78); line-height:1.6; max-width: 68ch}
.cta-actions{display:flex; gap:10px; flex-wrap:wrap}

@media (max-width: 980px){
  .cta{flex-direction:column; align-items:flex-start}
}

/* =========================
   6) Footer + WhatsApp
========================= */
.footer{
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.50);
  padding: 22px 0;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.footer-brand img{
  height:36px;
  filter: drop-shadow(0 0 8px rgba(212,175,55,.20));
}

.footer-sub{color: rgba(240,240,240,.65); font-size:13px}
.footer-meta{display:flex; gap:10px; flex-wrap:wrap; color: rgba(240,240,240,.70); font-size:13px}

/* WhatsApp floating */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 22px 55px rgba(0,0,0,.55);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.wa-float:hover{
  transform: translateY(-2px);
  border-color: rgba(212,175,55,.35);
  background: rgba(212,175,55,.12);
}

.wa-icon{
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.28);
  background: rgba(0,0,0,.35);
  color: var(--gold);
}

.wa-text{
  font-weight: 750;
  font-size: 14px;
  letter-spacing: .2px;
}

@media (max-width: 720px){
  .wa-text{ display:none; }
  .wa-float{ padding: 12px; }
}

/* =========================
   7) Modal
========================= */
.modal-backdrop{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.75);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:80;
}

.modal{
  width: min(780px, 96vw);
  border-radius: 22px;
  border: 1px solid rgba(212,175,55,.28);
  background: linear-gradient(180deg, rgba(15,15,15,.98), rgba(0,0,0,.95));
  box-shadow: 0 30px 90px rgba(0,0,0,.78);
  overflow:hidden;
}

.modal-top{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.modal-top h3{margin:0}
.modal-top p{margin:6px 0 0; color: rgba(240,240,240,.72); line-height:1.6}

.modal-close{width:44px; height:44px; border-radius:14px}

.modal-body{padding:16px; display:grid; gap:12px}

.modal-kv{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

.modal-kv div{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
  padding:12px;
}

.modal-kv span{
  display:block;
  color: rgba(240,240,240,.66);
  font-size:12px;
  margin-bottom:6px
}

.modal-kv b{font-size:13px; letter-spacing:.2px}
.modal-actions{display:flex; gap:10px; flex-wrap:wrap}

/* =========================
   8) Reveal Animation
========================= */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

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

/* =========================
   9) Contact Page
========================= */
.grid-contact{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:14px;
  align-items:start;
}

.form{display:grid; gap:12px}

.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

label{font-size:12px; color: rgba(240,240,240,.70)}

input, textarea{
  width:100%;
  margin-top:6px;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  color: rgba(240,240,240,.92);
  outline:none;
}

textarea{min-height:130px; resize:vertical}

.form-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:4px}
.form-hint{color: rgba(240,240,240,.60); font-size:12px}

.form-help{
  display:none;
  color: rgba(240,210,122,.90);
  border:1px solid rgba(212,175,55,.22);
  background: rgba(212,175,55,.08);
  padding:10px 12px;
  border-radius: 14px;
}
.form-help.show{display:block}

.info-list{display:grid; gap:10px; margin-top:10px}

.info-item{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.info-label{color: rgba(240,240,240,.65); font-size:12px; min-width: 140px}
.info-value{font-weight:700; font-size:13px}

.divider{
  height:1px;
  background: rgba(255,255,255,.10);
  margin:14px 0;
}

/* Leaflet map */
.leaflet-map{
  width:100%;
  height:300px;
  border-radius:18px;
  overflow:hidden;
}
.leaflet-container{ background: #0b0b0b; }

.map-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding:12px;
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
}

@media (max-width: 980px){
  .grid-contact{grid-template-columns: 1fr}
}

@media (max-width: 720px){
  .form-row{grid-template-columns: 1fr}
}

/* Video block aligned like the rest of the site */
.hero-video-wrap{
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

/* 16:9 ratio */
.hero-video-wrap::before{
  content: "";
  display: block;
  padding-top: 56.25%;
}

.hero-iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Mobile spacing */
@media (max-width: 768px){
  .hero-video-wrap{
    border-radius: 16px;
  }
}
.video-title{
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 700;
}

