* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f7f9f6;
  color: #1f2a22;
}

.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e3e8e3;
}

.contenedor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  color: #2f6b3c;
}

.menu {
  display: flex;
  gap: 25px;
}

.menu a {
  text-decoration: none;
  color: #344238;
  font-size: 15px;
  font-weight: 500;
}

.menu a:hover {
  text-decoration: underline;
}

.hero {
  min-height: 620px;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  padding: 70px 30px 60px;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.48)),
    url("../images/hero-campo.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;
}

.hero-contenido {
  width: 100%;
  max-width: 1100px;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero p {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}

.boton-hero {
  display: inline-block;

  padding: 15px 28px;
  font-size: 16px;

  border-radius: 8px;

  background-color: #2f6b3c;
  color: white;

  text-decoration: none;
  cursor: pointer;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hero-botones {
  width: 100%;
  max-width: 600px;

  margin: 28px auto 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 20px;
}

.boton-hero-secundario {
  background-color: rgba(255, 255, 255, 0.92);
  color: #1f2a22;
}

.boton-hero:hover {
  opacity: 0.85;
}

.como-funciona {
  padding: 90px 30px;
  background-color: #ffffff;
}

.seccion-contenedor {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.como-funciona h2 {
  font-size: 38px;
  margin-bottom: 15px;
  color: #1f2a22;
}

.seccion-introduccion {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 18px;
  line-height: 1.6;
  color: #5b665e;
}

.pasos {
  display: flex;
  gap: 30px;
}

.paso {
  flex: 1;
  padding: 35px 30px;
  background-color: #f7f9f6;
  border-radius: 14px;
}

.paso-numero {
  width: 50px;
  height: 50px;

  margin: 0 auto 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background-color: #2f6b3c;
  color: white;

  font-size: 22px;
  font-weight: bold;
}

.paso h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.paso p {
  font-size: 16px;
  line-height: 1.6;
  color: #59615b;
}

.productores {
  padding: 100px 30px;
  background-color: #f7f9f6;
}

.etiqueta-seccion {
  display: inline-block;
  margin-bottom: 15px;

  color: #2f6b3c;

  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1.5px;
}

.productores-titulo {
  max-width: 800px;
  margin: 0 auto 20px;

  font-size: 42px;
  line-height: 1.15;

  color: #1f2a22;
}

.productores-introduccion {
  max-width: 720px;
  margin: 0 auto 60px;

  font-size: 18px;
  line-height: 1.6;

  color: #5b665e;
}


/* RECORRIDO DEL PRODUCTOR */

.flujo-productor {
  display: flex;
  justify-content: center;
  align-items: flex-start;

  gap: 35px;
}

.flujo-item {
  flex: 1;
  max-width: 340px;

  text-align: center;
}

.flujo-numero {
  width: 52px;
  height: 52px;

  margin: 0 auto 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background-color: #2f6b3c;
  color: white;

  font-size: 17px;
  font-weight: bold;
}


/* CAPTURAS DE LA APP */

.captura-app {
  height: 500px;

  margin-bottom: 25px;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;

  border-radius: 18px;

  background-color: #ffffff;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.captura-app img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: top;

  display: block;
}

.flujo-item h3 {
  margin-bottom: 10px;

  font-size: 22px;

  color: #1f2a22;
}

.flujo-item p {
  font-size: 16px;
  line-height: 1.6;

  color: #5b665e;
}

/* =====================================================
   TRANSPORTISTAS
===================================================== */

.transportistas {
  padding: 100px 30px;
  background-color: #ffffff;
}

.transportistas-titulo {
  max-width: 850px;
  margin: 0 auto 20px;

  font-size: 42px;
  line-height: 1.15;

  color: #1f2a22;
}

.transportistas-introduccion {
  max-width: 760px;
  margin: 0 auto 60px;

  font-size: 18px;
  line-height: 1.6;

  color: #5b665e;
}

.flujo-transportista {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  gap: 35px;
}

/* =====================================================
   AGROCONECTA CHOFER
===================================================== */

.chofer {
  padding: 100px 30px;
  background-color: #f7f9f6;
}

.chofer-titulo {
  max-width: 800px;
  margin: 0 auto 20px;

  font-size: 42px;
  line-height: 1.15;

  color: #1f2a22;
}

.chofer-introduccion {
  max-width: 760px;
  margin: 0 auto 60px;

  font-size: 18px;
  line-height: 1.6;

  color: #5b665e;
}

.chofer-contenido {
  display: flex;
  align-items: center;
  gap: 70px;
}

.chofer-imagenes {
  flex: 1;

  display: flex;
  justify-content: center;
  gap: 20px;
}

.chofer-captura {
  width: 48%;
  height: 500px;

  overflow: hidden;

  border-radius: 18px;

  background-color: white;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.chofer-captura img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: top;

  display: block;
}

.chofer-texto {
  flex: 1;
  text-align: left;
}

.chofer-beneficio {
  margin-bottom: 30px;
}

.chofer-beneficio h3 {
  margin-bottom: 8px;

  font-size: 22px;

  color: #1f2a22;
}

.chofer-beneficio p {
  font-size: 16px;
  line-height: 1.6;

  color: #5b665e;
}


/* =====================================================
   DESCARGA Y CONTACTO
===================================================== */

.cta-final {
  padding: 100px 30px;

  background-color: #1f2a22;
  color: white;
}

.cta-final .etiqueta-seccion {
  color: #80b88b;
}

.cta-titulo {
  max-width: 800px;

  margin: 0 auto 20px;

  font-size: 42px;
  line-height: 1.15;
}

.cta-texto {
  max-width: 700px;

  margin: 0 auto 40px;

  font-size: 18px;
  line-height: 1.6;

  color: #d5ddd7;
}

.cta-botones {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-boton {
  min-width: 240px;

  padding: 16px 26px;

  border: none;
  border-radius: 10px;

  font-family: inherit;
  font-size: 16px;
  font-weight: 600;

  text-align: center;
  text-decoration: none;

  cursor: pointer;

  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background-color 0.2s;
}

.cta-boton:hover {
  transform: translateY(-2px);
}

.cta-google {
  background-color: #2f6b3c;
  color: white;

  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
}

.cta-google:hover {
  background-color: #285d34;
}

.cta-consulta {
  background-color: white;
  color: #1f2a22;

  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.cta-consulta:hover {
  background-color: #f1f4f1;
}



/* =====================================================
   FOOTER
===================================================== */

.footer {
  padding: 70px 30px 25px;

  background-color: #151c17;
  color: white;
}

.footer-contenido {
  max-width: 1200px;
  margin: 0 auto 55px;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;

  gap: 50px;
}

.footer-marca h3 {
  margin-bottom: 15px;

  font-size: 26px;

  color: #80b88b;
}

.footer-marca p {
  max-width: 360px;

  font-size: 15px;
  line-height: 1.6;

  color: #bfc8c1;
}

.footer-columna {
  display: flex;
  flex-direction: column;

  gap: 10px;
}

.footer-columna h4 {
  margin-bottom: 6px;

  font-size: 16px;
}

.footer-columna a {
  color: #bfc8c1;

  text-decoration: none;

  font-size: 14px;
}

.footer-columna a:hover {
  color: white;
}

.footer-inferior {
  max-width: 1200px;

  margin: 0 auto;
  padding-top: 25px;

  border-top: 1px solid #344039;

  text-align: center;
}

.footer-inferior p {
  font-size: 13px;

  color: #929d95;
}

/* =====================================================
   PAGINAS INTERNAS
===================================================== */

.pagina-interna {
  min-height: 70vh;

  padding: 90px 30px;

  background-color: #f7f9f6;
}

.pagina-interna-contenido {
  max-width: 900px;

  margin: 0 auto;

  text-align: center;
}

.pagina-interna h1 {
  margin-bottom: 20px;

  font-size: 42px;
  line-height: 1.15;

  color: #1f2a22;
}

.pagina-interna-introduccion {
  max-width: 720px;

  margin: 0 auto 50px;

  font-size: 18px;
  line-height: 1.7;

  color: #5b665e;
}

.soporte-opciones {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 30px;
}

.soporte-tarjeta {
  padding: 35px;

  background-color: white;

  border-radius: 14px;

  text-align: left;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.soporte-tarjeta h2 {
  margin-bottom: 15px;

  font-size: 22px;

  color: #1f2a22;
}

.soporte-tarjeta p {
  margin-bottom: 25px;

  font-size: 16px;
  line-height: 1.6;

  color: #5b665e;
}

.boton-soporte {
  display: inline-block;

  padding: 14px 22px;

  border-radius: 8px;

  background-color: #2f6b3c;
  color: white;

  text-decoration: none;

  font-weight: 600;
}

.boton-soporte:hover {
  opacity: 0.85;
}

.volver-inicio {
  margin-top: 50px;
}

.volver-inicio a {
  color: #2f6b3c;

  text-decoration: none;

  font-weight: 600;
}

/* =====================================================
   POLITICA DE PRIVACIDAD / TEXTOS LEGALES
===================================================== */

.pagina-legal .pagina-interna-contenido {
  max-width: 950px;
}

.legal-contenido {
  margin-top: 45px;

  padding: 45px 50px;

  background-color: white;

  border-radius: 14px;

  text-align: left;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.legal-actualizacion {
  margin-bottom: 35px;

  font-size: 14px;

  color: #7b857e;
}

.legal-contenido h2 {
  margin-top: 35px;
  margin-bottom: 12px;

  font-size: 22px;

  color: #1f2a22;
}

.legal-contenido h2:first-of-type {
  margin-top: 0;
}

.legal-contenido p {
  margin-bottom: 15px;

  font-size: 16px;
  line-height: 1.7;

  color: #5b665e;
}

.legal-contenido ul {
  margin: 10px 0 25px 24px;
}

.legal-contenido li {
  margin-bottom: 10px;

  font-size: 16px;
  line-height: 1.6;

  color: #5b665e;
}


/* =====================================================
   AVISO GOOGLE PLAY
===================================================== */

.modal-google {
  position: fixed;
  inset: 0;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background-color: rgba(0, 0, 0, 0.62);

  z-index: 9999;
}

.modal-google.activo {
  display: flex;
}

.modal-google-contenido {
  position: relative;

  width: 100%;
  max-width: 480px;

  padding: 42px 38px 35px;

  background-color: white;

  border-radius: 18px;

  text-align: center;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.modal-google-contenido h3 {
  margin-bottom: 18px;

  font-size: 26px;

  color: #1f2a22;
}

.modal-google-contenido p {
  margin-bottom: 14px;

  font-size: 16px;
  line-height: 1.6;

  color: #5b665e;
}

.modal-google-cerrar {
  position: absolute;

  top: 12px;
  right: 16px;

  border: none;
  background: none;

  font-size: 30px;
  line-height: 1;

  color: #5b665e;

  cursor: pointer;
}

.modal-google-aceptar {
  margin-top: 16px;

  padding: 13px 28px;

  border: none;
  border-radius: 8px;

  background-color: #2f6b3c;
  color: white;

  font-size: 15px;
  font-weight: 600;

  cursor: pointer;
}

 /* =====================================================
   CELULARES
===================================================== */

@media (max-width: 768px) {

  .contenedor {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .logo {
    font-size: 24px;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }

  .menu a {
    font-size: 14px;
  }


  /* PORTADA */

  .hero {
    min-height: 450px;
    padding: 50px 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 17px;
  }

  .boton-hero {
    width: 100%;
    max-width: 280px;
  }


  /* COMO FUNCIONA */

  .como-funciona {
    padding: 60px 20px;
  }

  .como-funciona h2 {
    font-size: 30px;
  }

  .seccion-introduccion {
    font-size: 16px;
    margin-bottom: 35px;
  }

  .pasos {
    flex-direction: column;
  }

  .paso {
    padding: 30px 25px;
  }


  /* PRODUCTORES */

  .productores {
    padding: 60px 20px;
  }

  .productores-titulo {
    font-size: 32px;
  }

  .productores-introduccion {
    font-size: 16px;
    margin-bottom: 45px;
  }

  .flujo-productor {
    flex-direction: column;
    align-items: center;
    gap: 55px;
  }

  .flujo-item {
    width: 100%;
    max-width: 360px;
  }

  .captura-app {
    height: 520px;
  }

    .transportistas {
    padding: 60px 20px;
  }

  .transportistas-titulo {
    font-size: 32px;
  }

  .transportistas-introduccion {
    font-size: 16px;
    margin-bottom: 45px;
  }

  .flujo-transportista {
    flex-direction: column;
    align-items: center;
    gap: 55px;
  }

    /* AGROCONECTA CHOFER */

  .chofer {
    padding: 60px 20px;
  }

  .chofer-titulo {
    font-size: 32px;
  }

  .chofer-introduccion {
    font-size: 16px;
    margin-bottom: 45px;
  }

  .chofer-contenido {
    flex-direction: column;
    gap: 45px;
  }

  .chofer-imagenes {
    width: 100%;
    gap: 12px;
  }

  .chofer-captura {
    width: 50%;
    height: 360px;
  }

  .chofer-texto {
    width: 100%;
    text-align: center;
  }

  
    .hero-botones {
    max-width: 280px;

    flex-direction: column;
    gap: 12px;
  }

  .hero-botones .boton-hero {
    width: 100%;
    text-align: center;
  }

    /* DESCARGA Y CONTACTO */

  .cta-final {
    padding: 60px 20px;
  }

  .cta-titulo {
    font-size: 32px;
  }

  .cta-texto {
    font-size: 16px;
  }

  .cta-botones {
    flex-direction: column;
    align-items: center;
  }

  .cta-boton {
    width: 100%;
    max-width: 320px;

    text-align: center;
  }

    /* FOOTER */

  .footer {
    padding: 50px 20px 25px;
  }

  .footer-contenido {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .footer-marca p {
    margin: 0 auto;
  }

  .footer-columna {
    align-items: center;
  }

  .footer-marca {
    text-align: center;
  }

    /* PAGINAS INTERNAS */

  .pagina-interna {
    padding: 60px 20px;
  }

  .pagina-interna h1 {
    font-size: 32px;
  }

  .pagina-interna-introduccion {
    font-size: 16px;
  }

  .soporte-opciones {
    grid-template-columns: 1fr;
  }

  .soporte-tarjeta {
    padding: 28px 24px;

    text-align: center;
  }

    /* TEXTOS LEGALES */

  .legal-contenido {
    padding: 30px 24px;
  }

  .legal-contenido h2 {
    font-size: 20px;
  }

  .legal-contenido p,
  .legal-contenido li {
    font-size: 15px;
  }

}