/* ============================================
   VÉRTICE COMUNICACIÓN — INDEX STYLESHEET
   HOME PAGE: HERO, INTRO, ACCORDION, CLIENTES & WEEKS
   ============================================ */

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

.hero-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;
}

/* Hero Headline */
.hero-headline-section {
  width: 100%;
  max-width: 1920px;
  margin: clamp(60px, 13.8vw, 265px) auto clamp(30px, 3.75vw, 72px) auto;
  padding: 0 clamp(20px, 7.22vw, 138.6px);
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.2rem, 5.15vw, 99px);
  font-weight: 600;
  color: #353535;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ============================================
   2. HERO TEAM IMAGE (FULL BLEED EDGE-TO-EDGE)
   ============================================ */
.hero-image-section {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background-color: #faf1fb; /* Matches exactly the top row of image & bottom of hero-top-wrapper */
}

.hero-team-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   3. INTRO & SERVICES ACCORDION
   ============================================ */
.intro-services-section {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(20px, 2vw, 34px) clamp(20px, 7.22vw, 138.6px) 0 clamp(20px, 7.22vw, 138.6px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(30px, 4.16vw, 80px);
}

.intro-left-col {
  flex: 1 1 55%;
  max-width: 940px;
}

.intro-bold {
  font-size: clamp(1.1rem, 1.76vw, 33.9px);
  font-weight: 600;
  color: #1d1d1b;
  line-height: 1.25;
  margin-bottom: clamp(16px, 1.3vw, 25px);
}

.intro-light {
  font-size: clamp(1.1rem, 1.76vw, 33.9px);
  font-weight: 300;
  color: #1d1d1b;
  line-height: 1.25;
}

.intro-right-col {
  flex: 0 0 clamp(320px, 34.4vw, 660px);
  max-width: 660px;
}

/* --- ACCORDION WITH SMOOTH ANIMATIONS --- */
.accordion-item {
  margin-bottom: clamp(14px, 1.2vw, 22px);
  cursor: pointer;
  user-select: none;
  border-radius: 12px;
  padding: 10px 14px;
  transition: background-color 0.3s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.accordion-item:hover {
  background-color: rgba(189, 162, 219, 0.08);
  transform: translateX(6px);
}

.accordion-item.open {
  background-color: rgba(189, 162, 219, 0.05);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(1.1rem, 1.76vw, 33.9px);
  font-weight: 600;
  color: #1d1d1b;
  line-height: 1.2;
  gap: 15px;
  transition: color 0.25s ease;
}

.accordion-item:hover .accordion-header {
  color: #6a4099;
}

.chevron-icon {
  font-size: clamp(16px, 1.04vw, 20px);
  color: #606060;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
  flex-shrink: 0;
}

.accordion-item.open .chevron-icon {
  transform: rotate(180deg);
  color: #6a4099;
}

/* Accordion Smooth Slide Body */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, margin-top 0.35s ease;
  font-size: clamp(1rem, 1.45vw, 28px);
  font-weight: 300;
  color: #1d1d1b;
  line-height: 1.3;
}

.accordion-item.open .accordion-body {
  max-height: 250px;
  opacity: 1;
  margin-top: 12px;
}

/* --- ANIMACIÓN ESPECIAL EN EVENTOS CORPORATIVOS --- */
.item-eventos-corporativos {
  position: relative;
}

.item-eventos-corporativos::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, #bca1dc, #d89ce7);
  border-radius: 4px;
  transition: height 0.35s ease;
}

.item-eventos-corporativos:hover::after,
.item-eventos-corporativos.open::after {
  height: 70%;
}

@keyframes subtlePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(188, 161, 220, 0.3);
  }
  50% {
    box-shadow: 0 0 16px 2px rgba(188, 161, 220, 0.25);
  }
}

.item-eventos-corporativos.open {
  animation: subtlePulse 3s infinite ease-in-out;
}

/* ============================================
   4. CLIENTES SECTION
   ============================================ */
.clientes-section {
  width: 100%;
  max-width: 1920px;
  margin: clamp(60px, 7.13vw, 137px) auto 0 auto;
  text-align: center;
}

.section-heading {
  font-size: clamp(2rem, 4.45vw, 85.5px);
  font-weight: 300;
  line-height: 1;
  margin-bottom: clamp(40px, 4.73vw, 91px);
  text-align: center;
}

.section-heading a {
  text-decoration: none;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.04vw, 20px);
  transition: transform 0.25s ease, opacity 0.2s;
}

.section-heading a:hover {
  transform: scale(1.03);
  opacity: 0.85;
}

.chevron-heading {
  font-size: clamp(24px, 2.18vw, 42px);
  color: #666666;
  font-weight: 300;
  transition: transform 0.25s ease;
}

.section-heading a:hover .chevron-heading {
  transform: translateX(4px);
}

.clientes-logos-wrapper {
  width: 100%;
  padding: 0 clamp(20px, 5.62vw, 108px);
}

.clientes-logos-img {
  width: 100%;
  max-width: 1705px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ============================================
   5. LOS WEEKS SECTION (CENTRADÍSIMO)
   ============================================ */
.weeks-section {
  width: 100%;
  margin: clamp(60px, 8.64vw, 166px) auto 0 auto;
  text-align: center; /* CENTRADO GARANTIZADO */
}

.weeks-heading {
  text-align: center;
  display: block;
  width: 100%;
}

.weeks-heading a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.weeks-logos-wrapper {
  width: 100%;
  margin-bottom: clamp(20px, 1.66vw, 32px);
}

.weeks-logos-banner {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.weeks-cards-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(30px, 4.27vw, 82px) clamp(20px, 5.46vw, 105px) 0 clamp(20px, 5.46vw, 105px);
  text-align: left;
}

.week-capsule-card {
  display: flex;
  align-items: center;
  gap: clamp(25px, 2.34vw, 45px);
  margin-bottom: clamp(35px, 3.59vw, 69px);
  transition: transform 0.3s ease;
}

.week-capsule-card:hover {
  transform: translateY(-4px);
}

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

.food-capsule-img {
  width: 100%;
  max-width: 799px;
  height: clamp(180px, 17.34vw, 333px);
  border-radius: clamp(30px, 8.67vw, 166.5px);
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.week-capsule-card:hover .food-capsule-img {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.week-capsule-info {
  flex: 1;
}

.week-card-title {
  font-size: clamp(1.8rem, 3.54vw, 68.1px);
  font-weight: 600;
  color: #1d1d1b;
  line-height: 1.1;
  margin-bottom: clamp(8px, 0.62vw, 12px);
}

.week-card-location {
  font-size: clamp(1.1rem, 1.82vw, 35.0px);
  font-weight: 200;
  font-style: italic;
  color: #1d1d1b;
  margin-bottom: clamp(4px, 0.31vw, 6px);
  line-height: 1.15;
}

.week-card-stat {
  font-size: clamp(1.1rem, 1.82vw, 35.0px);
  font-weight: 200;
  font-style: italic;
  color: #1d1d1b;
  margin-bottom: clamp(15px, 1.3vw, 25px);
  line-height: 1.15;
}

.btn-postula-pill {
  background-color: #1d1d1b;
  color: #fdfdfd;
  font-size: clamp(0.9rem, 1.02vw, 19.7px);
  font-weight: 200;
  font-style: italic;
  padding: clamp(8px, 0.52vw, 10px) clamp(22px, 1.66vw, 32px);
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

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

/* ============================================
   RESPONSIVE BREAKPOINTS (INDEX)
   ============================================ */
@media (max-width: 1100px) {
  .intro-services-section {
    flex-direction: column;
    gap: 40px;
  }
  .intro-left-col,
  .intro-right-col {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .week-capsule-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .food-capsule-img {
    max-width: 100%;
    height: 240px;
    border-radius: 40px;
  }
}

@media (max-width: 640px) {
  .intro-bold br,
  .intro-light br,
  .accordion-body br {
    display: none;
  }
}
