/* Fallback wrapper — same full-bleed + ancestor reset pattern as listas. */
.mesh-servicios-fallback {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow-x: clip;
}
body:has(.mesh-servicios-fallback) #page,
body:has(.mesh-servicios-fallback) .site-content,
body:has(.mesh-servicios-fallback) .ast-container,
body:has(.mesh-servicios-fallback) .entry-content {
  max-width: none !important;
  padding-left: 0 !important; padding-right: 0 !important;
  margin-left: 0 !important; margin-right: 0 !important;
  width: 100% !important;
}
body:has(.mesh-servicios-fallback) { background-color: #000 !important; }
body:has(.mesh-servicios-fallback) .site-footer,
body:has(.mesh-servicios-fallback) #colophon,
body:has(.mesh-servicios-fallback) footer.site-footer {
  background-color: #000 !important;
  position: relative; z-index: 1;
}

#mcs, #mcs * { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

#mcs {
  --bk: #0a0a0a;
  --wh: #f5f2eb;
  --yl: #ffe135;
  --pu: #7c3aff;
  --pl: #ede9fe;
  --bd: 2px solid #0a0a0a;
  --fh: 'Barlow Condensed', sans-serif;
  --fb: 'Space Grotesk', sans-serif;
  font-family: var(--fb);
  color: var(--bk);
  background: var(--wh);
}

/* Astra button reset — required for all buttons inside #mcs */
#mcs button {
  background-image: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: normal !important;
  font-size: inherit !important;
  padding: 0 !important;
  border-style: solid !important;
  box-shadow: none !important;
}

#mcs .cs-header {
  background: var(--bk);
  padding: 32px 36px 28px;
  border-bottom: var(--bd);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
#mcs .cs-eyebrow {
  font-family: var(--fh);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--yl);
  margin-bottom: 8px;
  display: block;
}
#mcs .cs-title {
  font-family: var(--fh);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  line-height: .92;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -.02em;
  margin: 0;
}
#mcs .cs-title em { color: var(--yl); font-style: normal; }
#mcs .cs-badge {
  background: var(--yl);
  color: var(--bk);
  border: var(--bd);
  font-family: var(--fh);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 20px;
  white-space: nowrap;
  align-self: flex-end;
  margin-bottom: 4px;
  display: inline-block;
}

#mcs .cs-tabs {
  display: flex;
  border-bottom: var(--bd);
  background: var(--wh);
  overflow-x: auto;
  scrollbar-width: none;
}
#mcs .cs-tabs::-webkit-scrollbar { display: none; }

/* Tab — full Astra override using #mcs specificity */
#mcs .cs-tab {
  font-family: var(--fh) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  padding: 18px 28px !important;
  border: none !important;
  border-right: var(--bd) !important;
  border-radius: 0 !important;
  background: var(--wh) !important;
  color: var(--bk) !important;
  cursor: pointer !important;
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
  line-height: 1 !important;
}
#mcs .cs-tab:hover {
  background: #ece9e0 !important;
  color: var(--bk) !important;
}
#mcs .cs-tab.active {
  background: var(--pu) !important;
  color: #fff !important;
}

#mcs .cs-panel { display: none; }
#mcs .cs-panel.active { display: block; }

#mcs .cs-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media(max-width: 700px) {
  #mcs .cs-body { grid-template-columns: 1fr; }
  #mcs .cs-header { padding: 22px 18px 18px; }
  #mcs .cs-left, #mcs .cs-right { padding: 24px 18px; }
}

#mcs .cs-left { padding: 36px; border-right: var(--bd); }
#mcs .cs-right { padding: 36px; background: var(--pl); }

#mcs .cs-section-label {
  font-family: var(--fh);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
  display: block;
}
#mcs .cs-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--bk);
  margin: 0 0 28px;
}

#mcs .cs-progress { margin-bottom: 28px; }
#mcs .cs-progress-bar-wrap {
  height: 4px;
  background: rgba(124,58,255,.15);
  margin: 10px 0 6px;
}
#mcs .cs-progress-bar { height: 4px; background: var(--pu); }
#mcs .cs-progress-labels { display: flex; justify-content: space-between; }
#mcs .cs-progress-labels span {
  font-family: var(--fh);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #888;
}
#mcs .cs-progress-labels strong { color: var(--pu); }

#mcs .cs-categories { border: var(--bd); margin-bottom: 0; }
#mcs .cs-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(10,10,10,.1);
  font-size: 14px;
  font-weight: 500;
  color: rgba(10,10,10,.4);
}
#mcs .cs-cat:last-child { border-bottom: none; }
#mcs .cs-cat-dot { width: 8px; height: 8px; flex-shrink: 0; background: var(--pu); opacity: .3; }
#mcs .cs-cat-lbl { flex: 1; }
#mcs .cs-cat-tag {
  font-family: var(--fh);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid rgba(10,10,10,.15);
  color: rgba(10,10,10,.35);
}

#mcs .cs-info-block { margin-bottom: 28px; }
#mcs .cs-info-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(10,10,10,.65);
  margin: 0 0 16px;
}

#mcs .cs-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px !important;
  font-family: var(--fh) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border: var(--bd) !important;
  border-radius: 0 !important;
  margin-bottom: 12px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
#mcs .cs-cta-secondary { background: var(--yl) !important; color: var(--bk) !important; }
#mcs .cs-cta-secondary:hover { background: #f5d400 !important; color: var(--bk) !important; }
#mcs .cs-cta-ghost { background: var(--wh) !important; color: var(--bk) !important; }
#mcs .cs-cta-ghost:hover { background: var(--bk) !important; color: var(--yl) !important; }
#mcs .cs-cta span { flex: 1; }
#mcs .cs-cta-arrow { flex-shrink: 0; }

#mcs .cs-divider { border: none; border-top: 1px solid rgba(10,10,10,.12); margin: 24px 0; }
#mcs .cs-note { font-size: 12px; color: #777; line-height: 1.5; font-style: italic; margin: 0; }

#mcs .cs-footer {
  border-top: var(--bd);
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--wh);
}
#mcs .cs-footer-l {
  font-family: var(--fh);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #aaa;
}
#mcs .cs-footer-r { display: flex; gap: 16px; }
#mcs .cs-footer-link {
  font-family: var(--fh);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pu) !important;
  text-decoration: none !important;
}
#mcs .cs-footer-link:hover { color: var(--bk) !important; }
