:root {
    --primary-color: #4c2026;
    --secondary-color: #e4bc5c;
    --accent-color: #d6ae50d7;
    --text-dark: #2d3436;
    --text-light: #ffffff;
    --animation-timing: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-duration: 0.3s;

  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}


/* Estilos Generales */
body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    line-height: 1.6;
    
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
    padding: 0.5rem;
    
}

/* Header */
header {
  background: var(--primary-color); /* Color de fondo del encabezado */

}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px; /* Ajusta el tamaño del logo */
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    text-transform: uppercase;
    color: #e4bc5c; /* Color del texto de la navegación */
}

/* Hero Section */
.hero {
    background: url('assets/imagenes/hero-bg.jpg') center/cover no-repeat;
    color: #e4bc5c; /* Color del texto del hero */
    text-align: center;
    padding: 0px 0;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-bottom: 20px;
}


.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: white;
}

.swiper-pagination-bullet-active {
    background: white;
}

.swiper-button-prev,
.swiper-button-next {
    color: white;
}

.btn {
    display: inline-block;
    background: #e4bc5c; /* Color del botón */
    color: var(--primary-color); /* Color del texto del botón */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* Section */
.section {
    padding: 80px 0;
}

/* Footer */
footer {
    background: var(--primary-color); /* Color de fondo del pie de página */
    color: #e4bc5c; /* Color del texto del pie de página */
    text-align: center;
    padding: 20px 0;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    height: 25px;
    width: 30px;
}

.menu-toggle span {
    background: #e4bc5c; /* Color del ícono del menú */
    height: 3px;
    width: 100%;
}

.site-header {
    position: sticky; /* Fija el encabezado */
    top: 0; /* Lo fija en la parte superior */
    width: 100%; /* Asegura que ocupe todo el ancho */
    z-index: 100; /* Asegura que esté por encima de otros elementos */
    transition: background-color 0.3s ease; /* Agrega una transición suave */
}

/* ... (otros estilos) ... */

.about-us {
    padding: 80px 0;
}

.about-title{
    text-align: center;

}

.about-content {
    display: block;
}

.video-container {
    flex: 1 1 500px; /* Ajusta el tamaño del video */
    min-width: 300px;
}

.video-container video {
    width: 100%;
    height: auto;
}

.video-container2 {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Proporción 16:9 */
  height: 0;
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-container2 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}



.text-content {
    flex: 1 1 400px; /* Ajusta el tamaño del texto */
    min-width: 300px;
}

.service-section {
    padding: 80px 0;
}

.service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-image {
    flex: 1 1 500px; /* Ajusta el tamaño de la imagen */
    min-width: 300px;
}

.service-image img {
    width: 100%;
    height: auto;
}

.service-text {
    flex: 1 1 400px; /* Ajusta el tamaño del texto */
    min-width: 300px;
}

/* Sección Hero Transparente */
.count-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  width: 100%;
  margin-top: 20px;
  padding: 30px 0;
  color: var(--secondary-color);

  /* Fondo completamente transparente (ni imagen ni gradientes) */
  background: transparent;
  
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light); /* Puedes cambiar esto si quieres otro color */
  position: relative;
  overflow: hidden;

}

/* Se elimina capa oscura innecesaria */
.count-title::after {
  display: none;
    color: var(--secondary-color);
}

.count-content {
    color: var(--secondary-color);
  text-align: center;
  max-width: 1200px;
  position: relative;
  z-index: 2;

  /* Se elimina animación si no es deseada */
  opacity: 1;
  transform: none;
  animation: none;
}

.count-content h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-size: 2.8rem;
  /* Quitamos efectos visuales */
  text-shadow: none;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--primary-color);
}


/* Sección de Estadísticas Mejorada */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    max-width: 1190px;
    margin: 0 auto 6rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;

  }

.stat-box {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-duration) var(--animation-timing);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: scale(0.95);
    opacity: 0;
    animation: scaleUp 0.6s var(--animation-timing) forwards;

  }

.stat-box:nth-child(1) { animation-delay: 0.2s; }
.stat-box:nth-child(2) { animation-delay: 0.4s; }
.stat-box:nth-child(3) { animation-delay: 0.6s; }

@keyframes scaleUp {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.stat-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);

  }

.stat-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, var(--secondary-color), transparent);
    animation: rotate 8s linear infinite;
    opacity: 0.2;
    
}



.stat-box h2 {
  font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: color var(--transition-duration);
}

.counter-number {
    display: inline-block;
    min-width: 1.2em;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.stat-box:hover .stat-icon {
    transform: rotate(360deg) scale(1.2);
    color: var(--accent-color);
}

.stat-box p {
    color: var(--text-dark);
    font-size: clamp(1rem, 3vw, 1.1rem);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 90%;
}



.services-section {
  padding: 100px 0; /* Más espacio arriba y abajo para mostrar más fondo */
  background-color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px; /* Más espacio entre las tarjetas */
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--primary-color);
  padding: 50px; /* ESPACIO EN TARJETA*/
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  color: white;
  min-height: 50px; /* ALTURA MAXIMA TARJETA*/
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.service-image {
  width: 40%;
  max-width: 300px;
  max-height: 6000px;
  border-radius: 5%; 
  object-fit: cover;
  flex-shrink: 0;
}


.service-text-container {
  flex: 1;
  max-width: 650px;
}

.service-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: white; /* Color del título en blanco */
  font-family: 'Viga', sans-serif;
}

.service-text {
  font-size: 1rem;
  color: white; /* Color del texto en blanco */
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: justify;
}

.service-list {
  list-style: none; /* Quita las viñetas */
  padding-left: 20px;
  margin-bottom: 15px;
  color: white; /* Color blanco para la lista */
}

.service-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.left {
  order: -1; /* Imagen a la izquierda */
}

.right {
  order: 1; /* Imagen a la derecha */
}

.check-icon {
  color: white; /* Color blanco para los iconos de check */
  margin-right: 10px;
}

@media (max-width: 768px) {
  .service-content {
      flex-direction: column;
      text-align: center;
  }
  
  .service-image {
      width: 100%;
      max-width: 100%;
  }
}


/* Accesibilidad y Mejoras Mobile */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .counter-number {
        transition: none !important;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 1rem;
    }

    .stats-container {
        margin: -6rem auto 4rem;
        gap: 1.5rem;
    }

    .stat-box {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }

    .stats-container {
        margin: -4rem auto 3rem;
        padding: 0 1rem;
    }

    .stat-box-inner {
        padding: 1.5rem;
    }
}

/* Efectos de Foco para Accesibilidad */
.stat-box:focus-within {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.stat-box *:focus {
    outline: none;
}


.product-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
  font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    color: #4c2026;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.product-card {
   width: 350px;  /* Ajusta el ancho de las tarjetas */
  margin: 10px;  /* Espacio mínimo entre las tarjetas */
    background: transparent;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 1px;
}

.product-title {
  font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #2d3436;
    margin-bottom: 1rem;
    min-height: 3.5em;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #555;
}

.detail-icon {
    color: var(--secondary-color);
    margin-right: 0.8rem;
    font-size: 1.2rem;
    min-width: 25px;
}

.stock-indicator {
    margin: 1.5rem 0;
    background: #f1f1f1;
    border-radius: 8px;
    overflow: hidden;
}

.stock-bar {
    height: 6px;
    background: var(--primary-color);
    transition: width 0.5s ease;
}

.stock-text {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
    font-weight: 600;
}

.product-actions {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.product-details-list p {
  font-family: 'Open Sans', sans-serif;
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
  text-align: left;
}

.product-details-list p::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e4bc5c;
  font-weight: bold;
  font-size: 18px;
}

.details-btn {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.details-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.quote-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.quote-btn:hover {
    background: var(--secondary-color);
    color: white;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 200px;
    }
}

.productosnew {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0;
}

.productosnew-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap; /* para que se acomode en móviles */
}

.productosnew-card {
  background: transparent; /* Fondo transparente */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  width: 300px;
  /* box-shadow: none; */ /* Sin sombra */
}

.productosnew-image img {
  width: 100%;
  height: auto;
}

.productosnew-title {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #333;
}

.productosnew-actions {
  margin-bottom: 1rem;
}

.productosnew-actions .action-bttn {
  padding: 0.5rem 1rem;
  background-color: #4c2026;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.productosnew-actions .action-bttn:hover {
  background-color: #e4bc5c;
}

/* ... (otros estilos) ... */

.partners-section {
    padding: 60px 0;
    background-color: #f9f9f9; /* Un fondo ligero para la sección */
    text-align: center;
    overflow-x: hidden;
}

.partners-section h2 {
  font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #333;
}

.partners-slider {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 2rem; /* opcional: espacio lateral para que no quede pegado a los bordes */

}


.partners-slider .swiper-slide img {
    max-width: none;
    max-height: 80px; /* Ajusta la altura máxima de los logos */
    object-fit: contain; /* Asegura que el logo se ajuste sin deformarse */
}

/* Estilos responsive opcionales */
@media (max-width: 768px) {
    .partners-section {
        padding: 40px 0;
    }

    .partners-section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .partners-slider {
        width: 95%;
    }

    .partners-slider .swiper-slide {
        padding: 15px;
    }

    .partners-slider .swiper-slide img {
        max-height: 60px;
    }
}



/* ====== Misión y Visión ====== */
.mision-vision {
    background-color: #f4f9f4;
    padding: 4rem 0;
    font-family: 'Montserrat', sans-serif;
  }
  
  .mision-vision .container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .mision, .vision {
    flex: 1 1 45%;
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
  
  .mision h2, .vision h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
  }
  
  .mision p, .vision p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
  }
  

/* ====== Sobre Nosotros ====== */
.nosotros-section {
    background-color: #f9f9f3;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin: 0;
  }
  
  .nosotros-section .container {
    max-width: 1100px;
    margin: auto;
    padding: 2 1rem;
  }
  
  .about-title {
    font-family: 'Viga', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
  }
  
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .text-content {
    max-width: 800px;
    color: #444;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
  }
  
  .text-content p {
    margin-bottom: 1rem;
  }
  
  .image-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .image-group img {
    width: 250px;
    height: 140px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .image-group img:hover {
    transform: scale(1.05);
  }
  .text-content p:last-child {
    margin-bottom: 0;
  }
  

/* Estilos para la sección de productos */
/* Sección de Imágenes Horizontales */
.imagee-gallery {
  padding: 30px 0;
  background-color: #e4bc5c; /* Fondo color dorado */
}

.galleryy-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.galleryy-item {
  text-align: center;
  flex: 1;
  transition: transform 0.3s ease;
}

.galleryy-item:hover {
  transform: translateY(-5px); /* Efecto al pasar el ratón sobre las imágenes */
}

.roundedd-image {
  width: 120px;
  height: 120px;
  border-radius: 50%; /* Hace que la imagen sea circular */
  object-fit: cover;
  margin-bottom: 15px;
}

.imagee-caption {
  font-size: 1.1rem;
  color: white;
  font-weight: bold;
  text-transform: uppercase; /* Para dar un estilo más elegante al texto */
  letter-spacing: 1px; /* Espaciado de letras */
  margin-top: 10px; /* Separación entre la imagen y el texto */
}




/* Sección de Imágenes Horizontales */
.wa-imagee-section {
  background-color: #e4bc5c;
  padding: 20px 0;
}

.wa-image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px; /* Reducido para mejor adaptación en móviles */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* Añade padding lateral para móviles */
}

.wa-imagee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: auto;
  transition: transform 0.3s ease;
  width: 150px; /* Fijo para mantener orden visual */
}

.wa-imagee-item:hover {
  transform: translateY(-5px);
}

.wa-circlee-image,
.wa-small-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 8px;
  object-fit: cover;
}

.wa-small-image {
  height: 70px;
  width: 70px;
}

.wa-imagee-text {
  font-size: 14px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* ------------------------------ */
/* Media Queries para Responsividad */
/* ------------------------------ */

/* Pantallas medianas (tablets) */
@media (max-width: 768px) {
  .wa-image-container {
    gap: 40px;
  }

  .wa-imagee-item {
    width: 120px;
  }

  .wa-imagee-text {
    font-size: 13px;
  }
}

/* Pantallas pequeñas (móviles) */
@media (max-width: 480px) {
  .wa-image-container {
    gap: 30px;
  }

  .wa-imagee-item {
    width: 100px;
  }

  .wa-circlee-image,
  .wa-small-image {
    width: 60px;
    height: 60px;
  }

  .wa-imagee-text {
    font-size: 12px;
  }
}
/* Título de la sección */
.wa-imagee-title {
  text-align: center;
  margin-bottom: 30px;
}

.wa-imagee-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* Responsivo */
@media (max-width: 768px) {
  .wa-imagee-title h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .wa-imagee-title h2 {
    font-size: 20px;
    letter-spacing: 1px;
  }
}


.productoss-hero {
  background-image: url('./img/trabajo/panetones.jpg'); /* Cambia por tu imagen */
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  align-items: flex-start; /* mueve el contenido arriba */
  padding-top: 40px; /* ajusta según necesites */
}
.productt-title {
  font-family: 'Viga', sans-serif;
  font-size: 2.2rem;
  color: #e4bc5c;
  margin-bottom: 0rem;
  background-color: var(--primary-color); /* Fondo oscuro */
  padding: 0.3rem 0.8rem; /* Espacio interno reducido */
  border-radius: 5px; /* Bordes un poco más compactos */
  display: inline-block;
}

.productt-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1rem;
}

.action-bttn {
  text-align: center;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.action-bttn:hover {
  background-color: #e4bc5c;
}


.products-section {
    padding: 50px 0;
    background-color: #f8f8f8;
  }
  
  .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #2b2b2b;
  }
  
  /* Contenedor de cada producto */
  .product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px; /* Ajusta según el contenido más largo */
    background: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
  }
  
  /* Contenido del producto */
  .product-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--primary-color);
    padding: 1rem; /* 👈 Agrega esta línea o ajusta el valor según necesites */

  }
  
  /* Estilo general de párrafos */
  .product-content p {
    margin-bottom: 10px;
    padding: 0 20px;
  }
  
  /* Texto destacado */
  .product-content p strong {
    color: var(--primary-color);
  }
  
  /* Eliminar margen extra al final */
  .product-content p:last-child {
    margin-bottom: 0;
  }
  
  /* Imagen del producto */
  .product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
  }
  
  /* Acciones del producto */
  .product-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  /* Botones */
  .action-btn {
    background-color: #2b2b2b;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .action-btn:hover {
    background-color: #3498db;
  }

  .btn-conocenos {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #4c2026;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    text-decoration: none;
    z-index: 10;
    transition: background-color 0.3s ease;
  }
  
  .btn-conocenos:hover {
    background-color: #e4bc5c;
  }

  .servicios-hero {
    background-image: url('./img/servicios.jpg'); /* Cambia por tu imagen */
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    align-items: flex-start; /* mueve el contenido arriba */
    padding-top: 40px; /* ajusta según necesites */
  }
  
  .servicios-hero .about-title {
    color: white;
    font-size: 2.5rem;
    font-family: 'Viga', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    margin: 0;
  }
  .check-icon {
    display: inline-block;
    background-color: #e4bc5c; /* fondo verde bosque */
    color: white;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    text-align: center;
    line-height: 1.5rem;
    font-weight: bold;
    margin-right: 0.5rem;
    font-size: 0.9rem;
  }
  
  /* Estilos para la sección "Nuestra Edición" */
.emsi-edition-section {
  padding: 50px 0;
  background-color: #f4f4f4; /* Fondo suave */
}

.emsi-section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
  font-family: 'Viga', sans-serif;
}
.emsi-subtitle {
  font-size: 12px;
  margin-top: 0.5rem;
}

.emsi-subsubtitle {
  font-size: 1rem;
  margin-top: 0.3rem;

}

.emsi-cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.emsi-card {
  background-color: #fff;
  width: 45%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.emsi-card:hover {
  transform: translateY(-5px);
}

.emsi-card-image {
  position: relative;
  width: 100%;
  height: 250px;
}

.emsi-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emsi-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
}

.emsi-overlay-text {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.emsi-card-content {
  padding: 20px;
  text-align: center;
}

.emsi-card-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #4c2026; /* Color oscuro para el título */
  font-family: 'Poppins', sans-serif;

}

.emsi-card-text {
  font-size: 1rem;
  color: #555;
}
/* Responsive: una tarjeta debajo de otra en pantallas pequeñas */
@media (max-width: 768px) {
  .emsi-cards-container {
    flex-direction: column;
    align-items: center;
  }

  .emsi-card {
    width: 90%; /* Cambia el ancho aquí si quieres más o menos */
  }
}




/* HERO */
/* HERO */
.emsi-hero {
  background-image: url('./img/nosotros/_DSC2664.jpg');
  background-size: cover;
  background-position: center;
  height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 20px 20px;
  color: white;
  text-align: center;
  position: relative;
}

.emsi-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.emsi-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #4c2026;
}

.emsi-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4c2026;
}

/* INFO BOX DENTRO DEL HERO */
.emsi-info-box {
  background-color: #4c2026;
  padding: 20px 30px;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.emsi-info-columns {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  color: white;
  text-align: center;
}

.emsi-info-item {
  flex: 1;
  min-width: 120px;
}

.emsi-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

/* LÍNEAS DIVISORAS */
.emsi-divider {
  background-color: white;
  height: 60px;
  align-self: center;
  opacity: 0.4;
}

/* Tamaños de línea */
.emsi-divider-small {
  width: 1px;
}
.emsi-divider-medium {
  width: 2px;
}
.emsi-divider-large {
  width: 4px;
}



.emsi-boton {
  display: inline-block;
  background-color: #e4bc5c;
  color: #4c2026;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-family: sans-serif;
  margin-top: 20px;
  margin-bottom: 15px;
  transition: background-color 0.3s ease;
}

.emsi-boton:hover {
  background-color: #d1a84f;
}


.noticias-hero {
  background-image: url('./img/noticias/wa.jfif'); /* Cambia por tu imagen */
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  align-items: flex-start; /* mueve el contenido arriba */
  padding-top: 40px; /* ajusta según necesites */
}

.noticiastyle-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center; /* centra los items horizontalmente */
}

.noticiastyle-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; /* Centra el contenido */
  gap: 10px; /* Reduce el espacio entre imagen y texto */
  flex-wrap: wrap;
  max-width: 900px; /* Limita el ancho de la tarjeta */
  width: 100%;
  text-align: center;
}

.noticiastyle-img img {
  max-width: 400px; /* Reduce el tamaño de la imagen para dar más espacio */
  width: 100%;
  border-radius: 10px;
  margin-right: 1px; /* Agrega un pequeño margen entre imagen y texto si es necesario */
}

.noticiastyle-text {
  font-family: 'Poppins', sans-serif;
  flex: 1;
  font-family: sans-serif;
  color: #333;
  text-align: justify;
  padding: 1px; /* Reduce el padding para acercar más el texto */
  max-width: 400px; /* Limita el ancho del texto */
  margin: 0 auto;
}


.noticiastyle-button {
  display: inline-block;
  margin-top: 10px;
  background-color: #4c2026;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.noticiastyle-button:hover {
  background-color: #5a2a30;
}

.form-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background-color: #fdfaf6;
  color: #4c2026;
  font-family: 'Segoe UI', sans-serif;
}

.form-container {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  max-width: 500px;
  width: 100%;
  text-align: left;
}

.form-container h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
  font-size: 28px;
  color: #4c2026;
  text-align: center;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  color: #4c2026;
  background-color: #fefefe;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #e4bc5c;
  box-shadow: 0 0 5px #e4bc5c55;
}

.form-button {
  background-color: #e4bc5c;
  color: #4c2026;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
  margin: 0 auto;
}

.form-button:hover {
  background-color: #d9a944;
}


.footerstyle {
  background-color: #4c2026;
  color: white;
  padding: 60px 20px 20px;
  font-family: sans-serif;
  text-align: left;
}

.footerstyle .footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 150px;
}

.footerstyle .footer-column {
  flex: 1 1 250px;
  min-width: 250px;
}

.footerstyle img {
  max-width: 150px;
  margin-bottom: 15px;
}

.footerstyle .footer-text {
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
}

.footerstyle .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  
}

.footerstyle .social-icons i {
  font-size: 20px;
  color: white;
  transition: color 0.3s;
}

.footerstyle .social-icons i:hover {
  color: #e4bc5c;
}

.footerstyle h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #e4bc5c;
}

.footerstyle .contact-item span {
  text-align: justify; /* También puedes justificar el texto de las listas y contacto si deseas */
}

.footerstyle ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footerstyle ul li {
  margin-bottom: 10px;
}

.footerstyle ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footerstyle ul li a:hover {
  color: #e4bc5c;
}

.footerstyle .contact-item {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.footerstyle .contact-item i {
  font-size: 16px;
  margin-top: 3px;
  color: #e4bc5c;
}

.footerstyle .bottom-footer {
  border-top: 1px solid #e4bc5c;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #e4bc5c;
}

.footerstyle .bottom-footer .legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footerstyle .bottom-footer .legal-links a {
  color: #e4bc5c;
  text-decoration: none;
  font-weight: 500;
}

.footerstyle .bottom-footer .legal-links a:hover {
  text-decoration: underline;
}

.footerstyle .bottom-footer .copyright-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 10px;
  font-size: 0.85rem;
  color: #fff;
}

.calidadproduc-section {
  padding: 50px 20px;
  background-color: #fff;
}

.calidadproduc-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #4c2026;
  margin-bottom: 40px;
}

.calidadproduc-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.calidadproduc-item {
  width: 160px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calidadproduc-circle {
  width: 100px;
  height: 100px;
  background-color: #e4bc5c;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.calidadproduc-circle img {
  width: 60%;
  height: auto;
}

.calidadproduc-item p {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .calidadproduc-item {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .calidadproduc-item {
    width: 100%;
  }

  .calidadproduc-title {
    font-size: 22px;
  }
}


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

.emsi-button-container {
  text-align: center;
  margin-bottom: 30px;
}

.emsi-register-button {
  display: inline-block;
  background-color: #e4bc5c;
  color: #4c2026;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-decoration: none;
  padding: 16px 48px;
  border-radius: 10px;
  font-size: 18px;
  min-width: 280px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.emsi-register-button:hover {
  background-color: #d1a74f;
  transform: scale(1.03);
}
.flashcard-heading {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
  font-weight: bold;
  width: 100%;
}

.flashcard-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.flashcard {
  width: 300px;
  height: 400px;
  perspective: 1000px;
  cursor: pointer;
}

.flashcard-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.flashcard:hover .flashcard-inner {
  transform: rotateY(180deg);
}

.flashcard-front, .flashcard-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: white;
}

.flashcard-back {
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background-color: #5c2626;
  color: white;
  font-size: 18px;
  line-height: 1.5;
}

.flashcard-triangle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background-color: #5c2626;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 30%);
  z-index: 1;
}

.flashcard-triangle2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background-color: #e4bc5c;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 30%);
  z-index: 1;
}

.flashcard-back2 {
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background-color: #e4bc5c;
  color: white;
  font-size: 18px;
  line-height: 1.5;
}

.flashcard-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  z-index: 2;
  margin-bottom: 20px;
  position: relative;
  top: -20px;
}

.flashcard-content {
  z-index: 2;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.flashcard-name {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 18px;
  text-align: center;
}

.flashcard-position {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.flashcard-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  justify-content: center;
  width: 100%;
}

.flashcard-icon {
  width: 25px;
  height: 25px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  text-decoration: none;
  font-size: 18px;
  border-radius: 50%;
  padding: 15px;
  transition: all 0.3s ease;
}

.flashcard-icon:hover {
  background-color: #e4bc5c; /* Color dorado para el fondo en hover */
  color: #4c2026; /* Color marrón oscuro para el texto en hover */
  transform: scale(1.1); /* Un pequeño efecto de escala al hacer hover */
}

.flashcard-selected {
  border: 2px solid #2196F3;
}

@media (max-width: 1024px) {
  .flashcard-container {
      justify-content: center;
  }
  
  .flashcard {
      margin: 0 auto;
  }
}

.mapa-imagen {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #ffffff;
}

.mapa-imagen-container {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.mapa-imagen-container img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mapa-imagen-container img:hover {
  transform: scale(1.03);
}



/* Sección formap */
.formap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
  margin-top: 80px;
}

.formap-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 20px;
  z-index: 1; /* Lower z-index than the header */
}

/* Wrapper mapa + links */
.map-wrapper {
  flex: 1 1 500px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Contenedor del mapa */
.map-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10; /* un poco más cuadrado */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#map {
  width: 100%;
  height: 100%;
}

/* Botón flotante arriba del mapa */
.map-button {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4c2026;
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 5;
  transition: background-color 0.3s ease;
}

.map-button:hover {
  background-color: #4c2026;
}

/* Links debajo del mapa */
.map-links {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 20px;
}
.map-link i {
  margin-right: 8px;
  font-size: 18px;
}


.map-link {
  font-size: 16px;
  color: #4c2026;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.map-link:hover {
  color: #4c2026;
}

/* Formulario */
.formap-form {
  flex: 1 1 400px;
  min-width: 280px;
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.formap-form h2 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--primary-color);
}

.formap-form form {
  display: flex;
  flex-direction: column;
}

.formap-form label {
  font-family: 'Inter', sans-serif; 
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: 600;
  color: #555;
}

.formap-form input,
.formap-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 16px;
}

.form-button {
  background-color: #e4bc5c;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-button:hover {
  background-color: #e4bc5c;
}

@media (max-width: 768px) {
  .formap-container {
    flex-direction: column;
    align-items: center;
  }

  .formap-form {
    order: 1;
  }

  .map-wrapper {
    order: 2;
  }

  .map-links {
    flex-direction: column;
    align-items: center;
  }
}


/* Animación de desvanecimiento */
.fade-out {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Éxito oculto por defecto */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #4c2026;
  padding: 20px;
  border: 2px solid #e4bc5c;
  border-radius: 12px;
  background-color: #fffbea;
  margin-top: 20px;
}

.checkmark {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.hidden {
  display: none;
}



.contact-hero {
  background-image: url('./img/contacto.jpg'); /* Cambia por tu imagen */
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  align-items: flex-start; /* mueve el contenido arriba */
  padding-top: 40px; /* ajusta según necesites */
}

.contact-hero .about-title {
  color: white;
  font-size: 2.5rem;
  font-family: 'Viga', sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  margin: 0;
}


  /* Responsive - Estilos para pantallas más pequeñas */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }
  
    .product-content {
      font-size: 1rem;
      padding: 0 10px;
    }
  }
  
  @media (max-width: 480px) {
    .section-title {
      font-size: 1.8rem;
    }
  
    .product-content {
      font-size: 0.95rem;
    }
  }
 