/* =========================
   PCEXPRESS — global.css
   Paleta: negro / rojo / gris con acentos neon
   ========================= */

/* ---- Reset + base ---- */
*,*::before,*::after{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font: 16px/1.55 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#e8e8e8; background:#0b0b0b; overflow-x:hidden;
  /* Fondo: capas (vignette + manchas rojas + grid noise) */
  background:
    radial-gradient(1200px 600px at 80% 20%, rgba(110,0,0,.25), rgba(0,0,0,0) 60%),
    radial-gradient(900px 500px at 20% 85%, rgba(120,0,0,.28), rgba(0,0,0,0) 60%),
    linear-gradient(#0b0b0b,#090909);
}

/* Ruido sutil (opcional) */
body::after{
  content:""; position:fixed; inset:0; pointer-events:none; opacity:.08; mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'>\
  <filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter>\
  <rect width='100%' height='100%' filter='url(%23n)' opacity='0.35'/></svg>");
}

/* Links */
a{color:#f2f2f2;text-decoration:none}
a:hover{color:#fff}

/* Contenedores utilitarios */
.container{max-width:1200px;margin:0 auto;padding:0 24px}

/* ---- Header / Navbar (idéntico estilo a pagweb) ---- */
.header{
  position:sticky; top:0; z-index:50;
  background:linear-gradient(180deg, rgba(0,0,0,.85), rgba(16,16,16,.75));
  backdrop-filter: blur(6px);
  border-bottom:1px solid rgba(255,255,255,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.55);
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 32px;
}

/* Logo “PCEXPRESS” con RGB animado */
.logo h1{
  margin:0;
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 700; letter-spacing:2px; font-size:1.45rem; color:#fff;
}
.logo h1 span{
  background: conic-gradient(
    from 0deg,
    #ff0059, #ff7b00, #ffd400, #39ff14, #00e5ff, #7a5cff, #ff00f5, #ff0059
  );
  background-size: 200% 200%;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation: hueShift 6s linear infinite;
  text-shadow: 0 0 6px rgba(255,0,90,.35), 0 0 16px rgba(255,0,90,.15);
}
@keyframes hueShift { 
  0%{background-position:0% 50%} 100%{background-position:200% 50%}
}

/* Menú principal */
.nav ul{
  margin:0; padding:0; list-style:none;
  display:flex; gap:28px; align-items:center;
}
.nav a{
  position:relative; display:inline-block; padding:10px 4px; color:#dcdcdc;
  transition: color .25s ease, transform .25s ease;
}
.nav a::after{
  content:""; position:absolute; left:0; bottom:2px;
  width:0; height:2px; border-radius:2px;
  background:linear-gradient(90deg, #e0002b, #9e001e);
  box-shadow:0 0 8px rgba(224,0,43,.6);
  transition:width .25s ease;
}
.nav a:hover{color:#fff; text-shadow:0 0 8px rgba(255,255,255,.25)}
.nav a:hover::after{width:100%}
.nav a.active{
  color:#ff6b6b;
  text-shadow:0 0 10px rgba(255,80,80,.45);
}
.nav a.active::after{width:100%}

/* ---- Títulos con glow RGB (clase hx ya usada) ---- */
.hx{
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 700; letter-spacing:.5px; font-size: clamp(1.25rem, 1rem + 1.8vw, 2rem);
  margin: 8px 0 6px; color:#fff; text-align:center;
  filter: drop-shadow(0 6px 18px rgba(255,0,0,.18));
  position:relative;
}
.hx::after{
  content:""; display:block; margin:10px auto 0; height:3px; width:90px; border-radius:999px;
  background:linear-gradient(90deg,#ff0033,#a00000);
  box-shadow:0 0 14px rgba(255,0,51,.45);
}

/* Marca grande (PCEXPRESS) centrada como en la home */
.brand{
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight:800; letter-spacing:.12em;
  font-size: clamp(1.4rem, 1rem + 3vw, 3rem);
  color:#eee; margin: 0 0 10px;
  text-shadow: 0 0 18px rgba(255,255,255,.08);
}

/* ---- Cards / secciones ---- */

.card{
  background: linear-gradient(180deg,#191919,#101010);
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  padding:28px;
  box-shadow:0 16px 34px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.03);
}


/* ---- Botones utilitarios (por si los usas) ---- */
.btn, .btn-ghost{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 16px; border-radius:14px; font-weight:600;
  border:1px solid rgba(255,255,255,.08);
  background: radial-gradient(120% 120% at 50% -20%, rgba(255,50,50,.22), rgba(255,255,255,.02) 45%, rgba(0,0,0,.2) 70%);
  color:#fff; box-shadow:0 10px 24px rgba(0,0,0,.45);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
}
.btn:hover, .btn-ghost:hover{
  transform: translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,.6), 0 0 24px rgba(224,0,43,.25);
  border-color: rgba(255,90,90,.28);
}

/* ---- Footer ---- */
footer{
  border-top:1px solid rgba(255,255,255,.06);
  color:#bdbdbd; font-size:.95rem; text-align:center;
  padding:26px 12px; margin-top:60px;
  background:linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.4));
}

/* ---- Tipografía de listas (si necesitas listas dentro del contenido) ---- */
main ul{padding-left:1.1rem; margin: .6rem 0}
main li{margin: .25rem 0}

/* ---- Responsivo ---- */
@media (max-width: 920px){
  .header{padding:14px 18px}
  .nav ul{gap:18px; flex-wrap:wrap}
}
@media (max-width: 640px){
  .nav ul{gap:14px}
  .brand{letter-spacing:.08em}
  .card{padding:22px}
}

/* === FORMULARIOS GLOBALES === */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

form label {
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
  transition: color 0.3s ease;
}

form label:hover {
  color: #ff4d4d;
}

form input,
form textarea {
  width: 100%;
  background: rgba(20, 20, 20, 0.85);
  color: #eaeaea;
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
  box-shadow: inset 0 0 6px rgba(255, 0, 0, 0.1);
}

form input::placeholder,
form textarea::placeholder {
  color: #888;
}

form input:focus,
form textarea:focus {
  border-color: #ff3c3c;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.4);
  background: rgba(30, 30, 30, 0.9);
  transform: scale(1.01);
}

/* === BOTÓN DE ENVÍO === */
form .btn,
form button {
  align-self: flex-start;
  background: linear-gradient(90deg, #b30000, #ff0055);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 0 10px rgba(255, 0, 80, 0.4);
  transition: all 0.3s ease;
}

form .btn:hover,
form button:hover {
  background: linear-gradient(90deg, #ff004c, #b30000);
  box-shadow: 0 0 20px rgba(255, 0, 100, 0.6);
  transform: scale(1.04);
}

/* === AJUSTES RESPONSIVE === */
@media (max-width: 768px) {
  form {
    gap: 0.8rem;
  }
  form button {
    width: 100%;
    text-align: center;
  }
}
