/* Hero de portada aprobado en Beta, aislado para la página principal.
   Versión de producción: 2026-07-27. */
.hero-section.home-production-hero {
  --hero-green: #6cbe45;
  --hero-green-dark: #579c3a;
  --hero-heading: #2c3e50;
  --hero-copy: #5d6d7e;
  --hero-light: #f8fcf9;
  --hero-white: #fff;
  overflow: hidden;
  padding: 4rem 0 8rem;
  color: var(--hero-copy);
  background: linear-gradient(135deg, var(--hero-light) 0%, var(--hero-white) 100%);
  font-family: var(--font-body);
  line-height: 1.6;
}

.home-production-hero .hero-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: center;
  gap: 4rem;
}

.home-production-hero .hero-text,
.home-production-hero .hero-image {
  min-width: 0;
  flex: 1;
}

.home-production-hero .hero-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.home-production-hero .badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1.5rem;
  padding: 8px 18px;
  border-radius: 50px;
  color: var(--hero-white);
  background: linear-gradient(45deg, var(--hero-green) 0%, var(--hero-green-dark) 100%);
  box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.home-production-hero h1 {
  max-width: none;
  margin: 0.83em 0 0.15em;
  color: var(--hero-heading);
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.home-production-hero .highlight {
  color: var(--hero-green);
}

.home-production-hero .hero-text .subtitle {
  max-width: 90%;
  margin-bottom: 1.5rem;
  color: var(--hero-copy);
  font-size: 1.3rem;
}

.home-production-hero .hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 0;
  color: var(--hero-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.home-production-hero .feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-production-hero .feature-icon {
  display: inline-block;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  border-radius: 0;
  color: var(--hero-green);
  background: transparent;
  font-family: "remixicon", sans-serif !important;
  font-size: 1.15em;
  font-weight: 400;
  line-height: 1;
}

.home-production-hero .language-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  color: var(--hero-green);
}

.home-production-hero .language-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentcolor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-production-hero .hero-cta {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.home-production-hero .btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 16px 32px;
  border: 0;
  border-radius: 8px;
  color: var(--hero-white);
  background: var(--hero-green);
  box-shadow: 0 4px 10px rgb(0 0 0 / 5%);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  isolation: isolate;
  cursor: pointer;
  transition:
    color 0.3s ease-in-out,
    background-color 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out,
    transform 0.3s ease-in-out;
}

.home-production-hero .btn::after {
  position: absolute;
  top: -45%;
  left: -20%;
  width: 13%;
  height: 190%;
  content: "";
  background: rgb(255 255 255 / 38%);
  box-shadow: 0 0 10px rgb(255 255 255 / 20%);
  filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-260%) rotate(18deg);
  animation: home-hero-cta-sheen 5.4s ease-in-out 1.4s 2 both;
}

@keyframes home-hero-cta-sheen {
  0%,
  4% {
    opacity: 0;
    transform: translateX(-260%) rotate(18deg);
  }

  10% {
    opacity: 0.4;
  }

  24%,
  100% {
    opacity: 0;
    transform: translateX(950%) rotate(18deg);
  }
}

.home-production-hero .btn:hover {
  color: var(--hero-white);
  background: var(--hero-green-dark);
  box-shadow: 0 8px 20px rgb(108 190 69 / 30%);
  transform: translateY(-3px);
}

.home-production-hero .btn:focus-visible {
  outline: 3px solid var(--hero-heading);
  outline-offset: 4px;
}

.home-production-hero .btn-icon {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 1.05em;
  line-height: 1;
  vertical-align: -0.08em;
}

.home-production-hero .price-info .price {
  display: inline;
  color: var(--hero-heading);
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: inherit;
}

.home-production-hero .price-info .tax {
  display: block;
  color: var(--hero-copy);
  font-size: 0.9rem;
}

.home-production-hero .hero-image {
  text-align: center;
}

.home-production-hero .hero-mobile-art {
  display: none;
}

.home-production-hero .hero-image img {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
  margin: auto;
  transition: transform 0.3s ease;
}

.home-production-hero .hero-image img.hero-image-aena {
  max-width: 600px;
  mix-blend-mode: multiply;
}

.home-production-hero .hero-image img:hover {
  transform: translateY(-5px);
}

@media (min-width: 993px) {
  .home-production-hero .hero-text {
    flex: 0.9;
  }

  .home-production-hero .hero-image {
    flex: 1.1;
  }
}

@media (min-width: 993px) and (max-height: 800px) {
  .hero-section.home-production-hero {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .home-production-hero .badge {
    margin-bottom: 1.25rem;
  }

  .home-production-hero h1 {
    margin: 0 0 1.25rem;
  }

  .home-production-hero .hero-text .subtitle {
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
    line-height: 1.55;
  }

  .home-production-hero .hero-features {
    gap: 0.65rem 1rem;
    margin-bottom: 0;
    font-size: 1rem;
  }

  .home-production-hero .hero-cta {
    gap: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .home-production-hero .hero-image img.hero-image-aena {
    width: auto;
    max-width: 100%;
    max-height: calc(100svh - 170px);
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .home-production-hero .hero-container {
    flex-direction: row;
    gap: 2rem;
  }

  .home-production-hero h1 {
    font-size: clamp(2.8rem, 5.8vw, 3.35rem);
  }

  .home-production-hero .hero-text .subtitle {
    max-width: 100%;
    font-size: 1.1rem;
  }

  .home-production-hero .hero-features {
    gap: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .home-production-hero .hero-cta {
    gap: 1.25rem;
  }

  .home-production-hero .btn {
    padding: 14px 22px;
  }

  .home-production-hero .price-info .price {
    font-size: 2.15rem;
  }
}

@media (max-width: 768px) {
  .hero-section.home-production-hero {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .home-production-hero .hero-container {
    display: block;
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-production-hero .hero-text {
    position: relative;
    text-align: left;
  }

  .home-production-hero .badge {
    display: none;
  }

  .home-production-hero h1 {
    margin: 0 0 0.6rem 13px;
    font-size: clamp(2rem, 9.2vw, 2.35rem) !important;
    line-height: 1.08;
  }

  .home-production-hero .highlight {
    display: block;
  }

  .home-production-hero .hero-text .subtitle {
    position: relative;
    z-index: 4;
    width: calc(100% - 26px);
    max-width: none;
    margin: 0 13px;
    font-size: 1.15rem;
    line-height: 1.45;
    text-align: left;
    text-shadow: none;
  }

  .home-production-hero .hero-mobile-art {
    position: relative;
    display: block;
    order: 1;
    height: clamp(268px, 72vw, 298px);
    margin-top: 0.5rem;
  }

  .home-production-hero .hero-mobile-art img {
    position: absolute;
    display: block;
    max-width: none;
    height: auto;
    margin: 0;
    pointer-events: none;
  }

  .home-production-hero .hero-mobile-complete {
    z-index: 2;
    top: 0;
    left: 50%;
    width: min(78vw, 320px);
    transform: translateX(-50%);
    mix-blend-mode: multiply;
  }

  .home-production-hero .hero-cta {
    order: 2;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.35rem;
    margin-bottom: 0.65rem;
  }

  .home-production-hero .hero-cta .btn {
    min-width: 196px;
    min-height: 46px;
    padding: 10px 22px;
    text-align: center;
  }

  .home-production-hero .hero-cta .price-info {
    text-align: center;
  }

  .home-production-hero .price-info .price {
    font-size: 2.15rem;
    line-height: 1.15;
  }

  .home-production-hero .price-info .tax {
    margin-top: 0.15rem;
    font-size: 0.8rem;
  }

  .home-production-hero .hero-features {
    display: grid;
    order: 3;
    width: min(100%, 262px);
    justify-content: stretch;
    gap: 0.35rem;
    margin: 1.15rem auto 0.65rem;
    font-size: clamp(0.78rem, 3.25vw, 0.9rem);
    line-height: 1.45;
    text-align: left;
  }

  .home-production-hero .feature-item {
    align-items: flex-start;
    gap: 0.45rem;
  }

  .home-production-hero .feature-icon,
  .home-production-hero .language-icon {
    margin-top: 0.12em;
  }

  .home-production-hero .hero-image {
    display: none;
  }

}

@media (max-width: 480px) {
  .hero-section.home-production-hero {
    padding-top: 1.75rem;
    padding-bottom: 2rem;
  }

  .home-production-hero .hero-container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-production-hero h1 {
    font-size: clamp(2.65rem, 11.5vw, 3rem) !important;
    line-height: 1.02;
  }
}

@media (max-width: 480px) and (max-height: 700px) {
  .hero-section.home-production-hero {
    padding-top: 1rem;
    padding-bottom: 0.75rem;
  }

  .home-production-hero h1 {
    margin-bottom: 0.35rem;
    font-size: 2.45rem !important;
    line-height: 1;
  }

  .home-production-hero .hero-text .subtitle {
    width: calc(100% - 26px);
    max-width: none;
    font-size: 1rem;
    line-height: 1.4;
  }

  .home-production-hero .hero-mobile-art {
    height: 218px;
    margin-top: 0.4rem;
  }

  .home-production-hero .hero-mobile-complete {
    top: 0;
    width: min(66vw, 238px);
    transform: translateX(-50%);
  }

  .home-production-hero .hero-cta {
    width: min(100%, 282px);
    margin-right: auto;
    margin-bottom: 0.45rem;
    margin-left: auto;
    flex-direction: row;
    gap: 0.65rem;
  }

  .home-production-hero .hero-cta .btn {
    min-width: 160px;
    min-height: 42px;
    padding: 8px 13px;
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .home-production-hero .price-info .price {
    font-size: 1.72rem;
  }

  .home-production-hero .price-info .tax {
    margin-top: 0;
    font-size: 0.68rem;
  }

  .home-production-hero .hero-features {
    width: min(100%, 272px);
    gap: 0.18rem;
    margin-top: 0.8rem;
    margin-bottom: 0.45rem;
    font-size: 0.75rem;
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-production-hero .btn,
  .home-production-hero .hero-image img,
  .home-production-hero .hero-mobile-art {
    transition: none;
    animation: none;
  }

  .home-production-hero .btn::after {
    display: none;
    animation: none;
  }
}
