*{
  box-sizing:border-box; 
  margin:0; 
  padding:0; 
}
body{
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  margin:0;
  background: #000;
  color: #fff;
  position: relative;
}

#panorama-bg{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:-1;
  cursor: grab;
}
#panorama-bg:active{ cursor: grabbing; }

#fullscreen-btn{
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  border: 2px solid #00ff1a;
  color: #00ff1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
#fullscreen-btn:hover{
  background: #00ff1a;
  color: #000;
  transform: scale(1.08);
}
#fullscreen-btn svg{ width: 22px; height: 22px; pointer-events: none; }

@media screen and (max-width:768px){
  #fullscreen-btn{
    bottom: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
  }
}

header{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 30px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index:10;
}
.logo-container{
  display:flex;
  align-items:center;
  gap:20px;
}
.logo{ font-size:24px; font-weight:bold; color:#00ff1a; }
.phone{ color:#00ff1a; font-size:20px; font-weight:bold; text-decoration:none; }
.phone:hover{ color:#ffc300; }
nav{ display:flex; gap:20px; }
nav a{ color:#fff; text-decoration:none; cursor:pointer; font-size:22px; transition: color 0.3s; }
nav a:hover{ color:#ffc300; }
.menu-toggle{ display:none; flex-direction: column; cursor:pointer; gap:5px; }
.menu-toggle span{ width:28px; height:3px; background:white; }

#home {
  position: fixed;      
  top: 80px;            
  left: 0;
  width: 600px;         
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 20px;
  z-index: 5;
}

.popup{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.7);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:1000;
}
.popup-content{
  background:rgba(0,0,0,0.5);
  padding:40px;
  border-radius:10px;
  max-width:600px;
  width:90%;
  text-align:center;
  overflow-y:auto;
  max-height:90%;
  position: relative;
}
.popup-close{
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.popup-close:hover{ color: #ffc300; }


/* Popup con efecto cristal (aviso al hacer clic derecho) */
.cm-popup {
  position: fixed;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  padding: 14px 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  font-size: 16px;
  letter-spacing: 0.3px;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cm-popup.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: cm-aparecer 0.35s ease forwards;
}
.cm-popup.hide {
  animation: cm-desaparecer 0.4s ease forwards;
}
.cm-popup::before {
  content: "⚠️";
  margin-right: 8px;
}
@keyframes cm-aparecer {
  from { opacity: 0; transform: translateY(15px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cm-desaparecer {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(10px) scale(0.95); }
}

footer{ 
  text-align:center; 
  padding:20px; 
  background: rgba(0,0,0,0.5); 
  color:#fff; 
}

@media screen and (max-width:768px){
  #home{
    position: relative;
    top: 0;
    width: 100%;
    padding: 20px;
    margin-top:100px;
  }
  nav{ 
    flex-direction: column; 
    display:none; 
    background: rgba(0,0,0,0.8); 
    position:absolute; 
    top:70px; 
    right:30px; 
    padding:10px; 
    border-radius:10px; 
  }
  nav.active{ display:flex; }
  .menu-toggle{ display:flex; }
}
