/* NAVIDAD 2026 (19/11/2026): sección «Crea tu pack regalo» con la escena de Navidad del vídeo de cabecera. */
.ib-pack-xmas {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* Siempre a todo el ancho: el alto sigue la proporción 16:9 y la foto se recorta si hace falta */
  height: clamp(440px, 40vw, 78vh);
  background: #0b1f35;
  color: #ffffff;
}
.ib-pack-xmas__bg,
.ib-pack-xmas__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ib-pack-xmas__bg img {
  display: block;
  object-fit: cover;
  object-position: 50% 62%;
}
.ib-pack-xmas__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 40, .8) 0%, rgba(7, 22, 40, .5) 30%, rgba(7, 22, 40, .15) 55%, rgba(7, 22, 40, .25) 100%);
}
.ib-pack-xmas__inner {
  position: relative;
  height: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 max(5vw, 1.5rem);
  display: flex;
  align-items: center;          /* texto y caja a la misma altura */
  justify-content: space-between;
  gap: 4vw;
}
.ib-pack-xmas__content {
  flex: 0 1 34rem;
  text-align: center;
}
.ib-pack-xmas__kicker {
  margin: 0 0 .5rem;
  font-family: "Cinzel", serif;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  letter-spacing: .04em;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.ib-pack-xmas__title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: .05em;
  color: #e9b54a;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}
.ib-pack-xmas__title span { margin: 0 .25em; }
.ib-pack-xmas__text {
  margin: 1.1rem auto 0;
  max-width: 26rem;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: #dbe5f1;
}
.ib-pack-xmas__text em { font-style: normal; color: #f0cf86; }
.ib-pack-xmas a.ib-pack-xmas__cta,
.ib-pack-xmas a.ib-pack-xmas__cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 1.8rem;
  padding: 0 2.2rem;
  border-radius: 999px;
  background: #ffa400;
  color: #0b1f35;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 164, 0, .3);
  transition: transform .2s ease, background-color .2s ease;
}
.ib-pack-xmas a.ib-pack-xmas__cta:hover,
.ib-pack-xmas a.ib-pack-xmas__cta:focus-visible {
  background: #ffb52e;
  color: #0b1f35;
  transform: translateY(-2px);
}

/* La caja, con el resplandor con el que aparecen los productos en el vídeo */
.ib-pack-xmas__box {
  position: relative;
  flex: 0 1 46%;
  max-width: 760px;
  display: block;
}
.ib-pack-xmas__box::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: -55%;
  bottom: -55%;
  background: radial-gradient(ellipse at center, rgba(235, 242, 255, .55) 0%, rgba(235, 242, 255, .22) 38%, rgba(235, 242, 255, 0) 68%);
  filter: blur(6px);
  z-index: 0;
}
.ib-pack-xmas__box img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .55));
  transition: transform .45s ease;
}
.ib-pack-xmas__box:hover img { transform: scale(1.03); }

@media (max-width: 760px) {
  .ib-pack-xmas { height: min(135vw, 640px); }
  .ib-pack-xmas__bg img { object-position: 50% 100%; }
  .ib-pack-xmas__shade {
    background: linear-gradient(180deg, rgba(7, 22, 40, .9) 0%, rgba(7, 22, 40, .7) 38%, rgba(7, 22, 40, 0) 62%);
  }
  .ib-pack-xmas__inner {
    display: block;
    padding: 2.5rem 1.25rem 0;
  }
  .ib-pack-xmas__box { display: none; }   /* en móvil la caja ya va en la foto, sobre la mesa */
  .ib-pack-xmas a.ib-pack-xmas__cta { margin-top: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ib-pack-xmas a.ib-pack-xmas__cta,
  .ib-pack-xmas__box img { transition: none; }
}
