*{margin:0;padding:0;box-sizing:border-box;}
:root{
  --red:#D62B2B;
  --red-dark:#A31F1F;
  --red-light:#F5C1C1;
  --dark:#1a1a1a;
  --gray:#2c2c2c;
  --light:#f5f5f5;
  --white:#ffffff;
}
html{scroll-behavior:smooth;}
body{font-family:'Segoe UI',sans-serif;background:#fff;color:#1a1a1a;overflow-x:hidden;}

/* NAVBAR */
nav{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  background:rgba(20,20,20,0.95);
  backdrop-filter:blur(8px);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 2rem;height:64px;
  border-bottom:1px solid rgba(214,43,43,0.3);
}
.nav-logo{display:flex;align-items:center;gap:10px;}
.nav-logo img{height:38px;width:auto;}
.nav-logo span{color:#fff;font-size:1.25rem;font-weight:700;letter-spacing:1px;}
.nav-right{display:flex;align-items:center;gap:1rem;}
.nav-icon-btn{
  display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:50%;
  background:rgba(214,43,43,0.15);
  border:1px solid rgba(214,43,43,0.4);
  cursor:pointer;transition:all 0.2s;text-decoration:none;
}
.nav-icon-btn:hover{background:var(--red);border-color:var(--red);}
.nav-icon-btn svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.hamburger{
  display:flex;flex-direction:column;gap:5px;cursor:pointer;padding:8px;
  background:none;border:none;
}
.hamburger span{display:block;width:22px;height:2px;background:#fff;transition:all 0.3s;border-radius:2px;}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamburger.open span:nth-child(2){opacity:0;}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* MOBILE MENU */
.mobile-menu{
  position:fixed;top:64px;left:0;right:0;z-index:999;
  background:rgba(20,20,20,0.97);
  transform:translateY(-100%);opacity:0;
  transition:all 0.35s cubic-bezier(0.4,0,0.2,1);
  padding:1.5rem 2rem;
}
.mobile-menu.open{transform:translateY(0);opacity:1;}
.mobile-menu a{
  display:block;color:#fff;text-decoration:none;
  padding:0.9rem 0;font-size:1.1rem;font-weight:500;
  border-bottom:1px solid rgba(255,255,255,0.08);
  transition:color 0.2s;letter-spacing:0.5px;
}
.mobile-menu a:hover{color:var(--red);}
.mobile-menu a:last-child{border-bottom:none;}

/* HERO */
#hero{
  position:relative;height:100vh;min-height:600px;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.hero-video-bg{
  position:absolute;inset:0;
  background:linear-gradient(135deg,#0a0a0a 0%,#1a0a0a 40%,#2a0808 100%);
  display:flex;align-items:center;justify-content:center;
}
.hero-video-placeholder{
  width:100%;height:100%;object-fit:cover;opacity:0.4;
  background:linear-gradient(135deg,#111 0%,#1c0505 100%);
}
.hero-video-note{
  position:absolute;bottom:80px;right:2rem;
  background:rgba(214,43,43,0.2);
  border:1px solid rgba(214,43,43,0.4);
  color:rgba(255,255,255,0.6);
  font-size:0.72rem;padding:6px 12px;border-radius:4px;
  letter-spacing:0.3px;
}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(0,0,0,0.3) 0%,rgba(0,0,0,0.5) 60%,rgba(255,255,255,0) 100%);
}
.hero-content{
  position:relative;z-index:2;text-align:center;
  padding:0 1.5rem;max-width:800px;
}
.hero-logo-big{
  width:80px;height:80px;
  background:var(--red);border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 1.5rem;
  box-shadow:0 0 40px rgba(214,43,43,0.5);
}
.hero-logo-big svg{width:44px;height:44px;}
.hero-content h1{
  color:#fff;font-size:clamp(2.2rem,6vw,4rem);
  font-weight:800;line-height:1.1;letter-spacing:-1px;
  text-shadow:0 2px 20px rgba(0,0,0,0.5);
  margin-bottom:1rem;
}
.hero-content h1 span{color:var(--red);}
.hero-content p{
  color:rgba(255,255,255,0.8);font-size:clamp(1rem,2.5vw,1.2rem);
  max-width:550px;margin:0 auto 2rem;line-height:1.6;
}
.hero-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;}
.btn-primary{
  background:var(--red);color:#fff;
  padding:0.85rem 2rem;border-radius:4px;
  font-weight:600;font-size:1rem;letter-spacing:0.3px;
  text-decoration:none;transition:all 0.2s;border:none;cursor:pointer;
}
.btn-primary:hover{background:var(--red-dark);transform:translateY(-2px);}
.btn-outline{
  background:transparent;color:#fff;
  padding:0.85rem 2rem;border-radius:4px;
  border:2px solid rgba(255,255,255,0.5);
  font-weight:600;font-size:1rem;
  text-decoration:none;transition:all 0.2s;cursor:pointer;
}
.btn-outline:hover{border-color:#fff;background:rgba(255,255,255,0.1);}

/* SCROLL FADE */
.scroll-fade{
  position:sticky;bottom:0;height:80px;
  background:linear-gradient(to bottom,transparent,#fff);
  pointer-events:none;margin-top:-80px;
}

/* SECTIONS */
.section{padding:5rem 2rem;}
.section-inner{max-width:1100px;margin:0 auto;}
.section-label{
  font-size:0.78rem;font-weight:700;letter-spacing:3px;
  color:var(--red);text-transform:uppercase;margin-bottom:0.5rem;
}
.section-title{
  font-size:clamp(1.8rem,4vw,2.8rem);font-weight:800;
  line-height:1.1;letter-spacing:-0.5px;color:#111;
  margin-bottom:1rem;
}
.section-sub{color:#555;font-size:1.05rem;line-height:1.7;max-width:620px;}

/* SERVICIOS */
#servicios{background:#fff;}
.services-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1.5rem;margin-top:3rem;
}
.service-card{
  background:#fafafa;border-radius:8px;
  border:1px solid #ececec;padding:1.75rem;
  transition:all 0.25s;cursor:default;
}
.service-card:hover{border-color:var(--red);transform:translateY(-3px);box-shadow:0 8px 24px rgba(214,43,43,0.1);}
.service-icon{
  width:48px;height:48px;border-radius:8px;
  background:rgba(214,43,43,0.1);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1rem;
}
.service-icon svg{width:24px;height:24px;stroke:var(--red);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.service-card h3{font-size:1.05rem;font-weight:700;margin-bottom:0.5rem;color:#111;}
.service-card p{font-size:0.9rem;color:#666;line-height:1.6;}

/* FLOTA */
#flota{background:#f7f7f7;}
.fleet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem;margin-top:3rem;}
.fleet-card{
  background:#fff;border-radius:8px;border:1px solid #e8e8e8;
  padding:1.5rem;text-align:center;transition:all 0.25s;
}
.fleet-card:hover{border-color:var(--red);box-shadow:0 4px 20px rgba(214,43,43,0.08);}
.fleet-num{font-size:2.5rem;font-weight:900;color:var(--red);line-height:1;}
.fleet-card h3{font-size:1rem;font-weight:700;color:#111;margin:0.4rem 0 0.3rem;}
.fleet-card p{font-size:0.85rem;color:#777;line-height:1.5;}

/* HISTORIA */
#historia{background:#fff;}
.timeline{margin-top:3rem;position:relative;padding-left:2rem;}
.timeline::before{content:'';position:absolute;left:0;top:0;bottom:0;width:2px;background:linear-gradient(to bottom,var(--red),var(--red-light));}
.tl-item{position:relative;margin-bottom:2.5rem;padding-left:1.5rem;}
.tl-dot{
  position:absolute;left:-2.45rem;top:4px;
  width:16px;height:16px;border-radius:50%;
  background:var(--red);border:3px solid #fff;
  box-shadow:0 0 0 2px var(--red);
}
.tl-year{font-size:0.78rem;font-weight:700;color:var(--red);letter-spacing:2px;margin-bottom:0.25rem;}
.tl-item h3{font-size:1.05rem;font-weight:700;color:#111;margin-bottom:0.3rem;}
.tl-item p{font-size:0.9rem;color:#666;line-height:1.6;}

/* FORKLIFT RUNNER */
.forklift-bar{
  position:fixed;bottom:0;left:0;right:0;z-index:990;
  height:70px;pointer-events:none;
  background:linear-gradient(to top,rgba(0,0,0,0.07),transparent);
}
.forklift-runner{
  position:absolute;bottom:0;
  width:100px;height:65px;
  background-image:url('../assets/forklift.png');
  background-size:contain;background-repeat:no-repeat;background-position:bottom center;
  filter:drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

/* MODAL */
.modal-overlay{
  position:fixed;inset:0;z-index:2000;
  background:rgba(0,0,0,0.6);
  display:flex;align-items:center;justify-content:center;
  opacity:0;pointer-events:none;transition:opacity 0.25s;
  padding:1rem;
}
.modal-overlay.open{opacity:1;pointer-events:all;}
.modal{
  background:#fff;border-radius:12px;
  padding:2rem;max-width:440px;width:100%;
  transform:scale(0.95);transition:transform 0.25s;
  position:relative;
}
.modal-overlay.open .modal{transform:scale(1);}
.modal-close{
  position:absolute;top:1rem;right:1rem;
  background:none;border:none;cursor:pointer;
  font-size:1.4rem;color:#888;line-height:1;
}
.modal-close:hover{color:#111;}
.modal h2{font-size:1.3rem;font-weight:700;margin-bottom:0.5rem;color:#111;}
.modal p{color:#666;font-size:0.95rem;line-height:1.6;margin-bottom:1.25rem;}
.modal input,.modal textarea{
  width:100%;border:1px solid #ddd;border-radius:6px;
  padding:0.7rem 0.9rem;font-size:0.95rem;font-family:inherit;
  margin-bottom:0.75rem;outline:none;transition:border 0.2s;
  color:#111;background:#fff;
}
.modal input:focus,.modal textarea:focus{border-color:var(--red);}
.modal textarea{height:100px;resize:none;}
.modal .btn-primary{width:100%;font-size:1rem;}

/* FOOTER */
footer{
  background:#111;color:#ccc;
  padding:3rem 2rem 1.5rem;
}
.footer-inner{max-width:1100px;margin:0 auto;}
.footer-top{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem;margin-bottom:2.5rem;}
.footer-brand{}
.footer-logo{display:flex;align-items:center;gap:10px;margin-bottom:1rem;}
.footer-logo img{height:36px;}
.footer-logo span{color:#fff;font-size:1.1rem;font-weight:700;}
.footer-brand p{font-size:0.88rem;line-height:1.7;color:#888;}
.footer-col h4{color:#fff;font-size:0.9rem;font-weight:700;letter-spacing:1px;margin-bottom:1rem;text-transform:uppercase;}
.footer-col a,.footer-col p{
  display:block;color:#888;font-size:0.875rem;
  line-height:1.8;text-decoration:none;transition:color 0.2s;
}
.footer-col a:hover{color:var(--red);}
.footer-bottom{
  border-top:1px solid #222;padding-top:1.25rem;
  display:flex;flex-wrap:wrap;gap:0.5rem;
  justify-content:space-between;align-items:center;
}
.footer-bottom p{font-size:0.78rem;color:#555;}
.footer-bottom a{color:#888;text-decoration:none;}
.footer-bottom a:hover{color:var(--red);}

@media(max-width:600px){
  .hero-content h1{font-size:2rem;}
  .section{padding:3.5rem 1.25rem;}
}