/* ===== Paleta JMZ ARTE VISUAL: rojo ↔ azul (degradados) ===== */
:root{
  --jmz-red: #ff1e1e;
  --jmz-red-dark: #b10000;
  --jmz-blue: #0e66ff;
  --jmz-blue-dark: #003bb7;
  --g-h: linear-gradient(90deg, var(--jmz-red) 0%, var(--jmz-blue) 100%);
  --g-d: linear-gradient(135deg, var(--jmz-red) 0%, var(--jmz-blue) 100%);
  --g-blue: linear-gradient(90deg, var(--jmz-blue) 0%, var(--jmz-blue-dark) 100%);
}

/* Reset + base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #000 !important;
  color: #fff;
  min-height: 100vh;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* SCROLLBAR con degradado rojo↔azul */
::-webkit-scrollbar { width: 8px; background: #181818; }
::-webkit-scrollbar-thumb {
  background: var(--g-d);
  border-radius: 10px;
  border: 2px solid #181818;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--g-blue);
}
/* Firefox */
* { scrollbar-width: thin; scrollbar-color: var(--jmz-blue) #181818; }

main { flex: 1 0 auto; width: 100vw; min-height: 0; }
.desktop-only { display: block; }
.mobile-only { display: none !important; }

/* BANNER DESKTOP */
.banner-principal {
  width: 100vw;
  height: 48vw;
  min-height: 320px;
  max-height: 520px;
  display: flex; align-items: center; justify-content: center;
  background: #000;
  overflow: hidden; border: none; margin-top: 0;
  position: relative;
}
/* Sutil línea glow inferior con los colores */
.banner-principal::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:2px;
  background: var(--g-h); opacity:.9;
}
.banner-img {
  width: 100vw; height: 100%; min-height: 320px; max-height: 520px;
  object-fit: cover; object-position: center;
  animation: bannerShow 1.2s cubic-bezier(.24,1.18,.44,1) both;
  box-shadow: 0 6px 44px 0 #00000016;
}
@keyframes bannerShow {
  from { opacity: 0; transform: translateY(80px) scale(0.98); filter: blur(5px);}
  60% { opacity: .9; transform: translateY(-8px) scale(1.01);}
  to { opacity: 1; transform: none; filter: blur(0);}
}

/* LANDING DESKTOP */
.landing-section {
  width: 100vw;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 0 3vw;
  margin-top: 2.6vw;
  margin-bottom: 4vw;
  min-height: 185px;
}
.landing-flex {
  width: 92vw; max-width: 1400px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 38px;
}

.landing-titulos {
  flex: 6 1 800px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
}

/* Título */
.landing-titulo {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-align: left;
  margin-bottom: 18px;
  width: 100%;
  max-width: 96vw;
  line-height: 1.08;
  /* acento con borde inferior en degradado */
  position: relative;
}
.landing-titulo::after{
  content:"";
  position:absolute; left:0; bottom:-8px; width:120px; height:3px;
  background: var(--g-h); border-radius: 2px; opacity:.9;
}

.landing-sub {
  font-size: 1.13rem; font-weight: 400; color: #ededed;
  text-align: left; line-height: 1.34; margin-bottom: 0; max-width: 900px;
}
.landing-linea-boton {
  flex: 2 1 360px;
  display: flex; align-items: center; justify-content: flex-end; gap: 32px; min-width: 220px;
}
.landing-linea {
  flex: 1 1 40px; height: 2px;
  background: var(--g-h);
  border-radius: 2px;
  opacity: 0.65;
  margin-right: 10px; min-width: 80px; max-width: 180px;
}

/* BOTÓN principal con degradado JMZ */
.btn-ver-catalogos {
  display: inline-block;
  background: var(--g-h);
  color: #fff; font-weight: 800; font-size: 1.08rem;
  padding: 15px 38px; border-radius: 32px; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.7px;
  box-shadow: 0 2px 14px rgba(14,102,255,.35), 0 6px 20px rgba(177,0,0,.25);
  transition: background .16s, transform .17s, box-shadow .2s;
  border: none; outline: none; text-align: center; margin-left: 0;
  position: relative; overflow: hidden;
  animation: jmz-pulse 1.8s infinite;
}

/* Flash diagonal */
.btn-ver-catalogos::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -60%;
  width: 80%;
  height: 250%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 65%,
    rgba(255,255,255,0.17) 72%,
    rgba(255,255,255,0.33) 76%,
    rgba(255,255,255,0.12) 81%,
    rgba(255,255,255,0) 95%
  );
  pointer-events: none;
  opacity: 0;
  transform: skewX(-22deg);
  animation: sheen-move 3s linear infinite;
}
@keyframes sheen-move {
  0% { left: -60%; opacity: 0; }
  8% { opacity: 0.85; }
  25% { opacity: 0.45; }
  60% { opacity: 0.24; }
  85% { opacity: 0.07; }
  93% { left: 120%; opacity: 0; }
  100% { left: 130%; opacity: 0; }
}

/* PULSE con azul */
@keyframes jmz-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(14,102,255,.55); }
  70%  { box-shadow: 0 0 0 12px rgba(14,102,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(14,102,255,0); }
}

.btn-ver-catalogos:hover {
  background: var(--g-blue);
  color: #fff;
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,59,183,.55);
}

/* FOOTER base (si usas <footer> global) */
footer {
  width: 100vw;
  background: #111;
  padding: 40px 0 30px 0;
  color: #fff;
  text-align: center;
  margin-top: auto;
  display: flex; flex-direction: column; align-items: center;
  border-top: none; /* quitamos la línea sólida */
  position: relative; /* para la pseudo-línea */
  flex-shrink: 0;
}
footer::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:2px;
  background: var(--g-h);
  opacity:.95;
}

/* ---- MEDIA QUERIES DESKTOP ---- */
@media (min-width: 1200px) {
  .landing-titulo { font-size: 2.1rem; max-width: 1100px; }
  .landing-flex { max-width: 1200px; }
}
@media (min-width: 1600px) {
  .landing-titulo { font-size: 2.5rem; max-width: 1300px; }
  .landing-flex { max-width: 1450px; }
}

/* -- Laptops pequeñas -- */
@media (max-width: 1050px) {
  .landing-titulo { font-size: 1.34rem; max-width: 99vw; }
  .landing-flex { gap: 20px; }
  .btn-ver-catalogos { padding: 13px 28px; font-size: .98rem; }
}
