/* ======== RESET ======== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.5;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: #222;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HERO ===== */
.asesoria-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 90vh;
  padding: 2rem 5%;
  gap: 2rem;

  /* Fondo dinámico */
  background: linear-gradient(135deg, #e6f4ea, #f9f9f9);
  position: relative;
  overflow: hidden;
}

/* Overlay sutil para destacar el texto */
.asesoria-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 86, 49, 0.05); /* verde muy suave */
  pointer-events: none;
  z-index: 0;
}

/* ================= TEXTO ================= */
.hero-text {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeInLeft 1s ease forwards;

  /* Fondo sutil para resaltar el texto */
  background: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 2.5rem 2rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1e5631;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.05); /* ligero relieve */
}

.hero-text p {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 2rem;
  color: #2c3e50; /* color más elegante y suave */
  text-align: justify;
  text-justify: inter-word;
}

/* Detalle visual: barra lateral */
.hero-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 5px;
  height: calc(100% - 40px);
  background: #001d61;
  border-radius: 5px;
}


/* ================= IMAGEN ================= */
.hero-image {
  flex: 1 1 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  animation: fadeInRight 1s ease forwards;
}

.hero-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* ================= ANIMACIONES ================= */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

        h2 {
            text-align: center;
            margin: 40px 0 20px;
            font-size: 2.3rem;
            color: #1e5631;
            font-weight: 800;
        }

        p.section-desc {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 40px;
            font-size: 1.05rem;
            color: #555;
        }

        .productos-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            padding: 20px 10%;
        }

        .producto-card {
            position: relative;
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
            overflow: hidden;
            text-align: center;
            transition: transform .3s ease, box-shadow .3s ease;
            opacity: 0;
            transform: translateY(20px);
        }

        .producto-card.visible {
            opacity: 1;
            transform: translateY(0);
            transition: all 0.6s ease-out;
        }

        .producto-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
        }

        .producto-card img {
            width: 80%;
            height: 190px;
            object-fit: cover;
        }

        .producto-content {
            padding: 25px 20px 30px;
        }

        .producto-content h3 {
            font-size: 1.3rem;
            margin: 10px 0;
            color: #2a7f62;
            font-weight: 700;
        }

        .producto-content p {
            font-size: 1rem;
            color: #555;
            margin-bottom: 20px;
            line-height: 1.4em;
        }

        .btn-comprar {
            display: inline-block;
            padding: 12px 24px;
            background: linear-gradient(90deg, #2a7f62, #2a7f62);
            color: #fff;
            font-weight: bold;
            text-decoration: none;
            border-radius: 50px;
            transition: all .3s ease;
        }

        .btn-comprar:hover {
            background: linear-gradient(90deg, #163a66, #0d213b);
        }

        .etiqueta-top {
            position: absolute;
            top: 15px;
            left: -30px;
            background: #ff3d00;
            color: #fff;
            padding: 6px 40px;
            transform: rotate(-20deg);
            font-size: 0.9rem;
            font-weight: bold;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .producto-fertilizante {
            border-top: 6px solid #28a745;
        }

        .producto-agroquimico {
            border-top: 6px solid #17a2b8;
        }

        .producto-herbicida {
            border-top: 6px solid #ff9800;
        }

        .producto-insecticida {
            border-top: 6px solid #e53935;
        }

        /* CTA extra llamativa */
        section.cta {
            background: linear-gradient(90deg, #2a7f62, #0d213b);
            color: #fff;
            text-align: center;
            padding: 50px 20px;
            margin-top: 40px;
        }

        section.cta h2 {
            color: #fff;
            margin-bottom: 20px;
        }

        section.cta p {
            font-size: 1.1rem;
            margin-bottom: 25px;
        }



