/* ===== BASE ===== */
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background: #fff;
  color: #282828;
}

/* ===== CABECERA VIDEO ===== */
.video-container {
  text-align: center;
  padding: 60px 0 40px;
}
.video-head {
  width: 100%;
  max-width: 1200px;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}
.desktop-video {
  display: block;
}
.mobile-video {
  display: none;
}

/* ===== INTRODUCCIÓN ===== */
.block-ideas {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.block-ideas h1 {
  font-weight: 500;
  font-size: 26px;
  line-height: 40px;
  color: #273352;
  margin-bottom: 20px;
}
.block-ideas p {
  font-size: 16px;
  line-height: 26px;
  margin: 10px 0 20px;
}

/* ===== SELECTOR CALZADO / BOLSOS ===== */
.images-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-bottom: 64px;
}
.gift-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.title-link {
  margin-bottom: 15px;
  text-decoration: underline;
  color: #de342a;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.title-link:hover {
  color: #a82620;
}
.gift-img {
  width: 380px;
  border-radius: 20px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.gift-img:hover {
  transform: scale(1.03);
}
.gift-img.dimmed {
  opacity: 0.4;
}

/* ===== SECCIONES DESPLEGABLES ===== */
.gift-section {
  display: none; /* se muestra con JS al seleccionar */
  max-width: 1200px;
  margin: 0 auto;
}

/* Cabecera de sección: imagen izda + copy dcha */
.gift-header {
  display: flex;
  align-items: center; /* <-- centrado vertical */
  gap: 32px;
  margin-bottom: 40px;
}

.header-media {
  flex: 1 1 48%;
  margin: 0;
}
.header-media img {
  width: 100%;
  display: block;
  border-radius: 20px;
}
.header-copy {
  flex: 1 1 52%;
}
.header-copy h2 {
  font-weight: 500;
  font-size: 42px;
  line-height: 40px;
  color: #273352;
  margin: 0 0 16px;
}
.header-copy p {
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #282828;
  margin: 0 0 20px;
}

/* CTAs */
.cta-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-link {
  text-decoration: underline;
  color: #de342a;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.cta-link:hover {
  color: #a82620;
}

/* Grid de tarjetas (2 columnas escritorio) */
.gift-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 0px;
}
.card img {
  width: 100%;
  display: block;
  border-radius: 20px;
  transition: transform 0.25s ease;
}
.card:hover img {
  transform: scale(1.03);
}
.card.no-cta {
  cursor: default;
}
.card.no-cta:hover img {
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .gift-section {
    padding: 56px 16px;
  }
}

@media (max-width: 900px) {
  /* video */
  .desktop-video {
    display: none;
  }
  .mobile-video {
    display: block;
    width: 100%;
    max-width: 500px;
  }

  /* cabecera sección */
  .gift-header {
    flex-direction: column;
    gap: 20px;
  }
  .header-copy {
    order: 2;
  }
  .header-media {
    order: 1;
  }
  .header-copy h2 {
    font-size: 28px;
    line-height: 36px;
  }

  /* grid a 1 columna */
  .gift-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* selector superior: 2 columnas también en móvil */
  .images-container {
    flex-wrap: nowrap;
    gap: 5px;
  }
  .gift-block {
    flex: 1;
    max-width: 50%;
  }
  .gift-img {
    width: 100%;
  }
  .title-link {
    font-size: 13px;
    margin-bottom: 10px;
  }
}

/* ===== VIDEOS EN GRID ===== */
.gift-video {
  width: 100%;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}

/* ===== BLOQUE INFERIOR ===== */
.bottom-cta {
  text-align: center;
  margin-top: 60px;
  padding-bottom: 80px;
}
.bottom-cta .cta-group {
  justify-content: center;
  margin-bottom: 24px;
}
.bottom-text {
  font-size: 16px;
  color: #282828;
  line-height: 26px;
  margin: 10px 0 16px;
}
.cta-link.big {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  text-transform: uppercase;
  color: #de342a;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: underline;
  transition: color 0.3s ease;
}
.cta-link.big:hover {
  color: #a82620;
}
.bottom-img img {
  width: 380px;
  max-width: 100%;
  border-radius: 20px;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}
.bottom-img:hover img {
  transform: scale(1.03);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .bottom-img img {
    width: 100%;
    max-width: 380px;
  }
}
/* ===== CTA bajo imagen (fila 9) ===== */
.card-with-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.card-with-cta img {
  margin-bottom: 12px;
}
.cta-link.under-image {
  text-decoration: underline;
  color: #de342a;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.cta-link.under-image:hover {
  color: #a82620;
}

/* ===== CTA dobles bajo imagen (bolsos) ===== */
.under-image-ctas {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.under-image-ctas .cta-link.under-image {
  text-decoration: underline;
  color: #de342a;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.under-image-ctas .cta-link.under-image:hover {
  color: #a82620;
}

/* Responsivo para los CTA dobles */
@media (max-width: 900px) {
  .under-image-ctas {
    flex-direction: column;
    gap: 8px;
  }
}

/* ===== CTA dobles bajo imagen (sin enlace en la imagen) ===== */
.card-with-cta.no-link img {
  cursor: default;
  transition: none;
}
.card-with-cta.no-link img:hover {
  transform: none;
}

.under-image-ctas {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.under-image-ctas .cta-link.under-image {
  text-decoration: underline;
  color: #de342a;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.under-image-ctas .cta-link.under-image:hover {
  color: #a82620;
}

/* Responsivo */
@media (max-width: 900px) {
  .under-image-ctas {
    flex-direction: column;
    gap: 8px;
  }
}

/* ===== BLOQUE INFERIOR (USA) — centrado total ===== */
.bottom-cta-usa {
  display: flex;
  flex-direction: column;
  align-items: center; /* centra horizontalmente */
  justify-content: center; /* centra verticalmente si tuviera altura */
  text-align: center;
  margin: 80px auto;
  padding-bottom: 80px;
  width: 100%;
  max-width: 800px; /* limita el ancho para mantener proporción */
}

.bottom-cta-usa .cta-link.big {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  text-transform: uppercase;
  color: #de342a;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.bottom-cta-usa .cta-link.big:hover {
  color: #a82620;
}

.bottom-cta-usa .bottom-text {
  font-size: 16px;
  color: #282828;
  line-height: 26px;
  margin: 10px 0 20px;
}

.bottom-cta-usa .bottom-img {
  display: block;
  margin: 0 auto;
  max-width: 400px;
}

.bottom-cta-usa .bottom-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.bottom-cta-usa .bottom-img:hover img {
  transform: scale(1.03);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .bottom-cta-usa {
    padding: 60px 16px;
    max-width: 90%;
  }
  .bottom-cta-usa .bottom-img img {
    max-width: 320px;
  }
}
