/* ============================================
   VÉRTICE COMUNICACIÓN — LOS WEEKS STYLESHEET
   PÁGINA 5: HERO, 3 WEEKS CARDS & GASTRONOMY SHOWCASE
   ============================================ */

/* ============================================
   1. HERO SECTION (ELEMENTOR-STYLE SEAMLESS GRADIENT)
   ============================================ */
.weeks-top-wrapper {
  width: 100%;
  background: linear-gradient(180deg, 
    #bca1dc 0%, 
    #d89ce7 25%, 
    #f0c7f4 55%, 
    #fbf2fb 85%, 
    #ffffff 100%
  );
  position: relative;
  overflow: hidden;
}

.weeks-top-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('img/bg-hero.png') no-repeat center top;
  background-size: cover;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  pointer-events: none;
  opacity: 0.85;
}

.weeks-headline-section {
  width: 100%;
  max-width: 1920px;
  margin: clamp(80px, 16vw, 320px) auto clamp(80px, 12vw, 240px) auto;
  padding: 0 clamp(20px, 7.22vw, 138.6px);
  position: relative;
  z-index: 2;
}

.weeks-title {
  font-size: clamp(2.8rem, 5.16vw, 99px);
  font-weight: 600;
  color: #353535;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: clamp(16px, 1.5vw, 26px);
}

.weeks-subtitle {
  font-size: clamp(1.2rem, 2.2vw, 42.2px);
  font-weight: 300;
  color: #1d1d1b;
  line-height: 1.25;
}

/* ============================================
   2. WEEKS LIST & FOOD CARDS
   ============================================ */
.weeks-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background-color: #ffffff;
  position: relative;
  padding-bottom: clamp(60px, 10vw, 200px);
}

.week-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: clamp(60px, 9vw, 170px);
  position: relative;
}

.week-card:last-child {
  margin-bottom: 0;
}

/* LEFT DISH IMAGE */
.week-dish-wrapper {
  flex: 0 0 clamp(320px, 48.4vw, 930px);
  width: clamp(320px, 48.4vw, 930px);
  line-height: 0;
  position: relative;
}

.week-dish-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.week-card:hover .week-dish-img {
  transform: scale(1.02);
}

/* RIGHT CONTENT COLUMN */
.week-content {
  flex: 1;
  max-width: 990px;
  padding-left: clamp(10px, 1.5vw, 25px);
  padding-right: clamp(20px, 5.6vw, 107px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.week-logo {
  height: auto;
  display: block;
  margin-bottom: clamp(16px, 1.6vw, 26px);
  object-fit: contain;
}

.logo-rw {
  max-width: clamp(160px, 14vw, 270px);
}

.logo-bw {
  max-width: clamp(130px, 10.7vw, 205px);
}

.logo-pw {
  max-width: clamp(120px, 10.2vw, 195px);
}

.week-name {
  font-size: clamp(2.2rem, 3.75vw, 71.9px);
  font-weight: 600;
  color: #1d1d1b;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: clamp(14px, 1.4vw, 22px);
  white-space: nowrap;
}

.week-desc {
  font-size: clamp(1.05rem, 1.63vw, 31.4px);
  font-weight: 300;
  font-style: italic;
  color: #1d1d1b;
  line-height: 1.32;
  margin-bottom: clamp(20px, 2.2vw, 36px);
  max-width: 878px;
}

/* BOTTOM ACTION ROW: METRIC + POSTULA BUTTON */
.week-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 878px;
  gap: 20px;
}

.week-metric {
  font-size: clamp(1.15rem, 1.82vw, 35px);
  font-weight: 500;
  font-style: italic;
  color: #1d1d1b;
  line-height: 1.2;
}

.btn-postula {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1d1d1b;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  font-style: italic;
  font-size: clamp(14px, 1.08vw, 20.8px);
  padding: clamp(8px, 0.6vw, 12px) clamp(22px, 1.6vw, 32px);
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-postula:hover {
  transform: translateY(-2px);
  background-color: #353535;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

/* ============================================
   RESPONSIVE BREAKPOINTS (LOS WEEKS)
   ============================================ */
@media (max-width: 1100px) {
  .week-name {
    white-space: normal;
  }

  .week-card {
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(60px, 10vw, 120px);
  }

  .week-dish-wrapper {
    flex: 0 0 100%;
    width: 100%;
    max-width: 700px;
    margin-bottom: 30px;
  }

  .week-content {
    flex: 0 0 100%;
    width: 100%;
    max-width: 700px;
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .week-content {
    padding: 0 20px;
  }

  .week-action-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .btn-postula {
    width: 100%;
    text-align: center;
  }
}
