/* Contenedor principal */
.slogan {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f9f9f9, #ffe5e5);
    display: flex;
    justify-content: center;
  }
  
  .slogan-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
  }
  
  /* Tarjetas de slogan/misión */
  .slogan-card {
    background-color: #fff;
    flex: 1 1 400px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .slogan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  }
  
  /* Títulos */
  .slogan-card h2 {
    font-size: 28px;
    color: #c62828;
    margin-bottom: 15px;
    position: relative;
  }
  
  .slogan-card h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: #c62828;
    display: block;
    margin-top: 5px;
    border-radius: 3px;
  }
  
  /* Párrafos */
  .slogan-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
  }
  
  /* Resaltar palabras importantes */
  .slogan-card span {
    color: #c62828;
    font-weight: 600;
  }
  
  /* Diseño responsivo */
  @media (max-width: 900px) {
    .slogan-container {
      flex-direction: column;
      align-items: center;
    }
  }
  
  
  
  

/* === Categorías  === */
.categorias {
    padding: 60px 20px;
    background-color:#ffe5e5; 
    text-align: center;
  }
  .categorias-title {
    font-size: 36px;
    color: #c62828;
    margin-bottom: 50px;
    font-weight: bold;
  }
  .categorias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  .categoria-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .categoria-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  }
  .categoria-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
  }
  .categoria-item:hover img {
    transform: scale(1.1);
  }
  .categoria-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(198,40,40,0.8), rgba(223, 30, 30, 0));
    color: white;
    padding: 20px;
    text-align: center;
  }
  .categoria-overlay p {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .categorias-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .categoria-item img {
      height: 180px;
    }
  }
  @media (max-width: 600px) {
    .categorias-grid {
      grid-template-columns: 1fr;
    }
    .categoria-item img {
      height: 150px;
    }
  }
  


/* === Marcas Distribuidas === */
.marcas {
  padding: 60px 20px;
  background-color:#ffffff;
  text-align: center;
  overflow: hidden;
}
.marcas-title {
  font-size: 32px;
  color: #c62828;
  margin-bottom: 40px;
  font-weight: bold;
}
.marcas-slider {
  width: 100%;
  overflow: hidden;
}
.marcas-track {
  display: flex;
  flex-wrap: nowrap;     
  white-space: nowrap;   
  align-items: center;
  will-change: transform;
  gap: 80px; /* espacio entre grupos */
}

.marcas-group {
  display: flex;
  align-items: center;
  gap: 60px;        /* espacio entre logos */
  flex-shrink: 0;   
}

/* Solo al clon, agregar margen extra a la izquierda */
.marcas-group.clone {
  margin-left:40px; /* espacio entre el final del grupo original y el clon */
}
.marcas-group img {
  height: 80px;
  max-height: 100px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;

  /* --- Estilo base --- */
  border-radius: 15px;                  /* esquinas redondeadas */
  background: #eaeaea;                     /* fondo blanco detrás del logo */
  padding: 10px;                        /* espacio interno */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* sombra sutil inicial */
  transition: all 0.4s ease;            /* animación suave */
}

.marcas-group img:hover {
  filter: grayscale(0%);                       
  transform: scale(1.1) rotate3d(1,1,0,8deg);  /* efecto 3D al girar */
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);    /* sombra más fuerte */
  border-radius: 20px;                         /* más redondeo en hover */
}

.marcas-slider:hover .marcas-track {
  animation-play-state: paused;
}

  /* === Footer === */
.footer {
    background-color: #c62828; 
    color: white;
    padding: 50px 20px;
    position: relative;
  }
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    gap: 30px;
  }
  .footer-logo img {
    width: 100px;
    margin-bottom: 10px;
  }
  .footer-logo p {
    font-size: 14px;
    line-height: 1.5;
  }
  .footer-column h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-column ul li {
    margin-bottom: 8px;
    font-size: 14px;
  }
  .footer-column ul li i {
    margin-right: 5px;
  }
  .footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }
  .footer-column ul li a:hover {
    color: #ffe082;
  }
  .social-footer a {
    margin-right: 15px;
    color: white;
    font-size: 20px;
    transition: color 0.3s;
  }
  .social-footer a:hover {
    color: #ffe082;
  }
  
  /* Botón cotizar */
  .btn-cotizar {
    background-color: #ffd700;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    transition: background 0.3s;
  }
  .btn-cotizar:hover {
    background-color: #ffc107;
  }
  
  /* WhatsApp flotante */
  .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    font-size: 28px;
    border-radius: 50%;
    padding: 15px;
    z-index: 100;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
  }
  .whatsapp-float:hover {
    transform: scale(1.1);
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .footer-container {
      flex-direction: column;
      align-items: flex-start;
    }
    .footer-column {
      width: 100%;
      margin-bottom: 20px;
    }
  }
  
  /* Botón Cotizar */
.btn-cotizar {
    background: #c62828;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
  }
  
  .btn-cotizar:hover {
    background: #b71c1c;
    transform: scale(1.05);
  }
  
  /* Fondo del modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* fondo oscuro semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
  }
  
  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
  }
  
  .modal-content input,
  .modal-content textarea,
  .modal-content button {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
  }
  
  .modal-content button {
    background-color: #c62828;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .modal-content button:hover {
    background-color: #a71f1f;
  }
  
  .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
  }
  
  /* Sección de imagen destacada */
.imagen-destacada {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    background: #f9f9f9;
  }
  
  .imagen-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .imagen-container img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .imagen-container img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(0,0,0,0.3);
  }

/* Animación de respiración */
@keyframes breathingZoom {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Aplicamos el efecto a las imágenes activas */
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-item.active img {
  animation: breathingZoom 10s ease-in-out infinite;
}

/* Fondo del modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}

/* Contenedor del PDF */
.modal-content.pdf-content {
  position: relative;
  margin: 2% auto;
  width: 90%;  
  height: 90%; 
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Botón cerrar */
.modal-content .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
  z-index: 1000;
}

/* El iframe ocupa TODO el modal */
.modal-content.pdf-content iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
}

/* Modal Nosotros */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
}

.modal-content .close {
  color: #333;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-content .close:hover {
  color: #c62828;
}

.slogan-container-modal {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media(min-width: 768px) {
  .slogan-container-modal {
    flex-direction: row;
    justify-content: space-between;
  }
  .slogan-card {
    width: 48%;
  }
}

/* Botones flotantes adicionales */
.social-float {
  position: fixed;
  bottom: 100px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.social-float a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  color: white;
  font-size: 24px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.3s;
}

.social-float a:hover {
  transform: scale(1.1);
}

/* Colores específicos */
.social-float .facebook {
  background: #3b5998;
}

.social-float .instagram {
  background: #e1306c;
}
.social-float .email {
  background: #c62828; 
}


  
  