/* Servicios — layout lista (ref Screenshot 2026-08-12)
   Fondo negro + líneas divisorias + títulos 2 líneas */

/* —— Fondo negro (sin tocar borders de las filas) —— */
body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list,
body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list .container,
body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list .section-inner,
body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list .kabuku-services-shell,
body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list .kabuku-services-shell--list,
body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list .kabuku-services-list-top,
body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list .kabuku-services-list {
  background: #0D0D0D !important;
  background-color: #0D0D0D !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  overflow: visible;
  color: #ffffff !important;
}

body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3vw, 24px);
  padding-right: clamp(16px, 3vw, 24px);
}

body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list .kabuku-services-shell--list {
  padding: clamp(56px, 8vw, 96px) clamp(4px, 1vw, 12px) clamp(48px, 6vw, 80px) !important;
  border-radius: 0 !important;
  max-width: none;
  margin: 0;
  color: #ffffff !important;
}

body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list p,
body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list h2,
body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list h3,
body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list span,
body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list a {
  color: #ffffff;
}

/* —— Header —— */
body.kabuku-prototype .kabuku-services-list-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(28px, 4vw, 40px);
  padding-bottom: 0;
  border-bottom: none !important;
}

body.kabuku-prototype .kabuku-services-list-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

body.kabuku-prototype .kabuku-services-list-title {
  margin: 0 !important;
  font-family: var(--font-primary, "Poppins", sans-serif) !important;
  font-size: clamp(28px, 3.5vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #ffffff !important;
}

body.kabuku-prototype .kabuku-services-list-accent {
  display: block;
  width: 48px;
  height: 3px;
  background: #E8312A !important;
  border-radius: 999px;
}

body.kabuku-prototype .kabuku-services-list-lead {
  margin: 0 !important;
  max-width: 36em;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.kabuku-prototype .kabuku-services-list-lead-main {
  margin: 0 !important;
  font-size: clamp(16px, 1.6vw, 19px) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.02em;
  color: #ffffff !important;
}

body.kabuku-prototype .kabuku-services-list-lead-sub {
  margin: 0 !important;
  font-size: clamp(14px, 1.35vw, 16px) !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

body.kabuku-prototype .kabuku-services-list-lead-brand {
  font-weight: 700 !important;
  color: #ffffff !important;
}

/* —— Lista + líneas divisorias (como la referencia) —— */
body.kabuku-prototype .kabuku-services-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
}

body.kabuku-prototype .kabuku-services-list-item {
  display: grid;
  grid-template-columns: 56px minmax(140px, 0.95fr) minmax(0, 1.15fr) 48px;
  gap: clamp(14px, 2.2vw, 28px);
  align-items: center;
  padding: clamp(20px, 2.4vw, 28px) 4px;
  margin: 0;
  background: #0D0D0D !important;
  background-color: #0D0D0D !important;
  background-image: none !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  color: #ffffff !important;
  transition: background 0.25s ease, padding-left 0.25s ease;
}

body.kabuku-prototype .kabuku-services-list-item:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  padding-left: 10px;
}

body.kabuku-prototype .kabuku-services-list-num {
  font-family: var(--font-primary, "Poppins", sans-serif);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #E8312A !important;
  line-height: 1;
  align-self: center;
}

/* Títulos más pequeños, siempre 2 líneas simétricas */
body.kabuku-prototype .kabuku-services-list-name {
  margin: 0 !important;
  font-family: var(--font-primary, "Poppins", sans-serif) !important;
  font-size: clamp(16px, 1.7vw, 22px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff !important;
  min-height: 2.4em; /* altura de 2 líneas para alinear filas */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.kabuku-prototype .kabuku-services-list-desc {
  margin: 0 !important;
  font-size: clamp(13px, 1.2vw, 15px) !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.52) !important;
  max-width: 38em;
}

body.kabuku-prototype .kabuku-services-list-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #E8312A !important;
  color: #ffffff !important;
  flex-shrink: 0;
  justify-self: end;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}

body.kabuku-prototype .kabuku-services-list-arrow svg {
  display: block;
}

body.kabuku-prototype .kabuku-services-list-arrow svg path {
  stroke: #ffffff;
}

body.kabuku-prototype .kabuku-services-list-item:hover .kabuku-services-list-arrow {
  transform: scale(1.08);
  background: #ff3d35 !important;
}

body.kabuku-prototype .kabuku-services-list-item:focus-visible {
  outline: 2px solid #E8312A;
  outline-offset: 4px;
}

@media (max-width: 991px) {
  body.kabuku-prototype .kabuku-services-list-top {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
  }

  body.kabuku-prototype .kabuku-services-list-item {
    grid-template-columns: 44px minmax(0, 1fr) 40px;
    grid-template-areas:
      "num name arrow"
      ". desc desc";
    row-gap: 8px;
    column-gap: 12px;
    padding: 18px 2px;
  }

  body.kabuku-prototype .kabuku-services-list-num {
    grid-area: num;
    align-self: start;
    padding-top: 4px;
  }

  body.kabuku-prototype .kabuku-services-list-name {
    grid-area: name;
    min-height: 0;
    font-size: clamp(15px, 4vw, 18px) !important;
  }

  body.kabuku-prototype .kabuku-services-list-desc {
    grid-area: desc;
  }

  body.kabuku-prototype .kabuku-services-list-arrow {
    grid-area: arrow;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 575px) {
  body.kabuku-prototype section.kabuku-services-area.kabuku-services-area--list .kabuku-services-shell--list {
    padding: 48px 0 40px !important;
  }

  body.kabuku-prototype .kabuku-services-list-name {
    font-size: clamp(14px, 4.2vw, 17px) !important;
  }
}
