/* =========================
   RESET BÁSICO
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   HEADER FIJO
========================= */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.15);
}

/* CONTENEDOR DEL HEADER */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  position: relative;
  height: 100px;
}

/* =========================
   LOGO CON RECUADRO (GENERAL)
========================= */
.logo-box {
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 8px 5px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  position: relative;
  top: 15px;
  left: 40px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.logo-box img {
  width: 140px;
  display: block;
}

/* =========================
   MENÚ DE NAVEGACIÓN
========================= */
.nav {
  display: flex;
  gap: 35px;
}

.nav a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 0.5px;
  padding-bottom: 6px;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: #e53935;
  border-bottom: 2px solid #e53935;
  transform: scale(1.05);
}

.nav a.active {
  color: #e53935;
  border-bottom: 2px solid #e53935;
}

/* =========================
   BANDERA
========================= */
.flag img {
  width: 45px;
}


/* =========================
   SECCIONES GENERALES
========================= */
.section {
  min-height: 100vh;
  padding: 140px 40px 40px;
  background: #e5e5e5;
  border-bottom: 1px solid #ccc;
  scroll-margin-top: 140px;
}

#nosotros { background: linear-gradient(to right, #ffffff 50%, #f2f2f2 50%); }
#productos { background: #cccccc; }
#contacto { background: #bbbbbb; }

/* =========================
   SLIDER AUTOMaTICO JS
========================= */
.section.inicio {
  padding: 0 !important;
  background: none !important;
  border: none;
  min-height: 100vh;
}

.slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  overflow: hidden;
  margin-top: 1px;
}

.slides {
  display: flex;
  transition: transform 1s ease-in-out;
  width: 100%;
}


.slides img {
  width: 100%;
  height: calc(100vh - 100px);
  object-fit: cover;
  flex-shrink: 0;
}

/* =========================
   PUNTOS DEL SLIDER
========================= */
.dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dot:hover {
  transform: scale(1.2);
}

.dot.active {
  background: #e53935;
}

/* =========================
   EFECTO DESDE EL CENTRO (NOSOTROS)
========================= */
.section.nosotros {
  padding-top: 40px !important;
  padding-bottom: 60px !important;
  margin-top: -100px; /* ajusta altura sin bajarla demasiado */
}

.nosotros-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

/*  Quitamos la linea roja central */
.nosotros-container::before {
  content: none;
}

/* Texto e imagen base */
.nosotros-texto,
.nosotros-imagen {
  flex: 1;
  opacity: 0;
  transform: scale(0.9);
  transition: all 1s ease;
}

/* Imagen */
.nosotros-imagen img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

/* PosiciÃ³n inicial */
.centrado {
  position: relative;
  top: 0;
  transform-origin: center center;
}

/* Movimiento mas amplio */
.visible-texto {
  opacity: 1;
  transform: translateX(-5px) scale(1); /* +30 px a la derecha */
}

.visible-imagen {
  opacity: 1;
  transform: translateX(5px) scale(1); /* +30 px a la izquierda */
}

.nosotros-texto,
.nosotros-imagen {
  transition: transform 1s ease, opacity 1s ease;
}
/* =========================
   ESTILO DE TEXTO NOSOTROS
========================= */
.titulo-nosotros {
  font-size: 42px;
  color: #e53935;
  font-weight: 800;
  margin-bottom: 25px;
  text-transform: uppercase;
  line-height: 1.2;
}

.parrafo-nosotros {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
  text-align: justify;
}

.firma-nosotros {
  font-weight: bold;
  font-size: 20px;
  color: #e53935;
  margin-top: 20px;
}
/* =========================
   BANNER PUBLICITARIO
========================= */
.banner-publicidad {
  background: #fff;
  padding: 0;
  border: none;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 500px; /* puedes ajustar la altura del banner */
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75); /* oscurece la imagen para resaltar el texto */
  transition: transform 5s ease;
}

/* Efecto leve de movimiento */
.banner-container:hover .banner-img {
  transform: scale(1.05);
}

.banner-texto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
  max-width: 700px;
}

.banner-texto h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.banner-texto p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 25px;
}

.banner-boton {
  display: inline-block;
  background: #e53935;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.banner-boton:hover {
  background: #c62828;
  transform: scale(1.05);
}

/* =========================
   AJUSTE ESPACIO DEL BANNER
========================= */
.section.banner-publicidad {
  padding: 0 !important;     /* elimina el padding general */
  min-height: auto !important; /* no fuerza altura completa */
  border: none;              /* elimina el borde inferior de sección */
}
/* =========================
   SECCIÓN PRODUCTOS
========================= */
.section.productos {
  background: #fafafa !important;
  padding-top: 80px;
  padding-bottom: 80px;
  border: none;
}

.productos-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 40px;
}

.productos-texto {
  flex: 1;
}

.productos-texto h2 {
  font-size: 36px;
  color: #000;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.productos-texto p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
  text-align: justify;
}

.productos-accion {
  flex: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boton-productos {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 18px 35px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.boton-productos:hover {
  background: #c62828;
  transform: scale(1.05);
}

/* =========================
   GALERiA DE PRODUCTOS
========================= */
.productos-galeria {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.fila-superior, .fila-inferior {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.fila-superior img {
  width: 500px;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.fila-inferior img {
  width: 390px;
  height: 390px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* =========================
   ANIMACIoN FADE-UP
========================= */
.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   SECCIÓN FRIGORAPPI AJUSTADA
========================= */
.section.frigorappi .frigorappi-whatsapp p {
  font-size: 26px;
  color: #000 !important;
  font-weight: 800;
  margin: 0;

}

.frigorappi-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

/* Imagen izquierda */
.frigorappi-imagen {
  flex: 1;
  display: flex;
  justify-content: center;
}

.frigorappi-imagen img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Texto y contenido derecho */
.frigorappi-texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.frigorappi-texto h2 {
  font-size: 36px;
  color: #e53935;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.frigorappi-texto p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 25px;
  text-align: justify;
  position: relative;
  top: 10px
}

/* Botón centrado a la derecha */
.boton-container {
  display: flex;
  justify-content: flex-end;
  position: relative;
  right: 170px; /* mueve el botón hacia la derecha */
}

.boton-frigorappi {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 14px 30px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.boton-frigorappi:hover {
  background: #c62828;
  transform: scale(1.05);
}

/* Avatar + WhatsApp al lado */
.frigorappi-contacto {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

/* Avatar */
.frigorappi-avatar {
  width: 270px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

/* Bloque del logo y número */
.frigorappi-whatsapp {
  display: flex;
  align-items: center; /* ?? centra verticalmente ícono y texto */
  gap: 12px;           /* separación entre ícono y número */
  line-height: 1;      /* ajusta el alto del texto al ícono */
}

/* Ícono de WhatsApp */
.wsp-icono {
  width: 40px;
  height: 40px;
  display: block;
  margin-top: 18px; /* ?? baja el ícono unos 5px */
}

/* Número */
.frigorappi-whatsapp p {
  font-size: 26px;
  color: #000 !important; /* ?? negro, prioridad máxima */
  font-weight: 800;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

/* =========================
   ANIMACIONES DE ENTRADA
========================= */
.fade-left, .fade-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 1s ease;
}

.fade-left {
  transform: translateX(-60px);
}

.fade-left.visible, .fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}
/* =========================
   FONDO DE LA SECCIÓN FRIGORAPPI
========================= */
.section.frigorappi {
  background: linear-gradient(to right, #ffffff 50%, #f9f9f9 50%);
  padding-top: 80px;
  padding-bottom: 80px;
  border: none;
}

/* =========================
   SECCIÓN CONTACTO
========================= */
.section.contacto {
  background: #f9f9f9;
  padding: 80px 40px;
  border: none;
}

.contacto-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contacto-formulario {
  flex: 1;
  min-width: 320px;
}

.contacto-formulario h2 {
  font-size: 36px;
  color: #e53935;
  font-weight: 800;
  margin-bottom: 10px;
}

.contacto-formulario p {
  font-size: 18px;
  color: #333;
  margin-bottom: 25px;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}

.boton-enviar {
  background: #e53935;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.boton-enviar:hover {
  background: #c62828;
  transform: scale(1.05);
}

.contacto-mapa {
  flex: 1;
  min-width: 320px;
}

.contacto-mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* =========================
   FOOTER (FRIGONEL)
========================= */
.footer {
  background-color: #2a1515;
  color: #fff;
  padding: 50px 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
  text-align: center;
  gap: 30px;
}

/* Columna izquierda: logo */
.footer-logo img {
  width: 180px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* Columna central: redes sociales */
.footer-social {
  text-align: center;
}

.footer-social .social-text {
  font-size: 18px;
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.dev-text {
  font-size: 16px;
  color: #fff;
}

/* Columna derecha: información */
.footer-info {
  text-align: right;
  font-size: 15px;
  line-height: 1.6;
}

.footer-info strong {
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-info {
    text-align: center;
  }

  .footer-logo img {
    width: 140px;
  }
}

/* =========================
   PRODUCTOS.HTML
========================= */
.section.productos-presentacion {
  background: #fafafa;
  text-align: center;
  padding: 100px 40px;
}

.titulo-productos {
  font-size: 42px;
  color: #e53935;
  font-weight: 800;
  margin-bottom: 20px;
}

.texto-productos {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

/* Galería */
.productos-galeria {
  background: #f5f5f5;
  text-align: center;
  padding: 100px 40px;
}

.titulo-galeria {
  font-size: 32px;
  color: #000;
  font-weight: 700;
  margin-bottom: 40px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.producto {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.producto p {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  padding: 15px 0;
}

.producto:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Sección final */
.productos-final {
  background: #eeeeee;
  text-align: center;
  padding: 100px 40px;
}

.final-container h2 {
  font-size: 36px;
  color: #e53935;
  margin-bottom: 15px;
  font-weight: 800;
}

.final-container p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}
/* =========================
   SECCIÓN PARALLAX (PRODUCTOS)
========================= */
.section.productos-portada {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("../img/portada.jpg");
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Capa oscura sutil para contraste */
.portada-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.20);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Contenedor de texto */
.portada-texto {
  position: relative;
  top: 550px; /* ?? baja el texto */
  text-align: center;
  padding: 0 15px;
}

/* Estilo del texto */
.portada-texto h1 {
  color: #fff;
  font-weight: 900;
  font-size: clamp(22px, 5vw, 48px);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
  text-shadow:
    -6px 4px 12px rgba(0, 0, 0, 0.9), /* ?? sombra negra hacia la izquierda */
    -2px 2px 4px rgba(0, 0, 0, 0.7);  /* ?? segunda capa más suave */
  animation: fadeInUp 1.2s ease both;
}

/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   VERSIÓN MÓVIL
========================= */
@media (max-width: 900px) {
  .section.productos-portada {
    height: 65vh;
    background-attachment: scroll;
  }

  .portada-texto {
    top: 500px;
  }

  .portada-texto h1 {
    font-size: clamp(18px, 6vw, 36px);
    line-height: 1.3;
    letter-spacing: 1.5px;
  }
}


/* =========================
   CATÁLOGO REARMADO CON ANIMACIÓN
========================= */
.catalogo-completo {
  background: #fafafa;
  text-align: center;
  padding: 100px 40px;
}

.catalogo-titulo {
  font-size: 38px;
  color: #000;
  font-weight: 800;
  margin-bottom: 10px;
}

.catalogo-descripcion {
  color: #555;
  font-size: 18px;
  margin-bottom: 40px;
}

.catalogo-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.tab {
  background: #fff;
  border: 2px solid #e53935;
  color: #e53935;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab:hover, .tab.active {
  background: #e53935;
  color: #fff;
  transform: scale(1.05);
}

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.producto-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.producto-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.producto-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.8s ease;
}

.producto-item:hover img {
  transform: scale(1.08);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(229,57,53,0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.producto-item:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.ver-mas {
  background: #fff;
  color: #e53935;
  border: none;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ver-mas:hover {
  background: #c62828;
  color: #fff;
}
/* =========================
   MODAL DE PRODUCTO
========================= */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.4s ease forwards;
}

.modal-contenido {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  animation: scaleIn 0.3s ease forwards;
}

.modal-contenido img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.modal-contenido h3 {
  color: #e53935;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.modal-contenido p {
  color: #444;
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

.cerrar {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #555;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cerrar:hover {
  color: #e53935;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* =========================
   CORRECCIÓN DE PESTAÑAS Y AJUSTE DE IMÁGENES
========================= */

/* Oculta las pestañas inactivas completamente */
.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
}

/* Todas las imágenes del catálogo con tamaño uniforme */
.catalogo-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

/* Animación suave de aparición */
.producto-item {
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.producto-item.visible {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   TÍTULO FIJO BAJO LAS IMÁGENES (REVISADO)
========================= */
.producto-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.producto-item h4 {
  font-size: 18px;
  color: #222;
  font-weight: 700;
  text-align: center;
  margin-top: 10px;
  text-transform: capitalize;
}

/* Overlay: efecto visual */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(229,57,53,0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 12px;
}

/* Mostrar overlay al pasar el mouse */
.producto-item:hover .overlay {
  opacity: 1;
}

/* Título dentro del overlay */
.overlay h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
}

/* Botón dentro del overlay */
.ver-mas {
  background: #fff;
  color: #e53935;
  border: none;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ver-mas:hover {
  background: #c62828;
  color: #fff;
}

/* En escritorio: ocultamos los h4 (debajo de la imagen) */
@media (min-width: 900px) {
  .producto-item h4 {
    display: none;
  }
}
/* =========================
   RESPONSIVE: CATÁLOGO EN MÓVIL (2 POR FILA)
========================= */
@media (max-width: 768px) {
  .catalogo-grid {
    grid-template-columns: repeat(2, 1fr); /* ?? 2 columnas iguales */
    gap: 15px; /* ?? menos espacio entre productos */
  }

  .producto-item img {
    height: 180px; /* ?? más compacto para pantallas pequeñas */
  }

  .producto-item h4 {
    font-size: 16px; /* ?? texto un poco más pequeño */
    margin-top: 6px;
  }
}

/* =========================
   HEADER RESPONSIVE MEJORADO (100% FUNCIONAL)
========================= */

/* ?? Por defecto: ícono oculto en escritorio */
.menu-toggle {
  display: none;
  font-size: 32px;
  color: #777;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: #e53935;
}

/* =========================
   ICONO HAMBURGUESA
========================= */
.menu-toggle {
  display: none;
  font-size: 32px;
  color: #999; /* ?? gris claro */
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: #e53935;
}

/* =========================
   VERSIÓN MÓVIL (HEADER RESPONSIVE)
========================= */
@media (max-width: 900px) {
  .header-container {
    padding: 10px 25px;
  }

  /* Mostrar ícono hamburguesa */
  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  /* Logo con sombra, bajado 30px */
  .logo-box {
    position: relative;
    top: 30px;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 5px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    border-radius: 8px;
  }

  /* Ocultar bandera */
  .flag {
    display: none;
  }

  /* Menú oculto por defecto */
  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-top: 2px solid #e53935;
    z-index: 999;
  }

  .nav a {
    width: 100%;
    padding: 15px 25px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
  }

  .nav a:hover {
    background: #e53935;
    color: #fff;
  }

  /* Mostrar menú cuando está activo */
  .nav.active {
    display: flex;
  }
}
/* =========================
   SLIDER RESPONSIVE (VERSIÓN MÓVIL)
========================= */
@media (max-width: 900px) {
  .slider {
    height: 60vh; /* ?? más pequeño que escritorio */
  }

  .slides img {
    height: 60vh;
    object-fit: cover;
  }

  /* Si prefieres altura fija en píxeles en lugar de vh, puedes usar: */
  /* .slider, .slides img { height: 400px; } */
}

@media (max-width: 900px) {
  .section.inicio {
    padding: 0 !important;
    margin: 0 !important;
  }

  .slider {
    height: 60vh; /* ?? o 400px si prefieres fijo */
    margin-bottom: 0;
  }

  .slides img {
    height: 60vh;
    object-fit: cover;
  }
}

/* =========================
   SECCIÓN NOSOTROS - VERSIÓN MÓVIL
========================= */
@media (max-width: 900px) {
  .nosotros-container {
    flex-direction: column; /* ?? imagen arriba, texto abajo */
    gap: 30px;
    padding: 40px 20px;
    margin-top: 0;
  }

  .nosotros-imagen {
    order: -1; /* ?? asegura que la imagen aparezca primero */
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nosotros-imagen img {
    width: 90%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  }

  .nosotros-texto {
    width: 100%;
    text-align: center;
  }

  .titulo-nosotros {
    font-size: 28px; /* ?? más pequeño pero fuerte */
    margin-bottom: 15px;
  }

  .parrafo-nosotros {
    font-size: 16px;
    line-height: 1.5;
    padding: 0 10px;
    text-align: justify;
  }

  .firma-nosotros {
    font-size: 18px;
    margin-top: 10px;
  }
}
@media (max-width: 900px) {
  #nosotros {
    background: #ffffff !important; /* ?? fondo uniforme */
  }
}
/* =========================
   AJUSTES SECCIÓN NOSOTROS - VERSIÓN MÓVIL MEJORADA
========================= */
@media (max-width: 900px) {
  /* ?? Subir un poco la sección (más cerca del slider) */
  .section.nosotros {
    margin-top:  -300px !important; /* antes era -100px */
    padding-top: 40px !important;
  }

  /* ?? Imagen más grande y sin animación */
  .nosotros-imagen {
    order: -1;
    width: 100%;
    display: flex;
    justify-content: center;
    opacity: 1 !important; /* siempre visible */
    transform: none !important;
  }

  .nosotros-imagen img {
    width: 95%; /* un poco más grande */
    max-width: 420px; /* aumenta tamaño máximo */
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  }

  /* ?? Texto con animación desde abajo */
  .nosotros-texto {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
  }

  /* ?? Cuando el texto entra en pantalla */
  .nosotros-texto.visible-texto {
    opacity: 1;
    transform: translateY(0);
  }

  /* ?? Ajuste de tipografía */
  .titulo-nosotros {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .parrafo-nosotros {
    font-size: 16px;
    line-height: 1.6;
    padding: 0 12px;
    text-align: justify;
  }

  .firma-nosotros {
    font-size: 18px;
    margin-top: 10px;
  }
}
/* =========================
   SECCIÓN PRODUCTOS - VERSIÓN MÓVIL MEJORADA
========================= */
@media (max-width: 900px) {
  .section.productos {
    padding: 60px 20px;
    background: #fafafa;
  }

  /* ?? Orden y disposición */
  .productos-container {
    flex-direction: column; /* texto + botón uno debajo del otro */
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 0;
  }

  /* ?? Texto */
  .productos-texto {
    flex: 1;
    order: 1; /* texto primero */
  }

  .productos-texto h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #e53935;
  }

  .productos-texto p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    padding: 0 10px;
  }

  /* ?? Botón debajo del texto */
  .productos-accion {
    order: 2; /* aparece después del texto */
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .boton-productos {
    display: inline-block;
    background: #e53935;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
  }

  .boton-productos:hover {
    background: #c62828;
    transform: scale(1.05);
  }

  /* ?? Galería inferior (si existe en el index) */
  .productos-galeria {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }

  .fila-superior,
  .fila-inferior {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .fila-superior img,
  .fila-inferior img {
    width: 90%;
    height: auto;
    max-width: 380px;
    border-radius: 10px;
  }
}
/* =========================
   SECCIÓN FRIGORAPPI - VERSIÓN MÓVIL
========================= */
@media (max-width: 900px) {
  .section.frigorappi {
    background: #ffffff; /* ?? fondo limpio, sin división */
    padding: 60px 20px;
    border: none;
  }

  /* ?? Contenedor principal en columna */
  .frigorappi-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  /* ?? Imagen arriba, más compacta */
  .frigorappi-imagen {
    order: 1;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .frigorappi-imagen img {
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }

  /* ?? Texto centrado debajo de la imagen */
  .frigorappi-texto {
    order: 2;
    width: 100%;
  }

  .frigorappi-texto h2 {
    font-size: 28px;
    color: #e53935;
    margin-bottom: 15px;
  }

  .frigorappi-texto p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    color: #333;
    margin-bottom: 25px;
  }

  /* ?? Botón centrado */
  .boton-container {
    justify-content: center;
    right: 0;
  }

  .boton-frigorappi {
    font-size: 16px;
    padding: 12px 28px;
    border-radius: 35px;
  }

  /* ?? Bloque contacto (avatar + WhatsApp) */
  .frigorappi-contacto {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
  }

  .frigorappi-avatar {
    width: 200px;
    height: auto;
  }

  .frigorappi-whatsapp {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .wsp-icono {
    width: 35px;
    height: 35px;
    margin: 0;
  }

  .frigorappi-whatsapp p {
    font-size: 22px;
    color: #000;
  }
}
/* Ajuste fino: bajar el número de WhatsApp unos píxeles */
.frigorappi-whatsapp p {
  position: relative;
  top: -2px; /* ?? ajusta el valor según necesites: 2px, 4px, 6px */
}

@media (max-width: 768px) {
  .catalogo-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ?? 3 columnas iguales */
    gap: 12px;
    justify-items: center;
    width: 100%;
    max-width: 550px;
    margin: 0 auto 30px;
  }

  .tab {
    width: 100%;              /* ?? Todos igual ancho */
    min-height: 50px;         /* ?? Misma altura */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    font-size: 14px;
    font-weight: bold;
    color: #e53935;
    background: #fff;
    border: 2px solid #e53935;
    border-radius: 25px;
    padding: 8px 10px;
    transition: all 0.3s ease;
  }

  .tab:hover,
  .tab.active {
    background: #e53935;
    color: #fff;
    transform: scale(1.05);
  }
}
@media (max-width: 768px) {
  .catalogo-completo {
    padding-top: 50px; /* ?? antes era 100px, reducimos el espacio superior */
    margin-top: -40px; /* ?? sube toda la sección; puedes ajustar este valor */
  }
}
/* =========================
   BOTÓN VOLVER A CATEGORÍAS
========================= */
.btn-volver {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #e53935;
  color: #fff;
  border: none;
  padding: 14px 22px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  cursor: pointer;
  display: none; /* ?? Oculto por defecto */
  z-index: 1500;
  transition: all 0.3s ease;
}

.btn-volver:hover {
  background: #c62828;
  transform: scale(1.05);
}

/* Versión móvil: más pequeño */
@media (max-width: 768px) {
  .btn-volver {
    font-size: 14px;
    padding: 10px 18px;
    bottom: 20px;
    right: 15px;
  }
}
/* =========================
   SECCIÓN FINAL MEJORADA
========================= */
.equipo-frigonel {
  text-align: center;
  margin-top: 60px;
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.equipo-grid .foto {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.equipo-grid .foto img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.equipo-grid .foto:hover img {
  transform: scale(1.05);
}

.equipo-texto h3 {
  font-size: 34px;
  color: #e53935;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.equipo-texto p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

/* ?? Versión móvil */
@media (max-width: 768px) {
  .equipo-grid img {
    height: 180px;
  }

  .equipo-texto h3 {
    font-size: 24px;
  }

  .equipo-texto p {
    font-size: 16px;
    padding: 0 20px;
  }
}
