@import url('https://fonts.googleapis.com/css2?family=Berkshire+Swash&display=swap');
:root{
  --green-700:#2E7D32;
  --green-400:#66BB6A;
  --earth-600:#8D6E63;
  --ink-900:#0E1C17;
  --bg-50:#F5F7F4; 
  --white:#ffffff;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --radius:20px;
  --bg: #2E7D32;
  --card-bg: #2e7d3233;  
  --gap: 18px;
  --duration: 9s; 
}

html{scroll-behavior:smooth}

body{
  margin:0; font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink-900); background:var(--bg-50);text-align: center; justify-content: center;
}

img{max-width:112%; height:auto; display:block}
.container{width:min(1400px, 92%); margin-inline:auto}
.flex-between{display:flex; align-items:center; justify-content:space-between}
.grid-2{display:grid; grid-template-columns:1.15fr .85fr; gap:32px; width: 82%;}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:24px}

@media (max-width:920px){.grid-2,.grid-3{grid-template-columns:1fr}}



.topbar{background:var(--green-700); color:var(--white); font-size:.9rem}
.topbar .container{padding:8px 0}
.topbar .link{color:#E6F4EA; text-decoration:none; margin-left:16px; position: relative; display: inline-block; transition: all 0.3s ease;}

.topbar .link:hover { color: #d1ad8e; transform: scale(1.2);}
.topbar .link::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--green-400); transition: width 0.3s ease;}
.topbar .link:hover::after { width: 100%;}





@font-face { font-family: 'MinionVariable'; src: url('fonts/MinionVariableConcept.woff2') format('woff2'), url('fonts/MinionVariableConcept.woff'), format('woff'); font-weight: normal; font-style: normal;}

.header { position: sticky; top: 0; z-index: 20; background: var(--white); box-shadow: var(--shadow); transition: all 0.4s ease; padding: 18px 0;}
.header .container { display: flex; align-items: center; justify-content: space-between; color: #7a3131; gap: 8rem;}
.header .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit;}
.header .brand img { width: 100px; height: auto; transition: all 0.4s ease;}
.header .brand:hover img { transform: rotate(-9deg) scale(1.1); transition: transform 0.4s ease;}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; animation: fadeZoom 3s ease forwards; opacity: 0;}
.logo-text h1,
.logo-text h2,
.logo-text h3 { margin: 0; transition: color 0.4s ease, transform 0.4s ease;}
.bolsas { font-family: 'MinionVariable', serif; font-size: 28px; font-weight: bold; color: #444;}
.ecologicas { font-family: 'Berkshire Swash', cursive; font-size: 26px; color: #2e6e3d;}
.tierra { font-family: 'MinionVariable', serif; font-size: 18px; color: #444; line-height:1.4;}

@keyframes fadeZoom { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); }}



.nav {display: flex; gap: 54px; align-items: center; text-align: center;}
.nav a { color: #204432; font-size: 1.05rem; text-decoration: none; font-weight: 500; position: relative; transition: all 0.3s ease; padding: 6px 0;}
.nav a:hover { color: var(--green-400); transform: scale(1.08);}
.nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--green-400); transition: width 0.3s ease;}
.nav a:hover::after { width: 100%;}


.nav-toggle { display: none; width: 40px; height: 40px; background: none; border: none; cursor: pointer; position: relative; z-index: 200; }
.nav-toggle::before { content: "☰";   font-size: 2rem; color: var(--green-700);}
.nav-toggle.open::before { content: "✖";  font-size: 2rem; color: var(--white);}




.header.scrolled { padding: 6px 0; background: linear-gradient(90deg, #e0ab798f, #d4a373ad); backdrop-filter: blur(6px);box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);}
.header.scrolled .brand img {   width: 90px; filter: brightness(0) invert(1);}
.header.scrolled .logo-text h1,
.header.scrolled .logo-text h3 { color: #ffffff !important; transform: scale(0.95);}
.header.scrolled .nav a { font-size: 1rem; color: #ffffff;}

.nav-toggle { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer;}


.btn{display:inline-block; padding:12px 18px; border-radius:999px; border:2px solid transparent; cursor:pointer; font-weight:600; text-decoration:none}
.btn--primary{background:var(--green-700); color:var(--white)}
.btn--primary:hover{filter:brightness(.95)}
.btn--secondary{background:var(--green-400); color:var(--ink-900)}
.btn--ghost{background:transparent; color:var(--green-700); border-color:var(--green-700)}

.btn-wsp2{
  display: none;
  position:fixed; width:55px; height:55px; line-height:50px; bottom: 95px; right:20px;
  box-shadow:0 1px 10px rgba(0,0,0,.3);
  z-index: 2000;
}
.btn-wsp2{ right:18px; background:#8D6E63; border-radius: 50px;}
.btn-wsp2:hover{filter:brightness(1.5)}


.hero { position: relative; min-height: 65vh; overflow: hidden; display: flex; align-items: center; margin-bottom: 36px;}
.hero-slider { position: absolute; inset: 0; z-index: 1;}
.hero-slide { position: absolute; inset: 0; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #f5f7f4; opacity: 0; transition: opacity 1s ease-in-out;}
.hero-slide.active { opacity: 1; z-index: 2;}

.hero-text { position: absolute; left: 15%; top: 50%; transform: translateY(-50%); max-width: 471px; background: rgb(255 255 255 / 77%); padding: 24px 28px; border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25); text-align: left;}
.hero-title,
.hero-subtitle { text-align: left;}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(-40%); }
  to { opacity: 1; transform: translateY(-50%); }
}


.hero-title { font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 800; color: #2e6e3d; line-height: 1.1; margin-bottom: 14px;}
.hero-subtitle { font-size: 1.15rem; color: #55607a; margin-bottom: 24px;}
.hero-cta { display: inline-block; background: #f4b400; color: #ffffff; font-weight: 700; padding: 14px 28px; border-radius: 999px; text-decoration: none; font-size: 1.05rem;
  margin-bottom: 20px; transition: all 0.3s ease; box-shadow: 0 6px 18px rgba(0,0,0,0.15);}
.hero-cta:hover { background: #e0a800; transform: translateY(-2px);}
.hero-actions { display: flex; justify-content: center; gap: 16px; margin: 40px auto 60px; width: 100%;padding-top: 10px;}


@keyframes fadeUp {from { opacity: 0; transform: translateY(30px);} to { opacity: 1; transform: translateY(0);}}


.highlight {
  background: linear-gradient(transparent 60%, rgba(102,187,106,.7) 0);}



.section{padding:64px 0}
.section--alt{background:var(--white)}
.section--cta{background:linear-gradient(180deg, #eaf5ee 0%, #ffffff 100%)}
.section__head{margin-bottom:24px; text-align: center;}
.section__head h2{font-size:clamp(1.6rem,1.2vw + 1.2rem,2.2rem)}


.slider{ --height: 220px; overflow:hidden; border-radius:14px; padding:12px;
background:linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.4));
box-shadow: 0 6px 20px rgba(12,20,40,0.06);
}


.track{
display:flex;
gap:var(--gap);
align-items:stretch;
/* animación continua: de 0 a -50% (porque el contenido está duplicado) */
animation: scroll linear infinite;
animation-duration: var(--duration);
will-change: transform;
}


@keyframes scroll{
from{transform: translateX(0)}
to{transform: translateX(-50%)}
}

/* pausa al pasar el cursor (útil en desktop). Si no quieres pausa, quita :hover rule abajo */
.slider:hover .track{animation-play-state:paused}


.slide{
min-width:300px; /* ancho de tarjeta */
flex: 0 0 260px;
background:var(--card-bg);
border-radius:12px;
padding:12px;
box-shadow: 0 4px 12px rgba(12,20,40,0.06);
display:flex;
flex-direction:column;
gap:8px;
height: 39vh;
}


.img-wrap{
width:100%;
height:35vh;
border-radius:10px;
overflow:hidden;
display:flex;align-items:center;justify-content:center;
margin-top: 5%;
}
.img-wrap img{width:100%;height:100%;object-fit:cover}


.title{font-weight:600;font-size:15px;margin-top:6px; color: #F5F7F4;}
.price{font-weight:700;color:var(--accent)}
.meta{font-size:13px;color:#54607a}


/* responsive: reducir ancho de slide en pantallas pequeñas */
@media (max-width:900px){
.slide{min-width:200px;flex:0 0 200px}
:root{--duration:10s}
}
@media (max-width:520px){
.slide{min-width:160px;flex:0 0 160px;height:auto;}
:root{--duration:13s}

}

/*productos*/

.grid-products { display: grid; grid-template-columns: repeat(4, 1fr);  gap: 2rem; margin-top: 2rem;}
.product { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.08);  transition: transform 0.3s, box-shadow 0.3s;}
.product:hover { transform: translateY(-8px); box-shadow: 0 8px 20px rgba(0,0,0,0.15);}
.product__media img { width: 100%; height: auto; display: block; border-bottom: 1px solid #eee;}
.product__body { padding: 1.5rem;}
.product__body h3 { color: #4CAF50;  margin-bottom: 0.5rem;}
.product__body p { margin-bottom: 1rem; font-size: 0.95rem; color: #555;}
.product .tags { list-style: none; padding: 0; margin: 0 0 1rem;}
.product .tags li { display: inline-block; background: #f0f9f0; color: #3b9440; padding: 0.3rem 0.6rem; margin: 0.2rem; border-radius: 6px; font-size: 0.85rem;}

/* Ensanchar sección de productos */
#productos.section.container { max-width: 1400px;  width: 95%; margin: 0 auto;}

/* Ensanchar sección de beneficios */
#beneficios.section.container { max-width: 1400px; width: 95%; margin: 0 auto;}

/* Hacer las cards de productos más grandes visualmente */
.product__media img { height: 280px; object-fit: cover;}

@media (max-width: 1024px) { .grid-products { grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 640px) { .grid-products { grid-template-columns: 1fr; }}


/* Personalización */
.list-check{list-style:none; padding:0; margin:14px 217px;}
.list-check li{padding-left:28px; position:relative; margin:10px 0}
.list-check li::before{content:"✔"; position:absolute; left:0; top:0; color:var(--green-700); font-weight:800}
.mockup{border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow)}

/* Namespace exclusivo */
.telas-section {
  max-width: 1400px;
  margin: 4px auto;
  padding: 89px;
 
}
.telas-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 8px;
  color: #222;
}
.telas-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 30px;
}
.telas-grid {
  display: grid;
  gap: 47px;
  grid-template-columns: repeat(auto-fit, minmax(144px, 1fr));
}

/* Tarjetas */
.telas-card {
  perspective: 1000px;
  min-height: 360px; /* asegura altura uniforme */
}
.telas-card-inner {
  position: relative;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.telas-card:hover .telas-card-inner {
  transform: rotateY(180deg);
}

/* Frente y reverso */
.telas-front,
.telas-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.telas-front {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
}
.telas-front h3 {
  margin: 12px 0 4px;
  color: #2e7d32;
}
.telas-tag {
  color: #607d8b;
  font-size: 0.9rem;
}
.telas-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.telas-back {
  background: linear-gradient(135deg, #66BB6A, #66BB6A);
  color: #fff;
  padding: 20px;
  transform: rotateY(180deg);
}
.telas-back h4 {
  margin-bottom: 10px;
  color: #0e1c17;
}
.telas-back ul {
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.4;
}



.logos{display:grid; grid-template-columns:repeat(5,1fr); gap:18px; align-items:center; margin-left: 185px;}
.logos img{filter:grayscale(1); opacity:.8; transition:filter .3s, opacity .3s; align-items:center;}
.logos img:hover{filter:none; opacity:1}
@media (max-width:1084px){.logos{grid-template-columns:repeat(1,1fr); margin-left: 63px;}}


.faq-item{background:var(--white); padding:16px; border-radius:var(--radius); box-shadow:var(--shadow); margin:10px 0}
.faq-item summary{cursor:pointer; font-weight:600}

.contact-form{background:var(--white); padding:25px; border-radius:var(--radius); box-shadow:var(--shadow); padding-right: 70px;}
.contact-form label{display:block; font-size:.94rem; margin:8px 0}
.contact-form input,.contact-form textarea{width:100%; padding:12px; border:1.5px solid #cfe3d3; border-radius:12px; font:inherit}
.contact-form input:focus,.contact-form textarea:focus{outline:none; border-color:var(--green-700)}


.terminos-label {
  display: flex;
  align-items: center;
  gap: 8px; /* espacio entre checkbox y texto */
  font-size: 0.95rem;
  margin: 10px 0;
  color: #333;
  cursor: pointer;
}

.terminos-label input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Enlace de términos */
.terminos-label a {
  color:  #2E7D32;
  
  text-decoration: none;
}

.terminos-label a:hover {
  color: #1b5e20;
  text-decoration: underline;
}

.footer{background:#0f2a1f; color:#cfe3d3; padding:36px 0 8px}
.footer__nav{display:grid; gap:8px;}
.footer nav a { color: #ffffff; text-decoration:none;}
.footer nav a:hover { color: #ffffff; text-decoration: underline}
.container_copy{ color:#ffffff; padding:10px 0; margin-top:16px; text-align:center;}
.container_copy a{ color: #ffffff; text-decoration: none;  font-weight: 300;}
.container_copy a:hover{ text-decoration: underline}

/* WhatsApp flotante */
.whatsapp{position:fixed; right:18px; bottom:18px; width:56px; height:56px; display:grid; place-items:center; border-radius:50%; background:#25D366; box-shadow:var(--shadow); z-index: 2000;}
.whatsapp img{width:56px; height:41px; filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}
.whatsapp:hover{ text-decoration:none; filter:brightness(.5); }


/* Accesibilidad */
:focus-visible{outline:3px solid var(--green-400); outline-offset:2px}


/* ==== Animaciones Scroll ==== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MENÚ RESPONSIVE ===== */

@media (max-width: 1080px) {
    
  
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: var(--white);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    z-index: 90;
  }

  .nav.show {
   transform: translateY(0);
   opacity: 1;
   pointer-events: auto;
   background-color: #2e6e3de0;
   height: 84vh;
   top: -1%;
   transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .nav a {
    font-size: 1.3rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
  }

  .nav-toggle {
    display: block;
    margin-left: -83px;
  }

/* Header base */
.header {
  display: flex;
  justify-content: center; /* Centra todo */
  align-items: center;
  padding: 15px 0;
  gap: 20px;
}
.header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.header .brand img {
  max-width: 90px;
  height: auto;
}
 .hero {
    display: flex;
    flex-direction: column;
    min-height: 103vh;
  }

  .hero-slider {
    position: relative;
    width: 100%;
    height: 42vh;    
    min-height: 300px;
  }

  .hero-slide {
    background-size: contain;
    background-position: right;
  }

  .hero-text {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    top:165%;
    padding: 16px 48px;
    width: 65%;
    height: 121%;
  } 
  
  .hero-title {
     font-size: clamp(1.5rem, 4vw, 3.6rem);
  }
  
  .hero-cta {
    font-size: 1.02rem;
  }
  
   .hero__actions {
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 27px;
    margin-right: 14px;
    
  }

  .hero__actions a{
    margin-bottom: 10px;
  }
  
    .hero-slide:nth-child(1) {
    background-image: url('/img/publicidad/slide1-mobile.jpg') !important;
  }

  .hero-slide:nth-child(2) {
    background-image: url('/img/publicidad/slide2-mobile.jpg') !important;
  }

  .hero-slide:nth-child(3) {
    background-image: url('/img/publicidad/slide3-mobile.jpg') !important;
  }

  .hero-slide:nth-child(4) {
    background-image: url('/img/publicidad/slide4-mobile.jpg') !important;
  }

  
.logo-text {
  display: flex;
  line-height: 1.4;
  text-align: left;
}
.topbar nav {
  display: none;
}

 .cards {
    grid-template-columns: repeat(2, 1fr);
  }
 
.btn-wsp2{
  display: block;
}

.no-scroll {
  overflow: hidden;
}
.container {
  width: 75%;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

.list-check{
    margin: 14px 0px;
    
}

 .terminos-label {
    font-size: 0.9rem;
    line-height: 1.4;
    flex-wrap: wrap; 
  }
  
.container_copy small {
   font-size: 0.7rem;
   line-height: 1.4;
   padding: 9px 10px;
 }
 
.container_copy a {
  display: inline-block;
   margin: 3px 0; 
   text-align: center;
  justify-content: center;
 }
 

.grid-2,
.grid-3,
.grid-products,
.steps,
.benefits,
.contact-form,
.footer__nav {
  text-align: center;
  justify-content: center;
}


}