/* 
  SISTEMA DE DISEÑO - EXHIBICIONES B&B
  Colores Principales: Azul Marino Corporativo, Blanco, Gris Claro, Acentos de Madera.
  Tipografía: Montserrat (Títulos), Inter (Cuerpo)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  /* Paleta de Colores */
  --marine-blue: #002147;
  --marine-blue-light: #003366;
  --accent-red: #d92938;
  --accent-red-hover: #b91d2c;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #333333;
  --white: #ffffff;
  --wood-warm: #b08d6a;
  
  /* Tipografía */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Easing */
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark-gray);
  background-color: var(--light-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Tipografía Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--marine-blue);
  line-height: 1.2;
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.8rem; margin-bottom: 1rem; }
p { font-size: 1rem; margin-bottom: 1rem; color: #555; }

/* Botones (Acento Rojo) */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent-red);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(217, 41, 56, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 41, 56, 0.4);
}

.btn-secondary {
  background-color: var(--marine-blue);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--marine-blue-light);
  transform: translateY(-2px);
}

/* Header Sticky */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s var(--ease-smooth);
  background: transparent;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 5%;
  backdrop-filter: blur(10px);
}

header .logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

header .logo img {
  height: 125px;
  object-fit: contain;
  transition: all 0.3s ease;
}

header.scrolled .logo img {
  /* Al scroll, forzamos que el logo se vea oscuro (negro) sobre el menú blanco, ideal si el PNG es blanco */
  filter: brightness(0);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}

header.scrolled nav a {
  color: var(--marine-blue);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-red);
  transition: width 0.3s var(--ease-smooth);
}

nav a:hover::after {
  width: 100%;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.4);
  animation: none;
}

.whatsapp-float::before {
  content: "Hola, quiero cotizar un proyecto";
  position: absolute;
  right: 75px;
  background: var(--white);
  color: var(--dark-gray);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.whatsapp-float:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Utilidades Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 2.0rem 0;
  background: var(--white);
}

.section-bg {
  background: var(--light-gray);
}

/* Hero Video Section */
.hero-video-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Changed from 300vh */
  overflow: visible; /* Permite que el botón sobresalga */
  display: flex;
  align-items: flex-end; /* Align to bottom */
  justify-content: center;
  background: #000;
  padding-bottom: 0; /* Espacio desde abajo */
  z-index: 10;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  /* Degradado mucho más tenue para dejar el video brillante, oscureciendo solo la parte final para el texto */
  background: linear-gradient(to bottom, transparent 0%, transparent 60%, rgba(0,33,71,0.3) 85%, rgba(0,33,71,0.8) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Solución responsiva para celular: separa el video del texto para mostrar 100% de la imagen en móviles */
@media (max-width: 768px) {
  .hero-video-container {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, #001228, var(--marine-blue));
    padding-top: 70px; /* offset para el menú fijo si aplica */
  }
  .hero-bg-video {
    position: relative;
    aspect-ratio: 16/9;
    height: auto;
    object-fit: cover;
  }
  .video-overlay {
    height: auto;
    aspect-ratio: 16/9;
    background: transparent; /* Remove overlay as text goes below */
  }
  .hero-content-bottom {
    position: relative !important;
    bottom: auto !important;
    padding: 2rem 1rem !important;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-content-bottom {
  margin-bottom: 0; 
  width: 100%;
  max-width: 1400px; /* A lo ancho */
  position: absolute;
  /* Lo empujamos aún más abajo para que las letras queden en el borde y el botón en lo blanco */
  bottom: -60px; 
}

.hero-content h1 {
  color: var(--white);
  text-shadow: 0 4px 15px rgba(0,0,0,0.7);
  font-size: clamp(1.8rem, 4vw, 2.2rem); /* Clampeado para que no crezca desproporcionadamente con zoom */
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}
.hero-content p {
  color: white; 
  font-size: clamp(1rem, 2vw, 1.15rem);
  text-shadow: 0 4px 15px rgba(0,0,0,0.7);
  margin-bottom: 1.5rem;
}

/* Cards de Líneas de Negocio */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.line-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 400px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.4s var(--ease-smooth);
}

.line-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.line-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,33,71,0.9));
  color: var(--white);
  transition: padding 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.line-card-overlay h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-smooth);
}

.line-card-overlay p, .line-card-overlay ul {
  color: rgba(255,255,255,0.9);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-smooth);
  list-style: none;
  padding: 0;
}

.line-card-overlay ul li {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.line-card:hover {
  transform: translateY(-10px);
}

.line-card:hover img {
  transform: scale(1.05);
}

.line-card:hover .line-card-overlay h3 {
  transform: translateY(0);
}

.line-card:hover .line-card-overlay p,
.line-card:hover .line-card-overlay ul {
  opacity: 1;
  transform: translateY(0);
}

/* Franja Materiales */
.materials-strip {
  background-color: var(--marine-blue);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.materials-strip h2 {
  color: var(--white);
  font-size: 1.8rem;
}

.materials-list {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 1px;
}

.materials-list span {
  position: relative;
}

.materials-list span:not(:last-child)::after {
  content: '✦';
  position: absolute;
  right: -1.75rem;
  color: var(--accent-red);
  opacity: 0.5;
}

/* Logos Marquee */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  padding: 4rem 0;
  background: var(--white);
  position: relative;
}

/* Fades para el marquee (izquierda/derecha) */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.marquee-item {
  display: inline-block;
  margin: 0 40px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: #ccc;
  transition: color 0.3s ease;
  cursor: default;
}

.marquee-item[data-hover="senthia"]:hover { color: #f21c5b; text-shadow: 0 0 10px rgba(242, 28, 91, 0.2); }
.marquee-item[data-hover="stf"]:hover { color: #000; text-shadow: 0 0 10px rgba(0, 0, 0, 0.2); }
.marquee-item[data-hover="olimpica"]:hover { color: #00529b; /* Con toque de rojo que se podría lograr con gradiente, pero optamos por su azul principal */ }
.marquee-item[data-hover="decorceramica"]:hover { color: #0f1c3f; text-shadow: 0 0 10px rgba(15, 28, 63, 0.2); }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Forms */
.lead-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  max-width: 600px;
  margin: 0 auto;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--marine-blue);
}

.input-group input, .input-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--medium-gray);
  border-radius: 6px;
  font-family: var(--font-body);
  background: var(--light-gray);
  transition: border-color 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
  outline: none;
  border-color: var(--marine-blue);
  background: var(--white);
}

/* Grid de Servicios y Catálogos */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.service-item {
  text-align: center;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 8px;
  transition: transform 0.3s;
}
.service-item:hover {
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Footer */
footer {
  background: var(--marine-blue);
  color: var(--white);
  padding: 4rem 5% 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-col p, .footer-col a {
  color: #a0aab2;
  margin-bottom: 0.5rem;
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  color: #a0aab2;
  font-size: 0.85rem;
}

/* Split Layout Proyectos Auto Fade */
.projects-split {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.split-col {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.auto-slide-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background: var(--light-gray);
}

.slide-inner {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-inner img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slide-indicators span {
  width: 20px;
  height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s;
}

.slide-indicators span.active {
  background: var(--white);
}

/* Testimonios Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card .stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  color: var(--dark-gray);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.testimonial-author h4 {
  color: var(--marine-blue);
  font-size: 1rem;
}

/* Corte Láser */
.laser-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.laser-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #555;
}

.laser-list li::before {
  content: "✔";
  color: #0088cc;
  font-weight: bold;
  margin-right: 12px;
  font-size: 1.2rem;
}

/* Testimonios */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  position: relative;
}

.testimonial-card p {
  font-style: italic;
  color: #666;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1rem;
  color: var(--marine-blue);
  margin: 0;
}

.stars {
  color: #ffb400;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

/* Redes Sociales Footer */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a.ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-links a.ig:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(220,39,67,0.4);
}

.social-links a.fb {
  background: #1877f2;
}
.social-links a.fb:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(24,119,242,0.4);
}

.social-links a.yt {
  background: #ff0000;
}
.social-links a.yt:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255,0,0,0.4);
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Variante CTA para fondos claros - Mismos colores pero con sombra extra si se requiere */
.cta-social-links a {
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.cta-social-links a:hover {
  color: var(--white);
}

/* Utilidades Interactivas */
.zoom-img {
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth) !important;
  cursor: pointer;
}
.zoom-img:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
  z-index: 5;
  position: relative;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  .section { padding: 1.25rem 0; }
  
  header { 
    padding: 0.2rem 1rem 0; 
    flex-direction: column; 
    gap: 0; 
  }
  header .logo img { 
    height: 85px; 
    margin-right: auto;
  }
  
  /* Mover el botón hacia arriba a la derecha en celular para no tapar el contenido central */
  header .btn-primary {
    position: absolute;
    top: 10px;
    right: 1rem;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.8rem;
  }

  nav ul { 
    display: flex; 
    flex-wrap: nowrap; 
    justify-content: space-between; 
    gap: 0.8rem; 
    overflow-x: auto;
    padding: 0.5rem 0.2rem;
    width: 100%;
  }
  
  nav a {
    font-size: 0.82rem;
    white-space: nowrap;
    padding: 3px 5px;
  }
  
  .lines-grid { grid-template-columns: 1fr; }
  
  /* Líneas de negocio en celular: Tarjetas grandes con overlay permanente */
  .line-card {
    aspect-ratio: auto;
    height: 300px;
    display: block;
    margin-bottom: 2rem;
  }
  .line-card img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    border-radius: 12px;
  }
  .line-card-overlay {
    position: absolute;
    width: 100%;
    height: auto;
    top: auto;
    bottom: 0;
    background: linear-gradient(to top, rgba(15,28,63,0.95) 0%, rgba(15,28,63,0.7) 60%, transparent 100%);
    padding: 3rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    border-radius: 0 0 12px 12px;
  }
  .line-card-overlay h3,
  .line-card-overlay p,
  .line-card-overlay ul {
    opacity: 1 !important;
    transform: none !important;
  }
  .line-card-overlay h3 { font-size: 1.4rem; margin-bottom: 0.5rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
  .line-card-overlay ul li { font-size: 0.95rem; color: #f0f0f0; margin-bottom: 0.3rem; }
  
  .materials-list { flex-direction: column; gap: 1rem; align-items: center; }
  .materials-list span:not(:last-child)::after { display: none; }
  /* Colores encendidos siempre en celular sin necesidad de Hover */
  .marquee-item[data-hover="senthia"] { color: #f21c5b; text-shadow: 0 0 10px rgba(242, 28, 91, 0.2); }
  .marquee-item[data-hover="stf"] { color: #000; text-shadow: 0 0 10px rgba(0, 0, 0, 0.2); }
  .marquee-item[data-hover="olimpica"] { color: #00529b; }
  .marquee-item[data-hover="decorceramica"] { color: #0f1c3f; text-shadow: 0 0 10px rgba(15, 28, 63, 0.2); }
}

/* --- MODAL PARA IMÁGENES --- */
.image-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(15,28,63,0.9);
  align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  padding: 1.5rem;
}
.image-modal.active { display: flex; }
.image-modal img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: modalZoom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalZoom {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 15px; right: 25px;
  color: white;
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 100000;
  transition: transform 0.2s;
  line-height: 1;
}
.modal-close:hover { transform: scale(1.1); }

/* Flechas de Navegación del Modal */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 3.5rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 100000;
  padding: 10px 20px;
  user-select: none;
  transition: all 0.3s ease;
  background: rgba(0,0,0,0.2);
  border-radius: 5px;
}
.modal-nav:hover { background: rgba(0,0,0,0.6); }
.modal-prev { left: 10px; }
.modal-next { right: 10px; }
@media (max-width: 768px) {
  .modal-nav { font-size: 2.5rem; padding: 10px; }
  .modal-prev { left: 0; }
  .modal-next { right: 0; }
}
