/* ==========================================================================
   WingstoWin Solutions - Servicios Page Styles (/servicios)
   Aspecto visual, tipografía y distribución de elementos idéntico a portada
   ========================================================================== */

/* Asegurar visibilidad inmediata del menú superior flotante en /servicios */
.w2w-services-page .div--u-ib5wmj05w,
.w2w-services-page #ib5wmj05w_0 {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) !important;
  position: fixed !important;
  top: 20px !important;
  left: 50% !important;
  z-index: 9999 !important;
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
}

.w2w-services-page {
  background-color: #0d0d0d;
  color: #eeeeee;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: 'JetBrains Mono', monospace, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Capa de fondo con gradiente y vídeo */
.w2w-bg-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-size: auto;
  background-image: linear-gradient(192deg, rgba(5,2,1,1) 34%, rgba(254,61,14,1) 100%);
  background-repeat: no-repeat;
  background-position: left 0px top 0px;
  background-attachment: scroll;
  display: flex;
  z-index: 0;
  pointer-events: none;
}

.w2w-bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

/* Contenedor principal */
.w2w-services-main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 130px 2.5rem 80px 2.5rem;
  box-sizing: border-box;
}

/* Migas de pan */
.w2w-services-breadcrumb {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

.w2w-services-breadcrumb a {
  color: rgba(238, 238, 238, 0.6);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.w2w-services-breadcrumb a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(-2px);
}

.w2w-services-breadcrumb .sep {
  color: rgba(238, 238, 238, 0.3);
}

.w2w-services-breadcrumb .current {
  color: rgba(238, 238, 238, 0.9);
}

/* Cabecera de sección */
.w2w-services-header {
  margin-bottom: 3.5rem;
}

.w2w-services-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: rgba(238, 238, 238, 0.65);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.w2w-services-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 1.25rem 0;
  text-transform: uppercase;
}

.w2w-services-desc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(238, 238, 238, 0.8);
  max-width: 720px;
  margin: 0;
}

/* Rejilla de tarjetas */
.w2w-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Tarjeta Pixel-Perfect basada en .about_card */
.w2w-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(33.5px);
  -webkit-backdrop-filter: blur(33.5px);
  background-color: rgba(184, 184, 184, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 23rem;
  box-sizing: border-box;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.w2w-card:hover {
  transform: translateY(-4px);
  background-color: rgba(184, 184, 184, 0.26);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.w2w-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 1.5rem;
}

.w2w-card-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: #eeeeee;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
}

.w2w-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.w2w-card-title a:hover {
  color: #ffffff;
}

.w2w-card-desc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(238, 238, 238, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  white-space: pre-line;
}

/* Productos / Soluciones asociados a cada agrupación */
.w2w-card-products {
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.w2w-card-products-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(238, 238, 238, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.w2w-card-products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: center;
}

.w2w-card-product-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.w2w-card-product-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.w2w-card-product-icon-box {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.w2w-card-product-item:hover .w2w-card-product-icon-box {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.65);
  transform: scale(1.06);
}

.w2w-card-product-icon-img {
  width: 100%;
  height: 100%;
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
  display: block;
}

.w2w-card-product-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: #eeeeee;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.w2w-card-product-item:hover .w2w-card-product-name {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.w2w-card-btm {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 2rem;
  padding-top: 1rem;
}

.w2w-card-icon-link {
  display: block;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.w2w-card-icon-link:hover {
  transform: scale(1.08);
  opacity: 1;
}

.w2w-card-icon-img {
  width: 42px;
  height: 42px;
  display: block;
}

.w2w-card-more-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(238, 238, 238, 0.7);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.w2w-card-more-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

@media (max-width: 991px) {
  .w2w-services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .w2w-card {
    padding: 2.25rem 1.75rem;
    min-height: auto;
  }
  .w2w-services-main {
    padding: 110px 1.5rem 60px 1.5rem;
  }
  .w2w-card-title {
    font-size: 1.2rem;
  }
  .w2w-card-desc {
    font-size: 0.84rem;
  }
}

