* {
  box-sizing:border-box; 
  margin:0; 
  padding:0; 
}

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  margin:0;
  background: url('/img/imgfondo.png') center/cover no-repeat fixed;
  color: #fff;
  position: relative;
}

canvas#rain-canvas {
  display:block;
  position:absolute;
  top:0;
  left:0;
  pointer-events:none;
  z-index:0;
}

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.3);
  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;
  transition: color 0.3s;
}

.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: relative;
  min-height:100vh;
  display:flex;
  justify-content:flex-start;
  align-items:flex-start;
  text-align:center;
  overflow:hidden;
  padding-top:100px;
  padding-left:30px;
}

.hero-slideshow {
  position: relative;
  width:600px;
  max-width:90%;
  z-index:2;
}

.hero-content {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  background: rgba(255,255,255,0.1);
  border-radius:20px;
  padding:40px 60px;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  opacity:0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.hero-content.active {
  opacity:1;
  transform: translateY(0);
}

.hero-content h1 {
  font-size:36px;
  color:#ffc300;
  margin-bottom:15px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-content p {
  font-size:18px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.hero-content img, .hero-content video {
  width:100%;
  border-radius:15px;
  margin-top:15px;
}

.slide-dots {
  position: relative;
  margin-top:220px;
  text-align:left;
}

.dot {
  display:inline-block;
  width:12px;
  height:12px;
  margin:0 5px;
  background:#fff;
  border-radius:50%;
  opacity:0.5;
  cursor:pointer;
  transition:opacity 0.3s, background 0.3s;
}

.dot.active {
  background:#ffc300;
  opacity:1;
}

.popup {
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.9);
  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%;
}

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

@media (max-width:900px){
  .hero-content h1{font-size:28px;}
  .hero-content p{font-size:16px;}
}

@media (max-width:700px){
  .menu-toggle{display:flex;}
  nav{
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:rgba(0,0,0,0.95);
    flex-direction:column;
    align-items:center;
    padding:20px;
    display:none; 
  }
  nav.active{display:flex;}
  nav a{padding:10px;font-size:18px;}
  .hero-content{padding:25px;}
  .hero-content h1{font-size:22px;}
  .hero-content p{font-size:14px;}
  .logo-container{
    flex-direction: column;
    align-items:flex-start;
    gap:10px;
  }
}