/* Garden Pamies — franja atmósfera vivero (sustituye marcas demo) */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&display=swap");

/* Ocultar carrusel de marcas del tema si sigue enganchado */
body.page-index section.brands,
body.page-index #brand-carousel,
body.page-index .brand-carousel {
  display: none !important;
}

.gp-atmosphere {
  --gp-atm-ink: #f4f7f2;
  --gp-atm-muted: rgba(244, 247, 242, 0.88);
  --gp-atm-green: #2d6a4f;
  --gp-atm-green-deep: #1b4332;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  min-height: clamp(280px, 42vw, 520px);
  overflow: hidden;
  isolation: isolate;
  color: var(--gp-atm-ink);
}

.gp-atmosphere__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gp-atmosphere__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transform: scale(1.06);
  transform-origin: 55% 40%;
  will-change: transform;
  animation: gpAtmKen 22s ease-in-out infinite alternate;
}

.gp-atmosphere__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(12, 28, 18, 0.72) 0%,
      rgba(12, 28, 18, 0.45) 42%,
      rgba(12, 28, 18, 0.22) 70%,
      rgba(12, 28, 18, 0.35) 100%
    ),
    radial-gradient(ellipse at 70% 30%, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.gp-atmosphere__content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.85rem;
}

.gp-atmosphere__brand {
  margin: 0;
  font-family: "Fraunces", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.35rem, 5.5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(18px);
  animation: gpAtmRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.gp-atmosphere__line {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  line-height: 1.45;
  font-weight: 400;
  color: var(--gp-atm-muted);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(16px);
  animation: gpAtmRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s forwards;
}

.gp-atmosphere__cta {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.78rem 1.55rem;
  background: var(--gp-atm-ink);
  color: var(--gp-atm-green-deep) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  opacity: 0;
  transform: translateY(14px);
  animation: gpAtmRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.48s forwards;
}

.gp-atmosphere__cta:hover,
.gp-atmosphere__cta:focus {
  background: #fff;
  color: var(--gp-atm-green) !important;
  transform: translateY(-2px);
}

@keyframes gpAtmKen {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes gpAtmRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gp-atmosphere__img,
  .gp-atmosphere__brand,
  .gp-atmosphere__line,
  .gp-atmosphere__cta {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 575px) {
  .gp-atmosphere {
    min-height: 300px;
  }

  .gp-atmosphere__content {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
}
