@font-face {
  font-family: 'Blueberry';
  src: url('../fonts/blueberry.woff2') format('woff2'),
       url('../fonts/blueberry.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OneLittleFont';
  src: url('../fonts/onelittlefont-regular.woff2') format('woff2'),
       url('../fonts/onelittlefont-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.blueberry-font {
  font-family: 'Blueberry', sans-serif;
  font-size: 20px; 
  color: #fff;     
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}


/* Header superior */
.top-header {
  background-color: #07a691;
  color: #fff;
  padding: 5px 35px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.email-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.email-link span {
  font-size: 24px !important;
  font-weight: bold;
  color: #fff;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-content a {
  color: #fff;
  font-size: 38px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.big-whats {
  width: 120px;
  height: 80px;
  
}
.whatsappImage {
  margin-right: 30px; /* mueve más a la izquierda */
}
.whatsappImage .icon {
  width: 210px !important;
  height: 60px !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;  
  width: auto;
}

.logo-imgg {
  height: 60px;     
  width: auto;
  margin-left: 70px;
  transform: translateY(-6px);  
}

.header-content a:hover {
  color: #e0e0e0;
}

.header-content a.whatsapp {
  font-weight: bold;
}

.header-content .icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Header de menú */
.menu-header {
  background-color: #fff;
  padding: 15px 35px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Botón hamburguesa oculto por defecto */
.menu-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
}

.menu-nav a {
  margin-left: 40px; 
  text-decoration: none;
  color: #000000;
  font-weight: normal; 
  font-size: 34px;
font-family: 'Nunito', sans-serif;
font-weight: 500;
  transition: color 0.2s;
}

.menu-nav a:hover {
  color: #05a081;
}

.menu-nav a.contact-link {
  margin-right: 70px;
}

/* Carrusel */
.carousel {
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
  position: relative; /* importante para el texto */
}

.slide img, 
.slide video {
  width: 100%;
  height: 75vh;
  object-fit: cover;
  border-radius: 0;
 filter: opacity(60%);
}

/* Texto sobre los slides */
.slide-text {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 34px;
  font-weight: bold;
  text-align: center;
  width: 80%;

}

/* Flechas */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 30px;
  border-radius: 50%;
  z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Responsivo */
@media (max-width: 768px) {
  .slide-text {
    font-size: 18px;
    width: 90%;
  }
}
/* OVALO DE MENU */
.menu-link {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  font-size: 34px;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  color: #000;
}

.menu-link svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.menu-link ellipse {
  fill: none;
  stroke: #caccc2;
  stroke-width: 3;
  stroke-dasharray: 600;   /* longitud del trazo */
  stroke-dashoffset: 600; /* empieza oculto */
  opacity: 0;
}

/* Animación de dibujar y borrar */
@keyframes drawOval {
  0% {
    stroke-dashoffset: 600; /* no se ve */
    opacity: 1;
  }
  40% {
    stroke-dashoffset: 0;   /* se dibuja */
    opacity: 1;
  }
  60% {
    stroke-dashoffset: 0;   /* se queda */
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 600; /* se borra */
    opacity: 0;
  }
}

/* Clase activa */
ellipse.animate {
  animation: drawOval 3s ease-in-out forwards;
}

/* OVALO DE MENU ACABA*/

/*FOOTER */

.footer {
  background-color: #07a691;
  color: #fff;
  padding: 20px 40px;
  text-align: center;
  margin-top: 0;   /* ❌ antes estaba 40px */
}
.footer-social {
  display: flex;
  gap: 10px; /* controla la separación sin guiones */
}

.footer-social a {
  font-size: initial; /* restaura si usas texto dentro */
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo .footer-img {
  height: 60px;
}
.footer-logo .footer-img {
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

.footer-info {
  font-size: 16px;
  line-height: 1.5;
}

.footer-social a {
  margin: 0 10px;
}

.footer-social .icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
}
.carousel,
.slide {
  display: block;
}

.carousel-container {
  font-size: 0; /* quita espacio fantasma entre slides */
}

.footer {
  margin-top: 0;
  padding-top: 20px; /* solo relleno, no margen */
}
/*FOOTER */

/* Conócenos */
.conocenos-section {
  position: relative;
  padding: 60px 20px;       /* espacio arriba y abajo para que no tape header/footer */
  max-width: 1000px;
  margin: 0 auto;
  z-index: 1;
}

.conocenos-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;               /* ocupará toda la sección */
  max-height: 650px;          /* limita el tamaño máximo */
  min-height: 400px;          /* limita el tamaño mínimo */
  background-image: url('../img/f.jpg');
  background-size: contain;   /* mantiene proporciones */
  background-position: center center; /* siempre centrada */
  background-repeat: no-repeat;
  opacity: 0.1;               /* efecto marca de agua */
  filter: grayscale(40%);
  z-index: -1;                /* detrás del contenido */
}

.conocenos-section .container {
  position: relative;
  z-index: 1;
  text-align: justify;
  line-height: 2;
  font-size: 20px;
  color: #333;
}

.conocenos-section .container p {
  margin-bottom: 40px;
}
/* Header secundario */

.sub-header {
  background-color: #87d8cd;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 30px 15px;
  margin-bottom: 10px; /* espacio visible entre bloques */
}

.sub-header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: bold;
}

/* Sección Misión, Visión y Valores */
.mvv-section-centered {
  position: relative;
  padding: 40px 20px 130px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center; /* centra todo horizontalmente */
  gap: 60px; /* espacio entre bloques */
}

/* Cada bloque */
.mvv-item-centered {
  display: flex;
  flex-direction: column; /* texto debajo de imagen + título */
  align-items: center;
  max-width: 800px;
  text-align: center;
}

/* Fila con imagen y título */
.mvv-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px; /* espacio entre icono y título */
  margin-bottom: 20px;
}

.mvv-header-row h2 {
  font-size: 2.2rem;
  margin: 0;
  color: #333;
}

.mvv-item-centered p {
  font-size: 20px;
  color: #555;
  margin: 0;
}

/* Iconos más grandes */
.mvv-icon-centered {
  width: 110px;
  height: 110px;
}

/* Fondo marca de agua */
.mvv-section-centered::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 650px;
  min-height: 400px;
  background-image: url('../img/f.jpg');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.1;
  filter: grayscale(40%);
  z-index: -1;
}

/* Responsive */
@media (max-width: 768px) {
  .mvv-header-row {
    flex-direction: column; /* imagen arriba del título en móviles */
    gap: 10px;
  }
  .mvv-header-row h2 {
    font-size: 1.8rem;
  }
  .mvv-item-centered p {
    font-size: 1rem;
  }
  .mvv-icon-centered {
    width: 100px;
    height: 100px;
  }
}

/* Conócenos */

/* Contacto */

.contacto-section {
  padding: 40px 0;
  background-color: #ffffff; /* opcional */
}

.contacto-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.contacto-left {
  position: relative; /* mantiene la estructura */
  overflow: hidden;   /* evita que el contenido se desborde */
  z-index: 1;
  min-height: 400px;  /* asegura que el contenedor tenga altura */
}

.contacto-left .contacto-item {
  margin-bottom: 35px;        /* espacio entre ítems */
  display: flex;
  align-items: center;        /* alinea icono y texto verticalmente */
  gap: 16px;                  /* espacio entre icono y texto */
  cursor: text;               /* indica que se puede seleccionar/copiar */
  padding: 20px 15px;         /* más espacio arriba y abajo */
  border-radius: 25px;        /* esquinas redondeadas */
  background-color: #ceebe7;  /* color de fondo */
  color: #000;                /* color del texto */
}

.contacto-left span {
  user-select: text;          /* permite seleccionar el texto */
}

.contacto-item {
  display: flex;
  align-items: center;
  font-size: 22px;            /* más grande el texto */
  gap: 16px;                   /* espacio entre icono y texto */
}

.contacto-icon {
  width: 32px;                /* tamaño del icono */
  height: 32px;
  object-fit: contain;
}

.contacto-right {
  flex: 1;                     /* ocupa la otra mitad */
  display: flex;
  justify-content: center;
  align-items: center;
}

.contacto-right img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;         /* opcional */
}

@media (max-width: 768px) {
  .contacto-container {
    flex-direction: column;
    text-align: center;
  }

  .contacto-left, .contacto-right {
    width: 100%;
  }
}

/* Contacto */

/* ===== CATEGORÍAS ===== */

.sub-header {
    text-align: center;
    padding: 40px 20px 10px;
}

.categorias-section {
    padding: 40px 20px 80px;
}

.categorias-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.categoria-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
    display: flex;
  align-items: center;
  gap: 12px; /* 🔥 espacio entre icono y texto */

}
.categoria-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.categoria-icon {
    font-size: 40px;
    margin-bottom: 12px;
    color: #1a9787;
}

.productos-section {
  padding: 60px 20px;
  background: #f9fafb;
}

.productos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center; /* ← ESTO EVITA QUE SE VEAN SOLAS */
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.producto-card {
  background: white;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: 0.3s ease;
}

.producto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.producto-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 15px;
}

.producto-card h3 {
  color: #1a9787; /* tu rojo */
  font-size: 18px;
  margin-bottom: 10px;
}

.producto-card p {
  font-size: 14px;
  color: #555;
}
.productos-section {
  padding: 50px 20px 90px; /* espacio abajo extra */
  background: #f9fafb;
  min-height: 60vh; /* evita que el footer se pegue cuando hay 1 producto */
}

.producto-detalle {
  display: flex;
  gap: 50px;
  padding: 60px 10%;
  align-items: center;
}

.producto-grande {
  width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.producto-info {
  max-width: 500px;
}

.btn-wsp {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #25D366;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.producto-detalle {
  width: 100%;              /* ya no usa vw */
  max-width: 1200px;        /* opcional, limita tamaño en desktop */
  margin: 50px auto 80px auto; /* centra horizontalmente */
  display: flex;
  justify-content: center;
  box-sizing: border-box;   /* importante */
  padding: 0 10px;          /* evita que se corte en móviles */
}
/* OTRA OPCION
.producto-page .producto-detalle {
  background-color: #ceebe7;
  padding: 40px 20px;
  border-radius: 12px;  opcional 
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
*/
/* Si quieres que los botones o textos destaquen más */
/* Fondo solo esta página */
.producto-page {
    background: #ceebe7;
}

/* Layout principal */
.producto-detalle {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
}

/* Imagen */
.producto-img-box {
    flex: 7;
    width: 100%;
    display: flex;
    justify-content: center;
}

.producto-grande {
    width: 90%;
    max-width: 1100px;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.producto-grande:hover {
    transform: scale(1.02);
}

/* Columna derecha */
.producto-ficha {
    flex: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

/* Botón ficha técnica */
.btn-ficha {
    background-color: #25D366;
    color: #fff;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn-ficha:hover {
    transform: scale(1.05);
}

/* Código producto */
.codigo-producto {
    background: #2f2f2f;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    letter-spacing: 1px;
}

/* 📱 Móvil */
@media (max-width: 768px) {
    .producto-detalle {
        flex-direction: column;
        text-align: center;
    }

    .producto-img-box {
        margin-top: 80px; /* espacio debajo del subheader */
    }
}

