:root {
  --green-600: #1e4620;
  --green-500: #00521d;
  --verde: #046d38;
  --negro: #232323;
  --gris-claro: #f7f7f7;
  --gris-medio: #e0e0e0;
  --gris-oscuro: #444;
  --muted: #f2f2f2;
  --white: #fff;
  --shadow: 0 8px 32px rgba(30, 70, 32, 0.1), 0 1.5px 6px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 12px 32px rgba(30, 70, 32, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.1);
  --max-width: 90%;
  --section-padding: 4rem;
  --image-max-height: 350px;
  --radius: 18px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background: linear-gradient(120deg, #f7f7f7 0%, #e9f5ee 100%);
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial;
  line-height: 1.6;
  color: var(--negro);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(30, 70, 32, 0.06);
  transition: box-shadow var(--transition);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: var(--max-width);
  background: rgba(255, 255, 255, 0.85);
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: var(--shadow);
  z-index: 1000;
  backdrop-filter: blur(8px);
  border: 1px solid var(--gris-medio);
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar:hover {
  box-shadow: var(--shadow-hover);
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img {
  height: 50px;
  border-radius: 12px;
}

.menu-toggle {
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  display: none;
  color: var(--green-600);
  transition: color var(--transition);
}
.menu-toggle:hover {
  color: var(--verde);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--green-600);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 12px;
  transition: background var(--transition), color var(--transition),
    box-shadow var(--transition);
  font-size: 1rem;
}
@media (max-width: 1093px) {
  .nav-links a {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    font-size: 0.8rem;
  }
}
.lang-switch select {
  appearance: none;
  background: var(--verde); /* color verde de tu navbar */
  color: #fff; /* texto blanco */
  border: none;
  border-radius: 20px; /* forma de píldora */
  padding: 6px 24px 6px 12px; /* espacio interno */
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-switch select:hover {
  background: var(--green-600); /* verde más oscuro al pasar */
}

.lang-switch {
  position: relative;
  display: inline-block;
}

.lang-switch::after {
  content: "▾"; /* flecha hacia abajo */
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  pointer-events: none;
  font-size: 12px;
}
.nav-right {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--verde);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(4, 109, 56, 0.1);
}

.btn-contacto {
  background: linear-gradient(90deg, var(--verde) 60%, var(--green-600) 100%);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 40px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(4, 109, 56, 0.1);
  border: none;
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-contacto:hover {
  background: linear-gradient(90deg, var(--green-600) 60%, var(--verde) 100%);
  box-shadow: 0 4px 16px rgba(4, 109, 56, 0.18);
}

/* HERO Y CABECERAS */
.hero,
.agropulp,
.negocio,
.clientes,
.contactosheader {
  min-height: 75vh;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  box-shadow: 0 8px 32px rgba(30, 70, 32, 0.1);
}
.pakka{
  min-height: 95vh;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  box-shadow: 0 8px 32px rgba(30, 70, 32, 0.1);
}

@media (max-width: 920px) {
.pakka {
    min-height: 45vh;
  }
}



.pakkaen{
  min-height: 95vh;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  box-shadow: 0 8px 32px rgba(30, 70, 32, 0.1);
}

@media (max-width: 920px) {
.pakkaen {
    min-height: 45vh;
  }
}

.hero {
  background-image: image-set(url("../img/1.webp"));
}
.agropulp {
  background-image: image-set(url("../img/agropulp.webp"));
}
.negocio,
.clientes,
.contactosheader {
  background-image: image-set(url("../img/cotacto.webp"));
}
.pakka {
  background-image: image-set(url("../img/bannerpakka.webp"));
}
.pakkaen {
  background-image: image-set(url("../img/bannerpakka2.webp"));
}

.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 80px 20px 80px 20px;
}

.hero-content {
  margin: 5rem;
  padding: 36px 32px;
  border-radius: 18px;
  max-width: 1000px;
  text-align: center;
  animation: fadeInUp 1s;
  background: rgba(0, 0, 0, 0.466);
  border-radius: 18px;
}

@media (max-width: 768px) {
  .hero-content {
    margin: 2rem;
    padding: 24px 20px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content h1 {
  font-size: clamp(3rem, 4vw, 2.8rem);
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
}
.hero-content .lead {
  margin-bottom: 22px;
  opacity: 0.95;
  font-size: 1.5rem;
  color: var(--white);
}

.btn-primary {
  background: linear-gradient(90deg, var(--verde) 60%, var(--green-600) 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(4, 109, 56, 0.1);
  border: none;
  transition: background var(--transition), box-shadow var(--transition),
    transform var(--transition);
  cursor: pointer;
}
@media (max-width: 768px) {
  .btn-primary {
    padding: 10px 24px;
    font-size: 1rem;
  }
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--green-600) 60%, var(--verde) 100%);
  box-shadow: 0 4px 16px rgba(4, 109, 56, 0.18);
  transform: translateY(-2px) scale(1.04);
}

/* SECCIONES */
section {
  padding: var(--section-padding) 1rem;
}

.titulos {
  font-size: clamp(3rem, 2.5vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.5px;
  color: var(--green-500);
  margin-bottom: 2.2rem;
}
@media (max-width: 768px) {
  .titulos {
    font-size: 1.5rem;
  }
}

.container {
  max-width: 90%;
  margin: 32px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 20px;
}
.container.reverse {
  flex-direction: column-reverse;
}

.texto {
  flex: 1;
}
.texto h3 {
  font-size: clamp(1.8rem, 2vw, 1.5rem);
  color: var(--green-500);
  margin-bottom: 20px;
  font-weight: 700;
}
.texto p {
  font-size: 1.4rem;
  color: var(--gris-oscuro);
  margin-bottom: 14px;
  line-height: 1.7;
}

.imagen {
  flex: 1;
  display: flex;
  justify-content: center;
}
.imagen img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-height: 500px;
  width: 100%;
  object-fit: cover;
  transition: box-shadow var(--transition), transform var(--transition);
}
@media (max-width: 768px) {
  .imagen img {
    max-height: 250px;
    width: 100%;
  }
}
.imagen img:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.03);
}

/* PLANTA */
.seccion-planta {
  background: url("../img/planta.webp") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 900px;
}
.banner-overlay {
  background: rgba(0, 0, 0, 0.18);
  padding: 32px 28px;
  border-radius: 18px;
  color: var(--negro);
  max-width: 780px;
  text-align: center;
  box-shadow: var(--shadow);
  backdrop-filter: blur(1px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.banner-overlay h2 {
  font-size: clamp(3.3rem, 2vw, 1.7rem);
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--white);
}
.banner-overlay p {
  font-size: 1.5rem;
  color: var(--white);
}

/* banner2 */
.banner2 {
  position: relative;
  background: url("../img/banner2.webp") center/cover no-repeat;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.banner2 .overlay2 {
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 0, 0.45);
  z-index: 1;
  backdrop-filter: blur(2px);
}
.banner2 .content2 {
  position: relative;
  z-index: 2;
  max-width: 1700px;
  padding: 24px;
}
.banner2 h2 {
  font-size: 3.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.banner2 p {
  font-size: 1.5rem;
  margin-bottom: 22px;
  color: #e0f7e9;
}
.btnpapel {
  margin-top: 1rem;
  display: inline-block;
  padding: 12px 32px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(90deg, var(--green-600) 60%, var(--verde) 100%);
  color: #fff;
}

@media (max-width: 920px) {
  .btnpapel {
    font-size: 1rem;
  }
}


.btn2,
.btn-cta {
  display: inline-block;
  padding: 12px 32px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 30px;
  transition: all var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
}
@media (max-width: 768px) {
  .btn2 {
    font-size: 1rem;
  }
}
.btn2 {
  background: linear-gradient(90deg, var(--verde) 60%, var(--green-600) 100%);
  color: #fff;
}
.btn2:hover {
  background: linear-gradient(90deg, var(--green-600) 60%, var(--verde) 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(4, 109, 56, 0.18);
}

/* CARRUSEL */
.slider-container {
  position: relative;
  max-width: 100%;
  margin-bottom: 2rem;
}

.slide {
  display: none;
  width: 100%;
}
.slide img {
  display: block;
  max-width: 100%;
  height: auto;
  width: 100%;
  padding: 10px;
  margin: 0 auto;
  border-radius: var(--radius);
  animation: zoomDiagonal 8s ease-in-out forwards;
}
@media (max-width: 768px) {
  .slide img {
    height: 200px;
    width: 5000px;
    padding: 1px 0;
  }
}

@keyframes zoomDiagonal {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.05) translate(-5px, -5px);
  }
}
/* Estilos base para las flechas */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  color: #ffffff;
  font-size: 30px; /* Tamaño inicial (se ajustará en media queries) */
  font-weight: bold;
  border-radius: 50%;
  background: rgba(4, 109, 56, 0.55);
  z-index: 3;
  transform: translateY(-50%);
  border: none;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(4, 109, 56, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; /* Tamaño fijo inicial */
  height: 50px;
  line-height: 1;
}

/* Posicionamiento específico */
.prev {
  left: 20px;
}
.next {
  right: 20px;
}

/* Efectos hover */
.prev:hover,
.next:hover {
  background: rgba(4, 109, 56, 0.8);
  box-shadow: 0 4px 12px rgba(4, 109, 56, 0.2);
}

/* Efecto al hacer clic */
.prev:active,
.next:active {
  transform: translateY(-50%) scale(0.95);
}

/* Media Queries para Responsive */
@media (max-width: 768px) {
  .prev,
  .next {
    font-size: 24px; /* Reducimos el tamaño de la flecha */
    width: 40px; /* Reducimos el ancho */
    height: 40px; /* Reducimos el alto */
    padding: 8px; /* Padding más pequeño */
    top: 60%; /* Alineación vertical */
  }
  .prev {
    left: 10px;
  } /* Más cerca del borde */
  .next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .prev,
  .next {
    font-size: 20px; /* Tamaño aún más pequeño */
    width: 36px; /* Contenedor más compacto */
    height: 36px;
    padding: 6px;
    background: rgba(
      4,
      109,
      56,
      0.7
    ); /* Fondo más opaco para mejor visibilidad */
  }
  .prev {
    left: 8px;
  }
  .next {
    right: 8px;
  }
}

.dots-container {
  position: absolute;
  bottom: 16px;
  width: 100%;
  text-align: center;
  z-index: 3;
}
@media (max-width: 768px) {
  .dots-container {
    top: 190px;
    right: 5px;
  }
}
.dot {
  cursor: pointer;
  height: 14px;
  width: 14px;
  margin: 0 6px;
  background: rgba(4, 109, 56, 0.18);
  border-radius: 50%;
  display: inline-block;
  transition: background 0.3s;
  border: 2px solid #fff;
}
.active,
.dot:hover {
  background: var(--verde);
}
.fade {
  animation: fadeEffect 1.5s;
}
@keyframes fadeEffect {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

/* slider agropulp */
.slideragro-container {
  position: relative;
  max-width: 100rem;
  margin: auto;
  overflow: hidden;
  padding: 20px 0;
}
.slideragro {
  display: flex;
  transition: transform 0.5s var(--transition);
}
.card {
  flex: 0 0 calc(33% - 10px);
  margin: 0 10px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: #fff;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px) scale(1.03);
}
.card:hover img {
  transform: scale(1.07);
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 109, 56, 0.18);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition), backdrop-filter var(--transition);
  padding: 18px;
  text-align: center;
  backdrop-filter: blur(2px);
}
.card:hover .overlay {
  opacity: 1;
  backdrop-filter: blur(4px);
}
.overlay h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.overlay p {
  font-size: 1.8rem;
  color: #e0f7e9;
}

@media (max-width: 992px) {
  .overlay p {
    font-size: 1rem;
  }
}

/* Botones slider agro */
.prevagro,
.nextagro {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  color: #ffffff;
  font-size: 30px; /* Tamaño inicial (se ajustará en media queries) */
  font-weight: bold;
  border-radius: 50%;
  background: rgba(4, 109, 56, 0.55);
  z-index: 3;
  transform: translateY(-50%);
  border: none;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(4, 109, 56, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; /* Tamaño fijo inicial */
  height: 50px;
  line-height: 1;
}
.prevagro:hover,
.nextagro:hover {
  background: var(--verde);
}
.prevagro {
  left: 5px;
}
.nextagro {
  right: 5px;
}

/* PRODUCTOS */
.productos-section {
  margin: 0;
  padding: 0;
}
.banner-top {
  background: linear-gradient(90deg, var(--verde) 60%, var(--green-600) 100%);
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem 2rem 1rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.banner-top h2 {
  font-size: 2.4rem;
  margin-bottom: 0.7rem;
  font-weight: 800;
}
.banner-top p {
  font-size: 1.23rem;
  max-width: 700px;
  margin: auto;
  color: #e0f7e9;
}
.banner-top small {
  display: block;
  margin-top: 0.7rem;
  font-style: italic;
  color: #e0f7e9;
  opacity: 0.85;
  font-size: 1.2rem;
}
.subproductos-contenido {
  display: flex;
  justify-content: space-around;
}
@media (max-width: 768px) {
  .subproductos-contenido {
    flex-direction: column;
    align-items: center;
  }
}
.productos-contenido {
  text-align: center;
  padding: 2rem 1rem;
}
.productos-subtitulo {
  font-weight: bold;
  margin-bottom: 2rem;
  color: var(--gris-oscuro);
  font-size: 1.5rem;
}

.producto-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 900px;
  margin: 2rem auto;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.producto-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.producto-imagen img {
  width: 380px;
  border-radius: 12px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(4, 109, 56, 0.1);
}
.producto-card:hover .producto-imagen img {
  transform: scale(1.05);
}
.producto-info {
  max-width: 400px;
  text-align: left;
}
.producto-info h4 {
  color: var(--verde);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.producto-info p {
  color: var(--gris-oscuro);
  line-height: 1.6;
  font-size: 1.08rem;
}
@media (max-width: 768px) {
  .producto-card {
    flex-direction: column;
    text-align: center;
  }
  .producto-info {
    text-align: center;
  }
}

/* BENEFICIOS */
.beneficios {
  text-align: center;
  padding: 60px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.beneficios h2 {
  color: #046d38;
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 800;
}
.cardsbeneficios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 2rem;
}
.cardbeneficios {
  background: linear-gradient(120deg, #f7f7f7 60%, #e9f5ee 100%);
  border-radius: 15px;
  padding: 36px 22px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}
.cardbeneficios:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 24px rgba(4, 109, 56, 0.12);
  background: linear-gradient(120deg, #e9f5ee 60%, #f7f7f7 100%);
}
.icon {
  font-size: 2.5rem;
  color: #046d38;
  margin-bottom: 18px;
  transition: color var(--transition), transform var(--transition);
}
.cardbeneficios:hover .icon {
  color: var(--green-600);
  transform: scale(1.15);
}
.cardbeneficios h3 {
  font-size: 1.25rem;
  color: #046d38;
  margin-bottom: 12px;
  font-weight: 700;
}
.cardbeneficios p {
  font-size: 1.05rem;
  color: #555;
}

/* BOTÓN */
.boton {
  margin-bottom: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

/* Contenedor de tarjetas */
.cardsproceso-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem;
  position: relative;
}

/* Flechas entre tarjetas */
.arrowproceso {
  font-size: 8rem;
  color: #015015;
  align-self: center;
  animation: pulse 1.5s infinite;
  transition: all 0.3s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

/* Tarjetas */
.cardproceso {
  position: relative;
  flex: 1 1 clamp(180px, 20vw, 500px);
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  text-align: center;
  padding: 1rem;
  overflow: hidden;
}
@media (max-width: 821px) {
  .cardproceso {
    flex: 1 1 clamp(280px, 20vw, 500px);
    height: 300px;
  }
}
/* Overlay oscuro SOLO detrás del contenido */
.cardproceso::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 20px;
  z-index: 0;
}

/* Texto encima siempre */
.cardproceso span,
.cardproceso h3,
.cardproceso p {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  font-weight: 700;
}

.cardproceso:hover,
.cardproceso:focus {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 15px 25px rgba(2, 56, 2, 0.5);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  position: relative;
  background: #023117;
  border-radius: 15px;
  padding: 0;
  width: 95%;

  max-width: 600px;
  overflow: hidden;
  animation: zoomIn 0.5s ease;
}

.carouselproceso-title {
  text-align: center;
  font-size: 1.5rem;
  margin: 10px 0;
  color: #ffffff;
  font-weight: bold;
}

.carouselproceso {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carouselproceso img {
  min-width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* Botones de navegación */
.prevproceso,
.nextproceso,
.close {
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 1001;
}

.prevproceso,
.nextproceso {
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 15px;
}

.prevproceso:hover,
.nextproceso:hover {
  background: #023117;
  color: #000;
}

.prevproceso {
  left: 10px;
}
.nextproceso {
  right: 10px;
}

.close {
  top: 10px;
  right: 15px;
  font-size: 2rem;
}

/* RESPONSIVE */
@media (max-width: 821px) {
  .cardsproceso-container {
    flex-direction: column;
    align-items: center;
  }

  .arrowproceso {
    font-size: 2rem;
    margin: 1rem 0;
  }

  .arrowproceso::after {
    content: "↓";
  }

  .arrowproceso {
    color: transparent;
    position: relative;
  }

  .arrowproceso::after {
    color: #023117;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* banner3 */
.cta-section {
  position: relative;
  background: url(../img/plantacionescana.webp) center center no-repeat;
  background-size: cover;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-section .overlay3 {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  backdrop-filter: blur(2px);
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 28px;
}
.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 22px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.btn-cta {
  background: linear-gradient(90deg, var(--verde) 60%, var(--green-600) 100%);
  color: #fff;
}
.btn-cta:hover {
  background: linear-gradient(90deg, var(--green-600) 60%, var(--verde) 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(4, 109, 56, 0.18);
}

/* CONTACTO */
.contact-section {
  max-width: 1200px;
  margin: auto;
  padding: 48px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.contact-section h2 {
  text-align: center;
  color: #00521d;
  font-size: 2.2rem;
  margin-bottom: 32px;
  font-weight: 800;
}
.contact-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  background: #fff;
  border-radius: 15px;
  box-shadow: none;
  overflow: hidden;
}
.form2-container {
  padding: 36px 24px;
}
.form2-container .intro {
  font-size: 1.08rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.form2-container .sub-text {
  font-size: 1rem;
  margin: 18px 0;
  color: #666;
}
.form2-group {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
}
input,
textarea {
  width: 100%;
  padding: 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1.05rem;
  transition: border var(--transition), box-shadow var(--transition);
  background: #f9f9f9;
  color: var(--negro);
}
input:focus,
textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 8px rgba(4, 109, 56, 0.1);
  outline: none;
  background: #fff;
}
textarea {
  height: 120px;
  resize: none;
}
.btn-submit {
  background: linear-gradient(90deg, var(--verde) 60%, var(--green-600) 100%);
  color: #fff;
  padding: 14px 32px;
  border: none;
  border-radius: 10px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition),
    transform var(--transition);
  box-shadow: 0 2px 8px rgba(4, 109, 56, 0.1);
  margin-top: 10px;
}
.btn-submit:hover {
  background: linear-gradient(90deg, var(--green-600) 60%, var(--verde) 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(4, 109, 56, 0.18);
}
.info-container {
  background: linear-gradient(120deg, #e9f5ee 60%, #f7f7f7 100%);
  color: var(--negro);
  padding: 36px 24px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(4, 109, 56, 0.06);
}
.info-container h3 {
  margin-bottom: 22px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-600);
}
.country {
  margin-bottom: 22px;
}
.country h4 {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.country p {
  margin: 7px 0;
  font-size: 1rem;
  color: var(--gris-oscuro);
}
.country i {
  margin-right: 8px;
  color: #023d19;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn:hover {
  background: #1ebe57;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn i {
  font-size: 1.2rem;
}

/* RESPONSIVE */
@media (min-width: 900px) {
  .container {
    flex-direction: row;
  }
  .container.reverse {
    flex-direction: row-reverse;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }
  .nav-links {
    position: fixed;
    right: 12px;
    top: 72px;
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    flex-direction: column;
    display: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    gap: 18px;
    z-index: 1001;
  }
  .nav-links.active {
    display: flex;
  }
  .navbar {
    padding: 10px 10px;
  }
}
@media (max-width: 900px) {
  .container,
  .container.reverse {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  :root {
    --section-padding: 2rem;
    --image-max-height: 220px;
  }
  .slider-container,
  .slideragro-container,
  .beneficios,
  .banner-top,
  .contact-section,
  .cta-section,
  .producto-card {
    border-radius: 12px;
    padding: 1.2rem;
  }
  .footer-container {
    gap: 10px;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form2-container,
  .info-container {
    padding: 18px;
  }
}
@media (max-width: 600px) {
  .card {
    flex: 0 0 calc(100% - 20px);
  }
  .slideragro {
    gap: 0;
  }
  .banner2,
  .cta-section {
    height: 320px;
  }
  .hero-content {
    padding: 18px 8px;
  }
  .banner-overlay {
    padding: 18px 8px;
  }
  .producto-imagen img {
    width: 100%;
  }
}
@media (max-width: 480px) {
  :root {
    --image-max-height: 120px;
  }
  .hero-content h1 {
    font-size: 1.1rem;
  }
  .banner-top h2 {
    font-size: 1.2rem;
  }
  .banner2 h2,
  .cta-content h2 {
    font-size: 1.1rem;
  }
  .footer-container {
    flex-direction: column;
    gap: 8px;
  }
}

/* Animación fade-in */
.reveal,
.card,
.cardbeneficios,
.producto-card,
.beneficios,
.banner-top,
.cta-section,
.proceso img {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Efecto ripple en botones */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-effect 0.6s linear;
  pointer-events: none;
  width: 100px;
  height: 100px;
  z-index: 2;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
}
@keyframes ripple-effect {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Navbar efecto al hacer scroll */
.navbar.scrolled {
  box-shadow: 0 8px 32px rgba(30, 70, 32, 0.18), 0 1.5px 6px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.97);
  border: 1.5px solid #e0e0e0;
}

/* FOOTER */
footer {
  background: #111;
  color: #fff;
  padding: 48px 2px 2px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  text-align: center;
}
.footer-logo img {
  max-width: 200px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  transition: color var(--transition), transform var(--transition);
}

.social-icons a:hover {
  color: var(--verde);
  transform: scale(1.15);
}

.column-title {
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--verde);
}

.footer-contact {
  font-size: 0.9rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: var(--verde);
}

.footer-bottom {
  margin-top: 32px;
  text-align: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

/* Responsive */
@media (max-width: 821px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-icons {
    margin-bottom: 20px;
  }
}

.form2-group.politicas {
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.4;
}

.form2-group.politicas label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  color: #333;
}

.form2-group.politicas input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: #004aad; /* color moderno del check */
  flex-shrink: 0;
}

.form2-group.politicas a {
  color: #004aad;
  font-weight: 500;
  text-decoration: none;
}

.form2-group.politicas a:hover {
  text-decoration: underline;
}

/* 📱 Responsivo */
@media (max-width: 600px) {
  .form2-group.politicas {
    font-size: 0.9rem;
  }
  .form2-group.politicas label {
    flex-direction: row;
    align-items: center;
  }
  .form2-group.politicas span {
    display: inline-block;
  }
}

/* Estilos */

.containerpakka {
  max-width: 1200px;
  margin: auto;
  padding: 3rem 1rem;
}

.subtitlepakka {
  font-size: 1.4rem;
  color: #000000;
  line-height: 1.7;
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: auto;
  font-weight: bold;
}
@media (max-width: 768px) {
  .subtitlepakka {
    font-size: 1rem;
    padding: 0 10px;
  }
}
.sectionpakka {
  margin-bottom: 3rem;
}

.section-titlepakka {
  font-size: 2rem;
  font-weight: 600;
  color: #034624;
  margin-bottom: 1rem;
  text-align: center;
}

.gridpakka {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cardpakka {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 450px; /* para que todas las tarjetas tengan altura pareja */
}

.cardpakka:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.cardpakka-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.cardpakka-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Empuja el botón al fondo */
  flex-grow: 1;
  align-items: start; /* centra el botón y el texto */
}
.cardpakka-body p {
  margin: 0.4rem 0;
  font-size: 0.92rem;
  line-height: 1.6; /* más aire */
  color: #000000;
}
.cardpakka-body strong {
  color: #1e4620; /* resaltar subtítulos */
  font-weight: 600;
}

.cardpakka-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #034624;
  margin-bottom: 0.75rem;
}

.cardpakka-text {
  font-size: 1rem;
  color: #000000;
  margin: 0.1rem;
  flex-grow: 1; /* Esto ocupa espacio extra y baja el botón */
}

.circulos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 40px;
  gap: 50px;
}
/* Botón estilizado */
.circle-container {
  perspective: 1200px;
}

/* -------- CÍRCULO -------- */
.circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s ease;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(27, 235, 8, 0.3);
}

.circle:hover {
  transform: rotateY(180deg) scale(1.05);
}

/* -------- CARAS -------- */
.circle-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  backface-visibility: hidden;
  color: white;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
}

.front {
  background: linear-gradient(135deg, #024731, #044e16);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: inset 0 0 20px rgba(2, 63, 17, 0.2);
}

.back {
  background: linear-gradient(135deg, #08570f, #044e10);
  transform: rotateY(180deg);
  font-size: 1.2rem;
  box-shadow: inset 0 0 20px rgba(5, 77, 26, 0.1);
}

/* -------- EFECTOS DE HOVER -------- */
.circle:hover .front {
  filter: brightness(1.2);
}

.circle:hover .back {
  filter: brightness(1.1);
}

/* -------- RESPONSIVIDAD -------- */
@media (max-width: 768px) {
  .circle {
    width: 180px;
    height: 180px;
  }

  .front {
    font-size: 22px;
  }

  .back {
    font-size: 13px;
  }
}
.btnpakka {
  display: inline-block; /* que se ajuste al contenido */
  margin-top: 1rem;
  padding: 0.5rem 1.2rem; /* menos alto y más proporcionado */
  font-size: 0.875rem;
  color: #fff;
  background: #00521d;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.3s ease;
  text-align: center;
  min-width: 120px; /* tamaño mínimo bonito */
  align-items: end;
}

.btnpakka:hover {
  background: #046d38;
}
.certificaciones {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}
.slidercer {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  max-width: 1100px; /* ancho controlado */
  position: relative;
}

.slidercer-track {
  display: inline-block;
  animation: scroll 18s linear infinite;
}

.slidecer {
  display: inline-block;
  margin: 0 2.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #164a2f; /* verde acorde al logo */
  opacity: 0.9;
  transition: transform 0.3s, opacity 0.3s;
}

.slidecer:hover {
  transform: scale(1.1);
  opacity: 1;
  color: #0f2e1e;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .slidecer {
    font-size: 1rem;
    margin: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .slidecer {
    font-size: 0.9rem;
    margin: 0 1rem;
  }
}

.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06742e, #024b42);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  animation: pulse 1.5s infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Animación de pulso */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}