/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Tipografía y cuerpo */
body {
  font-family: 'Lato', sans-serif;
  color: #333;
  line-height: 1.6;
}
h1, h2, h3, .hero-text {
  font-family: 'Montserrat', sans-serif;
}

/* ENCABEZADO */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #111;
}

section {
  scroll-margin-top: 80px; /* ajusta según altura de tu header */
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.logo img {
  max-height: 50px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

/* Navegación */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.main-nav a:hover {
  color: #b71c1c;
}

/* Estilo base del botón */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  width: 32px;
  height: 32px;
  position: relative;
}

/* Líneas de la hamburguesa */
.hamburger,
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  background-color: #fff;
  height: 3px;
  width: 100%;
  position: absolute;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  top: -10px;
}

.hamburger::after {
  top: 10px;
}

/* Al estar activo, cambia a una "X" */
.menu-toggle.active .hamburger {
  background-color: transparent;
}

.menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}


/* HERO BANNER */
.hero-banner {
  background-image: url('imagenes/banner-ebolsas-bolsas-de-papel-kraft.jpg');
  display: flex;
  align-items: center;
  position: relative;
  background-attachment: fixed;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  height: 500px;
  max-height: 500px;
  min-height: 500px;
}

/* HERO BANNER BLOG*/
.hero-banner-blog {
  background-image: url('imagenes/como-elegir-bolsas-de-papel-para-mi-negocio.webp');
  display: flex;
  align-items: center;
  position: relative;
  background-attachment: fixed;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  height: 500px;
  max-height: 500px;
  min-height: 500px;
}


.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
}

.hero-container-guias {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
}

.hero-text-box {
  background: rgba(0, 0, 0, 0.4);
  padding: 30px 20px;
  max-width: 650px;
  border-radius: 10px;
  color: white;
}

.hero-container h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.hero-sub {
  color: #ddd;
  font-size: 1.2rem;
}

/* CONTACTO */
.contact-bar {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 30px 15px;
}

.contact-buttons {
  margin: 15px 0;
}

.contact-buttons a {
  display: inline-block;
  margin: 10px 10px 5px;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  color: #ffffff;
  border: 2px solid #b71c1c;
  background-color: #b71c1c;
}

.contact-buttons a:hover {
  color: #b71c1c;
  border: 2px solid #b71c1c;
  background-color: transparent;
}

.email a {
  color: #b71c1c;
  text-decoration: underline;
}

.contact-float {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.contact-box {
  background: #000;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  max-width: 700px;
  width: 90%;
}

/* BLOQUE DE CONFIANZA (EXPERIENCIA) */
.bloque-confianza {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}

.contenedor-numeros {
  max-width: 1100px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.item {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.item .numero {
  font-size: 2.5rem;
  color: #b71c1c;
  font-weight: bold;
  margin-bottom: 6px;
}

.item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: #222;
  line-height: 1.3;
}

.item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

.texto-destacado {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

.texto-destacado h2 {
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 10px;
}

.texto-destacado p {
  font-size: 1rem;
  color: #555;
}
.imagen-destacada{
    
}

/* === Banner Pymes === */
.banner-pymes {
  background: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.05)), url('imagenes/banner-pymes.jpg') right/cover no-repeat;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 1100px;
}

.banner-pymes h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: #b71c1c;

}

.banner-pymes h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 500;
    width:700px;
}

.banner-pymes p {
  font-size: 1rem;
  margin-bottom: 20px;
      width:700px;
}

.banner-pymes .boton-ws {
  background-color: #b71c1c;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.banner-pymes .boton-ws:hover {
  background-color: #900f0f;
}

/* === SELLO URGENTE (CÍRCULO) === */
.sello-urgente{
  --rojo:#b71c1c;
  --negro:#111;
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #222 0%, var(--negro) 60%);
  color:#fff;
        top: -160px;
    left: 10px;
  border: 3px solid var(--rojo);
  box-shadow: 0 10px 25px rgba(0,0,0,.35), inset 0 0 0 3px rgba(183,28,28,.35);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; gap:4px;
  transform: rotate(-8deg);
  animation: sello-pulse 2.2s ease-in-out infinite;
}

/* Estrellitas/“dientes” del sello */
.sello-urgente::before{
  content:"";
  position:absolute; inset:-8px;
  border: 2px dashed rgba(255,255,255,.18);
  border-radius:50%;
}

.sello-urgente .sello-titulo{
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:1.05rem;
  color:#fff;
}

.sello-urgente .sello-sub{
  font-size:.78rem;
  line-height:1.15;
  color:#ddd;
}

/* Pulso suave */
@keyframes sello-pulse{
  0%,100%{ box-shadow: 0 10px 25px rgba(0,0,0,.35), 0 0 0 0 rgba(183,28,28,.35); }
  50%   { box-shadow: 0 10px 25px rgba(0,0,0,.35), 0 0 0 10px rgba(183,28,28,0); }
}

/* Tamaño compacto en móvil */
@media (max-width: 768px){
  .sello-urgente{ width:138px; height:118px; transform: rotate(-6deg); }
  .sello-urgente .sello-titulo{ font-size:.95rem; }
  .sello-urgente .sello-sub{ font-size:.72rem; }
}


/* Estilos para la sección de valores / beneficios */
.valores {
  background-color: #000; 
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.contenedor-valores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.valor {
  flex: 1 1 300px;
  max-width: 350px;
  padding: 20px;
}

.valor img {
  margin-bottom: 20px;
}

.valor h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.valor p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* SECCIÓN GALERIA */ 
.galeria-productos {
  padding: 60px 20px;
  background: #f8f8f8;
}

.galeria-productos h4{
    max-width: 1200px;
    text-align: center;
    margin: auto;
}

.contenedor-galeria {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
    padding-top: 40px;
}

.tarjeta-producto {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.tarjeta-producto:hover {
  transform: translateY(-5px);
}

.tarjeta-producto img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.tarjeta-producto h3 {
  font-size: 1.1rem;
  margin: 15px 0 5px;
  padding: 0 10px;
  color: #333;
}

.tarjeta-producto p {
  font-size: 0.95rem;
  color: #666;
  padding: 0 15px 20px;
}

/* GALERIA GENERAL */
.gallery-section {
  padding: 3rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.gallery-section h2, .galeria-productos h2 {
  text-align: center;
    max-width: 1200px;
    margin: auto;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tarjeta individual de galería (reutilizada para otros módulos también) */
.gallery-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  text-align: left;
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
}

.gallery-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.gallery-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.gallery-card p {
  font-size: 0.95rem;
  color: #666;
}

/* Botones de galería */
.gallery-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

#ver-mas-productos, #ver-menos-productos {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#ver-mas-productos {
  background-color: #b71c1c;
  color: #fff;
}

#ver-mas-productos:hover {
  background-color: #001e5a;
}

#ver-menos-productos {
  background-color: #ccc;
  color: #333;
  display: none;
}

#ver-menos-productos:hover {
  background-color: #999;
}

/* Ocultar tarjetas adicionales */
.gallery-hidden {
  display: none;
}
.gallery-hidden-product {
  display: none;
}

/* WhatsApp */
.boton-ws {
  display: inline-block;
  margin-top: 12px;
  background-color: #b71c1c;
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.boton-ws:hover {
  background-color: #b71c1c;
}

/* SECCIÓN CARRUSEL */
.gallery-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-gallery {
  display: flex;
  transition: transform 0.5s ease-in-out;
  scroll-behavior: smooth;
  gap: 1rem;
  align-items: stretch; /* fuerza altura igual */
}

.carousel-item {
  flex: 0 0 33.3333%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
min-height: 495px;
}


.carousel-item img {
  width: 100%;
  height: auto;
  max-height: 250px; /* Opcional: ajusta según tu gusto */
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 1rem;
}


.whatsapp-btn {
  display: inline-block;
  margin-top: 1rem;
  background-color: #b71c1c;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
    text-align: center;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background-color: #777;
  color: white;
  border: none;
  padding: 0.7rem 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.5rem;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background: #333;
}

/* SECCIÓN PRECIOS */
.seccion-precios {
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 1200px;
  margin: auto;
  font-family: Arial, sans-serif;
}

.titulo-precios {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
}

.subtitulo-tabla {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #000;
}

.etiquetas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.etiqueta {
  background-color: #1e1e1e;
  color: #fff;
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.etiqueta h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #fff;
}

.medidas {
  font-size: 0.95rem;
  color: #ddd;
  margin-bottom: 0.7rem;
}

.medidas span {
  font-size: 0.85rem;
  color: #bbb;
}

.precios {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  text-align: left;
}

.precios li {
  margin: 0.3rem 0;
}

.precio-promocional {
  background-color: #fceae9;
  color: #b71c1c;
  padding: 10px 15px;
  margin: 15px auto 10px;
  border: 2px dashed #b71c1c;
  border-radius: 10px;
  max-width: 90%;
  font-size: 0.95rem;
  text-align: center;
}

.precio-promocional strong {
  font-size: 1.3rem;
  display: block;
  margin-top: 5px;
  color: #b71c1c;
}

.tabla-precios th small {
  font-weight: normal;
  display: block;
  margin: 0;
  padding: 0;
}

.tabla-precios .detalles {
  line-height: 1.5;
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
}

.nota-envio,
.nota-descuentos {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #444;
}

.bloque-tabla, .bloque-precios {
  margin-top: 3rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 10px #ccc;
}


.btn-whatsapp.grande {
  font-size: 1.2rem;
  padding: 0.8rem 1.5rem;
}

/* Tabla responsive */
.tabla-scroll {
  overflow-x: auto;
}

.tabla-precios {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  margin-top: 1rem;
}

/* Default colores (sin impresión): azul */
.tabla-precios th,
.tabla-precios td {
  border: 1px solid #ccc;
  padding: 0.5rem;
  text-align: center;
}

.tabla-precios:not(.impresion) th {
  background: #002f87;
  color: white;
}

.tabla-precios:not(.impresion) thead tr:nth-child(2) th {
  background: #0053c7;
}

/* Alternancia */
.tabla-precios tbody tr:nth-child(even) {
  background: #f4f4f4;
}

/* 🔴 Personalización para tabla de impresión (rojo y negro) */
.tabla-precios.impresion th {
  background: #e53935;
  color: white;
}

.tabla-precios.impresion thead tr:nth-child(2) th {
  background: #b71c1c;
}

.tabla-precios.impresion tbody tr:nth-child(even) {
  background: #fce4e4;
}

/* === PROMOCIONES === */
.promociones-especiales {
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #fafafa;
  text-align: center;
}

.promociones-especiales h2 {
  font-size: 2rem;
  color: #b71c1c;
  margin-bottom: 10px;
}

.promociones-especiales .subpromo {
  color: #444;
  font-size: 1rem;
  margin-bottom: 30px;
}

/* Tarjetas superiores */
.promo-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.promo-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  max-width: 300px;
  flex: 1 1 280px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.promo-item:hover {
  transform: scale(1.03);
}

.promo-item img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
  max-height: 300px;
}

.promo-item h3 {
  color: #002f87;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.promo-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* Paquetes */
.paquetes-promos-item h3 {
  margin-top: 30px;
  color: #b71c1c;
  font-size: 1.4rem;
}

.paquetes-promos-item p {
  margin-bottom: 20px;
  color: #444;
  font-size: 0.95rem;
}

.paquetes-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.paquete {
  flex: 1 1 220px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.paquete:hover {
  transform: translateY(-4px);
}

.paquete h4 {
  color: #002f87;
  font-size: 1rem;
  margin-bottom: 8px;
}

.paquete ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #555;
}

.paquete li {
  margin-bottom: 4px;
}

.precio-unitario {
  color: #b71c1c;
  font-weight: bold;
}

.paquete .boton-ws {
  background-color: #002f87;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  font-size: 0.95rem;
}

.paquete .boton-ws:hover {
  background-color: #001a5a;
}

/* Botón ver más */
.boton-vermas {
  margin-top: 20px;
  background-color: #002f87;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

/* Oculto para paquetes no visibles al inicio */
.paquete.hidden {
  display: none;
}



/* === SECCIÓN DE CONTACTO === */
.bloque-contacto {
  background: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
  color: #333;
}

.bloque-contacto h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.bloque-contacto .subtexto {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #555;
}

.opciones-contacto {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.btn-contacto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-contacto.whatsapp {
  background-color: #25d366;
}
.btn-contacto.whatsapp:hover {
  background-color: #1da851;
}

.btn-contacto.llamada {
  background-color: #b71c1c;
}
.btn-contacto.llamada:hover {
  background-color: #8e1616;
}

.btn-contacto.correo {
  background-color: #333;
}
.btn-contacto.correo:hover {
  background-color: #555;
}

.info-direccion {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 40px;
  line-height: 1.6;
}

.info-direccion a {
  color: #002f87;
  text-decoration: underline;
}

/* === FORMULARIO === */
.formulario-contacto {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.formulario-contacto h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #222;
}

.formulario-contacto input,
.formulario-contacto textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.btn-enviar {
  background-color: #002f87;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-enviar:hover {
  background-color: #001c5c;
}

.mensaje-exito {
  background-color: #d4edda;
  color: #155724;
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  border: 1px solid #c3e6cb;
}

.mensaje-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  border: 1px solid #f5c6cb;
}

/* Botón de sello urgente como enlace */
.sello-urgente {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;             /* conserva el color del tema */
  cursor: pointer;
  /* Si ya tienes estilos de círculo (tamaño, fondo, borde, sombra),
     se respetan; esto solo asegura la interactividad. */
}

.sello-urgente:focus,
.sello-urgente:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.sello-urgente:focus {
  outline: 2px solid #002f87; /* accesibilidad */
  outline-offset: 3px;
}

.sello-urgente .sello-note {
  display: block;
  font-size: 11px;
  line-height: 1;
  opacity: .8;
  margin-top: 2px;
}

  /* FOOTER */
.footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 0.95rem;
}

.footer-contenido {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-col h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #f5f5f5;
}

.footer-col p, .footer-col ul li a {
  color: #ccc;
  line-height: 1.6;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.redes-sociales a {
  font-size: 1.3rem;
  margin-right: 10px;
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s ease;
}

.redes-sociales a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: #999;
}


/* Submenú Guías y Tips */
.has-submenu { position: relative; }
.has-submenu > a::after {
  content:"▾"; font-size:.8em; margin-left:.35rem;
}
.has-submenu .submenu {
  position:absolute; left:0; top:100%;
  background:#fff; border:1px solid #e5e5e5; border-radius:10px;
  padding:8px 0; min-width:260px; box-shadow:0 10px 25px rgba(0,0,0,.08);
  display:none; z-index:10;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu { display:block; }
.submenu li { list-style:none; }
.submenu a {
  display:block; padding:10px 14px; text-decoration:none; color:#002f87;
}
.submenu a:hover { background:#f7f9ff; }
@media (max-width: 900px){
  .has-submenu .submenu { position:static; border:none; box-shadow:none; display:block; padding:0; }
  .has-submenu > a::after { display:none; }
}

  .breadcrumb{max-width:1100px;margin:0 auto;padding:8px 16px;font-size:14px}
    .breadcrumb a{color:#002f87;text-decoration:none}
    main{max-width:1100px;margin:24px auto;padding:0 16px}
    .toc{background:#f7f7f7;border-radius:12px;padding:16px;margin-bottom:20px}
    .toc ol{margin:8px 0 0 18px}
    main section{margin-bottom:2rem}
    main section h2{margin-top:2rem}
    main ul{padding-left:2rem}
    main ul li{margin-bottom:0.6rem;line-height:1.6}
    .table-comparativa{width:100%;border-collapse:collapse;margin-top:1rem}
    .table-comparativa th,.table-comparativa td{border:1px solid #ccc;padding:8px;text-align:left}
    .table-comparativa th{background:#f5f5f5}
    .video-wrap{position:relative;width:100%;aspect-ratio:9/16;background:#eee;border-radius:12px;overflow:hidden;max-width:700px;margin:auto;}
    .video-wrap video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
    /* Separación extra entre puntos principales (1,2,3...) */
    #tipos-papel, #tipos-asas, #refuerzos, #acabados, #comparativa, #usos, #video-principal, #cta, #faq { margin-bottom: 2.2rem; }
    


    .hero-eventos{position:relative;overflow:hidden;padding:0 16px;max-width:1100px;margin:24px auto}
    .hero-eventos .hero-media{position:relative;border-radius:16px;overflow:hidden}
    .hero-eventos .hero-text{position:absolute;left:3%;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.38);color:#fff;padding:18px 20px;border-radius:14px;max-width:560px}
    .cards-3{display:grid;gap:14px;grid-template-columns:1fr}
    .cards-3 .card{background:#fff;border:1px solid #eee;border-radius:12px;padding:12px}
    .grid-eventos{display:grid;gap:12px}
    .grid-eventos .item{background:#fff;border:1px solid #eee;border-radius:12px;padding:12px}
    .tabla-volumen{width:100%;border-collapse:collapse;margin-top:.6rem}
    .tabla-volumen th,.tabla-volumen td{border:1px solid #e5e5e5;padding:8px;text-align:left}
    .tabla-volumen th{background:#f7f7f7}
    .cta-inline{display:flex;gap:10px;flex-wrap:wrap;margin:.6rem 0}
    .cta-inline a{display:inline-block}
    @media (min-width:800px){
      .cards-3{grid-template-columns:repeat(3,1fr)}
      .grid-eventos{grid-template-columns:repeat(2,1fr)}
    }
    @media (max-width:900px){
      .hero-eventos .hero-text{left:5%;right:5%;max-width:none}
    }
    
    
      /* Lista con más sangría y espaciado en sección "Tamaño y uso según tu giro" */
#tamano-y-uso ul {
  padding-left: 2rem;      /* sangría */
  margin-top: 0.8rem;
}
/* Más espacio entre las secciones numeradas del contenido principal */
main section {
  margin-bottom: 2rem; /* aumenta separación entre puntos */
}

main section h2 {
  margin-top: 2rem;    /* espacio extra antes del título */
}
main section h3 {
  margin-top: 1.2rem; /* espacio antes de subtítulos */
}

    .videos-grid{display:grid;grid-template-columns:1fr;gap:20px;max-width:900px}
    @media (min-width:900px){.videos-grid{grid-template-columns:1fr 1fr}}


.grid-guias {
  display:grid; gap:18px;
  grid-template-columns: 1fr; 
}
@media (min-width:700px){
  .grid-guias { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width:1100px){
  .grid-guias { grid-template-columns: repeat(3, 1fr); }
}
.card-guia {
  background:#fff; border:1px solid #ececec; border-radius:16px;
  padding:14px; box-shadow:0 8px 20px rgba(0,0,0,.04);
  display:flex; flex-direction:column; gap:10px;
}
.card-guia .cover { display:block; border-radius:12px; overflow:hidden; }
.card-guia img { width:100%; height:220px; object-fit:cover; display:block; }
.card-guia h3 { font-size:1.05rem; margin:.25rem 0; }
.card-guia p { margin:0 0 .25rem 0; color:#333; }
.card-guia .cta-link { color:#002f87; text-decoration:none; font-weight:700; }
.card-guia .cta-link:hover { text-decoration:underline; }


/* =========================
   RESPONSIVE - GENERAL
   ========================= */

@media (max-width: 768px) {
  /* MENÚ SUPERIOR (HEADER) */
  .menu-toggle {
    display: block;
  }

  .main-nav {
    width: 100%;
    display: none;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    margin-top: 10px;
  }

  .main-nav.show {
    display: block;
    background-color: #111;
  }

  .top-bar {
    flex-direction: row;
    align-items: flex-start;
  }

  /* HERO BANNER */
  .hero-banner {
    background-image: url('imagenes/bolsas-de-papel-kraft-para-negocios.png');
    background-attachment: scroll;
  }
    .hero-banner-blog {
    background-image: url('imagenes/como-elegir-bolsas-de-papel.webp');
    background-attachment: scroll;
  }

   .hero-container {
    align-items: flex-start; 
padding-top: 0px;
        height: 450px;
  }
  
     .hero-container-guia {
    align-items: flex-start; 
padding-top: 0px;
        height: auto;
  }

  .hero-text-box {
    margin-top: 0;       
  }

  .hero-text-box h1 {
    font-size: 1.6rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  /* CONTACTO */
  .contact-buttons a {
    display: block;
    margin: 10px auto;
    width: 80%;
  }
    
         .imagen-destacada {
    padding: 0 15px;
    margin-bottom: 20px;
  }

  .imagen-destacada img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .imagen-destacada figcaption {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 6px;
  }
    /* CONFIANZA */
     .contenedor-numeros {
    gap: 16px;
  }

  .item h3 {
    font-size: 1rem;
  }

  .item .numero {
    font-size: 1.6rem;
  }

  .item p {
    font-size: 0.85rem;
  }

  .texto-destacado h2 {
    font-size: 1.3rem;
  }

  .texto-destacado p {
    font-size: 0.95rem;
  }

  /* VALORES */
  .contenedor-valores {
    flex-direction: column;
    align-items: center;
  }

  .valor {
    max-width: 100%;
    max-height:fit-content;
  }

  /* CARRUSEL */
  .carousel-item {
    flex: 0 0 100%; /* Muestra 1 tarjeta por vez */
  }
      /* CONTACTO */
    .opciones-contacto {
    flex-direction: column;
    align-items: center;
  }

  .btn-contacto {
    width: 90%;
    justify-content: center;
  }

  .formulario-contacto {
    padding: 20px 15px;
  }
  .promo-top {
    flex-direction: column;
    align-items: center;
  }

  .paquetes-promos {
    flex-direction: column;
  }

  .boton-vermas {
    width: 100%;
  }
  
  /* === Banner Pymes === */
.banner-pymes {
  background: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.05)), url('imagenes/bolsas-para-pymes.jpg') bottom/cover no-repeat;
height:600px;
}

.banner-pymes h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: #b71c1c;

}

.banner-pymes h4 {
    width:400px;
}

.banner-pymes p {
  font-size: 1.1rem;
  margin-bottom: 20px;
      width:400px;
}
}

/* =========================
   RESPONSIVE - EXTRA MÓVIL (480px)
   ========================= */
@media (max-width: 480px) {
    .hero-banner, .hero-banner-blog {
    height: 320px;
  }
  

  .hero-text-box {
    padding: 15px;
  }

  .hero-text-box h1 {
    font-size: 1.3rem;
  }

  .hero-sub {
    font-size: 0.9rem;
  }
    

     /* SECCIÓN NÚMEROS */ 
     .valores {
    padding: 20px 0;
  }

  .contenedor-valores {
    padding: 0 50px;
      padding-top: 15px;
    gap: 10px;
  }

  .valor {
      flex: 1 1 150px;
    margin-bottom: 12px;
    padding: 0;
  }

  .valor img {
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
  }

  .valor h2 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.2;
  }

  .valor p {
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
  }
  /* GALERÍA DE PRODUCTOS */
  .tarjeta-producto h3 {
    font-size: 1rem;
  }

  .tarjeta-producto p {
    font-size: 0.9rem;
  }

  .galeria-productos {
    padding: 40px 10px;
  }
}

/* === POPUP PROMO === */
.promo-overlay{
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none; transition: .25s ease; z-index: 9998;
}
.promo-overlay.open{ opacity: 1; pointer-events: auto; }

.promo-modal{
  width: min(960px, 92vw);
  border: 0; border-radius: 14px; padding: 0; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35); z-index: 9999; margin:auto;
}
.promo-modal::backdrop{ background: transparent; }

.promo-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 0; background:#fff; }
@media (max-width: 840px){ .promo-grid{ grid-template-columns: 1fr; } }

/* Grid de 2 imágenes igual tamaño */
.promo-media{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
  align-items:center;
}

/* Fotos centradas y recortadas tipo cover */
.promo-media img{
  width:100%;
  aspect-ratio: 4 / 5;         /* ajusta 4/5 o 1/1 si te conviene */
  height:auto;
  object-fit:cover;
  object-position:center;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  transition:transform .25s ease, box-shadow .25s ease;
}

/* Efecto hover */
.promo-media img:hover{
  transform:scale(1.03);
  box-shadow:0 10px 28px rgba(0,0,0,.15);
}

/* ---------- Lightbox ---------- */
.promo-zoom{
  padding:0;
  border:none;
  background:transparent;
  width:min(92vw, 980px);
  max-width:980px;
  margin: auto;
}
.promo-zoom::backdrop{ background:rgba(0,0,0,.75); }

#promo-zoom-img{
  display:block;
  max-width:92vw;
  max-height:82vh;
  border-radius:14px;
  margin:auto;
  box-shadow:0 16px 48px rgba(0,0,0,.35);
}

/* Botones del lightbox */
.promo-zoom-close,
.promo-zoom-prev,
.promo-zoom-next{
  position:fixed;
  z-index:3;
  background:#fff;
  border:none;
  width:42px; height:42px;
  border-radius:999px;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
  font-size:22px; line-height:42px;
  text-align:center;
  cursor:pointer;
}

.promo-zoom-close{ top:24px; right:28px; }
.promo-zoom-prev{  left:24px; top:50%; transform:translateY(-50%); }
.promo-zoom-next{  right:24px; top:50%; transform:translateY(-50%); }

@media (hover:hover){
  .promo-zoom-close:hover,
  .promo-zoom-prev:hover,
  .promo-zoom-next:hover{ transform:scale(1.05) translateY(-50%); }
  .promo-zoom-close:hover{ transform:scale(1.05); }
}

.promo-content{ padding:22px 22px 16px; }
.promo-close{
  position:absolute; right:10px; top:8px; width:36px; height:36px;
  border:0; border-radius:50%; background:#eee; font-size:20px; cursor:pointer;
}
.promo-close:hover{ background:#e2e2e2; }

.promo-sub{ margin:.35rem 0 1rem; color:#333; }
.promo-badge{
  display:inline-block; margin:.25rem 0 .75rem; padding:.35rem .6rem;
  background:#002f87; color:#fff; border-radius:999px; font-weight:600; font-size:.92rem;
}

.promo-prices{ width:100%; border-collapse:collapse; margin:.25rem 0 1rem; }
.promo-prices td{ padding:.45rem .4rem; border-bottom:1px solid #eee; }
.promo-prices tr td:last-child{ text-align:right; font-weight:700; }

.promo-cta-row{ display:flex; gap:.6rem; align-items:center; margin:.5rem 0 .25rem; flex-wrap:wrap; }
.promo-cta{
  display:inline-block; padding:.7rem 1rem; border-radius:10px;
  background:#25d366; color:#0b371b; text-decoration:none; font-weight:700;
}
.promo-cta:hover{ filter:brightness(0.95); }
.promo-secondary{ color:#002f87; text-decoration:none; font-weight:600; }
.promo-secondary:hover{ text-decoration:underline; }

.promo-note{ font-size:.85rem; color:#666; margin-top:.5rem; }
/* === /POPUP PROMO === */
/* Mini-banner pegajoso */
.promo-mini{
  position:fixed; right:14px; bottom:14px; display:flex; gap:10px; align-items:center;
  background:#111; color:#fff; border-radius:14px; padding:10px 12px; box-shadow:0 10px 30px rgba(0,0,0,.3);
  z-index:9997; transform:translateY(20px); opacity:0; transition:.25s;
}
.promo-mini.visible{ transform:translateY(0); opacity:1; }
.promo-mini-text{ font-size:.95rem; }
.promo-mini-btn{
  border:0; border-radius:10px; padding:.45rem .7rem; background:#F0832A; color:#111; font-weight:800; cursor:pointer;
}
.promo-mini-btn:hover{ filter:brightness(.95); }
.promo-mini-x{ border:0; background:transparent; color:#fff; font-size:18px; line-height:1; cursor:pointer; padding:0 .2rem; }
/* === /POPUP PROMO v2 === */