/* Portado de React: Hero.module.css (clases con prefijo "hero-") */
.hero-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 6% 5rem;
  position: relative;
  overflow: hidden;
}

.hero-heroBg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(82,183,136,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(183,228,199,0.12) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1.5rem;
}

.hero-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-soft);
  flex-shrink: 0;
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--green-deep);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-h1 em {
  font-style: italic;
  color: var(--green-soft);
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--stone);
  max-width: 38ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-btnPrimary {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 2rem;
  background: var(--green-mid);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(45,106,79,0.25);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.hero-btnPrimary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45,106,79,0.35);
}

/* ========================= */
/* VISUAL CARD               */
/* ========================= */

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* CARD MÁS GRANDE Y PREMIUM */
.hero-leafCard {
  position: relative;
  width: min(460px, 95%);
  background: var(--white);
  border: 1px solid rgba(82,183,136,0.18);
  border-radius: 28px;
  padding: 2.8rem 2.5rem;
  box-shadow: 0 2px 45px rgba(26,58,42,0.10);
  animation: floatCard 6s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-leafCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 60px rgba(26,58,42,0.14);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-leafBadge {
  position: absolute;
  top: -14px;
  right: 2rem;
  background: var(--green-soft);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  text-transform: uppercase;
}

/* ========================= */
/* IMAGEN LATA              */
/* ========================= */

.hero-canWrap {
  text-align: center;
  margin-bottom: 1.8rem;
}

.hero-canImg {
  width: 410px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 40px rgba(0,0,0,0.18));
  transition: transform 0.4s ease;
  border-radius: 10%;
}

.hero-leafCard:hover .hero-canImg {
  transform: translateY(-10px) rotate(-2deg);
}

/* TITULO Y TEXTO */
.hero-leafCard h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--green-deep);
  margin-bottom: 0.6rem;
}

.hero-leafCard p {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

/* ========================= */
/* STATS                    */
/* ========================= */

.hero-statRow {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.hero-stat {
  flex: 1;
}

.hero-statNum {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--green-mid);
  font-weight: 400;
}

.hero-statLbl {
  font-size: 0.72rem;
  color: var(--stone);
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
}

/* ========================= */
/* FOOTER                   */
/* ========================= */

.hero-cardFooter {
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-cardFooter p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-mid);
}

.hero-dots {
  display: flex;
  gap: 6px;
}

.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-soft);
}

.hero-dots span:nth-child(1) { opacity: 0.2; }
.hero-dots span:nth-child(2) { opacity: 0.4; }
.hero-dots span:nth-child(3) { opacity: 0.6; }
.hero-dots span:nth-child(4) { opacity: 0.8; }
.hero-dots span:nth-child(5) { opacity: 1; }

/* ========================= */
/* RESPONSIVE              */
/* ========================= */

@media (max-width: 860px) {
  .hero-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .hero-visual {
    flex-direction: column;
    margin-top: 2rem;
  }

  .hero-leafCard {
    width: 100%;
  }

  .hero-canImg {
    width: 300px;
  }
}