@import url('style.css');

/* =====================================================
   ESTILOS EXCLUSIVOS PARA BRAND.HTML
   ===================================================== */

.s01-brand-bg {
  background: linear-gradient(45deg, rgba(38, 38, 38, 0.7) 0%, rgba(26, 69, 221, 0.7) 50%, rgba(255, 255, 255, 0.7) 100%), 
              url('assets/img/service_Brand.jpg') !important; /* Ruta corregida al archivo real */
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-blend-mode: multiply !important; /* Efecto CSS multiply para fusionar degradado e imagen */
  opacity: 1 !important; /* Opacidad al 100% en el contenedor */
}

/* =====================================================
   SECCIÓN DE PRECIOS (SECTION 02)
   ===================================================== */
.brand-pricing-section {
  background: #ffffff !important;
  color: #111111 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px var(--pad-x);
  height: auto !important;    /* Permite adaptar el alto según se expandan las tarjetas */
  min-height: 100vh;
}

.pricing-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  gap: 16px;                  /* Espacio sutil entre las tarjetas */
}

.pricing-card {
  flex: 1;
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-radius: 20px;
  background-color: transparent;
  transition: background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              color 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.4s ease, 
              transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  position: relative;
  border: 1px solid transparent;
}

/* Divisores verticales sutiles cuando ninguna tarjeta está activa */
.pricing-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: #c5c5c5;
  transition: opacity 0.3s ease;
}

/* Oculta las líneas divisorias cuando hay una tarjeta activa */
.pricing-container:has(.pricing-card.active) .pricing-card::after {
  opacity: 0;
}

/* Estilos de tarjeta activa (modo oscuro) al dar clic */
.pricing-card.active {
  background-color: #212121 !important;
  color: #ffffff !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transform: translateY(-8px);
}

.pricing-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #262626;
  margin-bottom: 12px;
  font-family: 'Urbanist', sans-serif;
  transition: color 0.4s ease;
}
.pricing-card.active .pricing-title {
  color: #ffffff !important;
}

.pricing-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 40px;
  min-height: 50px;
  transition: color 0.4s ease;
}
.pricing-card.active .pricing-desc {
  color: rgba(255,255,255,0.7) !important;
}

.pricing-meta {
  margin-top: auto;
}

.pricing-label {
  font-size: 0.85rem;
  color: #888;
  text-transform: lowercase;
  margin-bottom: 4px;
  display: block;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1a45dd;
  line-height: 1;
  transition: color 0.4s ease;
}
.pricing-card.active .pricing-price {
  color: #1a45dd !important; /* Mantiene el color azul destacado */
}

/* Lista de características (oculta por defecto, se despliega con active) */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.4s ease, 
              margin 0.4s ease;
}
.pricing-card.active .pricing-features {
  max-height: 800px;
  opacity: 1;
  margin: 30px 0;
}
.pricing-features li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 8px;
  color: #bbbbbb;
  position: relative;
  padding-left: 18px;
}
.pricing-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1a45dd;             /* Viñeta azul */
  font-weight: bold;
}

/* Botón de llamado a la acción (oculto por defecto, se despliega con active) */
.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background: linear-gradient(45deg, #181E27 0%, #1a45dd 50%, #ffffff 100%);
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
  border-radius: 30px;
  font-size: 0.95rem;
  transition: max-height 0.4s ease, 
              opacity 0.4s ease, 
              margin 0.4s ease, 
              transform 0.2s ease, 
              box-shadow 0.2s ease;
  pointer-events: none;
}
.pricing-card.active .pricing-btn {
  max-height: 54px;
  padding: 14px 0;
  margin-top: 20px;
  opacity: 1;
  pointer-events: all;
  box-shadow: 0 4px 15px rgba(26, 69, 221, 0.3);
}
.pricing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 69, 221, 0.45);
}

/* Ajustes responsivos para precios */
@media (max-width: 960px) {
  .brand-pricing-section {
    height: auto !important;
    padding: 80px 24px;
  }
  .pricing-container {
    flex-direction: column;
    gap: 30px;
  }
  .pricing-card {
    padding: 30px 20px;
  }
  .pricing-card:not(:last-child)::after {
    display: none;            /* Oculta los divisores absolutos en móvil */
  }
  .pricing-card:not(.active) {
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
  }
  .pricing-desc {
    margin-bottom: 30px;
    min-height: auto;
  }
}

/* =====================================================
   SECCIÓN DE CONTACTO (SECCIÓN 03 / #s05)
   ===================================================== */
#s05 {
  background: var(--color-blue) !important;
  color: #ffffff !important;
}

#s05 h1 {
  color: #ffffff !important;
}

#s05 .s05-email {
  color: #ffffff !important;
  border-bottom-color: #ffffff !important;
}


